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

OS:Climate zone object causing osm to crash

asked 5 years ago

antonszilasi's avatar

updated 5 years ago

In our osm model we want to define our climate zone using the ASHRAE climate zone values, so I have created the following ClimateZone object using this function in the OpenStudio SDK seen here.

image description

Unfortunately this climate zone object causes our osm to crash and it seems to be something to do with the nze hvac measure. You can see the logs here.

This only happened when I changed the OS climate zone to the climate zone before:

Previously I was using the climate zone below and it worked:

image description

Whats going on here, how can I fix this?

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
1

answered 5 years ago

The measure wants the Climate Zone to be specified per the 2006 standard. I'll update it to take 2006 or 2013, but use 2006 for now.

# get the climate zone
climate_zone_obj = model.getClimateZones.getClimateZone("ASHRAE", 2006)
if climate_zone_obj.empty()
  runner.registerError("Please assign an ASHRAE climate zone to the model before running the measure.")
  return false
else
  climate_zone = "ASHRAE 169-2006-#{climate_zone_obj.value}"
end
Preview: (hide)
link
0

answered 5 years ago

antonszilasi's avatar

updated 5 years ago

Note the final OS:Climatezone object which worked is:

image description

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: 5 years ago

Seen: 420 times

Last updated: Jul 03 '19