hello all i am new of using EMS i need to control hybrid system for heating and domestic hot water the hybrid system is air source heat pump and gas condensing boiler the system has three operation modes depending on the outdoor ambient temperature. 1-Heat Pump Only Mode: >3 degrees C 2- Hybrid Mode (AWSHP and GCB): 3 to - 2 degrees C 3- Boiler Only Mode: <-2 degrees C when the heat pump only working the supply temperature is 60C and when the hybrid system or gas boiler only the supply temperature is 70C i tried using below code, the ems code not working properly by checking edd file the signal and the commands for the actuators are out but the control of the heat pump and gas boiler not working as needed sometimes the heat pump work when the temperature is below -2 and sometimes the gas boiler working above 3 degrees and the setpoint doesn't change what could be the problem
EnergyManagementSystem:Sensor, OutdoorTempSensor, !- Name , !- Key Name Site Outdoor Air Drybulb Temperature; !- Output:Variable or Output:Meter Name
EnergyManagementSystem:Actuator, HP_Operation, !- Name AirSourceHeatPump1, !- Actuated Component Unique Name Plant Component WaterHeater:HeatPump:PumpedCondenser, !- Actuated Component Type On/Off Supervisory; !- Actuated Component Control Type
EnergyManagementSystem:Actuator, GCB_Operation, !- Name GasCondensingBoiler1, !- Actuated Component Unique Name Plant Component Boiler:HotWater, !- Actuated Component Type On/Off Supervisory; !- Actuated Component Control Type
EnergyManagementSystem:Actuator, SupplyTempSetpoint, !- Name LoopSetpointManager1, !- Actuated Component Unique Name System Node Setpoint, !- Actuated Component Type Temperature Setpoint; !- Actuated Component Control Type
EnergyManagementSystem:Program, HybridHeatingControl, IF (OutdoorTempSensor > 3.0) THEN, ! Heat Pump Only Mode: Turn on HP; turn off boiler; set supply temp = 60°C. SET HP_Operation = 1, SET GCB_Operation = 0, SET SupplyTempSetpoint = 60.0, ELSEIF ((OutdoorTempSensor <= 3.0) AND (OutdoorTempSensor > -2.0)) THEN, ! Hybrid Mode: Both equipment run; set supply temp = 70°C. SET HP_Operation = 1, SET GCB_Operation = 1, SET SupplyTempSetpoint = 70.0, ELSE, ! Boiler Only Mode: Turn off HP; turn on boiler; supply temp = 70°C. SET HP_Operation = 0, SET GCB_Operation = 1, SET SupplyTempSetpoint = 70.0, ENDIF;
EnergyManagementSystem:ProgramCallingManager, HybridControlCallingManager, BeginTimestepBeforePredictor, !- HybridHeatingControl;