Coupled Temperature–Humidity Modeling and Fuzzy-PID Control for an Edible Fungi Cultivation Room: A Reproducible MATLAB/Simulink Simulation Study
Discuss this preprint
Start a discussion What are Sciety discussions?Listed in
This article is not in any list yet, why not save it to one of your lists.Abstract
Maintaining stable temperature and relative humidity (RH) is critical for edible fungi cultivation, yet the climate dynamics are nonlinear and strongly coupled, making conventional control prone to slow recovery under disturbances. This study develops a reproducible lumped-parameter coupled temperature–humidity model and validates a fuzzy-PID strategy in MATLAB/Simulink through numerical experiments. The model describes the thermal and moisture dynamics using effective capacities and aggregated heat/moisture exchange terms. Three standardized scenarios are designed for repeatable evaluation: set-point tracking, step disturbances (±2 °C and ±5% RH), and periodic disturbances. The proposed fuzzy-PID is compared with a baseline PID and a no-control case using unified control metrics (steady-state error, settling time, recovery time, integral error) and total energy consumption. Under the same disturbance settings, fuzzy-PID achieves faster recovery and lower error accumulation than PID, while reducing total energy consumption (e.g., 5.7 kWh vs 6.7 kWh for PID in a representative test). These results demonstrate that the proposed modeling and control framework is reproducible and suitable for simulation-based assessment of controllers during high-humidity cultivation stages.