urbanopt-reporting 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 86865f249cc5ec5b04615f5551aa21d0398ccf6eb537a8ecc620dadc5c1031bb
|
|
4
|
+
data.tar.gz: f247f3ab2bb38327b1cabdaeca617d0f2b31ba529adb4e3f80f271cc340b4f2b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5109069f60e3bc7da3eb3aae042d175cd8140b3918f5c9ccc121889eaa9c656ae578dc19b5f57511939f6989ea450e1304fd70a782f3416302fd7ec0bd89a67e
|
|
7
|
+
data.tar.gz: 5739391c194b4e46bfcf803c1b7c7e9b1bcaca7e46f6e15fdf02b764e13a1151fecd8ab454d503203f218837f6bee48f4e866a44f578b223062b971727b93f00
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# URBANopt Reporting Gem
|
|
2
2
|
|
|
3
|
+
## Version 0.4.2
|
|
4
|
+
Date Range: 07/01/21 - 10/15/21
|
|
5
|
+
|
|
6
|
+
- Fixed [#86]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/86 ), Add location of PV to Scenario and Feature optimization reopt reports #86
|
|
7
|
+
- Fixed [#77]( https://github.com/urbanopt/urbanopt-reporting-gem/issues/77 ), Fix test_with_openstudio model failures
|
|
8
|
+
|
|
3
9
|
## Version 0.4.1
|
|
4
10
|
Date Range: 04/27/23 - 07/01/21
|
|
5
11
|
|
|
@@ -128,6 +128,15 @@
|
|
|
128
128
|
"size_kw": {
|
|
129
129
|
"description": "rated power in kW",
|
|
130
130
|
"type": "string"
|
|
131
|
+
},
|
|
132
|
+
"location": {
|
|
133
|
+
"description": "Location of PV. Available options are roof, ground or both.",
|
|
134
|
+
"type": "string",
|
|
135
|
+
"enum": [
|
|
136
|
+
"roof",
|
|
137
|
+
"ground",
|
|
138
|
+
"both"
|
|
139
|
+
]
|
|
131
140
|
}
|
|
132
141
|
}
|
|
133
142
|
},
|
|
@@ -52,6 +52,7 @@ module URBANopt
|
|
|
52
52
|
# _Float_ - power capacity in kilowatts
|
|
53
53
|
#
|
|
54
54
|
attr_accessor :size_kw
|
|
55
|
+
attr_accessor :location
|
|
55
56
|
|
|
56
57
|
##
|
|
57
58
|
# Initialize SolarPV attributes from a hash. Solar PV attributes currently are limited to power capacity.
|
|
@@ -65,6 +66,7 @@ module URBANopt
|
|
|
65
66
|
|
|
66
67
|
@size_kw = hash[:size_kw]
|
|
67
68
|
@id = hash[:id]
|
|
69
|
+
@location = hash[:location]
|
|
68
70
|
|
|
69
71
|
# initialize class variables @@validator and @@schema
|
|
70
72
|
@@validator ||= Validator.new
|
|
@@ -81,6 +83,7 @@ module URBANopt
|
|
|
81
83
|
result = {}
|
|
82
84
|
|
|
83
85
|
result[:size_kw] = @size_kw if @size_kw
|
|
86
|
+
result[:location] = @location if @location
|
|
84
87
|
|
|
85
88
|
return result
|
|
86
89
|
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.2
|
|
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-10-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|