How to use ClimateZone Class
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