First time here? Check our help page!
2

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

sergerwehbe's avatar
233
sergerwehbe
asked 2020-05-23 13:39:29 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-10-25 19:27:21 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

Instead "Average" you have to put your Electric Load Center object name.

It requires the "Key Name", that is the name of the object associated with the variable thay you use as a sensor

Ag's avatar
1.4k
Ag
answered 2020-05-25 11:52:31 -0500, updated 2020-05-25 11:53:54 -0500
edit flag offensive 0 remove flag delete link

Comments

Great, Thank you

sergerwehbe's avatar sergerwehbe (2020-05-27 09:42:20 -0500) edit
add a comment see more comments