2

Setting DHW system heat source

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?

joekers's avatar
263
joekers
asked 2016-08-31 13:38:43 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-08-05 07:49:06 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

3

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.

Adam Hilton's avatar
3.5k
Adam Hilton
answered 2016-08-31 15:09:06 -0500
edit flag offensive 0 remove flag delete 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 (2016-08-31 15:49:20 -0500) edit

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

Adam Hilton's avatar Adam Hilton (2016-08-31 16:11:49 -0500) edit

Nodes, Pumps, Connector, and Pipes

joekers's avatar joekers (2016-09-07 12:07:19 -0500) edit
add a comment see more comments