First time here? Check out the Help page!
1 | initial version |
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.
2 | No.2 Revision |
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.
3 | No.3 Revision |
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.