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

Revision history [back]

You need to define your node object as a reference to the AirLoopHVACOutdoorAirSystem of your AirLoopHVAC.

Please see the following code for a working 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.

You need to define your node object as a reference to the AirLoopHVACOutdoorAirSystem of your AirLoopHVAC.

Please see the following code for a working 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.

You need to define your node object as a reference to the ERV (AirLoopHVACOutdoorAirSystemHeatExchangerAirToAirSensibleAndLatent ) 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.