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

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

asked 5 years ago

TobiasMaile's avatar

updated 5 years ago

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.

heat_exchanger.setSupplyAirOutletTemperatureControl(true)

and create a setpoint manager

setpoint_scheduled = OpenStudio::Model::SetpointManagerScheduled.new(model, "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?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 5 years ago

updated 5 years ago

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 = OpenStudio::Model::SetpointManagerScheduled.new(model, 'Temperature', sat_sched)
# Attach to the outlet of the ERV
erv_outlet = erv.primaryAirOutletModelObject.get.to_Node.get
spm_sch.addToNode(erv_outlet)

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

Preview: (hide)
link

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

Stats

Asked: 5 years ago

Seen: 191 times

Last updated: Oct 29 '19