openstudio-analysis 1.3.5 → 1.3.6

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