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

Output variable unique Key name for EnergyManagementSystem:Sensor

asked 2017-07-30 06:31:14 -0600

akat022's avatar

updated 2018-05-09 19:46:13 -0600

I am trying to implement thermostatic control of a zone based on PMV values (Fanger Comfort Criteria) using EMS in Energyplus. I add an EnergyManagementSystem:Sensor object as per the example in the InputOutput Reference documentation as follows (except the sensor is called "currentPMV" and I am trying to extract the value for the "Core_mid" zone):

EnergyManagementSystem:Sensor,
currentPMV,              !- Name
Core_mid,                !- Output:Variable or Output:Meter Index Key Name
Zone Thermal Comfort Fanger Model PMV;  !- Output:Variable or Output:Meter Name

I also define the Output:variable as follows:

Output:Variable,Core_mid,Zone Thermal Comfort Fanger Model PMV ,Timestep;

When I try to simulate, I obtain the following Severe error:

   ** Severe  ** Invalid Output:Variable or Output:Meter Index Key Name =CORE_MID
   **   ~~~   ** For Output:Variable or Output:Meter = ZONE THERMAL COMFORT FANGER MODEL PMV
   **   ~~~   ** Entered in EnergyManagementSystem:Sensor=CURRENTPMV
   **   ~~~   ** Unique Key Name not found.

I have checked that "Zone Thermal Comfort Fanger Model PMV" is listed in the .rdd file. I have also checked that "Core_mid" is a valid zone. I have tried changing the field to other zone names and obtain the same error. Does anyone know why "Core_mid" is not being recognized as a unique key name?

Any help is much appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
7

answered 2017-07-30 09:36:02 -0600

The IDF example you reference from the documentation for the EnergyManagementSystem:Sensor object is a little misleading. Zone Thermal Comfort Fanger Model PMV is actually an output variable of the People object, not the Zone object.

In the EMS:Sensor and Output:Variable object you created for PMV, you should replace Core_mid with the name of the People object assigned to that zone (likely Core_mid_ppl or something similar).

If you still see an error or warning, then you may need to extend the People object to define the input fields required to calculate thermal comfort (Activity Level Schedule Name, Mean Radiant Temperature Calculation Type, etc.).

There is a slightly related Unmet Hours question that you can refer to as well.

edit flag offensive delete link more

Comments

Thank you! Making the change to the name of the People object did the trick.

akat022's avatar akat022  ( 2017-07-30 10:06:07 -0600 )edit

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

3 followers

Stats

Asked: 2017-07-30 06:31:14 -0600

Seen: 917 times

Last updated: Jul 31 '17