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

EMS Error When Using PV Generation as Sensor

asked 2020-05-23 13:39:29 -0500

sergerwehbe's avatar

updated 2020-10-25 19:27:21 -0500

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2020-05-25 11:52:31 -0500

updated 2020-05-25 11:53:54 -0500

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

edit flag offensive delete link more

Comments

Great, Thank you

sergerwehbe's avatar sergerwehbe  ( 2020-05-27 09:42:20 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2020-05-23 13:39:29 -0500

Seen: 180 times

Last updated: May 27 '20