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 2019-10-29 04:29:42 -0600

TobiasMaile's avatar

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

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

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

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

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.

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

Careers

Question Tools

Stats

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

Seen: 175 times

Last updated: Oct 29 '19