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

Copy an Airloop in OpenStudio

asked 2016-10-24 00:48:07 -0500

Carlos Vazquez's avatar

updated 2017-08-05 07:54:46 -0500

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

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-10-24 14:38:03 -0500

updated 2016-10-24 14:41:47 -0500

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.

edit flag offensive delete link more


@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

answered 2016-10-24 14:33:17 -0500

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

edit flag offensive delete link more

Your Answer

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

Add Answer

Training Workshops


Question Tools

1 follower


Asked: 2016-10-24 00:48:07 -0500

Seen: 465 times

Last updated: Oct 25 '16