EMS Error When Using PV Generation as Sensor
Hi all, Im Using EMS in Energy plus for making my Pump ON while my PV system production is higher than 3000 watts. Here is my Program:
EnergyManagementSystem:Sensor,
PV_Generation, !- Name
Average, !- Output:Variable or Output:Meter Index Key Name
Electric Load Center Produced Electric Power; !- Output:Variable or Output:Meter Name
EnergyManagementSystem:Actuator,
CHW_Loop_Sch_Modified, !- Name
CHW_Loop_Schd, !- Actuated Component Unique Name
Schedule:Compact, !- Actuated Component Type
Schedule Value; !- Actuated Component Control Type
EnergyManagementSystem:ProgramCallingManager,
CHW_Program, !- Name
BeginTimestepBeforePredictor, !- EnergyPlus Model Calling Point
System_Storage; !- Program Name 1
EnergyManagementSystem:Program,
System_Storage, !- Name
IF (PV_Generation > 3000), !- Program Line 1
SET CHW_Loop_Sch_Modified = 1, !- Program Line 2
ELSE, !- A4
SET CHW_Loop_Sch_Modified = 0, !- A5
ENDIF; !- A6
I got this Error:
** Invalid Output:Variable or Output:Meter Index Key Name =AVERAGE
** ~~~ ** For Output:Variable or Output:Meter = ELECTRIC LOAD CENTER PRODUCED ELECTRIC POWER
** ~~~ ** Entered in EnergyManagementSystem:Sensor=PV_GENERATION
** ~~~ ** Unique Key Name not found.
Please can someone guide me?
Please note:
- HVAC,Average,Electric Load Center Produced Electric Power [W] is taken from my RDD File.
- CHW_Loop_Schd is my pump schedule.
Thank you