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

OS:Climate zone object causing osm to crash

asked 2019-07-03 14:23:09 -0500

antonszilasi's avatar

updated 2019-07-03 14:32:43 -0500

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?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2019-07-03 14:35:49 -0500

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
  climate_zone = "ASHRAE 169-2006-#{climate_zone_obj.value}"
edit flag offensive delete link more

answered 2019-07-03 15:02:08 -0500

antonszilasi's avatar

updated 2019-07-03 15:02:26 -0500

Note the final OS:Climatezone object which worked is:

image description

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


Question Tools

1 follower


Asked: 2019-07-03 14:23:09 -0500

Seen: 390 times

Last updated: Jul 03 '19