First time here? Check out the Help page!
| 1 | initial version |
Here's how to do it in the meantime in case anyone has an urgent matter:
tank) on the demand sideDHW Plant LoopOnce your model is loaded
# Get storage tank
tank = model.getWaterHeaterMixedByName('Storage Tank').get
# Get Secondary loop
dhw_loop = model.getPlantLoopByName('DHW Plant Loop').get
# Add the tank on the supply side of the secondary loop
dhw_loop.addSupplyBranchForComponent(tank)
Then save your model, and when you reopen it the tank will be properly connected.

| 2 | No.2 Revision |
Here's how to do it in the meantime in case anyone has an urgent matter:
tank) on the demand sideDHW Plant LoopOnce your model is loaded
# Get storage tank
tank = model.getWaterHeaterMixedByName('Storage Tank').get
# Get Secondary loop
dhw_loop = model.getPlantLoopByName('DHW Plant Loop').get
# Add the tank on the supply side of the secondary loop
dhw_loop.addSupplyBranchForComponent(tank)
Then save your model, and when you reopen it the tank will be properly connected.

Here is a link to a measure on BCL that creates a WaterHeater:Mixed and sets the source and use sides.
| 3 | No.3 Revision |
Here's how to do it in the meantime in case anyone has an urgent matter:
tank) on the demand sideDHW Plant LoopOnce your model is loaded
# Get storage tank
tank = model.getWaterHeaterMixedByName('Storage Tank').get
# Get Secondary loop
dhw_loop = model.getPlantLoopByName('DHW Plant Loop').get
# Add the tank on the supply side of the secondary loop
dhw_loop.addSupplyBranchForComponent(tank)
Then save your model, and when you reopen it the tank will be properly connected.

Here is a link to a measure on BCL that creates a WaterHeater:Mixed WaterHeater:Mixed and sets the source and use sides.