6

Copy an Airloop in OpenStudio

I need a hint to write a measure to duplicate an AirLoopHVAC already made within openstudio. I will appreciate any help.

Carlos Vazquez's avatar
812
Carlos Vazquez
asked 2016-10-24 00:48:07 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-08-05 07:54:46 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

3

Using AirLoopHVAC.clone by itself won't work. Instead you'd probably have to get the loop's supply components, clone them individually and then assign them to the new loop. This can be tricky for components (e.g. water coils) that have connections to other loops.

I would consider an alternate approach in which you build your original loop in the measure, and iterate that code for the number of loops you want. I've found that way a lot cleaner than trying to fully duplicate existing systems.

ericringold's avatar
10.6k
ericringold
answered 2016-10-24 14:38:03 -0500, updated 2016-10-24 14:41:47 -0500
edit flag offensive 0 remove flag delete link

Comments

@Kyle Benne might have some insights. There is an issue on file to make the .clone method work better, but it hasn't been addressed yet.

aparker's avatar aparker (2016-10-25 12:57:23 -0500) edit

Yeah I don't have a lot to add here. I think Eric's comments echo my own thoughts pretty well. If folks really want to see AirLoopHVAC.clone built into the OpenStudio SDK I'd pile on in this thread. It is something I've advocated for myself, but never really had the justification to spend time on it. I think it would be great feature for making air system libraries.

Kyle Benne's avatar Kyle Benne (2016-10-25 13:18:20 -0500) edit

Somehow I missed that you had filed an issue about it. I'll go ahead and link to the uservoice request, just to keep things in a tidy package.

ericringold's avatar ericringold (2016-10-25 13:22:46 -0500) edit
add a comment see more comments
2

I would look at an existing BCL measure that has a user argument for an air loop and then try the clone method.

MatthewSteen's avatar
10.1k
MatthewSteen
answered 2016-10-24 14:33:17 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments