urbanopt-cli 0.5.0 → 0.5.1
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 +4 -4
- data/.gitignore +3 -1
- data/CHANGELOG.md +20 -0
- data/CMakeLists.txt +10 -10
- data/FindOpenStudioSDK.cmake +6 -6
- data/Gemfile +9 -9
- data/example_files/Gemfile +3 -3
- data/example_files/example_project.json +35 -20
- data/example_files/example_project_with_electric_network.json +2116 -0
- data/example_files/mappers/Baseline.rb +4 -1
- data/example_files/mappers/EvCharging.rb +131 -0
- data/example_files/mappers/base_workflow.osw +26 -1
- data/example_files/validation_schema.yaml +149 -0
- data/example_files/visualization/input_visualization_feature.html +213 -56
- data/example_files/visualization/input_visualization_scenario.html +92 -30
- data/lib/uo_cli.rb +204 -90
- data/lib/uo_cli/version.rb +1 -1
- data/uo_cli.gemspec +4 -6
- metadata +15 -27
- data/developer_nrel_key.rb +0 -31
data/lib/uo_cli/version.rb
CHANGED
data/uo_cli.gemspec
CHANGED
@@ -34,12 +34,10 @@ Gem::Specification.new do |spec|
|
|
34
34
|
|
35
35
|
# use specific versions of urbanopt and openstudio dependencies while under heavy development
|
36
36
|
spec.add_runtime_dependency 'optimist', '~> 3'
|
37
|
-
spec.add_runtime_dependency '
|
38
|
-
spec.add_runtime_dependency 'urbanopt-
|
39
|
-
spec.add_runtime_dependency 'urbanopt-scenario', '~> 0.5.
|
40
|
-
spec.add_runtime_dependency 'urbanopt-
|
41
|
-
spec.add_runtime_dependency 'urbanopt-reporting', '~> 0.3.2'
|
42
|
-
|
37
|
+
spec.add_runtime_dependency 'urbanopt-geojson', '~> 0.5.2'
|
38
|
+
spec.add_runtime_dependency 'urbanopt-reopt', '~> 0.5.4'
|
39
|
+
spec.add_runtime_dependency 'urbanopt-scenario', '~> 0.5.1'
|
40
|
+
spec.add_runtime_dependency 'urbanopt-reporting', '~> 0.3.6'
|
43
41
|
|
44
42
|
spec.add_development_dependency 'bundler', '~> 2.1'
|
45
43
|
spec.add_development_dependency 'rake', '~> 13.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: urbanopt-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Moore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: optimist
|
@@ -24,76 +24,62 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: pycall
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - '='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.3.1
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - '='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 1.3.1
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: urbanopt-geojson
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.5.
|
33
|
+
version: 0.5.2
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.5.
|
40
|
+
version: 0.5.2
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
|
-
name: urbanopt-
|
42
|
+
name: urbanopt-reopt
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
45
|
- - "~>"
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.5.
|
47
|
+
version: 0.5.4
|
62
48
|
type: :runtime
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
52
|
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.5.
|
54
|
+
version: 0.5.4
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: urbanopt-
|
56
|
+
name: urbanopt-scenario
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.5.
|
61
|
+
version: 0.5.1
|
76
62
|
type: :runtime
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.5.
|
68
|
+
version: 0.5.1
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: urbanopt-reporting
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
73
|
- - "~>"
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.3.
|
75
|
+
version: 0.3.6
|
90
76
|
type: :runtime
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
80
|
- - "~>"
|
95
81
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.3.
|
82
|
+
version: 0.3.6
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: bundler
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,14 +162,15 @@ files:
|
|
176
162
|
- bin/console
|
177
163
|
- bin/setup
|
178
164
|
- bin/uo
|
179
|
-
- developer_nrel_key.rb
|
180
165
|
- example_files/Gemfile
|
181
166
|
- example_files/base_workflow_res.osw
|
182
167
|
- example_files/example_floorspace_project.json
|
183
168
|
- example_files/example_project.json
|
184
169
|
- example_files/example_project_combined.json
|
170
|
+
- example_files/example_project_with_electric_network.json
|
185
171
|
- example_files/mappers/Baseline.rb
|
186
172
|
- example_files/mappers/CreateBar.rb
|
173
|
+
- example_files/mappers/EvCharging.rb
|
187
174
|
- example_files/mappers/Floorspace.rb
|
188
175
|
- example_files/mappers/HighEfficiency.rb
|
189
176
|
- example_files/mappers/HighEfficiencyCreateBar.rb
|
@@ -1056,6 +1043,7 @@ files:
|
|
1056
1043
|
- example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L324XC.xml
|
1057
1044
|
- example_files/resources/hpxml-measures/workflow/tests/hpxml_translator_test.rb
|
1058
1045
|
- example_files/runner.conf
|
1046
|
+
- example_files/validation_schema.yaml
|
1059
1047
|
- example_files/visualization/input_visualization_feature.html
|
1060
1048
|
- example_files/visualization/input_visualization_scenario.html
|
1061
1049
|
- example_files/weather/USA_NY_Buffalo-Greater.Buffalo.Intl.AP.725280_TMY3.ddy
|
data/developer_nrel_key.rb
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
# *********************************************************************************
|
2
|
-
# URBANopt™, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
|
3
|
-
# contributors. All rights reserved.
|
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
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
20
|
-
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
21
|
-
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
22
|
-
# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
23
|
-
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
24
|
-
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
25
|
-
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
26
|
-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
27
|
-
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
28
|
-
# OF THE POSSIBILITY OF SUCH DAMAGE.
|
29
|
-
# *********************************************************************************
|
30
|
-
|
31
|
-
DEVELOPER_NREL_KEY = (ENV['GEM_DEVELOPER_KEY'] || '<your key here https://developer.nrel.gov/signup/>')
|