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

Setting DHW system heat source

asked 2016-08-31 13:38:43 -0500

joekers gravatar image

updated 2017-08-05 07:49:06 -0500

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2016-08-31 15:09:06 -0500

Adam Hilton gravatar image

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.

edit flag offensive delete link more

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 gravatar image joekers  ( 2016-08-31 15:49:20 -0500 )edit

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

Adam Hilton gravatar image Adam Hilton  ( 2016-08-31 16:11:49 -0500 )edit

Nodes, Pumps, Connector, and Pipes

joekers gravatar image joekers  ( 2016-09-07 12:07:19 -0500 )edit

Your Answer

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

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2016-08-31 13:38:43 -0500

Seen: 144 times

Last updated: Aug 31 '16