honeybee-openstudio 2.33.5 → 2.33.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00f670b33c2af46ca1d82b6371e3ce1e3d95ea9f316061c0582294cc132400e1
4
- data.tar.gz: f8ff5c43f625828eb63e0888eafa05da02b3b14fcef8c80cad8ed3a499d5c222
3
+ metadata.gz: fb5fa50e1c896889d81a5addfacf5db33e384f9a9c40f32f09c5964e9da2de76
4
+ data.tar.gz: a6d221fad4de2c03ad3de093b8e430511744e1b5111e372ecf4ffea75d8b6851
5
5
  SHA512:
6
- metadata.gz: '081054756a71ee870f430a644f9d313b41e9a1a899e9147c56404480d85559d0776216dabb53c40c62c1dbae9a5d901833b8620b8d54236c5f9d438b80df685d'
7
- data.tar.gz: 89064bfe113ed82ecb7aeafc2d9f174ed82f6a127a86829dc08c7396269f78ce790805b537674854f177ee646e68d10783da71e9803272a92a87151f0e099f32
6
+ metadata.gz: 04a7362bdc83c91137e6cf6c7bd7f9a8c4d887f39b5b1f7a54d46e86e98fe4c52a1c3690d432fac3f3135c53a85de257885b567156febb88efc9a888669a87a8
7
+ data.tar.gz: 98e3efbfda5be87a15b3a8cd8f062e38cebc60e872d71439981fc5307df4b72bcd9adaa408d2c83357979f4301ff845930d185a51deb42c9edad831387660582
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'honeybee-openstudio'
7
- spec.version = '2.33.5'
7
+ spec.version = '2.33.6'
8
8
  spec.authors = ['Tanushree Charan', 'Dan Macumber', 'Chris Mackey', 'Mostapha Sadeghipour Roudsari']
9
9
  spec.email = ['tanushree.charan@nrel.gov', 'chris@ladybug.tools']
10
10
 
@@ -53,11 +53,29 @@ module Honeybee
53
53
  hash[:latent_heat_recovery] = hvac.latentHeatRecoveryEffectiveness
54
54
  hash[:heating_air_temperature] = hvac.maximumHeatingSupplyAirTemperature
55
55
  hash[:cooling_air_temperature] = hvac.minimumCoolingSupplyAirTemperature
56
- if hvac.heatingLimit == 'NoLimit'
57
- hash[:heating_limit] = hvac.heatingLimit
56
+ unless hvac.isHeatingLimitDefaulted
57
+ if hvac.heatingLimit == 'NoLimit'
58
+ hash[:heating_limit] = {type: 'NoLimit'}
59
+ elsif hvac.heatingLimit == 'LimitCapacity'
60
+ if hvac.isMaximumSensibleHeatingCapacityAutosized
61
+ hash[:heating_limit] = {type: 'Autosize'}
62
+ end
63
+ unless hvac.maximumSensibleHeatingCapacity.empty?
64
+ hash[:heating_limit] = hvac.maximumSensibleHeatingCapacity
65
+ end
66
+ end
58
67
  end
59
- if hvac.coolingLimit == 'NoLimit'
60
- hash[:cooling_limit] = hvac.coolingLimit
68
+ unless hvac.isCoolingLimitDefaulted
69
+ if hvac.coolingLimit == 'NoLimit'
70
+ hash[:cooling_limit] = {type: 'NoLimit'}
71
+ elsif hvac.coolingLimit == 'LimitCapacity'
72
+ if hvac.isMaximumTotalCoolingCapacityAutosized
73
+ hash[:cooling_limit] = {type: 'Autosize'}
74
+ end
75
+ unless hvac.maximumTotalCoolingCapacity.empty?
76
+ hash[:cooling_limit] = hvac.maximumTotalCoolingCapacity
77
+ end
78
+ end
61
79
  end
62
80
  unless hvac.heatingAvailabilitySchedule.empty?
63
81
  schedule = hvac.heatingAvailabilitySchedule.get
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybee-openstudio
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.33.5
4
+ version: 2.33.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanushree Charan
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2023-01-13 00:00:00.000000000 Z
14
+ date: 2023-01-18 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json_pure