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

How to link a setpointmanager to a HeatExchanger:AirToAir:SensibleAndLatent for supply air temp control

asked 2019-10-29 04:29:42 -0500

TobiasMaile's avatar

updated 2020-01-20 10:21:23 -0500

I am trying to enable a supply air temperature control on a HeatExchanger:AirToAir:SensibleAndLatent using the OpenStudio API.

I am setting the respective flag on the heat exchanger to true.


and create a setpoint manager

setpoint_scheduled =, "Temperature", sat_sched) setpoint_scheduled.addToNode(node)

But could not figure out how to get the supply air outlet node of the heat exchanger that I could add to the setpointmanager. Am I missing something?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-10-29 11:11:04 -0500

updated 2019-10-29 11:15:05 -0500

You need to define your node object as a reference to the ERV (HeatExchangerAirToAirSensibleAndLatent) of your AirLoopHVAC.

Please see the following code for an example.

# Assumming you have an AirLoopHVAC setup with an ERV on it.
# Get the ERV
erv = model.getHeatExchangerAirToAirSensibleAndLatentByName('The name of your ERV').get
# Add setpoint manager, normally this would be a
# SetpointManagerOutdoorAirPretreat, but you can use any
spm_sch =, 'Temperature', sat_sched)
# Attach to the outlet of the ERV
erv_outlet = erv.primaryAirOutletModelObject.get.to_Node.get

Check the I/O reference on why it may be a better idea to use a SetpointManagerOutdoorAirPretreat.

edit flag offensive delete link more

Your Answer

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

Add Answer

Training Workshops


Question Tools


Asked: 2019-10-29 04:29:42 -0500

Seen: 158 times

Last updated: Oct 29 '19