openstudio-workflow 2.1.0 → 2.1.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/CHANGELOG.md +5 -0
- data/lib/openstudio/workflow/jobs/run_reporting_measures.rb +15 -1
- data/lib/openstudio/workflow/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c632f0a2834a490fbd25b21ef3f17ff07d77e08bdf76db7d1737a2843665d2b6
|
|
4
|
+
data.tar.gz: 6ac3e3165ddac8de85d5a364878e4ae18089a9b7c2171b9bf2341cd1c4c9438e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e274ab7d2787530a70ea4b5f17859640597044b72ec0c62a5b1c35dd459b7e013fe248e8454526998ed66ec22750a4fc02831a30314cf50639717f608b11fa8f
|
|
7
|
+
data.tar.gz: 830be90f370e3f1290c3dddeeaa63c6e1b7d7f9b4bb7e64747ac04fbf44bd3e89b2f07d11683249aa19600dd331095a87694c55f1bc9fa9102d93bd65bb05071
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
OpenStudio::Workflow Change Log
|
|
2
2
|
==================================
|
|
3
3
|
|
|
4
|
+
Version 2.1.1
|
|
5
|
+
-------------
|
|
6
|
+
* Add support for URBANopt Workflow
|
|
7
|
+
* Update reporting measure in tests
|
|
8
|
+
|
|
4
9
|
Version 2.1.0
|
|
5
10
|
-------------
|
|
6
11
|
* Support for EnergyPlus 9.4. This version will not work with prior versions of EnergyPlus.
|
|
@@ -62,9 +62,23 @@ class RunReportingMeasures < OpenStudio::Workflow::Job
|
|
|
62
62
|
|
|
63
63
|
# Ensure output_attributes is initialized in the registry
|
|
64
64
|
@registry.register(:output_attributes) { {} } unless @registry[:output_attributes]
|
|
65
|
+
|
|
66
|
+
#get OSA[:urbanopt] #BLB should prob be sent in as cli arg and used in options but for now just do this
|
|
67
|
+
@registry.register(:urbanopt) { false }
|
|
68
|
+
if @registry[:osw_path]
|
|
69
|
+
workflow = nil
|
|
70
|
+
if File.exist? @registry[:osw_path]
|
|
71
|
+
workflow = ::JSON.parse(File.read(@registry[:osw_path]), symbolize_names: true)
|
|
72
|
+
if !workflow.nil?
|
|
73
|
+
if !workflow[:urbanopt].nil?
|
|
74
|
+
@registry.register(:urbanopt) { workflow[:urbanopt] }
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
65
79
|
|
|
66
80
|
# Load simulation files as required
|
|
67
|
-
unless @registry[:runner].halted
|
|
81
|
+
unless @registry[:runner].halted || @registry[:urbanopt]
|
|
68
82
|
if @registry[:model].nil?
|
|
69
83
|
osm_path = File.absolute_path(File.join(@registry[:run_dir], 'in.osm'))
|
|
70
84
|
@logger.debug "Attempting to load #{osm_path}"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openstudio-workflow
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nicholas Long
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2020-
|
|
12
|
+
date: 2020-12-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: builder
|
|
@@ -95,6 +95,20 @@ dependencies:
|
|
|
95
95
|
- - "~>"
|
|
96
96
|
- !ruby/object:Gem::Version
|
|
97
97
|
version: 2.8.0
|
|
98
|
+
- !ruby/object:Gem::Dependency
|
|
99
|
+
name: openstudio-standards
|
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
|
101
|
+
requirements:
|
|
102
|
+
- - "~>"
|
|
103
|
+
- !ruby/object:Gem::Version
|
|
104
|
+
version: 0.2.12
|
|
105
|
+
type: :development
|
|
106
|
+
prerelease: false
|
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
108
|
+
requirements:
|
|
109
|
+
- - "~>"
|
|
110
|
+
- !ruby/object:Gem::Version
|
|
111
|
+
version: 0.2.12
|
|
98
112
|
- !ruby/object:Gem::Dependency
|
|
99
113
|
name: parallel
|
|
100
114
|
requirement: !ruby/object:Gem::Requirement
|