You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
totalFloorArea=building.floorArea# TODO: - this doesn't include spaces tagged as not included in floor area. This would include spaces like plenums and attics
81
-
runner.registerInfo("Initial Floor Area is #{OsLib_HelperMethods.neatConvertWithUnitDisplay(totalFloorArea,'m^2','ft^2',0,unitBefore=false,unitAfter=true,space=true,parentheses=true)}.")
82
-
79
+
runner.registerInfo("Initial Floor Area is #{OpenStudio.toNeatString(OpenStudio.convert(totalFloorArea,'m^2','ft^2').get,0,true)}.")
80
+
83
81
# get get number of floors. Assume that user has properly used story object.
runner.registerInfo("Initial Space Type Total Floor Area is #{OsLib_HelperMethods.neatConvertWithUnitDisplay(totalSpaceTypeArea,'m^2','ft^2',0,unitBefore=false,unitAfter=true,space=true,parentheses=true)}.")
114
+
runner.registerInfo("Initial Space Type Total Floor Area is #{OpenStudio.toNeatString(OpenStudio.convert(totalSpaceTypeArea,'m^2','ft^2').get,0,true)}.")
runner.registerInfo("Floor Area for #{k.name} is #{OsLib_HelperMethods.neatConvertWithUnitDisplay(v,'m^2','ft^2',0,unitBefore=false,unitAfter=true,space=true,parentheses=true)}.")
117
+
runner.registerInfo("Floor Area for #{k.name} is #{OpenStudio.toNeatString(OpenStudio.convert(v,'m^2','ft^2').get,0,true)}.")
120
118
end
121
119
122
120
# TODO: - warn if some spaces are not included in floor area (plenum and attic)
<description>This is an experimental measure looking at ways to simply the geometry, or to create geometry when you only no percentage of space types number of floors and total area. This technique will match the building floor area but will sacrifice the exterior exposure. So it will produce better results on more boxy buildings than a building with many wings. I may try to come up with solution that also tries to maintain exterior exposure in another version.</description>
12
12
<modeler_description>I'm going to extract space type area breakdown and number of floors from the source model. I'll also keep track of exterior exposure. I won't directly use exterior exposure but can report the change in this as a kind of confidence metric. I'll then create a bar building using the bounding box aspect ratio, but shrunk to fit the building area. I will slice the building across the shorter axis by space type. The two most prevalent space types will go on the outside of the building. Instead of core and perimeter zoning the building will have a variation with square corners. I will create one zone per space, and will use a zone multiplier for any building more than 3 stories tall.
13
13
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
14
In a future version I may try to identify similar spaces types and blend them together before slicing, although I expect that will be a separate measure, so it is more modular.</modeler_description>
49
15
<arguments>
50
16
<argument>
@@ -89,10 +55,10 @@ In a future version I may try to identify similar spaces types and blend them to
89
55
</attributes>
90
56
<files>
91
57
<file>
92
-
<filename>UShapedHotelExample.osm</filename>
93
-
<filetype>osm</filetype>
94
-
<usage_type>test</usage_type>
95
-
<checksum>7E96D119</checksum>
58
+
<filename>LICENSE.md</filename>
59
+
<filetype>md</filetype>
60
+
<usage_type>license</usage_type>
61
+
<checksum>BFFB1AA6</checksum>
96
62
</file>
97
63
<file>
98
64
<filename>README.md</filename>
@@ -107,10 +73,27 @@ In a future version I may try to identify similar spaces types and blend them to
0 commit comments