honeybee-openstudio 2.28.3 → 2.28.7
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: 85370efad53876aac48104fa13b3e5caa317fc12d261126b8a36b8bd3098a6a3
|
4
|
+
data.tar.gz: 1968c0abd627c7994c2502ef44d88c0c1304abd02d3e0243b3aabf94195d4e52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ffd05317c79bb659325b092fa516c398a98eb0b43d1109072d173fe0ae816c76bbdab0452b402b2f7e58ccb8eecbb3879f1140d11542fca25d8847eb5ca26b3
|
7
|
+
data.tar.gz: d53b7200f8243899cc158f86ec9d4c1103704c3b3a9fa067a78b4a679bd8bd6a9aa86f884e792e9702f0f5bd05fd83bb81545d24642027c48f3e6a4255909b53
|
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.28.
|
7
|
+
spec.version = '2.28.7'
|
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.5.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.5.0'
|
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.7.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.5.0'
|
37
37
|
end
|
38
38
|
|
39
39
|
# include the honeybee-openstudio-gem
|
40
|
-
gem 'honeybee-openstudio', '2.
|
40
|
+
gem 'honeybee-openstudio', '2.28.4'
|
@@ -205,8 +205,12 @@ module Honeybee
|
|
205
205
|
|
206
206
|
# assign any air boundary constructions to construction set
|
207
207
|
if @hash[:air_boundary_construction]
|
208
|
-
air_ref = openstudio_model.getConstructionAirBoundaryByName(
|
209
|
-
|
208
|
+
air_ref = openstudio_model.getConstructionAirBoundaryByName(@hash[:air_boundary_construction])
|
209
|
+
unless air_ref.empty?
|
210
|
+
air_construction = air_ref.get
|
211
|
+
os_constr_set.setInteriorPartitionConstruction(air_construction)
|
212
|
+
end
|
213
|
+
air_ref = openstudio_model.getConstructionByName(@hash[:air_boundary_construction])
|
210
214
|
unless air_ref.empty?
|
211
215
|
air_construction = air_ref.get
|
212
216
|
os_constr_set.setInteriorPartitionConstruction(air_construction)
|
@@ -214,16 +214,26 @@ module Honeybee
|
|
214
214
|
# add air mixing properties to the global list that tracks them
|
215
215
|
if $use_simple_vent # only use air mixing objects when simple ventilation is requested
|
216
216
|
air_hash = $air_boundary_hash[air_construction.name.to_s]
|
217
|
-
if air_hash[:air_mixing_per_area]
|
217
|
+
if air_hash && air_hash[:air_mixing_per_area]
|
218
218
|
air_mix_area = air_hash[:air_mixing_per_area]
|
219
219
|
else
|
220
220
|
air_default = @@schema[:components][:schemas][:AirBoundaryConstructionAbridged]
|
221
221
|
air_mix_area = air_default[:properties][:air_mixing_per_area][:default]
|
222
222
|
end
|
223
223
|
flow_rate = os_surface.netArea * air_mix_area
|
224
|
-
|
225
|
-
|
226
|
-
|
224
|
+
if air_hash
|
225
|
+
flow_sch_id = air_hash[:air_mixing_schedule]
|
226
|
+
else
|
227
|
+
flow_sch_id = 'Always On'
|
228
|
+
end
|
229
|
+
begin
|
230
|
+
adj_zone_id = face[:boundary_condition][:boundary_condition_objects][-1]
|
231
|
+
rescue Exception
|
232
|
+
msg = 'ERROR: Air Boundary Faces must be adjacent to a neighboring Room and have a Surface boundary condition.'
|
233
|
+
puts msg
|
234
|
+
else
|
235
|
+
$air_mxing_array << [os_thermal_zone, flow_rate, flow_sch_id, adj_zone_id]
|
236
|
+
end
|
227
237
|
end
|
228
238
|
end
|
229
239
|
|
@@ -137,6 +137,7 @@ module Honeybee
|
|
137
137
|
os_sizing_par.setCoolingSizingFactor(siz_defaults[:cooling_factor][:default])
|
138
138
|
|
139
139
|
# override any SizingParameter defaults with lodaded JSON
|
140
|
+
db_temps = []
|
140
141
|
if @hash[:sizing_parameter]
|
141
142
|
if @hash[:sizing_parameter][:heating_factor]
|
142
143
|
os_sizing_par.setHeatingSizingFactor(@hash[:sizing_parameter][:heating_factor])
|
@@ -145,7 +146,6 @@ module Honeybee
|
|
145
146
|
os_sizing_par.setCoolingSizingFactor(@hash[:sizing_parameter][:cooling_factor])
|
146
147
|
end
|
147
148
|
# set any design days
|
148
|
-
db_temps = []
|
149
149
|
if @hash[:sizing_parameter][:design_days]
|
150
150
|
@hash[:sizing_parameter][:design_days].each do |des_day|
|
151
151
|
des_day_object = DesignDay.new(des_day)
|
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.28.
|
4
|
+
version: 2.28.7
|
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:
|
14
|
+
date: 2022-01-13 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|