honeybee-openstudio 2.30.4 → 2.30.5
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: c093a7ba23305db86e618c8480375e646242ff00c18d51a68d1452a2811116ce
|
4
|
+
data.tar.gz: 6fe7d668d07db8a0104d14f964e08b65b166bdffe66170bb88352d5390de1197
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4014954666bee170a8cd83ff13468f907529fa4ddef7709cc307d9a1262f3eeb893487480697a897f5649dacc8eef5514c2d20e96b15a913c0129b32c3fc6005
|
7
|
+
data.tar.gz: 8300e8718f8f28bbec2366935651cedc1bb145653dec3ea7cce508f4ca01c9117a49498101d5bc41fcc652ad848a8bc19ddb1b4c82e158113ae0e11dfeb2d112
|
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.30.
|
7
|
+
spec.version = '2.30.5'
|
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
|
|
@@ -56,6 +56,9 @@ module Honeybee
|
|
56
56
|
multipler = multiplier_from_space(space)
|
57
57
|
hash[:multipler] = multipler if multipler
|
58
58
|
|
59
|
+
exclude_floor_area = exclude_floor_area_from_space(space)
|
60
|
+
hash[:exclude_floor_area] = exclude_floor_area
|
61
|
+
|
59
62
|
story = story_from_space(space)
|
60
63
|
hash[:story] = story if story
|
61
64
|
|
@@ -279,6 +282,14 @@ module Honeybee
|
|
279
282
|
nil
|
280
283
|
end
|
281
284
|
|
285
|
+
def self.exclude_floor_area_from_space(space)
|
286
|
+
incl_floor = space.partofTotalFloorArea
|
287
|
+
if incl_floor
|
288
|
+
return false
|
289
|
+
end
|
290
|
+
true
|
291
|
+
end
|
292
|
+
|
282
293
|
def self.story_from_space(space)
|
283
294
|
story = space.buildingStory
|
284
295
|
if !story.empty?
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"servers": [],
|
4
4
|
"info": {
|
5
5
|
"description": "Honeybee model schema.",
|
6
|
-
"version": "1.
|
6
|
+
"version": "1.48.1",
|
7
7
|
"title": "Honeybee Model Schema",
|
8
8
|
"contact": {
|
9
9
|
"name": "Ladybug Tools",
|
@@ -3493,6 +3493,12 @@
|
|
3493
3493
|
"type": "integer",
|
3494
3494
|
"format": "int32"
|
3495
3495
|
},
|
3496
|
+
"exclude_floor_area": {
|
3497
|
+
"title": "Exclude Floor Area",
|
3498
|
+
"description": "A boolean for whether the Room floor area contributes to Models it is a part of. Note that this will not affect the floor_area property of this Room itself but it will ensure the Room floor area is excluded from any calculations when the Room is part of a Model, including EUI calculations.",
|
3499
|
+
"default": false,
|
3500
|
+
"type": "boolean"
|
3501
|
+
},
|
3496
3502
|
"story": {
|
3497
3503
|
"title": "Story",
|
3498
3504
|
"description": "Text string for the story identifier to which this Room belongs. Rooms sharing the same story identifier are considered part of the same story in a Model.",
|
@@ -13827,7 +13833,7 @@
|
|
13827
13833
|
"version": {
|
13828
13834
|
"title": "Version",
|
13829
13835
|
"description": "Text string for the current version of the schema.",
|
13830
|
-
"default": "1.
|
13836
|
+
"default": "1.48.1",
|
13831
13837
|
"pattern": "([0-9]+)\\.([0-9]+)\\.([0-9]+)",
|
13832
13838
|
"type": "string",
|
13833
13839
|
"readOnly": true
|
@@ -109,6 +109,11 @@ module Honeybee
|
|
109
109
|
os_thermal_zone.setMultiplier(@hash[:multiplier])
|
110
110
|
end
|
111
111
|
|
112
|
+
# assign the exclude_floor_area
|
113
|
+
if @hash[:exclude_floor_area]
|
114
|
+
os_space.setPartofTotalFloorArea(false)
|
115
|
+
end
|
116
|
+
|
112
117
|
# assign the geometry properties if they exist
|
113
118
|
if @hash[:ceiling_height]
|
114
119
|
os_thermal_zone.setCeilingHeight(@hash[:ceiling_height])
|
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.30.
|
4
|
+
version: 2.30.5
|
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-03-09 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|