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

Setpoint manager and sensor node

asked 2016-01-28 15:13:45 -0500

ngkhanh's avatar

updated 2016-01-28 15:24:31 -0500

Hi, I try this code and get Name or constant error for create a DX 2 stage humidity control coil :

 doas1_coil1 =
 doas1_coil12 =

1/ How i need setup those coil into airloop? Normally, dx coil single and twospeed need to have peformance curve before

2/ How to get sensor node for coil, outdoor mixer and other objects ? i heard that OS automatic add setpoint manager when we add coil/object to airloop. Have any way to access those setpoint manager to modifying them or i need to remove all default setpoint manager then add my set point manager ? Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-01-28 17:55:06 -0500

updated 2016-01-28 17:57:41 -0500

  1. Looks like the 'S' in 'OpenStudio' needs to be capitalized in your constructor call. To add coils to an empty loop, you can get get the airloop's supplyOutletNode and use the the addToNode method that the coil inherits from the 'StraightComponent' class.

  2. I'm pretty sure SetpointManagers aren't automatically created when you add a coil. You might be thinking of ControllerWaterCoil objects, which are created with a coil at least in the UI. Could be wrong though, do you have a source for that information?

edit flag offensive delete link more


  1. Get fault with Openstudio::Model::CoilHeatingDesuperheater. Although , measure got run, but it crashs models when you choose to see modified air loop. Seems because superheater coil is not GUIed. Please someone confirm this issue.
  2. Got from this post : SPM When i open output file it seems to have some SPM which i dont import manually. Please check and give instruction for this task
ngkhanh's avatar ngkhanh  ( 2016-01-28 23:32:11 -0500 )edit

Gotcha, looks like 2. happens at osm -> idf translation, here.

ericringold's avatar ericringold  ( 2016-01-29 08:08:42 -0500 )edit
  1. How to change from a coil from electrical heater to different coil type in energyplus : i need to remove the old one and add new coil with same as previous node. I have confusing with straight component inlet and outlet node also
  2. As an energyplus user, i feel more comfortable with manual setpoint not auto like that. please let me know how to remove autosepoint because i want to totally setup my AHU
ngkhanh's avatar ngkhanh  ( 2016-01-29 08:30:14 -0500 )edit

Yes setpoint managers are created during the osm -> idf translation. That said if you explicitly place a setpoint manager on a component outlet node, it will be left alone and used by that component.

The default logic only applies to the intermediate nodes. You must always place a spm on the supply outlet node.

By convention OpenStudio enforces that the outlet node is the sensing node of all components.

Kyle Benne's avatar Kyle Benne  ( 2016-01-29 08:53:18 -0500 )edit

Thank @Kyle Benne , it helps me a lot to determine task with energyplus measure. But how to get outlet node of any straight component like fan or cooling coil so we can assign SOM to that node? will .addToNode(nodename) work for that case ?

ngkhanh's avatar ngkhanh  ( 2016-01-29 10:24:53 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2016-01-28 15:13:45 -0500

Seen: 395 times

Last updated: Jan 28 '16