honeybee-openstudio 2.38.13 → 2.38.14
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: 4d2b83d5068266ef7df80947b99817604f83c3116cd5db55406287efa8ae5266
|
4
|
+
data.tar.gz: e9ab584fee4bf195e3abb2d90b921d05d1a06184962fc2b1143adee25ee4d9f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a6b322981a765da193cc2fd4f810e52fb94dfe04a526215232ec52d18a8c2892ad12b30f7a3e447d1066ad181d94e4aa750f44e70cbb43a11651f578eddd070
|
7
|
+
data.tar.gz: 34020294f25a41325ec5aa4b9e44bb7cb38df92e9bffb03430cc0683ebcc9831773d2b3d0593c24f6ab65c20c215a90dcb2b7476ac4af88698755843907784bf
|
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.38.
|
7
|
+
spec.version = '2.38.14'
|
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
|
|
@@ -45,7 +45,12 @@ module Honeybee
|
|
45
45
|
hash[:display_name] = (material.displayName.get).force_encoding("UTF-8")
|
46
46
|
end
|
47
47
|
hash[:thickness] = material.thickness
|
48
|
-
|
48
|
+
# check for the transmittance in begin/rescue in case spectral data is not set
|
49
|
+
begin
|
50
|
+
hash[:solar_transmittance] = material.solarTransmittance
|
51
|
+
rescue
|
52
|
+
return nil
|
53
|
+
end
|
49
54
|
# check if boost optional object is empty
|
50
55
|
unless material.frontSideSolarReflectanceatNormalIncidence.empty?
|
51
56
|
hash[:solar_reflectance] = material.frontSideSolarReflectanceatNormalIncidence.get
|
@@ -194,7 +194,10 @@ module Honeybee
|
|
194
194
|
end
|
195
195
|
# Create HB EnergyWindowMaterialGlazing from OpenStudio Material
|
196
196
|
openstudio_model.getStandardGlazings.each do |material|
|
197
|
-
|
197
|
+
mat_hash = EnergyWindowMaterialGlazing.from_material(material)
|
198
|
+
unless mat_hash.nil?
|
199
|
+
result << mat_hash
|
200
|
+
end
|
198
201
|
end
|
199
202
|
# Create HB EnergyWindowMaterialBlind from OpenStudio Material
|
200
203
|
openstudio_model.getBlinds.each do |material|
|
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.38.
|
4
|
+
version: 2.38.14
|
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: 2024-
|
14
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json_pure
|