EMS control timestep
Dear Users,
How to provide same time-step sensor value to actuator for plant system?
I have made a simple EMS as below.
EnergyManagementSystem:Sensor,
plantflow, !- Name
Load Profile, !- Output:Variable or Output:Meter Index Key Name
Plant Load Profile Mass Flow Rate; !- Output:Variable or Output:Meter Name
EnergyManagementSystem:Actuator,
pumpflow, !- Name
Headered Var Spd Pump, !- Actuated Component Unique Name
Pump, !- Actuated Component Type
Pump Mass Flow Rate; !- Actuated Component Control Type
EnergyManagementSystem:ProgramCallingManager,
pumpmanager, !- Name
InsideHVACSystemIterationLoop, !- EnergyPlus Model Calling Point
pumpcontrol; !- Program Name 1
EnergyManagementSystem:Program,
pumpcontrol, !- Name
IF plantflow > 0, !- Program Line 1
SET pumpflow = plantflow,!- Program Line 2
ENDIF; !- A4
What I am expect is the pump flow will be identical with the flow rate of load profile during every timestep, but the result shows that it will be excuted after one time-step. (For example, the timestep is 6, and load profile flow rate is 6 for one hour, then result of pump's flow rate for same hour is calculated as 5, remaining 1 is counted in next hour.)
May I know is there any solution for this issue?