urbanopt-reporting 0.4.1 → 0.4.2

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: 1d4e162fc807ce5990af2325b9d38447685379a8e799150959b983f6a0d1ae7e
4
- data.tar.gz: 9eca8a86a802e4d4377a06bd69f539c94df3af44eee0948943e5d62325abb504
3
+ metadata.gz: 86865f249cc5ec5b04615f5551aa21d0398ccf6eb537a8ecc620dadc5c1031bb
4
+ data.tar.gz: f247f3ab2bb38327b1cabdaeca617d0f2b31ba529adb4e3f80f271cc340b4f2b
5
5
  SHA512:
6
- metadata.gz: 0a9373a57c740179b972dee996a9aec5ed67bea9ddcb788060c7c6d87f197bbad13943f607245ad84faeb520832f8550ba97f20df3bf78448d8059b9d419fb81
7
- data.tar.gz: 7e15367191df22e75ca8d0e5665d6d400f0223e051c4571fb26fbd7f1ae38a534ab2d176af68f17c45180afe427d8143f10938fba9bc28f024bd1a58d61da4ac
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
@@ -40,6 +40,6 @@
40
40
 
41
41
  module URBANopt
42
42
  module Reporting
43
- VERSION = '0.4.1'.freeze
43
+ VERSION = '0.4.2'.freeze
44
44
  end
45
45
  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.1
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-07-01 00:00:00.000000000 Z
12
+ date: 2021-10-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler