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

Copy an Airloop in OpenStudio

asked 8 years ago

Carlos Vazquez's avatar

updated 7 years ago

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

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
3

answered 8 years ago

updated 8 years ago

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.

Preview: (hide)
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  ( 8 years ago )

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  ( 8 years ago )

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  ( 8 years ago )
2

answered 8 years ago

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

Preview: (hide)
link

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 8 years ago

Seen: 491 times

Last updated: Oct 25 '16