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

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

** 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
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 close merge delete

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?

( 2018-09-19 12:08:34 -0600 )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.

( 2018-09-20 02:51:46 -0600 )edit

Sort by » oldest newest most voted

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.

more

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.

( 2018-09-21 02:23:54 -0600 )edit

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

( 2018-09-21 10:51:15 -0600 )edit

Simple but effective advice. Thank you so much.

( 2018-09-25 09:35:14 -0600 )edit