Revision history  [back]

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

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 Handle

, !- Active Institution Institution

, !- Active Year Year

ASHRAE, !- Climate Zone Institution Name 1 1

ASHRAE climate zone description, !- Climate Zone Document Name 1 1

, !- Climate Zone Document Year 1 1

3B; !- Climate Zone Value 1

1

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}, {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 ,!- CEC,

!- Climate Zone Institution Name 2

California Climate Zone Descriptions ,!- Descriptions,

!- Climate Zone Document Name 2

1995 ,!- 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 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

It asks however, for the year, otherwise doesn't run. What year should we put for ASHRAE climate zones?

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},

{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,

CEC, !- Climate Zone Institution Name 2 California Climate Zone Descriptions,

Descriptions, !- Climate Zone Document Name 2 1995,

1995, !- Climate Zone Document Year 2

; !- Climate Zone Value 2 ;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.year value.

I am using the data seen below for my other arguements to the function where the climate zone value could be any ashrae climate zone value. What value should I be using Climate Zone Document Year?for the 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

It asks however, for the year, otherwise doesn't run. What year should we put for ASHRAE climate zones?

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 year value.

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

OS:ClimateZones, {411f8af8-6ffc-4657-8b86-090ed54ce2b2}, !- Handle

Handle , !- Active Institution

Institution , !- Active Year

Year ASHRAE, !- Climate Zone Institution Name 1

1 ASHRAE climate zone description, !- Climate Zone Document Name 1

1 , !- Climate Zone Document Year 1

1 3B; !- Climate Zone Value 1

It asks however, for the year, otherwise doesn't run. What year should we put for ASHRAE climate zones?

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},
{411f8af8-6ffc-4657-8b86-090ed54ce2b2},
!- Handle ,
!- Active Institution ,
!- Active Year , !- Climate Zone Institution Name 1 , !- Climate Zone Document Name 1 ,
!- 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 year value.

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

OS:ClimateZones, {411f8af8-6ffc-4657-8b86-090ed54ce2b2}, !- Handle ,

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

It asks however, for the year, otherwise doesn't run. What year should we put for ASHRAE climate zones?

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
OS:ClimateZones, {411f8af8-6ffc-4657-8b86-090ed54ce2b2}, !- Handle ,
!- Active Institution Institution ,
!- Active Year Year ,
!- Climate Zone Institution Name 1 , 1 , !- Climate Zone Document Name 1 1 ,
!- Climate Zone Document Year 1 1 3B, !- Climate Zone Value 1 1 CEC,
!- Climate Zone Institution Name 2
2 California Climate Zone Descriptions, !- Climate Zone Document Name 2
2 1995,
!- Climate Zone Document Year 2 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 year value.

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

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

It asks however, for the year, otherwise doesn't run. What year should we put for ASHRAE climate zones?