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

Revision history [back]

click to hide/show revision 1
initial version

How to add a controller to a hot water loop

Form the SDK documentation, if use addDemandBranchForComponent method, it will create a new ControllerWaterCoil if hvacComponent is a CoilCoolingWater or a CoilHeatingWater.

so from openstudio, should be like this: image description

however, when I add heating water coils to loop by this ruby scripts:

coils = model.getCoilHeatingWaters
plant = model.getPlantLoopByName('Hot Water Loop')
coils.each do |coil|
   plant.addDemandBranchForComponent(coil)
end

there is no controller in openstudio: image description

so any suggestions? Thanks!!!!!

How to add a controller to a hot water loop

Form From the SDK documentation, if use addDemandBranchForComponent method, it will create a new ControllerWaterCoil ControllerWaterCoil if hvacComponent hvacComponent is a CoilCoolingWater CoilCoolingWater or a CoilHeatingWater.CoilHeatingWater.

so So from openstudio, OpenStudio, should be like this:

image description

however, when I add heating water coils to loop by this ruby scripts:script:

coils = model.getCoilHeatingWaters
plant = model.getPlantLoopByName('Hot Water Loop')
coils.each do |coil|
   plant.addDemandBranchForComponent(coil)
end

there is no controller in openstudio: OpenStudio: image description

so So any suggestions? Thanks!!!!!suggestions?

How to add a controller to a hot water loop

From the SDK documentation, if use addDemandBranchForComponent method, it will create a new ControllerWaterCoil if hvacComponent is a CoilCoolingWater or a CoilHeatingWater.

So from OpenStudio, should be like this:

image description

however, when I add heating water coils to loop by this ruby script:

coils = model.getCoilHeatingWaters
plant = model.getPlantLoopByName('Hot Water Loop')
coils.each do |coil|
   plant.addDemandBranchForComponent(coil)
end

there is no controller in OpenStudio: image description

So any suggestions?