urbanopt-scenario 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/docs/package-lock.json +5 -8
- data/docs/package.json +2 -1
- data/lib/urbanopt/scenario/scenario_post_processor_opendss.rb +2 -1
- data/lib/urbanopt/scenario/scenario_visualization.rb +5 -3
- data/lib/urbanopt/scenario/version.rb +1 -1
- data/urbanopt-scenario-gem.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e70e349c3e8e3a2ed95e984bb8d9afff62f4b7d3d05dd5d1c3af5448356640c
|
4
|
+
data.tar.gz: 87bfe0c16d75de1b426f3d4d765e15c988c47e8386db4e31211ad3f7b2f0adb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fea7dd61f661293995c67bc5b93ac366fc176d9038649bf4048db583aa43726c125c763e0aa789db6a1f7a4f591909f0904124e47547e2b94eb30a19597db8b7
|
7
|
+
data.tar.gz: a85b86e65b2c14977db4c57f1beda4204605cc3ac2b1c22953118c305a657a40745239ffff9caf712179fb2da0bf2933b156eb6b03cddcb90e1c03725b7972b2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# URBANopt Scenario Gem
|
2
2
|
|
3
|
+
## Version 0.5.1
|
4
|
+
Date Range: 12/15/20 - 02/04/21
|
5
|
+
|
6
|
+
- Fixed [#175]( https://github.com/urbanopt/urbanopt-scenario-gem/issues/175 ), Need additional reporting output to supply to DES (Modelica) team
|
7
|
+
- Fixed [#194]( https://github.com/urbanopt/urbanopt-scenario-gem/issues/194 ), In the visualization reports, update graphs to show names of features and not feature ids
|
8
|
+
- Fixed [#196]( https://github.com/urbanopt/urbanopt-scenario-gem/issues/196 ), In opendss postprocessor: update scenario reports saving method to not save the feature reports.
|
9
|
+
|
3
10
|
## Version 0.5.0
|
4
11
|
Date Range: 11/17/20 - 12/09/20
|
5
12
|
|
data/docs/package-lock.json
CHANGED
@@ -4602,10 +4602,7 @@
|
|
4602
4602
|
"global-dirs": {
|
4603
4603
|
"version": "2.0.1",
|
4604
4604
|
"resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-2.0.1.tgz",
|
4605
|
-
"integrity": "sha512-5HqUqdhkEovj2Of/ms3IeS/EekcO54ytHRLV4PEY2rhRwrHXLQjeVEES0Lhka0xwNDtGYn58wyC4s5+MHsOO6A=="
|
4606
|
-
"requires": {
|
4607
|
-
"ini": "^1.3.5"
|
4608
|
-
}
|
4605
|
+
"integrity": "sha512-5HqUqdhkEovj2Of/ms3IeS/EekcO54ytHRLV4PEY2rhRwrHXLQjeVEES0Lhka0xwNDtGYn58wyC4s5+MHsOO6A=="
|
4609
4606
|
},
|
4610
4607
|
"globals": {
|
4611
4608
|
"version": "11.12.0",
|
@@ -5130,9 +5127,10 @@
|
|
5130
5127
|
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
|
5131
5128
|
},
|
5132
5129
|
"ini": {
|
5133
|
-
"version": "
|
5134
|
-
"resolved": "https://registry.npmjs.org/ini/-/ini-
|
5135
|
-
"integrity": "sha512-
|
5130
|
+
"version": "2.0.0",
|
5131
|
+
"resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz",
|
5132
|
+
"integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==",
|
5133
|
+
"dev": true
|
5136
5134
|
},
|
5137
5135
|
"internal-ip": {
|
5138
5136
|
"version": "4.3.0",
|
@@ -7470,7 +7468,6 @@
|
|
7470
7468
|
"integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
|
7471
7469
|
"requires": {
|
7472
7470
|
"deep-extend": "^0.6.0",
|
7473
|
-
"ini": "~1.3.0",
|
7474
7471
|
"minimist": "^1.2.0",
|
7475
7472
|
"strip-json-comments": "~2.0.1"
|
7476
7473
|
}
|
data/docs/package.json
CHANGED
@@ -267,7 +267,8 @@ module URBANopt
|
|
267
267
|
save_transformers_reports
|
268
268
|
|
269
269
|
# save the updated scenario reports
|
270
|
-
|
270
|
+
# set save_feature_reports to false since only the scenario reports should be saved now
|
271
|
+
@scenario_report.save(file_name = 'scenario_report_opendss', save_feature_reports = false)
|
271
272
|
end
|
272
273
|
end
|
273
274
|
end
|
@@ -35,16 +35,18 @@ require 'json'
|
|
35
35
|
module URBANopt
|
36
36
|
module Scenario
|
37
37
|
class ResultVisualization
|
38
|
-
def self.create_visualization(run_dir, feature = true)
|
38
|
+
def self.create_visualization(run_dir, feature = true, feature_names = false)
|
39
39
|
@all_results = []
|
40
|
+
|
40
41
|
run_dir.each do |folder|
|
41
|
-
name = folder.split('/')[-1]
|
42
|
-
|
43
42
|
# create visualization for scenarios
|
44
43
|
if feature == false
|
44
|
+
name = folder.split('/')[-1]
|
45
45
|
csv_dir = File.join(folder, 'default_scenario_report.csv')
|
46
46
|
# create visualization for features
|
47
47
|
elsif feature == true
|
48
|
+
index = run_dir.index(folder)
|
49
|
+
name = folder.split('/')[-1] + '-' + feature_names[index]
|
48
50
|
csv_dir = File.join(folder, 'feature_reports/default_feature_report.csv')
|
49
51
|
end
|
50
52
|
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
|
33
33
|
spec.add_runtime_dependency 'sqlite3', '1.4.2'
|
34
34
|
spec.add_runtime_dependency 'urbanopt-core', '~> 0.5.1'
|
35
|
-
spec.add_runtime_dependency 'urbanopt-reporting', '~> 0.3.
|
35
|
+
spec.add_runtime_dependency 'urbanopt-reporting', '~> 0.3.6'
|
36
36
|
|
37
37
|
# extension gem is included in urbanopt-core so we shouldn't need to explicitly require it here
|
38
38
|
# spec.add_runtime_dependency 'openstudio-extension', '~> 0.3.1'
|
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.5.
|
4
|
+
version: 0.5.1
|
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:
|
12
|
+
date: 2021-02-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -115,14 +115,14 @@ dependencies:
|
|
115
115
|
requirements:
|
116
116
|
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: 0.3.
|
118
|
+
version: 0.3.6
|
119
119
|
type: :runtime
|
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: 0.3.
|
125
|
+
version: 0.3.6
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: openstudio-calibration
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|