urbanopt-scenario 0.3.0.pre1 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/pull_request_template.md +3 -3
- data/.gitignore +2 -0
- data/CHANGELOG.md +60 -2
- data/CONTRIBUTING.md +1 -1
- data/Gemfile +33 -17
- data/Jenkinsfile +1 -1
- data/LICENSE.md +1 -1
- data/RDOC_MAIN.md +2 -2
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/docs/.vuepress/components/InnerJsonSchema.vue +7 -15
- data/docs/.vuepress/config.js +13 -9
- data/docs/.vuepress/highlight.js +1 -1
- data/docs/.vuepress/json-schema-deref-loader.js +22 -0
- data/docs/README.md +2 -2
- data/docs/package-lock.json +2384 -2323
- data/docs/package.json +12 -8
- data/lib/urbanopt-scenario.rb +1 -1
- data/lib/urbanopt/scenario.rb +2 -1
- data/lib/urbanopt/scenario/default_reports.rb +3 -8
- data/lib/urbanopt/scenario/extension.rb +6 -4
- data/lib/urbanopt/scenario/logger.rb +1 -1
- data/lib/urbanopt/scenario/scenario_base.rb +5 -5
- data/lib/urbanopt/scenario/scenario_csv.rb +29 -17
- data/lib/urbanopt/scenario/scenario_datapoint_base.rb +12 -5
- data/lib/urbanopt/scenario/scenario_post_processor_base.rb +3 -3
- data/lib/urbanopt/scenario/scenario_post_processor_default.rb +121 -11
- data/lib/urbanopt/scenario/scenario_post_processor_opendss.rb +13 -14
- data/lib/urbanopt/scenario/scenario_runner_base.rb +8 -7
- data/lib/urbanopt/scenario/scenario_runner_osw.rb +29 -13
- data/lib/urbanopt/scenario/scenario_visualization.rb +235 -0
- data/lib/urbanopt/scenario/simulation_dir_base.rb +4 -4
- data/lib/urbanopt/scenario/simulation_dir_osw.rb +6 -13
- data/lib/urbanopt/scenario/simulation_mapper_base.rb +4 -4
- data/lib/urbanopt/scenario/version.rb +2 -2
- data/package-lock.json +3 -0
- data/urbanopt-scenario-gem.gemspec +11 -10
- metadata +80 -57
- data/doc_templates/LICENSE.md +0 -27
- data/doc_templates/README.md.erb +0 -42
- data/doc_templates/copyright_erb.txt +0 -31
- data/doc_templates/copyright_js.txt +0 -4
- data/doc_templates/copyright_ruby.txt +0 -29
- data/docs/.vuepress/components/ScenarioSchema.vue +0 -12
- data/docs/schemas/scenario-schema.md +0 -3
- data/lib/measures/.rubocop.yml +0 -5
- data/lib/measures/default_feature_reports/LICENSE.md +0 -27
- data/lib/measures/default_feature_reports/README.md +0 -56
- data/lib/measures/default_feature_reports/README.md.erb +0 -42
- data/lib/measures/default_feature_reports/measure.rb +0 -1006
- data/lib/measures/default_feature_reports/measure.xml +0 -143
- data/lib/measures/default_feature_reports/tests/USA_CO_Golden-NREL.724666_TMY3.epw +0 -8768
- data/lib/measures/default_feature_reports/tests/default_feature_reports_test.rb +0 -238
- data/lib/measures/default_feature_reports/tests/example_model.osm +0 -4378
- data/lib/urbanopt/scenario/default_reports/construction_cost.rb +0 -169
- data/lib/urbanopt/scenario/default_reports/date.rb +0 -97
- data/lib/urbanopt/scenario/default_reports/distributed_generation.rb +0 -379
- data/lib/urbanopt/scenario/default_reports/end_use.rb +0 -159
- data/lib/urbanopt/scenario/default_reports/end_uses.rb +0 -140
- data/lib/urbanopt/scenario/default_reports/feature_report.rb +0 -267
- data/lib/urbanopt/scenario/default_reports/generator.rb +0 -92
- data/lib/urbanopt/scenario/default_reports/location.rb +0 -99
- data/lib/urbanopt/scenario/default_reports/logger.rb +0 -44
- data/lib/urbanopt/scenario/default_reports/power_distribution.rb +0 -102
- data/lib/urbanopt/scenario/default_reports/program.rb +0 -266
- data/lib/urbanopt/scenario/default_reports/reporting_period.rb +0 -305
- data/lib/urbanopt/scenario/default_reports/scenario_report.rb +0 -317
- data/lib/urbanopt/scenario/default_reports/schema/README.md +0 -33
- data/lib/urbanopt/scenario/default_reports/schema/scenario_csv_columns.txt +0 -32
- data/lib/urbanopt/scenario/default_reports/schema/scenario_schema.json +0 -857
- data/lib/urbanopt/scenario/default_reports/solar_pv.rb +0 -93
- data/lib/urbanopt/scenario/default_reports/storage.rb +0 -105
- data/lib/urbanopt/scenario/default_reports/timeseries_csv.rb +0 -299
- data/lib/urbanopt/scenario/default_reports/validator.rb +0 -97
- data/lib/urbanopt/scenario/default_reports/wind.rb +0 -92
@@ -1,5 +1,5 @@
|
|
1
1
|
# *********************************************************************************
|
2
|
-
# URBANopt, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
|
2
|
+
# URBANopt (tm), Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
|
3
3
|
# contributors. All rights reserved.
|
4
4
|
#
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification,
|
@@ -30,6 +30,6 @@
|
|
30
30
|
|
31
31
|
module URBANopt
|
32
32
|
module Scenario
|
33
|
-
VERSION = '0.3
|
33
|
+
VERSION = '0.4.3'.freeze
|
34
34
|
end
|
35
35
|
end
|
data/package-lock.json
ADDED
@@ -12,11 +12,12 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = 'Library to export data point OSW files from URBANopt Scenario CSV'
|
13
13
|
spec.description = 'Library to export data point OSW files from URBANopt Scenario CSV'
|
14
14
|
spec.homepage = 'https://github.com/urbanopt'
|
15
|
+
spec.licenses = 'Nonstandard'
|
15
16
|
|
16
17
|
# Specify which files should be added to the gem when it is released.
|
17
18
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
18
19
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
19
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
20
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|lib.measures.*tests|spec|features)/}) }
|
20
21
|
end
|
21
22
|
spec.bindir = 'exe'
|
22
23
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
@@ -27,13 +28,13 @@ Gem::Specification.new do |spec|
|
|
27
28
|
spec.add_development_dependency 'rake', '~> 13.0'
|
28
29
|
spec.add_development_dependency 'rspec', '~> 3.7'
|
29
30
|
|
30
|
-
spec.
|
31
|
-
spec.
|
32
|
-
spec.
|
33
|
-
spec.
|
34
|
-
spec.
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
31
|
+
spec.add_runtime_dependency 'json-schema', '~> 2.8'
|
32
|
+
spec.add_runtime_dependency 'json_pure', '~> 2.3'
|
33
|
+
spec.add_runtime_dependency 'openstudio-common-measures', '0.2.0'
|
34
|
+
spec.add_runtime_dependency 'openstudio-extension', '~> 0.2.5'
|
35
|
+
spec.add_runtime_dependency 'openstudio-load-flexibility-measures', '~> 0.1.3'
|
36
|
+
spec.add_runtime_dependency 'openstudio-model-articulation', '0.2.0'
|
37
|
+
spec.add_runtime_dependency 'sqlite3', '1.4.2'
|
38
|
+
spec.add_runtime_dependency 'urbanopt-core', '~> 0.4.0'
|
39
|
+
spec.add_runtime_dependency 'urbanopt-reporting', '~> 0.2.1'
|
39
40
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: urbanopt-scenario
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3
|
4
|
+
version: 0.4.3
|
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: 2020-
|
12
|
+
date: 2020-11-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -57,72 +57,128 @@ dependencies:
|
|
57
57
|
name: json-schema
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - "
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '
|
62
|
+
version: '2.8'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '2.8'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: json_pure
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- - "
|
74
|
+
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
76
|
+
version: '2.3'
|
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: '
|
83
|
+
version: '2.3'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: openstudio-common-measures
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- -
|
88
|
+
- - '='
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: 0.2.0
|
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
97
|
version: 0.2.0
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
|
-
name: openstudio-
|
99
|
+
name: openstudio-extension
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: 0.2.
|
104
|
+
version: 0.2.5
|
105
105
|
type: :runtime
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - "~>"
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 0.2.5
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: openstudio-load-flexibility-measures
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - "~>"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 0.1.3
|
119
|
+
type: :runtime
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 0.1.3
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: openstudio-model-articulation
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - '='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 0.2.0
|
133
|
+
type: :runtime
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - '='
|
110
138
|
- !ruby/object:Gem::Version
|
111
139
|
version: 0.2.0
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: sqlite3
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - '='
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: 1.4.2
|
147
|
+
type: :runtime
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - '='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: 1.4.2
|
112
154
|
- !ruby/object:Gem::Dependency
|
113
155
|
name: urbanopt-core
|
114
156
|
requirement: !ruby/object:Gem::Requirement
|
115
157
|
requirements:
|
116
158
|
- - "~>"
|
117
159
|
- !ruby/object:Gem::Version
|
118
|
-
version: 0.
|
160
|
+
version: 0.4.0
|
161
|
+
type: :runtime
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - "~>"
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: 0.4.0
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: urbanopt-reporting
|
170
|
+
requirement: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - "~>"
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: 0.2.1
|
119
175
|
type: :runtime
|
120
176
|
prerelease: false
|
121
177
|
version_requirements: !ruby/object:Gem::Requirement
|
122
178
|
requirements:
|
123
179
|
- - "~>"
|
124
180
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0.
|
181
|
+
version: 0.2.1
|
126
182
|
description: Library to export data point OSW files from URBANopt Scenario CSV
|
127
183
|
email:
|
128
184
|
- rawad.elkontar@nrel.gov
|
@@ -146,57 +202,21 @@ files:
|
|
146
202
|
- README.md
|
147
203
|
- Rakefile
|
148
204
|
- deploy_docs.sh
|
149
|
-
- doc_templates/LICENSE.md
|
150
|
-
- doc_templates/README.md.erb
|
151
|
-
- doc_templates/copyright_erb.txt
|
152
|
-
- doc_templates/copyright_js.txt
|
153
|
-
- doc_templates/copyright_ruby.txt
|
154
205
|
- docs/.gitignore
|
155
206
|
- docs/.vuepress/components/InnerJsonSchema.vue
|
156
207
|
- docs/.vuepress/components/JsonSchema.vue
|
157
|
-
- docs/.vuepress/components/ScenarioSchema.vue
|
158
208
|
- docs/.vuepress/components/StaticLink.vue
|
159
209
|
- docs/.vuepress/config.js
|
160
210
|
- docs/.vuepress/highlight.js
|
211
|
+
- docs/.vuepress/json-schema-deref-loader.js
|
161
212
|
- docs/.vuepress/public/custom_rdoc_styles.css
|
162
213
|
- docs/.vuepress/utils.js
|
163
214
|
- docs/README.md
|
164
215
|
- docs/package-lock.json
|
165
216
|
- docs/package.json
|
166
|
-
- docs/schemas/scenario-schema.md
|
167
|
-
- lib/measures/.rubocop.yml
|
168
|
-
- lib/measures/default_feature_reports/LICENSE.md
|
169
|
-
- lib/measures/default_feature_reports/README.md
|
170
|
-
- lib/measures/default_feature_reports/README.md.erb
|
171
|
-
- lib/measures/default_feature_reports/measure.rb
|
172
|
-
- lib/measures/default_feature_reports/measure.xml
|
173
|
-
- lib/measures/default_feature_reports/tests/USA_CO_Golden-NREL.724666_TMY3.epw
|
174
|
-
- lib/measures/default_feature_reports/tests/default_feature_reports_test.rb
|
175
|
-
- lib/measures/default_feature_reports/tests/example_model.osm
|
176
217
|
- lib/urbanopt-scenario.rb
|
177
218
|
- lib/urbanopt/scenario.rb
|
178
219
|
- lib/urbanopt/scenario/default_reports.rb
|
179
|
-
- lib/urbanopt/scenario/default_reports/construction_cost.rb
|
180
|
-
- lib/urbanopt/scenario/default_reports/date.rb
|
181
|
-
- lib/urbanopt/scenario/default_reports/distributed_generation.rb
|
182
|
-
- lib/urbanopt/scenario/default_reports/end_use.rb
|
183
|
-
- lib/urbanopt/scenario/default_reports/end_uses.rb
|
184
|
-
- lib/urbanopt/scenario/default_reports/feature_report.rb
|
185
|
-
- lib/urbanopt/scenario/default_reports/generator.rb
|
186
|
-
- lib/urbanopt/scenario/default_reports/location.rb
|
187
|
-
- lib/urbanopt/scenario/default_reports/logger.rb
|
188
|
-
- lib/urbanopt/scenario/default_reports/power_distribution.rb
|
189
|
-
- lib/urbanopt/scenario/default_reports/program.rb
|
190
|
-
- lib/urbanopt/scenario/default_reports/reporting_period.rb
|
191
|
-
- lib/urbanopt/scenario/default_reports/scenario_report.rb
|
192
|
-
- lib/urbanopt/scenario/default_reports/schema/README.md
|
193
|
-
- lib/urbanopt/scenario/default_reports/schema/scenario_csv_columns.txt
|
194
|
-
- lib/urbanopt/scenario/default_reports/schema/scenario_schema.json
|
195
|
-
- lib/urbanopt/scenario/default_reports/solar_pv.rb
|
196
|
-
- lib/urbanopt/scenario/default_reports/storage.rb
|
197
|
-
- lib/urbanopt/scenario/default_reports/timeseries_csv.rb
|
198
|
-
- lib/urbanopt/scenario/default_reports/validator.rb
|
199
|
-
- lib/urbanopt/scenario/default_reports/wind.rb
|
200
220
|
- lib/urbanopt/scenario/extension.rb
|
201
221
|
- lib/urbanopt/scenario/logger.rb
|
202
222
|
- lib/urbanopt/scenario/scenario_base.rb
|
@@ -207,13 +227,16 @@ files:
|
|
207
227
|
- lib/urbanopt/scenario/scenario_post_processor_opendss.rb
|
208
228
|
- lib/urbanopt/scenario/scenario_runner_base.rb
|
209
229
|
- lib/urbanopt/scenario/scenario_runner_osw.rb
|
230
|
+
- lib/urbanopt/scenario/scenario_visualization.rb
|
210
231
|
- lib/urbanopt/scenario/simulation_dir_base.rb
|
211
232
|
- lib/urbanopt/scenario/simulation_dir_osw.rb
|
212
233
|
- lib/urbanopt/scenario/simulation_mapper_base.rb
|
213
234
|
- lib/urbanopt/scenario/version.rb
|
235
|
+
- package-lock.json
|
214
236
|
- urbanopt-scenario-gem.gemspec
|
215
237
|
homepage: https://github.com/urbanopt
|
216
|
-
licenses:
|
238
|
+
licenses:
|
239
|
+
- Nonstandard
|
217
240
|
metadata: {}
|
218
241
|
post_install_message:
|
219
242
|
rdoc_options: []
|
@@ -226,11 +249,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
226
249
|
version: 2.5.0
|
227
250
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
228
251
|
requirements:
|
229
|
-
- - "
|
252
|
+
- - ">="
|
230
253
|
- !ruby/object:Gem::Version
|
231
|
-
version:
|
254
|
+
version: '0'
|
232
255
|
requirements: []
|
233
|
-
rubygems_version: 3.1.
|
256
|
+
rubygems_version: 3.1.4
|
234
257
|
signing_key:
|
235
258
|
specification_version: 4
|
236
259
|
summary: Library to export data point OSW files from URBANopt Scenario CSV
|
data/doc_templates/LICENSE.md
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
URBANopt, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
|
2
|
-
contributors. All rights reserved.
|
3
|
-
|
4
|
-
Redistribution and use in source and binary forms, with or without modification,
|
5
|
-
are permitted provided that the following conditions are met:
|
6
|
-
|
7
|
-
Redistributions of source code must retain the above copyright notice, this list
|
8
|
-
of conditions and the following disclaimer.
|
9
|
-
|
10
|
-
Redistributions in binary form must reproduce the above copyright notice, this
|
11
|
-
list of conditions and the following disclaimer in the documentation and/or other
|
12
|
-
materials provided with the distribution.
|
13
|
-
|
14
|
-
Neither the name of the copyright holder nor the names of its contributors may be
|
15
|
-
used to endorse or promote products derived from this software without specific
|
16
|
-
prior written permission.
|
17
|
-
|
18
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
19
|
-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
20
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
21
|
-
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
22
|
-
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
23
|
-
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
24
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
25
|
-
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
26
|
-
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
27
|
-
OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/doc_templates/README.md.erb
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
<%#= README.md.erb is used to auto-generate README.md. %>
|
2
|
-
<%#= To manually maintain README.md throw away README.md.erb and manually edit README.md %>
|
3
|
-
###### (Automatically generated documentation)
|
4
|
-
|
5
|
-
# <%= name %>
|
6
|
-
|
7
|
-
## Description
|
8
|
-
<%= description %>
|
9
|
-
|
10
|
-
## Modeler Description
|
11
|
-
<%= modelerDescription %>
|
12
|
-
|
13
|
-
## Measure Type
|
14
|
-
<%= measureType %>
|
15
|
-
|
16
|
-
## Taxonomy
|
17
|
-
<%= taxonomy %>
|
18
|
-
|
19
|
-
## Arguments
|
20
|
-
|
21
|
-
<% arguments.each do |argument| %>
|
22
|
-
### <%= argument[:display_name] %>
|
23
|
-
<%= argument[:description] %>
|
24
|
-
**Name:** <%= argument[:name] %>,
|
25
|
-
**Type:** <%= argument[:type] %>,
|
26
|
-
**Units:** <%= argument[:units] %>,
|
27
|
-
**Required:** <%= argument[:required] %>,
|
28
|
-
**Model Dependent:** <%= argument[:model_dependent] %>
|
29
|
-
<% end %>
|
30
|
-
|
31
|
-
<% if arguments.size == 0 %>
|
32
|
-
<%= "This measure does not have any user arguments" %>
|
33
|
-
<% end %>
|
34
|
-
|
35
|
-
<% if outputs.size > 0 %>
|
36
|
-
## Outputs
|
37
|
-
<% output_names = [] %>
|
38
|
-
<% outputs.each do |output| %>
|
39
|
-
<% output_names << output[:display_name] %>
|
40
|
-
<% end %>
|
41
|
-
<%= output_names.join(", ") %>
|
42
|
-
<% end %>
|
@@ -1,31 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
# *********************************************************************************
|
3
|
-
# URBANopt, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
|
4
|
-
# contributors. All rights reserved.
|
5
|
-
#
|
6
|
-
# Redistribution and use in source and binary forms, with or without modification,
|
7
|
-
# are permitted provided that the following conditions are met:
|
8
|
-
#
|
9
|
-
# Redistributions of source code must retain the above copyright notice, this list
|
10
|
-
# of conditions and the following disclaimer.
|
11
|
-
#
|
12
|
-
# Redistributions in binary form must reproduce the above copyright notice, this
|
13
|
-
# list of conditions and the following disclaimer in the documentation and/or other
|
14
|
-
# materials provided with the distribution.
|
15
|
-
#
|
16
|
-
# Neither the name of the copyright holder nor the names of its contributors may be
|
17
|
-
# used to endorse or promote products derived from this software without specific
|
18
|
-
# prior written permission.
|
19
|
-
#
|
20
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
21
|
-
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
22
|
-
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
23
|
-
# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
24
|
-
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
25
|
-
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
26
|
-
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
27
|
-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
28
|
-
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
29
|
-
# OF THE POSSIBILITY OF SUCH DAMAGE.
|
30
|
-
# *********************************************************************************
|
31
|
-
%>
|
@@ -1,29 +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
|
-
# *********************************************************************************
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<template>
|
2
|
-
<JsonSchema :schema="schema"/>
|
3
|
-
</template>
|
4
|
-
<script>
|
5
|
-
import { default as schema } from "../../../lib/urbanopt/scenario/default_reports/schema/scenario_schema.json";
|
6
|
-
export default {
|
7
|
-
name: "ScenarioSchema",
|
8
|
-
data() {
|
9
|
-
return { schema };
|
10
|
-
}
|
11
|
-
};
|
12
|
-
</script>
|