ladybug-tools-in2 / standards-measure

Other
0 stars 0 forks source link

Sample Code for Hot Water Demand #4

Open chriswmackey opened 5 years ago

chriswmackey commented 5 years ago

This is not a critical development task but is something that we would like to support. I know, @mdahlhausen , that you said getting this from a static json might be unrealistic since parts of this rely on logic written in Ruby.

I can definitely see how logic that sizes hot water systems and sets their properties might need Ruby code but I would guess that there is still a schedule at the zone-level that describes how much hot water is needed depending on the zone program type. If you can confirm that this is true, maybe we can just get some sample code that gets the schedule for now and we can worry about logic that sizes the system later.

If my assumption is wrong, than maybe we could just forego it or, if you could point me to the ruby file that has some of the logic, we can see if it is something that we can work around.

mdahlhausen commented 5 years ago

The first step is to make a service hot water loop with model_add_swh_loop().

The second step is to add water fixtures to it with model_add_swh_end_uses().