openstudio-analysis 1.3.6 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,269 +1,278 @@
1
- OpenStudio(R) Analysis Gem Change Log
2
- ==================================
3
-
4
- Version 1.3.6
5
- -------------
6
- * Bump BCL and Rubocop
7
-
8
- Version 1.3.5
9
- -------------
10
- * Increase Timeouts and write_timeouts to deal with latencies for network related issues
11
-
12
- Version 1.3.4
13
- -------------
14
- * Update licenses
15
- * Add download_zip, download_osm, download_osw, download_reports attributes to OSA
16
- * Add cli_verbose, cli_debug, initialize_worker_timeout, run_workflow_timeout, upload_results_timeout attributes to OSA
17
-
18
- Version 1.3.3
19
- -------------
20
- * Add arguments to .save_osa_zip() to add all files in weather and/or seed directories to zip file. defaults to false.
21
-
22
- Version 1.3.2
23
- -------------
24
- * Add array of search paths to .convert_osw() to find measures in various directories.
25
- * warn if :weather_file and :seed_model are not defined.
26
- * use :file_paths in the OSW to search for :seed_model and :weather_file.
27
- * add .stat and .ddy files to analysis.zip if in same directory as .epw defined in :weather_file.
28
- * use :measure_paths in OSW to search for measures.
29
-
30
- Version 1.3.1
31
- -------------
32
- * Add method to delete a Variable: **analysis.remove_variable()**
33
- * fix bug related to multiple calls to analysis.to_hash deleting variables
34
- * Add PSO and Optim to allowed algorithms
35
-
36
- Version 1.3.0
37
- -------------
38
- * Create an OSA from an OSW: **analysis.convert_osw()**
39
- * Add output variables and objective functions: **analysis.add_output()**
40
- * Add server initialization and finalization scripts: **analysis.server_scripts.add()**
41
- * Set algorithm attributes: **analysis.algorithm.set_attribute()**
42
- * Set algorithm type: **analysis.analysis_type()**
43
- * Add additional library/data files: **analysis.libraries.add()**
44
- * create analysis.json: **File.write('analysis.json',JSON.pretty_generate(analysis.to_hash))**
45
- * create analysis.zip: **analysis.save_osa_zip('analysis.zip')**
46
-
47
- Version 1.2.0
48
- -------------
49
- * master -> main
50
- * Remove support for Ruby 2.5. Only support Ruby ~> 2.7.0
51
- * BCL ~> 0.7.0
52
- * Use GitHub actions for CI
53
-
54
- Version 1.1.0
55
- -------------
56
- * Allow for blank :seed, :weather_file and :workflow sections of OSA
57
-
58
- Version 1.0.6
59
- -------------
60
- * Always include ../lib to the file paths to search
61
-
62
- Version 1.0.5
63
- -------------
64
- * Upgrade to latest BCL (0.6.1)
65
- * Remove the need for the measure.json (which has been deprecated in BCL gem). Now parses the measure.xml.
66
- * Upgrade Faraday (1.0.1)
67
- * Remove dependency on Nokogiri.
68
-
69
- Version 1.0.4
70
- -------------
71
- * Update dependency Nokogiri
72
-
73
- Version 1.0.3
74
- -------------
75
- * Update dependencies roo and rubyzip
76
-
77
- Version 1.0.2
78
- -------------
79
- * Updates required for OpenStudio 3x
80
- * Require Ruby ~> 2.5.1
81
- * Update to Nokogiri ~> 1.8.2 (required for Ruby 2.5 on Windows)
82
-
83
- Version 1.0.1
84
- -------------
85
- * Add support for Ruby 2.5.1 (keeping support for 2.2)
86
- * Lock version of Roo to older version
87
- * Updated copyright dates and remove old LGPL license. License is not LGPL but a BSD-style license.
88
-
89
- Version 1.0.0
90
- -------------
91
- This is the first official release in quite some time. This includes many changes which unfortunately have not been
92
- cataloged. The changes from 0.4.5 include:
93
-
94
- * Requires ruby > 2.1.
95
- * Default path to ServerApi logfile to ~/os_server_api.log. This can be overridden by setting the log_path options key in the initializer.
96
- * Fix get_datapoint_status for new version of API where data_points are under analysis
97
- * Fix boolean data type in datapoints translator
98
- * Allow __skip__ variable in datapoints translator
99
- * Fix bug in batch datapoints to look for outputs_json, not outputs when importing the definition of the outputs JSON file.
100
- * Allow "None" as an argument in batch datapoints. This will allow the measure to be added without setting any of the arguments. Useful for adding Reporting Measures to the workflow.
101
- * Use more recent version of BCL gem for underscoring strings
102
- * When creating OSWs from batch datapoints, set the default run_directory to ./run
103
- * fix get_datapoint method. show_full is no longer a valid endpoint in the new server code
104
- * Change seed_model to seed_file in OSWs generated from the translator
105
- * Add more unit tests
106
- * Catch null arguments when translating from OSA/OSD to OSW
107
- * Note that pre.rc1 was yanked from Rubygems.
108
- * Remove allow_multiple_jobs and server_as_worker options. These are by defaulted to true now.
109
- * Remove uncertain strings from end of uncertainty distributions
110
- * Remove measures eval path for CSV import
111
- * Add diag analysis type to server_api run method
112
- * Remove support for Rubies < 2.0 and > 2.0.
113
- * Add json extension to formulation name upon save if none exists
114
- * Add zip extension to formulation zip upon save if none exists
115
- * In upload_datapoint, allows set the analysis_id in the file to the one passed.
116
- * Remove reading JSON from custom_csv method.
117
- * Fixed bug in workflow translator which caused errors in server models
118
- * Updated gem versions to converge across the OpenStudio Analysis Framework platforms
119
-
120
- Version 0.4.4
121
- ------------------
122
- * Increment objective function count only if they are true
123
- * Do not add an output if the variable name has already been added
124
-
125
- Version 0.4.3
126
- ------------------
127
- * Add defaults to the OpenStudio::Analysis::ServerApi .run method.
128
- * Bug fix for path to the measure if there was more than one depth of the directory.
129
- * Add measure_definition_directory_local to store the path to the original measure.
130
- * run_analysis will be deprecated in 0.5.0. Use start_analysis instead of run_analysis.
131
- * Less stringent check on column names in Excel which caused errors at times.
132
- * Do not error out when a measure argument is a String or Choice and does not contain Enumerations.
133
- * New data point status API helper to list all the data points across all the analyses if desired.
134
- * If the user sets a std dev or delta x on a uniform or discrete variable, allow it to persist. This allows certain algorithms (e.g. rgenoud) to use the data.
135
- * New class OpenStudio::Weather::Epw to handle pulling data out of weather files.
136
- * Deprecate the old ERB templates for creating the analysis.json via the Excel translator
137
-
138
- Version 0.4.2
139
- -------------
140
- * Bug fix when adding measure from path, this now sets the correct argument name.
141
- * Fix namespace conflict with OpenStudio::Logger and OpenStudio::Time
142
- * Create method for saving the Analysis Zip file (save_analysis_zip)
143
-
144
- Version 0.4.1
145
- -------------
146
- * Bug fix to address the spec/files directory being prepended to the measures
147
-
148
- Version 0.4.0
149
- -------------
150
- * Add programmatic interface. This is now used when translating the Excel file into the JSON.
151
-
152
- Version 0.3.7
153
- -------------
154
- * Worker initialization and finalization scripts
155
- * Do not allow the file to process if the Measure Display Names are not unique
156
-
157
- Version 0.3.6
158
- -------------
159
- * Allow multiple measure paths. Will search by order for the measure.
160
- * Add AWS Tag in the Settings
161
-
162
- Version 0.3.5
163
- --------------
164
- * Add delete_project method
165
- * Integration testing
166
- * Return status and filename of downlaoded files
167
- * Methods for removing models from the Excel translator
168
- * Return detailed analyses on a project
169
- * Download database
170
-
171
- Version 0.3.4
172
- -------------
173
- * BUG FIX: Measures were not being added to zip file
174
-
175
- Version 0.3.3
176
- -------------
177
- * More unit tests
178
- * Allow a UUID model name to be automatically generated if the model name is not specified
179
- * Short name added to the variables input and output section of the spreadsheet. This required adding a new column and is not backwards compatible
180
-
181
- Version 0.3.2
182
- --------------
183
- * Support both relative and absolute paths in the spreadsheet
184
- * Helper methods for submitting analyses
185
- * Add get_analysis method to Server API to get the status of an analysis
186
-
187
- Version 0.3.1
188
- --------------
189
- * Grab the first EPW file, not the first file
190
- * Download various formats via server API
191
-
192
- Version 0.3.0
193
- --------------
194
- * Remove the column for Sampling Method. That is now part of the analysis config.
195
- * All variables need static values now
196
- * Updated output tab to add more information about the outputs if available
197
- * Remove hardcoded baseline exception
198
-
199
- Version 0.2.3
200
- --------------
201
- * Support for optional variables
202
- * Display names and Machine names in the models now
203
- * More error checking
204
-
205
- Version 0.1.14
206
- --------------
207
- * Symbolize headers parsed from excel file.
208
-
209
-
210
- Version 0.1.12/13
211
- -------------
212
- * Add machine name to pivot variables
213
- * Force generation of unique UUIDs
214
- * Add data types to arguments and variables for XML based measures
215
- * Move Pivot variable type to Type (not sample method)
216
-
217
- Version 0.1.11
218
- -------------
219
- * Add cluster name and openstudio server version
220
- * Make the booleans in run_options actual booleans
221
-
222
- Version 0.1.10
223
- -------------
224
- * Add output variables to the spreadsheet as a separate tab
225
-
226
- Version 0.1.9
227
- -------------
228
- * Downcase checking of variable data types
229
-
230
- Version 0.1.9
231
- -------------
232
- * Clean up the "delete_mes" in the JSONs
233
- * Added discrete variables to the spreadsheet and bumped version
234
-
235
- Version 0.1.8
236
- -------------
237
- * Parsing of Proxy parameters
238
-
239
- Version 0.1.7
240
- -------------
241
- * Add setting section
242
- * Add problem and algorithm arguments
243
-
244
- Version 0.1.6
245
- -------------
246
- * Small fixes
247
-
248
- Version 0.1.5
249
- -------------
250
- * Now depends on json_pure for window users
251
-
252
- Version 0.1.3
253
- -------------
254
- * Removed spaced in measure type
255
-
256
- Version 0.1.1
257
- -------------
258
-
259
- ### Major Changes (may be backwards incompatible)
260
-
261
- * Change XLSX translator to read from a "Variables" spreadsheet instead of "Sensitivity"
262
-
263
- ### Resolved Issues
264
-
265
- * Added check for when weather file is a zip or an epw
266
-
267
- * Convert argument values to the right variable types
268
-
269
- * Add measure type parsing by reading the inherited class
1
+ OpenStudio(R) Analysis Gem Change Log
2
+ ==================================
3
+
4
+ Version 1.4.0
5
+ -------------
6
+ * Ruby 3.2 and OpenStudio 3.8.0
7
+
8
+ Version 1.3.7
9
+ -------------
10
+ * Add move_measure_after()
11
+ * Add custom Gemfile to zip: osa.gem_files.add('spec/files/gem_files/Gemfile')
12
+
13
+ Version 1.3.6
14
+ -------------
15
+ * Bump BCL and Rubocop
16
+
17
+ Version 1.3.5
18
+ -------------
19
+ * Increase Timeouts and write_timeouts to deal with latencies for network related issues
20
+
21
+ Version 1.3.4
22
+ -------------
23
+ * Update licenses
24
+ * Add download_zip, download_osm, download_osw, download_reports attributes to OSA
25
+ * Add cli_verbose, cli_debug, initialize_worker_timeout, run_workflow_timeout, upload_results_timeout attributes to OSA
26
+
27
+ Version 1.3.3
28
+ -------------
29
+ * Add arguments to .save_osa_zip() to add all files in weather and/or seed directories to zip file. defaults to false.
30
+
31
+ Version 1.3.2
32
+ -------------
33
+ * Add array of search paths to .convert_osw() to find measures in various directories.
34
+ * warn if :weather_file and :seed_model are not defined.
35
+ * use :file_paths in the OSW to search for :seed_model and :weather_file.
36
+ * add .stat and .ddy files to analysis.zip if in same directory as .epw defined in :weather_file.
37
+ * use :measure_paths in OSW to search for measures.
38
+
39
+ Version 1.3.1
40
+ -------------
41
+ * Add method to delete a Variable: **analysis.remove_variable()**
42
+ * fix bug related to multiple calls to analysis.to_hash deleting variables
43
+ * Add PSO and Optim to allowed algorithms
44
+
45
+ Version 1.3.0
46
+ -------------
47
+ * Create an OSA from an OSW: **analysis.convert_osw()**
48
+ * Add output variables and objective functions: **analysis.add_output()**
49
+ * Add server initialization and finalization scripts: **analysis.server_scripts.add()**
50
+ * Set algorithm attributes: **analysis.algorithm.set_attribute()**
51
+ * Set algorithm type: **analysis.analysis_type()**
52
+ * Add additional library/data files: **analysis.libraries.add()**
53
+ * create analysis.json: **File.write('analysis.json',JSON.pretty_generate(analysis.to_hash))**
54
+ * create analysis.zip: **analysis.save_osa_zip('analysis.zip')**
55
+
56
+ Version 1.2.0
57
+ -------------
58
+ * master -> main
59
+ * Remove support for Ruby 2.5. Only support Ruby ~> 2.7.0
60
+ * BCL ~> 0.7.0
61
+ * Use GitHub actions for CI
62
+
63
+ Version 1.1.0
64
+ -------------
65
+ * Allow for blank :seed, :weather_file and :workflow sections of OSA
66
+
67
+ Version 1.0.6
68
+ -------------
69
+ * Always include ../lib to the file paths to search
70
+
71
+ Version 1.0.5
72
+ -------------
73
+ * Upgrade to latest BCL (0.6.1)
74
+ * Remove the need for the measure.json (which has been deprecated in BCL gem). Now parses the measure.xml.
75
+ * Upgrade Faraday (1.0.1)
76
+ * Remove dependency on Nokogiri.
77
+
78
+ Version 1.0.4
79
+ -------------
80
+ * Update dependency Nokogiri
81
+
82
+ Version 1.0.3
83
+ -------------
84
+ * Update dependencies roo and rubyzip
85
+
86
+ Version 1.0.2
87
+ -------------
88
+ * Updates required for OpenStudio 3x
89
+ * Require Ruby ~> 2.5.1
90
+ * Update to Nokogiri ~> 1.8.2 (required for Ruby 2.5 on Windows)
91
+
92
+ Version 1.0.1
93
+ -------------
94
+ * Add support for Ruby 2.5.1 (keeping support for 2.2)
95
+ * Lock version of Roo to older version
96
+ * Updated copyright dates and remove old LGPL license. License is not LGPL but a BSD-style license.
97
+
98
+ Version 1.0.0
99
+ -------------
100
+ This is the first official release in quite some time. This includes many changes which unfortunately have not been
101
+ cataloged. The changes from 0.4.5 include:
102
+
103
+ * Requires ruby > 2.1.
104
+ * Default path to ServerApi logfile to ~/os_server_api.log. This can be overridden by setting the log_path options key in the initializer.
105
+ * Fix get_datapoint_status for new version of API where data_points are under analysis
106
+ * Fix boolean data type in datapoints translator
107
+ * Allow __skip__ variable in datapoints translator
108
+ * Fix bug in batch datapoints to look for outputs_json, not outputs when importing the definition of the outputs JSON file.
109
+ * Allow "None" as an argument in batch datapoints. This will allow the measure to be added without setting any of the arguments. Useful for adding Reporting Measures to the workflow.
110
+ * Use more recent version of BCL gem for underscoring strings
111
+ * When creating OSWs from batch datapoints, set the default run_directory to ./run
112
+ * fix get_datapoint method. show_full is no longer a valid endpoint in the new server code
113
+ * Change seed_model to seed_file in OSWs generated from the translator
114
+ * Add more unit tests
115
+ * Catch null arguments when translating from OSA/OSD to OSW
116
+ * Note that pre.rc1 was yanked from Rubygems.
117
+ * Remove allow_multiple_jobs and server_as_worker options. These are by defaulted to true now.
118
+ * Remove uncertain strings from end of uncertainty distributions
119
+ * Remove measures eval path for CSV import
120
+ * Add diag analysis type to server_api run method
121
+ * Remove support for Rubies < 2.0 and > 2.0.
122
+ * Add json extension to formulation name upon save if none exists
123
+ * Add zip extension to formulation zip upon save if none exists
124
+ * In upload_datapoint, allows set the analysis_id in the file to the one passed.
125
+ * Remove reading JSON from custom_csv method.
126
+ * Fixed bug in workflow translator which caused errors in server models
127
+ * Updated gem versions to converge across the OpenStudio Analysis Framework platforms
128
+
129
+ Version 0.4.4
130
+ ------------------
131
+ * Increment objective function count only if they are true
132
+ * Do not add an output if the variable name has already been added
133
+
134
+ Version 0.4.3
135
+ ------------------
136
+ * Add defaults to the OpenStudio::Analysis::ServerApi .run method.
137
+ * Bug fix for path to the measure if there was more than one depth of the directory.
138
+ * Add measure_definition_directory_local to store the path to the original measure.
139
+ * run_analysis will be deprecated in 0.5.0. Use start_analysis instead of run_analysis.
140
+ * Less stringent check on column names in Excel which caused errors at times.
141
+ * Do not error out when a measure argument is a String or Choice and does not contain Enumerations.
142
+ * New data point status API helper to list all the data points across all the analyses if desired.
143
+ * If the user sets a std dev or delta x on a uniform or discrete variable, allow it to persist. This allows certain algorithms (e.g. rgenoud) to use the data.
144
+ * New class OpenStudio::Weather::Epw to handle pulling data out of weather files.
145
+ * Deprecate the old ERB templates for creating the analysis.json via the Excel translator
146
+
147
+ Version 0.4.2
148
+ -------------
149
+ * Bug fix when adding measure from path, this now sets the correct argument name.
150
+ * Fix namespace conflict with OpenStudio::Logger and OpenStudio::Time
151
+ * Create method for saving the Analysis Zip file (save_analysis_zip)
152
+
153
+ Version 0.4.1
154
+ -------------
155
+ * Bug fix to address the spec/files directory being prepended to the measures
156
+
157
+ Version 0.4.0
158
+ -------------
159
+ * Add programmatic interface. This is now used when translating the Excel file into the JSON.
160
+
161
+ Version 0.3.7
162
+ -------------
163
+ * Worker initialization and finalization scripts
164
+ * Do not allow the file to process if the Measure Display Names are not unique
165
+
166
+ Version 0.3.6
167
+ -------------
168
+ * Allow multiple measure paths. Will search by order for the measure.
169
+ * Add AWS Tag in the Settings
170
+
171
+ Version 0.3.5
172
+ --------------
173
+ * Add delete_project method
174
+ * Integration testing
175
+ * Return status and filename of downlaoded files
176
+ * Methods for removing models from the Excel translator
177
+ * Return detailed analyses on a project
178
+ * Download database
179
+
180
+ Version 0.3.4
181
+ -------------
182
+ * BUG FIX: Measures were not being added to zip file
183
+
184
+ Version 0.3.3
185
+ -------------
186
+ * More unit tests
187
+ * Allow a UUID model name to be automatically generated if the model name is not specified
188
+ * Short name added to the variables input and output section of the spreadsheet. This required adding a new column and is not backwards compatible
189
+
190
+ Version 0.3.2
191
+ --------------
192
+ * Support both relative and absolute paths in the spreadsheet
193
+ * Helper methods for submitting analyses
194
+ * Add get_analysis method to Server API to get the status of an analysis
195
+
196
+ Version 0.3.1
197
+ --------------
198
+ * Grab the first EPW file, not the first file
199
+ * Download various formats via server API
200
+
201
+ Version 0.3.0
202
+ --------------
203
+ * Remove the column for Sampling Method. That is now part of the analysis config.
204
+ * All variables need static values now
205
+ * Updated output tab to add more information about the outputs if available
206
+ * Remove hardcoded baseline exception
207
+
208
+ Version 0.2.3
209
+ --------------
210
+ * Support for optional variables
211
+ * Display names and Machine names in the models now
212
+ * More error checking
213
+
214
+ Version 0.1.14
215
+ --------------
216
+ * Symbolize headers parsed from excel file.
217
+
218
+
219
+ Version 0.1.12/13
220
+ -------------
221
+ * Add machine name to pivot variables
222
+ * Force generation of unique UUIDs
223
+ * Add data types to arguments and variables for XML based measures
224
+ * Move Pivot variable type to Type (not sample method)
225
+
226
+ Version 0.1.11
227
+ -------------
228
+ * Add cluster name and openstudio server version
229
+ * Make the booleans in run_options actual booleans
230
+
231
+ Version 0.1.10
232
+ -------------
233
+ * Add output variables to the spreadsheet as a separate tab
234
+
235
+ Version 0.1.9
236
+ -------------
237
+ * Downcase checking of variable data types
238
+
239
+ Version 0.1.9
240
+ -------------
241
+ * Clean up the "delete_mes" in the JSONs
242
+ * Added discrete variables to the spreadsheet and bumped version
243
+
244
+ Version 0.1.8
245
+ -------------
246
+ * Parsing of Proxy parameters
247
+
248
+ Version 0.1.7
249
+ -------------
250
+ * Add setting section
251
+ * Add problem and algorithm arguments
252
+
253
+ Version 0.1.6
254
+ -------------
255
+ * Small fixes
256
+
257
+ Version 0.1.5
258
+ -------------
259
+ * Now depends on json_pure for window users
260
+
261
+ Version 0.1.3
262
+ -------------
263
+ * Removed spaced in measure type
264
+
265
+ Version 0.1.1
266
+ -------------
267
+
268
+ ### Major Changes (may be backwards incompatible)
269
+
270
+ * Change XLSX translator to read from a "Variables" spreadsheet instead of "Sensitivity"
271
+
272
+ ### Resolved Issues
273
+
274
+ * Added check for when weather file is a zip or an epw
275
+
276
+ * Convert argument values to the right variable types
277
+
278
+ * Add measure type parsing by reading the inherited class
data/Gemfile CHANGED
@@ -1,14 +1,14 @@
1
- source 'http://rubygems.org'
2
-
3
- gemspec
4
-
5
- gem 'colored', '~> 1.2'
6
- gem 'openstudio-aws', '~> 0.4.2'
7
-
8
- group :test do
9
- # Don't install coveralls on window because requires devkit for json
10
- unless Gem.win_platform?
11
- gem 'coveralls', require: false
12
- end
13
- gem 'ci_reporter_rspec'
14
- end
1
+ source 'http://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ gem 'colored', '~> 1.2'
6
+ gem 'openstudio-aws', '~> 0.4.2'
7
+
8
+ group :test do
9
+ # Don't install coveralls on window because requires devkit for json
10
+ unless Gem.win_platform?
11
+ gem 'coveralls', require: false
12
+ end
13
+ gem 'ci_reporter_rspec'
14
+ end