First time here? Check out the Help page!

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

after changing thermal zone in sketchup, the thermal zone list in OS still remains the same

asked 3 years ago

Brianna's avatar

updated 3 years ago

Hello, I changed the thermal zone in sketchup, group space1/thermalzone1 and space2/thermalzone2 together into one single zone thermalzone1. But when I came back to the OS, the theramlzone2 is still there. So I need to manually delete them in OS as well ? is there anyway to auto delete unused one? thank you

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 3 years ago

I'm not aware of a user script that does this but it would be pretty easy to add (see end of answer). However you can take a different approach to creation and assigning of zones.

  1. Create zones that have multiple spaces and assign those spaces to the zone.
  2. When all multi-space zones have been made and assign then run the Add New Thermal Zone For Spaces With No Thermal Zone user script to create and assigns zones for the remaining spaces.

With this approach there shouldn't be a need to delete any zones. If you want to write script to delete un-used zones would look something like this.

model.getThermalZones.each do |zone|
  if zone.spaces.size == 0 then zone.remove end
  # could add further check for non zero floor area and for more than 1 space surface
end
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: 3 years ago

Seen: 100 times

Last updated: Apr 25 '21