urbanopt-rnm-us 0.5.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/{ci.yml → nightly_ci_build.yml} +14 -9
- data/CHANGELOG.md +17 -0
- data/Gemfile +7 -3
- data/LICENSE.md +16 -12
- data/README.md +5 -4
- data/Rakefile +6 -41
- data/lib/urbanopt/rnm/api_client.rb +2 -37
- data/lib/urbanopt/rnm/capacitor_opendss.rb +2 -37
- data/lib/urbanopt/rnm/carson_eq.rb +2 -37
- data/lib/urbanopt/rnm/consumers.rb +3 -38
- data/lib/urbanopt/rnm/conversion_to_opendss.rb +2 -37
- data/lib/urbanopt/rnm/geojson_input.rb +2 -37
- data/lib/urbanopt/rnm/input_files.rb +2 -37
- data/lib/urbanopt/rnm/logger.rb +2 -37
- data/lib/urbanopt/rnm/oh_ug_rate.rb +2 -37
- data/lib/urbanopt/rnm/post_processor.rb +2 -37
- data/lib/urbanopt/rnm/processor_opendss_catalog.rb +2 -37
- data/lib/urbanopt/rnm/prosumers.rb +2 -37
- data/lib/urbanopt/rnm/rnm_us_catalog_conversion.rb +2 -37
- data/lib/urbanopt/rnm/runner.rb +2 -37
- data/lib/urbanopt/rnm/scenario_report.rb +2 -37
- data/lib/urbanopt/rnm/substation_location.rb +2 -37
- data/lib/urbanopt/rnm/transformer_opendss.rb +2 -37
- data/lib/urbanopt/rnm/validation.rb +3 -38
- data/lib/urbanopt/rnm/version.rb +3 -38
- data/lib/urbanopt/rnm/wires_class.rb +2 -37
- data/lib/urbanopt/rnm/wires_opendss.rb +2 -37
- data/lib/urbanopt/rnm.rb +2 -37
- data/lib/urbanopt-rnm.rb +2 -37
- data/urbanopt-rnm-us-gem.gemspec +5 -4
- metadata +12 -13
- data/Jenkinsfile +0 -10
data/lib/urbanopt-rnm.rb
CHANGED
@@ -1,41 +1,6 @@
|
|
1
1
|
# *********************************************************************************
|
2
|
-
# URBANopt
|
3
|
-
#
|
4
|
-
|
5
|
-
# Redistribution and use in source and binary forms, with or without modification,
|
6
|
-
# are permitted provided that the following conditions are met:
|
7
|
-
|
8
|
-
# Redistributions of source code must retain the above copyright notice, this list
|
9
|
-
# of conditions and the following disclaimer.
|
10
|
-
|
11
|
-
# Redistributions in binary form must reproduce the above copyright notice, this
|
12
|
-
# list of conditions and the following disclaimer in the documentation and/or other
|
13
|
-
# materials provided with the distribution.
|
14
|
-
|
15
|
-
# Neither the name of the copyright holder nor the names of its contributors may be
|
16
|
-
# used to endorse or promote products derived from this software without specific
|
17
|
-
# prior written permission.
|
18
|
-
|
19
|
-
# Redistribution of this software, without modification, must refer to the software
|
20
|
-
# by the same designation. Redistribution of a modified version of this software
|
21
|
-
# (i) may not refer to the modified version by the same designation, or by any
|
22
|
-
# confusingly similar designation, and (ii) must refer to the underlying software
|
23
|
-
# originally provided by Alliance as "URBANopt". Except to comply with the foregoing,
|
24
|
-
# the term "URBANopt", or any confusingly similar designation may not be used to
|
25
|
-
# refer to any modified version of this software or any modified version of the
|
26
|
-
# underlying software originally provided by Alliance without the prior written
|
27
|
-
# consent of Alliance.
|
28
|
-
|
29
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
30
|
-
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
31
|
-
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
32
|
-
# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
33
|
-
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
34
|
-
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
35
|
-
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
36
|
-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
37
|
-
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
38
|
-
# OF THE POSSIBILITY OF SUCH DAMAGE.
|
2
|
+
# URBANopt™, Copyright © Alliance for Sustainable Energy, LLC.
|
3
|
+
# See also https://github.com/urbanopt/urbanopt-rnm-us-gem/blob/develop/LICENSE.md
|
39
4
|
# *********************************************************************************
|
40
5
|
|
41
6
|
require_relative 'urbanopt/rnm'
|
data/urbanopt-rnm-us-gem.gemspec
CHANGED
@@ -27,12 +27,13 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_dependency 'faraday', '~> 1.0.1'
|
28
28
|
spec.add_dependency 'geoutm', '~> 1.0.2'
|
29
29
|
spec.add_dependency 'rubyzip', '~> 2.3.2'
|
30
|
-
spec.add_dependency 'urbanopt-geojson', '~> 0.
|
30
|
+
spec.add_dependency 'urbanopt-geojson', '~> 0.11.1'
|
31
31
|
|
32
32
|
spec.add_development_dependency 'bundler', '~> 2.1'
|
33
|
-
spec.add_development_dependency 'rake', '~> 13.
|
34
|
-
spec.add_development_dependency 'rspec', '~> 3.
|
35
|
-
|
33
|
+
spec.add_development_dependency 'rake', '~> 13.1'
|
34
|
+
spec.add_development_dependency 'rspec', '~> 3.12'
|
35
|
+
# pin this dependency:
|
36
|
+
spec.add_development_dependency 'parallel', '~> 1.19.1'
|
36
37
|
spec.add_development_dependency 'rubocop-checkstyle_formatter', '~> 0.4.0'
|
37
38
|
spec.add_development_dependency 'rubocop-performance', '~> 1.11.3'
|
38
39
|
spec.add_development_dependency 'simplecov', '~> 0.18.2'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: urbanopt-rnm-us
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katherine Fleming
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-01-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: certified
|
@@ -73,14 +73,14 @@ dependencies:
|
|
73
73
|
requirements:
|
74
74
|
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.
|
76
|
+
version: 0.11.1
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.
|
83
|
+
version: 0.11.1
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: bundler
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,42 +101,42 @@ dependencies:
|
|
101
101
|
requirements:
|
102
102
|
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: '13.
|
104
|
+
version: '13.1'
|
105
105
|
type: :development
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: '13.
|
111
|
+
version: '13.1'
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
113
|
name: rspec
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: '3.
|
118
|
+
version: '3.12'
|
119
119
|
type: :development
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
123
|
- - "~>"
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: '3.
|
125
|
+
version: '3.12'
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
|
-
name:
|
127
|
+
name: parallel
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
130
|
- - "~>"
|
131
131
|
- !ruby/object:Gem::Version
|
132
|
-
version: 1.
|
132
|
+
version: 1.19.1
|
133
133
|
type: :development
|
134
134
|
prerelease: false
|
135
135
|
version_requirements: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
137
|
- - "~>"
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: 1.
|
139
|
+
version: 1.19.1
|
140
140
|
- !ruby/object:Gem::Dependency
|
141
141
|
name: rubocop-checkstyle_formatter
|
142
142
|
requirement: !ruby/object:Gem::Requirement
|
@@ -201,13 +201,12 @@ executables: []
|
|
201
201
|
extensions: []
|
202
202
|
extra_rdoc_files: []
|
203
203
|
files:
|
204
|
-
- ".github/workflows/
|
204
|
+
- ".github/workflows/nightly_ci_build.yml"
|
205
205
|
- ".gitignore"
|
206
206
|
- ".rubocop.yml"
|
207
207
|
- CHANGELOG.md
|
208
208
|
- CONTRIBUTING.md
|
209
209
|
- Gemfile
|
210
|
-
- Jenkinsfile
|
211
210
|
- LICENSE.md
|
212
211
|
- README.md
|
213
212
|
- Rakefile
|
data/Jenkinsfile
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
//Jenkins pipelines are stored in shared libaries. Please see: https://github.com/tijcolem/nrel_cbci_jenkins_libs
|
2
|
-
|
3
|
-
@Library('cbci_shared_libs') _
|
4
|
-
|
5
|
-
// Build for PR to develop branch only.
|
6
|
-
if ((env.CHANGE_ID) && (env.CHANGE_TARGET) ) { // check if set
|
7
|
-
|
8
|
-
urbanopt_rnm_us()
|
9
|
-
|
10
|
-
}
|