urbanopt-reporting 0.4.0 → 0.4.1
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: 1d4e162fc807ce5990af2325b9d38447685379a8e799150959b983f6a0d1ae7e
|
4
|
+
data.tar.gz: 9eca8a86a802e4d4377a06bd69f539c94df3af44eee0948943e5d62325abb504
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a9373a57c740179b972dee996a9aec5ed67bea9ddcb788060c7c6d87f197bbad13943f607245ad84faeb520832f8550ba97f20df3bf78448d8059b9d419fb81
|
7
|
+
data.tar.gz: 7e15367191df22e75ca8d0e5665d6d400f0223e051c4571fb26fbd7f1ae38a534ab2d176af68f17c45180afe427d8143f10938fba9bc28f024bd1a58d61da4ac
|
data/.rubocop.yml
CHANGED
@@ -3,8 +3,7 @@ AllCops:
|
|
3
3
|
- gems/**/*
|
4
4
|
- measures/**/*
|
5
5
|
- spec/files/**/measures/**/*
|
6
|
-
|
6
|
+
require: rubocop-performance
|
7
7
|
|
8
8
|
inherit_from:
|
9
|
-
- http://s3.amazonaws.com/openstudio-resources/styles/
|
10
|
-
|
9
|
+
- http://s3.amazonaws.com/openstudio-resources/styles/rubocop_v4.yml
|
data/CHANGELOG.md
CHANGED
@@ -428,10 +428,12 @@ class DefaultFeatureReports < OpenStudio::Measure::ReportingMeasure
|
|
428
428
|
feature_report.program.maximum_roof_height_ft = feature_report.program.maximum_number_of_stories_above_ground * floor_to_floor_height
|
429
429
|
|
430
430
|
# footprint_area
|
431
|
-
if
|
432
|
-
|
433
|
-
|
434
|
-
|
431
|
+
if building.standardsBuildingType.is_initialized
|
432
|
+
if not ['Residential'].include?(building.standardsBuildingType.get)
|
433
|
+
feature_report.program.footprint_area_sqft = feature_report.program.floor_area_sqft / number_of_stories
|
434
|
+
else
|
435
|
+
feature_report.program.footprint_area_sqft = convert_units(floor_area, 'm^2', 'ft^2') / building.additionalProperties.getFeatureAsInteger('NumberOfConditionedStories').get
|
436
|
+
end
|
435
437
|
end
|
436
438
|
|
437
439
|
# number_of_residential_units
|
@@ -29,5 +29,5 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_development_dependency 'rspec', '~> 3.7'
|
30
30
|
spec.add_runtime_dependency 'json-schema', '~> 2.8'
|
31
31
|
spec.add_runtime_dependency 'json_pure', '~> 2.3'
|
32
|
-
spec.add_runtime_dependency 'openstudio-extension', '~> 0.4.
|
32
|
+
spec.add_runtime_dependency 'openstudio-extension', '~> 0.4.3'
|
33
33
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: urbanopt-reporting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rawad El Kontar
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-07-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -87,14 +87,14 @@ dependencies:
|
|
87
87
|
requirements:
|
88
88
|
- - "~>"
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: 0.4.
|
90
|
+
version: 0.4.3
|
91
91
|
type: :runtime
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
95
|
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.4.
|
97
|
+
version: 0.4.3
|
98
98
|
description: Library include scenario default reporting measure and scenario defaults
|
99
99
|
reports schema and classes
|
100
100
|
email:
|