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

How to use ClimateZone Class

asked 2019-07-01 14:19:19 -0500

antonszilasi's avatar

updated 2019-07-01 17:38:43 -0500

I am writing as I am confused about the ClimateZone Class in the OpenStudio api

When I add a Climate Zone object via Desktop OS to OSM with no climate zone object, the following is added to the model.

OS:ClimateZones,   
{411f8af8-6ffc-4657-8b86-090ed54ce2b2}, !- Handle                        
!- Active Institution   ,              
!- Active Year   ,                     
!- Climate Zone Institution Name 1   , 
!- Climate Zone Document Name 1   ,    
!- Climate Zone Document Year 1   
3B,  !- Climate Zone Value 1   
CEC ,!- Climate Zone Institution Name 2   
California Climate Zone Descriptions ,!- Climate Zone Document Name 2   
1995 ,!- Climate Zone Document Year 2 
!- Climate Zone Value 2 ;

However when I use the ClimateZone class in Ruby to add my own ClimateZone object (here) using the setTypeAndValue function the function insists that I give it a int value for Climate Zone Document Year.

I am using the data seen below for my other arguements to the setTypeAndValue function where the climate zone value could be any ashrae climate zone value.

What value should I be using for Climate Zone Document Year?

OS:ClimateZones,
{411f8af8-6ffc-4657-8b86-090ed54ce2b2}, !- Handle
,                                       !- Active Institution
,                                       !- Active Year
ASHRAE,                                 !- Climate Zone Institution Name 1
ASHRAE climate zone description,        !- Climate Zone Document Name 1
,                                       !- Climate Zone Document Year 1
3B;                                     !- Climate Zone Value 1
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-07-01 14:36:25 -0500

This is from ANSI/ASHRAE Standard 169-2013, Climatic Data for Building Design Standards, which updated climate zones locations from the prior version was Std. 169-2006. Use 2013.

The OpenStudio App is defaulting to CEC instead of ASHRAE climate zones on an empty model. It's a minor, known bug.

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

Careers

Question Tools

1 follower

Stats

Asked: 2019-07-01 14:19:19 -0500

Seen: 174 times

Last updated: Jul 01 '19