honeybee-openstudio 2.6.2 → 2.6.3
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 46f958f941dcbcdad96fce63f736bb5ab0e49b13864a3ef086e97b28a4b92bfa
|
|
4
|
+
data.tar.gz: 2e140ea4e6549a7789b7dec00679440e5fb57eb45171a35632f74ad90376e9f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f25e4e7fca7015a52f6c17eb68f685655d07f53e9887f6952fe3978e42e48b932c15ef20b1993bda426070906f6e8cd30d41aa582322b99558c62ebd31598ea
|
|
7
|
+
data.tar.gz: 163fa7ddfbc15fedabe33bcc3be61642596068b0c901cb519d034e2749ec24effda71829abcd97ec16d14e495967772ad8d23068d1da66f58c7582d81ae2f35c
|
data/honeybee-openstudio.gemspec
CHANGED
|
@@ -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.6.
|
|
7
|
+
spec.version = '2.6.3'
|
|
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
|
|
|
@@ -55,7 +55,12 @@ module FromHoneybee
|
|
|
55
55
|
os_construction = OpenStudio::Model::ConstructionAirBoundary.new(openstudio_model)
|
|
56
56
|
os_construction.setName(@hash[:identifier])
|
|
57
57
|
os_construction.setSolarAndDaylightingMethod('GroupedZones')
|
|
58
|
-
|
|
58
|
+
# REMOVE: Remove the use of IRTSurface once the AFN works with GroupedZone air walls
|
|
59
|
+
if !$use_simple_vent # we're using the AFN!
|
|
60
|
+
os_construction.setRadiantExchangeMethod('IRTSurface')
|
|
61
|
+
else
|
|
62
|
+
os_construction.setRadiantExchangeMethod('GroupedZones')
|
|
63
|
+
end
|
|
59
64
|
os_construction.setAirExchangeMethod('None')
|
|
60
65
|
|
|
61
66
|
os_construction
|
|
@@ -138,7 +138,7 @@ module FromHoneybee
|
|
|
138
138
|
openstudio_schedule_rule.setApplyFriday(rule[:apply_friday])
|
|
139
139
|
openstudio_schedule_rule.setApplySaturday(rule[:apply_saturday])
|
|
140
140
|
year_description = openstudio_model.getYearDescription
|
|
141
|
-
start_date = year_description.makeDate(rule[:start_date][0], rule[:start_date][1])
|
|
141
|
+
start_date = year_description.makeDate(rule[:start_date][0], rule[:start_date][1])
|
|
142
142
|
end_date = year_description.makeDate(rule[:end_date][0], rule[:end_date][1])
|
|
143
143
|
openstudio_schedule_rule.setStartDate(start_date)
|
|
144
144
|
openstudio_schedule_rule.setEndDate(end_date)
|
|
@@ -288,7 +288,18 @@ module FromHoneybee
|
|
|
288
288
|
@hash[:run_period][:daylight_saving_time][:end_date][1])
|
|
289
289
|
end
|
|
290
290
|
|
|
291
|
-
#
|
|
291
|
+
# Set the holidays
|
|
292
|
+
if @hash[:run_period][:holidays]
|
|
293
|
+
@hash[:run_period][:holidays].each do |hol|
|
|
294
|
+
begin
|
|
295
|
+
os_hol = OpenStudio::Model::RunPeriodControlSpecialDays.new(
|
|
296
|
+
OpenStudio::MonthOfYear.new(hol[0]), hol[1], @openstudio_model)
|
|
297
|
+
os_hol.setDuration(1)
|
|
298
|
+
os_hol.setSpecialDayType('Holiday')
|
|
299
|
+
rescue NoMethodError # REMOVE: Once the upgrade to OpenStudio 3.0 is official
|
|
300
|
+
end
|
|
301
|
+
end
|
|
302
|
+
end
|
|
292
303
|
end
|
|
293
304
|
|
|
294
305
|
# set the simulation timestep
|
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.6.
|
|
4
|
+
version: 2.6.3
|
|
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: 2020-09-
|
|
14
|
+
date: 2020-09-03 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: bundler
|