urbanopt-scenario 0.4.0 → 0.5.0
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 +1 -1
- data/CHANGELOG.md +35 -0
- data/Gemfile +11 -15
- data/RDOC_MAIN.md +2 -2
- data/README.md +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 +355 -471
- data/docs/package.json +4 -4
- data/lib/urbanopt/scenario/extension.rb +5 -3
- data/lib/urbanopt/scenario/scenario_base.rb +4 -4
- data/lib/urbanopt/scenario/scenario_csv.rb +7 -8
- data/lib/urbanopt/scenario/scenario_datapoint_base.rb +4 -4
- data/lib/urbanopt/scenario/scenario_post_processor_base.rb +2 -2
- data/lib/urbanopt/scenario/scenario_post_processor_default.rb +62 -28
- data/lib/urbanopt/scenario/scenario_post_processor_opendss.rb +7 -8
- data/lib/urbanopt/scenario/scenario_runner_base.rb +6 -5
- data/lib/urbanopt/scenario/scenario_runner_osw.rb +6 -4
- data/lib/urbanopt/scenario/scenario_visualization.rb +4 -6
- data/lib/urbanopt/scenario/simulation_dir_base.rb +3 -3
- data/lib/urbanopt/scenario/simulation_dir_osw.rb +4 -4
- data/lib/urbanopt/scenario/simulation_mapper_base.rb +3 -3
- data/lib/urbanopt/scenario/version.rb +1 -1
- data/urbanopt-scenario-gem.gemspec +14 -7
- metadata +40 -27
- data/docs/.vuepress/components/ScenarioSchema.vue +0 -12
- data/docs/schemas/scenario-schema.md +0 -3
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
1
|
lib = File.expand_path('lib', __dir__)
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
3
|
require 'urbanopt/scenario/version'
|
@@ -30,11 +29,19 @@ Gem::Specification.new do |spec|
|
|
30
29
|
|
31
30
|
spec.add_runtime_dependency 'json-schema', '~> 2.8'
|
32
31
|
spec.add_runtime_dependency 'json_pure', '~> 2.3'
|
33
|
-
|
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'
|
32
|
+
|
37
33
|
spec.add_runtime_dependency 'sqlite3', '1.4.2'
|
38
|
-
spec.add_runtime_dependency 'urbanopt-core', '~> 0.
|
39
|
-
spec.add_runtime_dependency 'urbanopt-reporting', '~> 0.2
|
34
|
+
spec.add_runtime_dependency 'urbanopt-core', '~> 0.5.1'
|
35
|
+
spec.add_runtime_dependency 'urbanopt-reporting', '~> 0.3.2'
|
36
|
+
|
37
|
+
# extension gem is included in urbanopt-core so we shouldn't need to explicitly require it here
|
38
|
+
# spec.add_runtime_dependency 'openstudio-extension', '~> 0.3.1'
|
39
|
+
|
40
|
+
# need to include all measure gems listed in mappers in project gemfiles
|
41
|
+
# scenario_csv loads the mappers and need access to the extension gems when they are added to a mapper
|
42
|
+
spec.add_runtime_dependency 'openstudio-calibration', '~> 0.3.1'
|
43
|
+
spec.add_runtime_dependency 'openstudio-common-measures', '~> 0.3.2'
|
44
|
+
spec.add_runtime_dependency 'openstudio-ee', '~> 0.3.2'
|
45
|
+
spec.add_runtime_dependency 'openstudio-load-flexibility-measures', '~> 0.2.1'
|
46
|
+
spec.add_runtime_dependency 'openstudio-model-articulation', '~> 0.3.1'
|
40
47
|
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.
|
4
|
+
version: 0.5.0
|
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-12-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -82,103 +82,117 @@ dependencies:
|
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '2.3'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
|
-
name:
|
85
|
+
name: sqlite3
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - '='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 1.4.2
|
91
|
+
type: :runtime
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - '='
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 1.4.2
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: urbanopt-core
|
86
100
|
requirement: !ruby/object:Gem::Requirement
|
87
101
|
requirements:
|
88
102
|
- - "~>"
|
89
103
|
- !ruby/object:Gem::Version
|
90
|
-
version: 0.
|
104
|
+
version: 0.5.1
|
91
105
|
type: :runtime
|
92
106
|
prerelease: false
|
93
107
|
version_requirements: !ruby/object:Gem::Requirement
|
94
108
|
requirements:
|
95
109
|
- - "~>"
|
96
110
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.
|
111
|
+
version: 0.5.1
|
98
112
|
- !ruby/object:Gem::Dependency
|
99
|
-
name:
|
113
|
+
name: urbanopt-reporting
|
100
114
|
requirement: !ruby/object:Gem::Requirement
|
101
115
|
requirements:
|
102
116
|
- - "~>"
|
103
117
|
- !ruby/object:Gem::Version
|
104
|
-
version: 0.2
|
118
|
+
version: 0.3.2
|
105
119
|
type: :runtime
|
106
120
|
prerelease: false
|
107
121
|
version_requirements: !ruby/object:Gem::Requirement
|
108
122
|
requirements:
|
109
123
|
- - "~>"
|
110
124
|
- !ruby/object:Gem::Version
|
111
|
-
version: 0.2
|
125
|
+
version: 0.3.2
|
112
126
|
- !ruby/object:Gem::Dependency
|
113
|
-
name: openstudio-
|
127
|
+
name: openstudio-calibration
|
114
128
|
requirement: !ruby/object:Gem::Requirement
|
115
129
|
requirements:
|
116
130
|
- - "~>"
|
117
131
|
- !ruby/object:Gem::Version
|
118
|
-
version: 0.1
|
132
|
+
version: 0.3.1
|
119
133
|
type: :runtime
|
120
134
|
prerelease: false
|
121
135
|
version_requirements: !ruby/object:Gem::Requirement
|
122
136
|
requirements:
|
123
137
|
- - "~>"
|
124
138
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0.1
|
139
|
+
version: 0.3.1
|
126
140
|
- !ruby/object:Gem::Dependency
|
127
|
-
name: openstudio-
|
141
|
+
name: openstudio-common-measures
|
128
142
|
requirement: !ruby/object:Gem::Requirement
|
129
143
|
requirements:
|
130
144
|
- - "~>"
|
131
145
|
- !ruby/object:Gem::Version
|
132
|
-
version: 0.2
|
146
|
+
version: 0.3.2
|
133
147
|
type: :runtime
|
134
148
|
prerelease: false
|
135
149
|
version_requirements: !ruby/object:Gem::Requirement
|
136
150
|
requirements:
|
137
151
|
- - "~>"
|
138
152
|
- !ruby/object:Gem::Version
|
139
|
-
version: 0.2
|
153
|
+
version: 0.3.2
|
140
154
|
- !ruby/object:Gem::Dependency
|
141
|
-
name:
|
155
|
+
name: openstudio-ee
|
142
156
|
requirement: !ruby/object:Gem::Requirement
|
143
157
|
requirements:
|
144
|
-
- -
|
158
|
+
- - "~>"
|
145
159
|
- !ruby/object:Gem::Version
|
146
|
-
version:
|
160
|
+
version: 0.3.2
|
147
161
|
type: :runtime
|
148
162
|
prerelease: false
|
149
163
|
version_requirements: !ruby/object:Gem::Requirement
|
150
164
|
requirements:
|
151
|
-
- -
|
165
|
+
- - "~>"
|
152
166
|
- !ruby/object:Gem::Version
|
153
|
-
version:
|
167
|
+
version: 0.3.2
|
154
168
|
- !ruby/object:Gem::Dependency
|
155
|
-
name:
|
169
|
+
name: openstudio-load-flexibility-measures
|
156
170
|
requirement: !ruby/object:Gem::Requirement
|
157
171
|
requirements:
|
158
172
|
- - "~>"
|
159
173
|
- !ruby/object:Gem::Version
|
160
|
-
version: 0.
|
174
|
+
version: 0.2.1
|
161
175
|
type: :runtime
|
162
176
|
prerelease: false
|
163
177
|
version_requirements: !ruby/object:Gem::Requirement
|
164
178
|
requirements:
|
165
179
|
- - "~>"
|
166
180
|
- !ruby/object:Gem::Version
|
167
|
-
version: 0.
|
181
|
+
version: 0.2.1
|
168
182
|
- !ruby/object:Gem::Dependency
|
169
|
-
name:
|
183
|
+
name: openstudio-model-articulation
|
170
184
|
requirement: !ruby/object:Gem::Requirement
|
171
185
|
requirements:
|
172
186
|
- - "~>"
|
173
187
|
- !ruby/object:Gem::Version
|
174
|
-
version: 0.
|
188
|
+
version: 0.3.1
|
175
189
|
type: :runtime
|
176
190
|
prerelease: false
|
177
191
|
version_requirements: !ruby/object:Gem::Requirement
|
178
192
|
requirements:
|
179
193
|
- - "~>"
|
180
194
|
- !ruby/object:Gem::Version
|
181
|
-
version: 0.
|
195
|
+
version: 0.3.1
|
182
196
|
description: Library to export data point OSW files from URBANopt Scenario CSV
|
183
197
|
email:
|
184
198
|
- rawad.elkontar@nrel.gov
|
@@ -205,16 +219,15 @@ files:
|
|
205
219
|
- docs/.gitignore
|
206
220
|
- docs/.vuepress/components/InnerJsonSchema.vue
|
207
221
|
- docs/.vuepress/components/JsonSchema.vue
|
208
|
-
- docs/.vuepress/components/ScenarioSchema.vue
|
209
222
|
- docs/.vuepress/components/StaticLink.vue
|
210
223
|
- docs/.vuepress/config.js
|
211
224
|
- docs/.vuepress/highlight.js
|
225
|
+
- docs/.vuepress/json-schema-deref-loader.js
|
212
226
|
- docs/.vuepress/public/custom_rdoc_styles.css
|
213
227
|
- docs/.vuepress/utils.js
|
214
228
|
- docs/README.md
|
215
229
|
- docs/package-lock.json
|
216
230
|
- docs/package.json
|
217
|
-
- docs/schemas/scenario-schema.md
|
218
231
|
- lib/urbanopt-scenario.rb
|
219
232
|
- lib/urbanopt/scenario.rb
|
220
233
|
- lib/urbanopt/scenario/default_reports.rb
|
@@ -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>
|