urbanopt-cli 0.6.2 → 0.6.3
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 +1 -0
- data/CHANGELOG.md +11 -0
- data/CMakeLists.txt +7 -7
- data/Gemfile +5 -5
- data/example_files/Gemfile +6 -3
- data/example_files/base_workflow_res.osw +10 -0
- data/example_files/example_project_combined.json +13 -3
- data/example_files/example_project_with_PV.json +751 -0
- data/example_files/mappers/Baseline.rb +24 -3
- data/example_files/mappers/CreateBar.rb +30 -0
- data/example_files/mappers/FlexibleHotWater.rb +69 -0
- data/example_files/mappers/Floorspace.rb +30 -0
- data/example_files/mappers/base_workflow.osw +5 -0
- data/example_files/mappers/createbar_workflow.osw +3 -1
- data/example_files/mappers/floorspace_workflow.osw +2 -1
- data/example_files/osm_building/7.osm +0 -307
- data/example_files/osm_building/8.osm +0 -419
- data/example_files/osm_building/9.osm +0 -664
- data/example_files/reopt/base_assumptions.json +3 -3
- data/example_files/reopt/multiPV_assumptions.json +2 -2
- data/example_files/resources/hpxml-measures/Gemfile +1 -1
- data/example_files/resources/hpxml-measures/Gemfile.lock +6 -25
- data/example_files/visualization/input_visualization_feature.html +4 -4
- data/example_files/visualization/input_visualization_scenario.html +4 -4
- data/lib/uo_cli/version.rb +1 -1
- data/lib/uo_cli.rb +56 -14
- data/uo_cli.gemspec +5 -5
- metadata +14 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d3bc5c3b66f12e742fb086cc974985a85222b2bfe94aacda10d9302fb3902ba
|
4
|
+
data.tar.gz: 11da3379b2d12f17024520818e8f9b80be1ec3bfcbf84398562bc0b0e6b20baf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91448faf7d2f3f4ecf1297a2fde7ce7b01b18268a36f2a8dad5d26c3fa926a9a9348308e83f3ece19581fe83775f9727aacd84e45c52a5941253bd2d4e9c3294
|
7
|
+
data.tar.gz: 12113797957df03e757aaaa5741eabaa7970b4565e3ea2c1ad45650ec556c705a8c6a30e7472cb72e4eae199262915f48531f5818a4292a5415b38bef785f3bc
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## Version 0.6.3
|
4
|
+
|
5
|
+
Date Range 7/23/21 - 10/28/21
|
6
|
+
|
7
|
+
- Fixed [#248]( https://github.com/urbanopt/urbanopt-cli/issues/248 ), Update example project to make use of commercial hours of operation customization
|
8
|
+
- Fixed [#255]( https://github.com/urbanopt/urbanopt-cli/issues/255 ), Look into warning message
|
9
|
+
- Fixed [#258]( https://github.com/urbanopt/urbanopt-cli/issues/258 ), added missing feature location arguments to CreateBar & Floorspace workflows
|
10
|
+
- Fixed [#260]( https://github.com/urbanopt/urbanopt-cli/issues/260 ), Add support for community PV, and ground-mount PV associated with Features
|
11
|
+
- Fixed [#265]( https://github.com/urbanopt/urbanopt-cli/issues/265 ), RNM workflow does not work when specifying the electrical catalog
|
12
|
+
- Fixed [#268]( https://github.com/urbanopt/urbanopt-cli/issues/268 ), Sync files from the urbanopt / urbanopt-example-geojson-project repository
|
13
|
+
|
3
14
|
## Version 0.6.2
|
4
15
|
|
5
16
|
Date Range 7/2/21 - 7/22/21
|
data/CMakeLists.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
cmake_minimum_required(VERSION 3.10.2)
|
2
2
|
cmake_policy(SET CMP0048 NEW)
|
3
3
|
|
4
|
-
project(UrbanOptCLI VERSION 0.6.
|
4
|
+
project(UrbanOptCLI VERSION 0.6.2)
|
5
5
|
|
6
6
|
include(FindOpenStudioSDK.cmake)
|
7
7
|
|
@@ -89,16 +89,16 @@ option(BUILD_PACKAGE "Build package" OFF)
|
|
89
89
|
# need to update the MD5sum for each platform and url below
|
90
90
|
if(UNIX)
|
91
91
|
if(APPLE)
|
92
|
-
set(URBANOPT_CLI_GEMS_ZIP_FILENAME "urbanopt-cli-gems-
|
93
|
-
set(URBANOPT_CLI_GEMS_ZIP_EXPECTED_MD5 "
|
92
|
+
set(URBANOPT_CLI_GEMS_ZIP_FILENAME "urbanopt-cli-gems-20210802-darwin.tar.gz ")
|
93
|
+
set(URBANOPT_CLI_GEMS_ZIP_EXPECTED_MD5 "5b607464c5f003477d11ddb73cb7d493")
|
94
94
|
else()
|
95
|
-
set(URBANOPT_CLI_GEMS_ZIP_FILENAME "urbanopt-cli-gems-
|
96
|
-
set(URBANOPT_CLI_GEMS_ZIP_EXPECTED_MD5 "
|
95
|
+
set(URBANOPT_CLI_GEMS_ZIP_FILENAME "urbanopt-cli-gems-20210802-linux.tar.gz")
|
96
|
+
set(URBANOPT_CLI_GEMS_ZIP_EXPECTED_MD5 "c43152b7235f70d3b875722cb83b5db8")
|
97
97
|
endif()
|
98
98
|
elseif(WIN32)
|
99
99
|
if(CMAKE_CL_64)
|
100
|
-
set(URBANOPT_CLI_GEMS_ZIP_FILENAME "urbanopt-cli-gems-
|
101
|
-
set(URBANOPT_CLI_GEMS_ZIP_EXPECTED_MD5 "
|
100
|
+
set(URBANOPT_CLI_GEMS_ZIP_FILENAME "urbanopt-cli-gems-20210809-windows.tar.gz")
|
101
|
+
set(URBANOPT_CLI_GEMS_ZIP_EXPECTED_MD5 "240892fcd96165ce1e3ef879c0367063")
|
102
102
|
endif()
|
103
103
|
endif()
|
104
104
|
|
data/Gemfile
CHANGED
@@ -46,9 +46,9 @@ allow_local = ENV['FAVOR_LOCAL_GEMS']
|
|
46
46
|
# end
|
47
47
|
|
48
48
|
# if allow_local && File.exist?('../urbanopt-reopt-gem')
|
49
|
-
|
49
|
+
# gem 'urbanopt-reopt', path: '../urbanopt-reopt-gem'
|
50
50
|
# elsif allow_local
|
51
|
-
#
|
51
|
+
# gem 'urbanopt-reopt', github: 'URBANopt/urbanopt-reopt-gem', branch: 'develop'
|
52
52
|
# end
|
53
53
|
|
54
54
|
# if allow_local && File.exist?('../openstudio-load-flexibility-measures')
|
@@ -58,13 +58,13 @@ allow_local = ENV['FAVOR_LOCAL_GEMS']
|
|
58
58
|
# end
|
59
59
|
|
60
60
|
# if allow_local && File.exist?('../urbanopt-reporting-gem')
|
61
|
-
|
61
|
+
# gem 'urbanopt-reporting', path: '../urbanopt-reporting-gem'
|
62
62
|
# elsif allow_local
|
63
|
-
#
|
63
|
+
# gem 'urbanopt-reporting', github: 'URBANopt/urbanopt-reporting-gem', branch: 'develop'
|
64
64
|
# end
|
65
65
|
|
66
66
|
# if allow_local && File.exist?('../urbanopt-rnm-us-gem')
|
67
67
|
# gem 'urbanopt-rnm-us', path: '../urbanopt-rnm-us-gem'
|
68
68
|
# elsif allow_local
|
69
69
|
# gem 'urbanopt-rnm-us', github: 'URBANopt/urbanopt-rnm-us-gem', branch: 'develop'
|
70
|
-
# end
|
70
|
+
# end
|
data/example_files/Gemfile
CHANGED
@@ -47,7 +47,7 @@ if allow_local && File.exist?('../openstudio-load-flexibility-measures-gem')
|
|
47
47
|
elsif allow_local
|
48
48
|
gem 'openstudio-load-flexibility-measures', github: 'NREL/openstudio-load-flexibility-measures-gem', branch: 'master'
|
49
49
|
else
|
50
|
-
gem 'openstudio-load-flexibility-measures', '~> 0.3.
|
50
|
+
gem 'openstudio-load-flexibility-measures', '~> 0.3.2'
|
51
51
|
end
|
52
52
|
|
53
53
|
if allow_local && File.exist?('../openstudio-ee-gem')
|
@@ -71,13 +71,16 @@ if allow_local && File.exists?('../urbanopt-geojson-gem')
|
|
71
71
|
elsif allow_local
|
72
72
|
gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'develop'
|
73
73
|
else
|
74
|
-
gem 'urbanopt-geojson', '~> 0.6.
|
74
|
+
gem 'urbanopt-geojson', '~> 0.6.6'
|
75
75
|
end
|
76
76
|
|
77
|
+
# NEVER put SCENARIO-GEM in this file...it will make all simulations fail due to the sqlite dependency
|
78
|
+
# gem 'urbanopt-scenario', github: 'URBANopt/urbanopt-scenario-gem', branch: 'develop'
|
79
|
+
|
77
80
|
if allow_local && File.exists?('../urbanopt-reporting-gem')
|
78
81
|
gem 'urbanopt-reporting', path: '../urbanopt-reporting-gem'
|
79
82
|
elsif allow_local
|
80
83
|
gem 'urbanopt-reporting', github: 'URBANopt/urbanopt-reporting-gem', branch: 'develop'
|
81
84
|
else
|
82
|
-
gem 'urbanopt-reporting', '~> 0.4.
|
85
|
+
gem 'urbanopt-reporting', '~> 0.4.2'
|
83
86
|
end
|
@@ -129,6 +129,11 @@
|
|
129
129
|
"charge_start": "23:00",
|
130
130
|
"inter_sp": 46
|
131
131
|
}
|
132
|
+
},{
|
133
|
+
"measure_dir_name":"add_hpwh",
|
134
|
+
"arguments":{
|
135
|
+
"__SKIP__":true
|
136
|
+
}
|
132
137
|
},{
|
133
138
|
"measure_dir_name": "add_packaged_ice_storage",
|
134
139
|
"arguments": {
|
@@ -144,6 +149,11 @@
|
|
144
149
|
"feature_type": null,
|
145
150
|
"feature_location": null
|
146
151
|
}
|
152
|
+
},{
|
153
|
+
"measure_dir_name": "openstudio_results",
|
154
|
+
"arguments": {
|
155
|
+
"__SKIP__": true
|
156
|
+
}
|
147
157
|
}
|
148
158
|
],
|
149
159
|
"name": null,
|
@@ -147,7 +147,11 @@
|
|
147
147
|
"building_type": "Food service",
|
148
148
|
"floor_area": 125631,
|
149
149
|
"footprint_area": 41877,
|
150
|
-
"number_of_stories": 3
|
150
|
+
"number_of_stories": 3,
|
151
|
+
"weekday_start_time": "11:00",
|
152
|
+
"weekday_duration": "11:30",
|
153
|
+
"weekend_start_time": "11:00",
|
154
|
+
"weekend_duration": "11:30"
|
151
155
|
},
|
152
156
|
"geometry": {
|
153
157
|
"type": "Polygon",
|
@@ -186,7 +190,11 @@
|
|
186
190
|
"building_type": "Food service",
|
187
191
|
"floor_area": 31623,
|
188
192
|
"footprint_area": 10541,
|
189
|
-
"number_of_stories": 3
|
193
|
+
"number_of_stories": 3,
|
194
|
+
"weekday_start_time": "06:00",
|
195
|
+
"weekday_duration": "07:00",
|
196
|
+
"weekend_start_time": "08:00",
|
197
|
+
"weekend_duration": "05:00"
|
190
198
|
},
|
191
199
|
"geometry": {
|
192
200
|
"type": "Polygon",
|
@@ -225,7 +233,9 @@
|
|
225
233
|
"building_type": "Food service",
|
226
234
|
"floor_area": 8804,
|
227
235
|
"footprint_area": 8804,
|
228
|
-
"number_of_stories": 1
|
236
|
+
"number_of_stories": 1,
|
237
|
+
"weekday_start_time": "06:00",
|
238
|
+
"weekday_duration": "16:00"
|
229
239
|
},
|
230
240
|
"geometry": {
|
231
241
|
"type": "Polygon",
|