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

Setting DHW system heat source

asked 8 years ago

joekers's avatar

updated 7 years ago

I'm trying to set the DHW system heat source for various prototype buildings. I am planning to get the current heat source for the DHW loop and setting certain parameters associated with it. However, when changing the parameters for the heat source, I do not want to edit the heat source if it is used for heating in other loops. I only want to edit the heat pump source for the DHW loop. How should I go about obtaining this heat source object and setting its parameters?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 8 years ago

Adam Hilton's avatar

I'd do the following...

  1. Get WaterUseConnections objects
  2. Use the HVACComponent function loop to get their respective plant loops
  3. Use the Loop function supplyComponents to get all supply components for the loop returned as a model object vector
  4. remove the existing objects
  5. Create your new object
  6. Use the PlantLoop function addSupplyBranchForComponent to add the new object to the loop

Hopefully that helps.

Preview: (hide)
link

Comments

Thanks,

I want to keep the current heat source object. So after getting all the supply components, do you know how I could locate the heat source object from the supplyComponents?

joekers's avatar joekers  ( 8 years ago )

What do you have that's not a heat source for your supply components?

Adam Hilton's avatar Adam Hilton  ( 8 years ago )

Nodes, Pumps, Connector, and Pipes

joekers's avatar joekers  ( 8 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 8 years ago

Seen: 218 times

Last updated: Aug 31 '16