honeybee-openstudio 2.34.7 → 2.34.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/honeybee-openstudio.gemspec +1 -1
- data/lib/to_openstudio/construction/windowshade.rb +5 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: badea0be05124c62097e7732560433b8a1d8941aecc21af3e9ab8f2e7b19b837
|
4
|
+
data.tar.gz: 53ddac62aaffe8a76f01ac3f8bf02f0b167dca4fc0aa3b509c6b11e3d6181fec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98558f65b918299e64548cb37ff75d2a9042970ccf64cb9ece29a7b772645e06d59a1e3ba212948ef312873c72d7a721d9066212d0947248905285e9bf5cb34d
|
7
|
+
data.tar.gz: 901a6c78784757090e5873f282bdfc870de96c4cbe96d061ac8c80831431f51432fb79f3c8f5ae8e258b5c0904b878312e443a0a8d28eb41e2bd290dc09fbf02
|
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.34.
|
7
|
+
spec.version = '2.34.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
|
|
@@ -45,19 +45,20 @@ module Honeybee
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def to_openstudio(openstudio_model)
|
48
|
-
#
|
49
|
-
# reverse the shaded and unshaded identifiers so unshaded one is assigned to apertures
|
48
|
+
# set the unshaded ID to be the whole construction ID so unshaded one is assigned to apertures
|
50
49
|
unshd_id = @hash[:identifier]
|
51
|
-
shd_id = @hash[:window_construction][:identifier]
|
52
50
|
@hash[:window_construction][:identifier] = unshd_id
|
51
|
+
# derive a new ID for the shaded construction that will not conflict with any bare versions of the construction
|
52
|
+
shd_id = @hash[:identifier] + '_Shaded'
|
53
53
|
@hash[:identifier] = shd_id
|
54
|
+
|
54
55
|
# create the unshaded construction
|
55
56
|
unshd_constr_obj = WindowConstructionAbridged.new(@hash[:window_construction])
|
56
57
|
@construction = unshd_constr_obj.to_openstudio(openstudio_model)
|
57
58
|
|
58
59
|
# create the shaded construction
|
59
60
|
@shade_construction = OpenStudio::Model::Construction.new(openstudio_model)
|
60
|
-
@shade_construction.setName(
|
61
|
+
@shade_construction.setName(@hash[:identifier])
|
61
62
|
unless @hash[:display_name].nil?
|
62
63
|
@shade_construction.setDisplayName(@hash[:display_name])
|
63
64
|
end
|
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.34.
|
4
|
+
version: 2.34.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: 2023-07-
|
14
|
+
date: 2023-07-12 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json_pure
|