Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

I have an EMS file that runs with No erros but doesn't control the output

Schedule:Constant,Cycle,OnOff,1;

AvailabilityManager:Scheduled, Packaged Rooftop Air Conditioner Availability Manager, Cycle;

EnergyManagementSystem:Sensor, AptTemp, BLOCK1:ZONE1, Zone Mean Air Temperature;

EnergyManagementSystem:Sensor, hSP, BLOCK1:ZONE1, Zone Thermostat Heating Setpoint Temperature;

EnergyManagementSystem:Actuator, AvailSCH_Overwrite, Cycle, Schedule:Constant, Schedule Value;

EnergyManagementSystem:ProgramCallingManager, Supervision, BeginTimestepBeforePredictor, HVAC_uncontolledloop_Supervision;

EnergyManagementSystem:Program, HVAC_uncontolledloop_Supervision, SET Toffset = 4, IF AptTemp > (hSP - 0.01), SET AvailSCH_Overwrite = 0, ELSEIF AvailSCH_Overwrite == 0 && AptTemp >= (hSP - Toffset), SET AvailSCH_Overwrite = 0, ELSE, SET AvailSCH_Overwrite = 1, ENDIF;set.PNG