honeybee-openstudio 2.31.5 → 2.31.8
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cebfc1cf27c7e5d2e9bbfed6ece32096ec1cb0eb2a442783b9a7caeeddd136bc
|
4
|
+
data.tar.gz: 8960a24e1240a7d5e5db87a09455343afde150294bdb5f3fccc7093a67c2d2cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ede21274b85d427693c6ca495ce6e100206dfd7af3fba82044f81309e5af160a61aae97ee476afa6bf4bfa3166ccde32ead3dbcbe7a448b9772c17c4b098311
|
7
|
+
data.tar.gz: f408bfd525685fc1c1e61a7cdd0aa4d0646c6e34e3a68e565f2876b217d031e14cd47523ea5d58de595679ca7ed272631709706c459f3ce51496597fdff3f64e
|
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.31.
|
7
|
+
spec.version = '2.31.8'
|
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
|
|
data/lib/files/urbanopt_Gemfile
CHANGED
@@ -9,7 +9,7 @@ if allow_local && File.exist?('../openstudio-common-measures-gem')
|
|
9
9
|
elsif allow_local
|
10
10
|
gem 'openstudio-common-measures', github: 'NREL/openstudio-common-measures-gem', branch: 'develop'
|
11
11
|
else
|
12
|
-
gem 'openstudio-common-measures', '~> 0.
|
12
|
+
gem 'openstudio-common-measures', '~> 0.6.0'
|
13
13
|
end
|
14
14
|
|
15
15
|
if allow_local && File.exist?('../openstudio-model-articulation-gem')
|
@@ -17,7 +17,7 @@ if allow_local && File.exist?('../openstudio-model-articulation-gem')
|
|
17
17
|
elsif allow_local
|
18
18
|
gem 'openstudio-model-articulation', github: 'NREL/openstudio-model-articulation-gem', branch: 'develop'
|
19
19
|
else
|
20
|
-
gem 'openstudio-model-articulation', '0.
|
20
|
+
gem 'openstudio-model-articulation', '0.6.1'
|
21
21
|
end
|
22
22
|
|
23
23
|
if allow_local && File.exist?('../urbanopt-geojson-gem')
|
@@ -25,7 +25,7 @@ if allow_local && File.exist?('../urbanopt-geojson-gem')
|
|
25
25
|
elsif allow_local
|
26
26
|
gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'develop'
|
27
27
|
else
|
28
|
-
gem 'urbanopt-geojson', '~> 0.
|
28
|
+
gem 'urbanopt-geojson', '~> 0.8.0'
|
29
29
|
end
|
30
30
|
|
31
31
|
if allow_local && File.exist?('../urbanopt-reporting-gem')
|
@@ -33,8 +33,8 @@ if allow_local && File.exist?('../urbanopt-reporting-gem')
|
|
33
33
|
elsif allow_local
|
34
34
|
gem 'urbanopt-reporting', github: 'URBANopt/urbanopt-reporting-gem', branch: 'develop'
|
35
35
|
else
|
36
|
-
gem 'urbanopt-reporting', '~> 0.
|
36
|
+
gem 'urbanopt-reporting', '~> 0.6.0'
|
37
37
|
end
|
38
38
|
|
39
39
|
# include the honeybee-openstudio-gem
|
40
|
-
gem 'honeybee-openstudio', '2.
|
40
|
+
gem 'honeybee-openstudio', '2.31.7'
|
@@ -197,6 +197,16 @@ module Honeybee
|
|
197
197
|
end
|
198
198
|
end
|
199
199
|
|
200
|
+
# add a transmittance schedule if a value is found
|
201
|
+
if @hash[:transmit]
|
202
|
+
schedule_identifier = 'Constant ' + @hash[:transmit] + ' Transmittance'
|
203
|
+
schedule = openstudio_model.getScheduleByName(schedule_identifier)
|
204
|
+
unless schedule.empty?
|
205
|
+
os_schedule = schedule.get
|
206
|
+
os_shading_surface.setTransmittanceSchedule(os_schedule)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
200
210
|
# add the shade to the group
|
201
211
|
os_shading_surface.setShadingSurfaceGroup(shading_surface_group)
|
202
212
|
|
@@ -193,6 +193,16 @@ module Honeybee
|
|
193
193
|
end
|
194
194
|
end
|
195
195
|
|
196
|
+
# add a transmittance schedule if a value is found
|
197
|
+
if @hash[:transmit]
|
198
|
+
schedule_identifier = 'Constant ' + @hash[:transmit] + ' Transmittance'
|
199
|
+
schedule = openstudio_model.getScheduleByName(schedule_identifier)
|
200
|
+
unless schedule.empty?
|
201
|
+
os_schedule = schedule.get
|
202
|
+
os_shading_surface.setTransmittanceSchedule(os_schedule)
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
196
206
|
# add the shade to the group
|
197
207
|
os_shading_surface.setShadingSurfaceGroup(shading_surface_group)
|
198
208
|
|
@@ -156,14 +156,19 @@ module Honeybee
|
|
156
156
|
end
|
157
157
|
|
158
158
|
# use the average of design day temperatures to set the water mains temperature
|
159
|
-
os_water_mains = @openstudio_model.getSiteWaterMainsTemperature
|
160
|
-
|
161
|
-
if
|
162
|
-
os_water_mains.
|
163
|
-
else
|
164
|
-
os_water_mains.
|
159
|
+
os_water_mains = @openstudio_model.getSiteWaterMainsTemperature
|
160
|
+
os_version_water_fix = OpenStudio::VersionString.new(3, 4)
|
161
|
+
if @openstudio_model.version() >= os_version_water_fix
|
162
|
+
os_water_mains.setCalculationMethod('CorrelationFromWeatherFile')
|
163
|
+
else
|
164
|
+
os_water_mains.setCalculationMethod('Correlation')
|
165
|
+
if db_temps.length > 0
|
166
|
+
os_water_mains.setAnnualAverageOutdoorAirTemperature((db_temps.max + db_temps.min) / 2)
|
167
|
+
else # just use some dummy values so that the simulation does not fail
|
168
|
+
os_water_mains.setAnnualAverageOutdoorAirTemperature(12)
|
169
|
+
end
|
170
|
+
os_water_mains.setMaximumDifferenceInMonthlyAverageOutdoorAirTemperatures(4)
|
165
171
|
end
|
166
|
-
os_water_mains.setMaximumDifferenceInMonthlyAverageOutdoorAirTemperatures(4)
|
167
172
|
|
168
173
|
# set the climate zone from design days assuming 0.4% extremes and normal distribution
|
169
174
|
climate_zone_objs = @openstudio_model.getClimateZones
|
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.31.
|
4
|
+
version: 2.31.8
|
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: 2022-
|
14
|
+
date: 2022-05-24 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|