First time here? Check out the Help page!
1 | initial version |
The below code gives an error message Optional not initialized
ps: how to type in a code box?
chiller = OpenStudio::Model::ChillerElectricEIR.new(model, clgCapFuncTempCurve, eirFuncTempCurve, eirFuncPlrCurve) chiller.chiller.setName('primary chiller') runner.registerInfo("Primary Chiller= '#{chiller.name}' #it outputs the chiller name chilled_water_plant.addSupplyBranchForComponent(chiller) primarychiller_manager_scheduled = OpenStudio::Model::SetpointManagerScheduled.new(model, chiller_setpoint_schedule) primarychiller_manager_scheduled.addToNode(chiller.demandOutletModelObject.get.to_Node.get)
2 | No.2 Revision |
The below code gives an error message Optional not initialized
ps: how to type in a code box?
3 | No.3 Revision |
The below code gives an error message Optional not initialized
ps: how to type in a code box?
chiller = OpenStudio::Model::ChillerElectricEIR.new(model, clgCapFuncTempCurve, eirFuncTempCurve, eirFuncPlrCurve)
eirFuncPlrCurve)
chiller.chiller.setName('primary
chiller')
chiller')
runner.registerInfo("Primary Chiller= '#{chiller.name}' #it outputs the chiller
name
chilled_water_plant.addSupplyBranchForComponent(chiller)
name
chilled_water_plant.addSupplyBranchForComponent(chiller)
primarychiller_manager_scheduled = OpenStudio::Model::SetpointManagerScheduled.new(model,
chiller_setpoint_schedule)
primarychiller_manager_scheduled.addToNode(chiller.demandOutletModelObject.get.to_Node.get)
chiller_setpoint_schedule)
primarychiller_manager_scheduled.addToNode(chiller.demandOutletModelObject.get.to_Node.get)
4 | No.4 Revision |
The below code gives an error message Optional not initialized
ps: how to type in a code box?
chiller = OpenStudio::Model::ChillerElectricEIR.new(model, clgCapFuncTempCurve, eirFuncTempCurve, eirFuncPlrCurve)
chiller.chiller.setName('primary chiller')
runner.registerInfo("Primary Chiller= '#{chiller.name}'
#it outputs ") #this line prints the chiller name
chilled_water_plant.addSupplyBranchForComponent(chiller)
primarychiller_manager_scheduled = OpenStudio::Model::SetpointManagerScheduled.new(model, chiller_setpoint_schedule)
primarychiller_manager_scheduled.addToNode(chiller.demandOutletModelObject.get.to_Node.get)
5 | No.5 Revision |
The below code gives an error message Optional not initialized
ps: how to type in a code box?
chiller = OpenStudio::Model::ChillerElectricEIR.new(model, clgCapFuncTempCurve, eirFuncTempCurve, eirFuncPlrCurve)
eirFuncPlrCurve)
chiller.chiller.setName('primary
chiller')
chiller')
runner.registerInfo("Primary Chiller= '#{chiller.name}' ") #this line prints the chiller
name
chilled_water_plant.addSupplyBranchForComponent(chiller)
name
chilled_water_plant.addSupplyBranchForComponent(chiller)
primarychiller_manager_scheduled = OpenStudio::Model::SetpointManagerScheduled.new(model,
chiller_setpoint_schedule)chiller_setpoint_schedule)
primarychiller_manager_scheduled.addToNode(chiller.demandOutletModelObject.get.to_Node.get)
primarychiller_manager_scheduled.addToNode(chiller.demandOutletModelObject.get.to_Node.get)
6 | No.6 Revision |
The below code gives an error message Optional not initialized
ps: how to type in a code box?
chiller = OpenStudio::Model::ChillerElectricEIR.new(model, clgCapFuncTempCurve, eirFuncTempCurve, eirFuncPlrCurve)
chiller.chiller.setName('primary chiller')
runner.registerInfo("Primary Chiller= '#{chiller.name}' ") #this line prints the chiller name
chilled_water_plant.addSupplyBranchForComponent(chiller)
primarychiller_manager_scheduled = OpenStudio::Model::SetpointManagerScheduled.new(model, chiller_setpoint_schedule)
primarychiller_manager_scheduled.addToNode(chiller.demandOutletModelObject.get.to_Node.get)
7 | No.7 Revision |
The below code gives an error message Optional not initialized
ps: how to type in a code box?
chiller = OpenStudio::Model::ChillerElectricEIR.new(model, clgCapFuncTempCurve, eirFuncTempCurve, eirFuncPlrCurve)
chiller.chiller.setName('primary chiller')
runner.registerInfo("Primary Chiller= '#{chiller.name}' ") #this line prints the chiller name
chilled_water_plant.addSupplyBranchForComponent(chiller)
primarychiller_manager_scheduled = OpenStudio::Model::SetpointManagerScheduled.new(model, chiller_setpoint_schedule)
primarychiller_manager_scheduled.addToNode(chiller.demandOutletModelObject.get.to_Node.get)
8 | No.8 Revision |
The below code gives an error message Optional not initialized
EDITED with the correct answer
chiller = OpenStudio::Model::ChillerElectricEIR.new(model, clgCapFuncTempCurve, eirFuncTempCurve, eirFuncPlrCurve)
chiller.chiller.setName('primary chiller')
runner.registerInfo("Primary Chiller= '#{chiller.name}' ") #this line prints the chiller name
chilled_water_plant.addSupplyBranchForComponent(chiller)
primarychiller_manager_scheduled = OpenStudio::Model::SetpointManagerScheduled.new(model, chiller_setpoint_schedule)
primarychiller_manager_scheduled.addToNode(chiller.demandOutletModelObject.get.to_Node.get)
primarychiller_manager_scheduled.addToNode(chiller.supplyOutletModelObject.get.to_Node.get)