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

How do I identify and insert correctly the Unique Key Name in Open Studio?

asked 2018-09-19 07:57:58 -0500

mario.gianola-1994's avatar

updated 2018-09-24 11:46:12 -0500

** Severe  ** Invalid Output:Variable or Output:Meter Index Key Name ={220AFAC8-F9FE-4FD1-89B0-38DD715C7363}
~~~   ** For Output:Variable or Output:Meter = SYSTEM NODE SETPOINT TEMPERATURE
~~~   ** Entered in EnergyManagementSystem:Sensor=ENERGY_MANAGEMENT_SYSTEM_SENSOR_1
~~~   ** Unique Key Name not found.
Fatal  ** Errors found in processing Energy Management System input. Preceding condition causes termination.

This is what I get as output from the simulation lauched in Open Studio. I tried to insert a new variable by means of the AddOutputVariable measure, as suggested by an answer to a similar question, but I'm not sure if it was the solution to my problem and if I did that correctly. Unfortunately all the answers I found refer directly to Energy Plus input and not to Open Studio, so I'm really struggling to find the corresponding elements. I'm quite new at Open Studio, so it could be a basic question. I hope someone can help me. Thanks in advance.

edit retag flag offensive close merge delete

Comments

Are you using any measures in your OpenStudio simulation? Are you checking any EMS Sensor boxes while clicking on nodes in the HVAC systems diagrams?

Aaron Boranian's avatar Aaron Boranian  ( 2018-09-19 12:08:34 -0500 )edit

I'm using Add Output Diagnostic and Open Studio Results as measures. I was trying to use Add Output Variable to solve my problem. I'm checking EMS sensors by clicking on nodes. I opened also the corresponding idf file in Energy Plus: in the EMS Sensor section I can see not only all the sensors I've put in the Open Studio Model, but one more sensor (the {220AFAC8-F9FE-4FD1-89B0-38DD715C7363} one) I can't identify and which causes the severe error in the simulation. In any case, I'm still not very sure about the correct use of sensors.

mario.gianola-1994's avatar mario.gianola-1994  ( 2018-09-20 02:51:46 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-09-20 11:28:02 -0500

I don't fully understand what you are trying to do, and why you are using the EnergyManagementSystem:Sensor object.

Is your goal just to add an output variable for System Node Setpoint Temperature? If so, use the enable_detailed_output_for_each_node_in_a_loop measure available on BCL.

If your goal is to set up a EnergyManagementSystem with a EnergyManagementSystem:Sensor object, read the EnergyPlus documentation for the EnergyManagementSystem:Sensor object. Here is some example code in openstudio-standards that adds these objects.

edit flag offensive delete link more

Comments

Thanks for your answer. My problem is that I didn't insert any EMS Sensor (not intentionally, at least), but when I run the simulation it gives my this error about the {220AFAC8-F9FE-4FD1-89B0-38DD715C7363} sensor you can see in the output. What I'd like to do is to cancel/modify this sensor, but I can't find it in the OS model. I tried to find it by clicking on nodes of the HVAC diagrams and also on the Sketchup model, without success so far.

mario.gianola-1994's avatar mario.gianola-1994  ( 2018-09-21 02:23:54 -0500 )edit

did you try opening the .osm file in a text editor and deleting it there?

mdahlhausen's avatar mdahlhausen  ( 2018-09-21 10:51:15 -0500 )edit

Simple but effective advice. Thank you so much.

mario.gianola-1994's avatar mario.gianola-1994  ( 2018-09-25 09:35:14 -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

2 followers

Stats

Asked: 2018-09-19 07:57:58 -0500

Seen: 446 times

Last updated: Sep 20 '18