openstudio-standards 0.2.0.rc2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7971c760a2256abb5458a28ad4e0d31a9364acca
4
- data.tar.gz: b4ed3ac1b33749ad8511de8b22dac45052074476
3
+ metadata.gz: 13900fdf938b7d127357f71afea357973d2884fc
4
+ data.tar.gz: 3da4b7b33084026a1762da60cf89924365b4bb8c
5
5
  SHA512:
6
- metadata.gz: 7156d8390581e7633b5ec60a0fb1d44f8bb1eb78876eaf5b4ab26adcddededd0fe2b5e6a3e411d1721cce3532e5cb1c7d108f54ccfe00148555fb42b97502055
7
- data.tar.gz: 8a8c9b87d8796999ffcee7319ec59f109513f5a7ed2057ac1b5853936263781a78797febee97909888af385c51a3db17d92a2b7402843299d9e63cf78b238f5d
6
+ metadata.gz: 349572947a81fbfac6ca21768ef96e7be6f0a2eb49ef7753869b6544922b1952e65cc61f837375d015f1cd943758dcff2c426dcab4385f049e006cfefc84770b
7
+ data.tar.gz: 0eaef05bcb57a3640b21ded3b416321feb7618cb4a226e38f42c681ba9f721717e81dc500117cc87dae1135cffbf5d486d385fb0e79a98530f035ebeb9423edc
@@ -1444,7 +1444,7 @@ Standard.class_eval do
1444
1444
  # Residential
1445
1445
  # NonResidential
1446
1446
  # Use 90.1-2010 so that retail and publicassembly are not split out
1447
- zones = model_zones_with_occ_and_fuel_type(model, '90.1-2010', nil)
1447
+ zones = model_zones_with_occ_and_fuel_type(model, nil)
1448
1448
 
1449
1449
  # Ensure that there is at least one conditioned zone
1450
1450
  if zones.size.zero?
@@ -6309,7 +6309,7 @@ class Standard
6309
6309
  else
6310
6310
  'res_med'
6311
6311
  end
6312
- when 'nonresidential'
6312
+ when 'nonresidential', 'retail', 'publicassembly', 'heatedonly'
6313
6313
  # nonresidential and 3 floors or less and < 75,000 ft2
6314
6314
  if num_stories <= 3 && area_ft2 < 75_000
6315
6315
  size_category = 'nonres_small'
@@ -6429,7 +6429,7 @@ class Standard
6429
6429
  # Get the system type
6430
6430
  system_type = syts[heating_source][cooling_source][delivery_type][size_category]
6431
6431
 
6432
- if system_type.nil?
6432
+ if system_type.nil? || system_type.empty?
6433
6433
  system_type = [nil, nil, nil, nil]
6434
6434
  OpenStudio.logFree(OpenStudio::Error, 'openstudio.standards.Model', "Could not determine system type for #{template}, #{area_type}, #{heating_source} heating, #{cooling_source} cooling, #{delivery_type} delivery, #{area_ft2.round} ft^2, #{num_stories} stories.")
6435
6435
  else
@@ -3013,7 +3013,8 @@ class Standard
3013
3013
  else
3014
3014
  "ASHRAE 169-2006-#{cz.value}"
3015
3015
  end
3016
- next
3016
+ elsif cz.institution == 'CEC'
3017
+ climate_zone = "CEC T24-CEC#{cz.value}"
3017
3018
  end
3018
3019
  end
3019
3020
 
@@ -13,5 +13,5 @@ module OpenstudioStandards
13
13
  end
14
14
  return 'git-not-found-on-this-system'
15
15
  end
16
- VERSION = '0.2.0.rc2'.freeze
16
+ VERSION = '0.2.0'.freeze
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstudio-standards
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.rc2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Parker
@@ -21,7 +21,7 @@ authors:
21
21
  autorequire:
22
22
  bindir: bin
23
23
  cert_chain: []
24
- date: 2018-03-16 00:00:00.000000000 Z
24
+ date: 2018-03-25 00:00:00.000000000 Z
25
25
  dependencies:
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: minitest-reporters