openstudio-analysis 0.1.16 → 0.1.17
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/lib/openstudio/analysis/server_api.rb +59 -62
- data/lib/openstudio/analysis/translator/excel.rb +186 -189
- data/lib/openstudio/analysis/version.rb +1 -1
- data/lib/openstudio/helpers/string.rb +4 -5
- data/spec/files/analysis/medium_office.json +192 -192
- data/spec/files/analysis/medium_office.zip +0 -0
- data/spec/files/export/analysis/Kats model v2.json +16 -16
- data/spec/files/export/analysis/Kats model v2.zip +0 -0
- data/spec/files/export/analysis/discrete_dynamic_seed.json +16 -16
- data/spec/files/export/analysis/discrete_dynamic_seed.zip +0 -0
- data/spec/files/export/analysis/discrete_seed.json +91 -91
- data/spec/files/export/analysis/discrete_seed.zip +0 -0
- data/spec/files/export/analysis/output_vars.json +83 -83
- data/spec/files/export/analysis/output_vars.zip +0 -0
- data/spec/files/export/analysis/small_seed.json +83 -83
- data/spec/files/export/analysis/small_seed.zip +0 -0
- data/spec/files/measures/IncreaseInsulationRValueForRoofs/measure.rb +372 -375
- data/spec/openstudio/analysis/server_api_spec.rb +6 -6
- data/spec/openstudio/analysis/translator/excel_spec.rb +182 -188
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.65.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.66.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.67.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.65.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.66.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.67.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.65.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.66.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.67.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.23.xml +18 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.24.xml +18 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.25.xml +18 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.7.xml +17 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.8.xml +17 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.9.xml +17 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.65.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.66.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.67.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.31.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.32.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.33.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.37.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.38.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.39.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.17.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.18.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.19.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.14.xml +21 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.15.xml +21 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.16.xml +21 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.65.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.66.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.67.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.65.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.66.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.67.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.65.xml +23 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.66.xml +23 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.67.xml +23 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.65.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.66.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.67.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.14.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.15.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.16.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.0.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.1.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.0.xml +32 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.1.xml +32 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.2.xml +32 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.65.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.66.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.67.xml +7 -0
- data/spec/spec_helper.rb +1 -3
- metadata +127 -19
|
Binary file
|
|
@@ -311,8 +311,8 @@
|
|
|
311
311
|
"name": "alter_design_days",
|
|
312
312
|
"value": false,
|
|
313
313
|
"value_type": "bool",
|
|
314
|
-
"uuid": "
|
|
315
|
-
"version_uuid": "
|
|
314
|
+
"uuid": "392f5190-b199-0131-90d2-14109fdf0b37",
|
|
315
|
+
"version_uuid": "392f56c0-b199-0131-90d3-14109fdf0b37"
|
|
316
316
|
}
|
|
317
317
|
],
|
|
318
318
|
"bcl_measure_directory": "./measures/AdjustThermostatSetpointsByDegrees",
|
|
@@ -320,14 +320,14 @@
|
|
|
320
320
|
"bcl_measure_class_name_ADDME": "AdjustThermostatSetpointsByDegrees",
|
|
321
321
|
"measure_definition_class_name_CHANGE_TO_ME": "AdjustThermostatSetpointsByDegrees",
|
|
322
322
|
"measure_definition_class_name": "AdjustThermostatSetpointsByDegrees",
|
|
323
|
-
"bcl_measure_uuid": "
|
|
324
|
-
"measure_definition_uuid_CHANGE_TO_ME": "
|
|
325
|
-
"bcl_measure_version_uuid": "
|
|
326
|
-
"measure_definition_version_uuid_CHANGE_TO_ME": "
|
|
323
|
+
"bcl_measure_uuid": "392ea080-b199-0131-90c4-14109fdf0b37",
|
|
324
|
+
"measure_definition_uuid_CHANGE_TO_ME": "392edb30-b199-0131-90c5-14109fdf0b37",
|
|
325
|
+
"bcl_measure_version_uuid": "392ee600-b199-0131-90c6-14109fdf0b37",
|
|
326
|
+
"measure_definition_version_uuid_CHANGE_TO_ME": "392eedb0-b199-0131-90c7-14109fdf0b37",
|
|
327
327
|
"measure_type": "RubyMeasure",
|
|
328
328
|
"name": "adjust_thermostat_setpoints_by_degrees",
|
|
329
329
|
"display_name": "Adjust Thermostat Setpoints by Degrees",
|
|
330
|
-
"uuid": "
|
|
330
|
+
"uuid": "392ef420-b199-0131-90c8-14109fdf0b37",
|
|
331
331
|
"variables": [
|
|
332
332
|
{
|
|
333
333
|
"argument": {
|
|
@@ -335,8 +335,8 @@
|
|
|
335
335
|
"machine_name": "degrees_fahrenheit_to_adjust_cooling_setpoint_by.",
|
|
336
336
|
"name": "cooling_adjustment",
|
|
337
337
|
"required": false,
|
|
338
|
-
"uuid": "
|
|
339
|
-
"version_uuid": "
|
|
338
|
+
"uuid": "392f0da0-b199-0131-90ca-14109fdf0b37",
|
|
339
|
+
"version_uuid": "392f16b0-b199-0131-90cb-14109fdf0b37"
|
|
340
340
|
},
|
|
341
341
|
"display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
|
342
342
|
"machine_name": "degrees_fahrenheit_to_adjust_cooling_setpoint_by.",
|
|
@@ -381,9 +381,9 @@
|
|
|
381
381
|
],
|
|
382
382
|
"type": "discrete_uncertain"
|
|
383
383
|
},
|
|
384
|
-
"uuid": "
|
|
384
|
+
"uuid": "392f1dd0-b199-0131-90cc-14109fdf0b37",
|
|
385
385
|
"variable_type": "RubyContinuousVariable",
|
|
386
|
-
"version_uuid": "
|
|
386
|
+
"version_uuid": "392f2420-b199-0131-90cd-14109fdf0b37"
|
|
387
387
|
},
|
|
388
388
|
{
|
|
389
389
|
"argument": {
|
|
@@ -391,8 +391,8 @@
|
|
|
391
391
|
"machine_name": "degrees_fahrenheit_to_adjust_heating_setpoint_by.",
|
|
392
392
|
"name": "heating_adjustment",
|
|
393
393
|
"required": false,
|
|
394
|
-
"uuid": "
|
|
395
|
-
"version_uuid": "
|
|
394
|
+
"uuid": "392f3380-b199-0131-90ce-14109fdf0b37",
|
|
395
|
+
"version_uuid": "392f3ae0-b199-0131-90cf-14109fdf0b37"
|
|
396
396
|
},
|
|
397
397
|
"display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
|
398
398
|
"machine_name": "degrees_fahrenheit_to_adjust_heating_setpoint_by.",
|
|
@@ -437,12 +437,12 @@
|
|
|
437
437
|
],
|
|
438
438
|
"type": "discrete_uncertain"
|
|
439
439
|
},
|
|
440
|
-
"uuid": "
|
|
440
|
+
"uuid": "392f4080-b199-0131-90d0-14109fdf0b37",
|
|
441
441
|
"variable_type": "RubyContinuousVariable",
|
|
442
|
-
"version_uuid": "
|
|
442
|
+
"version_uuid": "392f46e0-b199-0131-90d1-14109fdf0b37"
|
|
443
443
|
}
|
|
444
444
|
],
|
|
445
|
-
"version_uuid": "
|
|
445
|
+
"version_uuid": "392efbb0-b199-0131-90c9-14109fdf0b37",
|
|
446
446
|
"workflow_index": 0,
|
|
447
447
|
"workflow_step_type": "Measure"
|
|
448
448
|
}
|
|
Binary file
|
|
@@ -311,8 +311,8 @@
|
|
|
311
311
|
"name": "alter_design_days",
|
|
312
312
|
"value": false,
|
|
313
313
|
"value_type": "bool",
|
|
314
|
-
"uuid": "
|
|
315
|
-
"version_uuid": "
|
|
314
|
+
"uuid": "37f810a0-b199-0131-8f5c-14109fdf0b37",
|
|
315
|
+
"version_uuid": "37f817d0-b199-0131-8f5d-14109fdf0b37"
|
|
316
316
|
}
|
|
317
317
|
],
|
|
318
318
|
"bcl_measure_directory": "./measures/adjust_theromstat_setpoints_by_degrees",
|
|
@@ -320,14 +320,14 @@
|
|
|
320
320
|
"bcl_measure_class_name_ADDME": "AdjustTheromstatSetpointsByDegrees",
|
|
321
321
|
"measure_definition_class_name_CHANGE_TO_ME": "AdjustTheromstatSetpointsByDegrees",
|
|
322
322
|
"measure_definition_class_name": "AdjustTheromstatSetpointsByDegrees",
|
|
323
|
-
"bcl_measure_uuid": "
|
|
324
|
-
"measure_definition_uuid_CHANGE_TO_ME": "
|
|
325
|
-
"bcl_measure_version_uuid": "
|
|
326
|
-
"measure_definition_version_uuid_CHANGE_TO_ME": "
|
|
323
|
+
"bcl_measure_uuid": "37f75b90-b199-0131-8f4e-14109fdf0b37",
|
|
324
|
+
"measure_definition_uuid_CHANGE_TO_ME": "37f79750-b199-0131-8f4f-14109fdf0b37",
|
|
325
|
+
"bcl_measure_version_uuid": "37f7a170-b199-0131-8f50-14109fdf0b37",
|
|
326
|
+
"measure_definition_version_uuid_CHANGE_TO_ME": "37f7a950-b199-0131-8f51-14109fdf0b37",
|
|
327
327
|
"measure_type": "RubyMeasure",
|
|
328
328
|
"name": "adjust_thermostat_setpoints_by_degrees",
|
|
329
329
|
"display_name": "Adjust Thermostat Setpoints by Degrees",
|
|
330
|
-
"uuid": "
|
|
330
|
+
"uuid": "37f7ae80-b199-0131-8f52-14109fdf0b37",
|
|
331
331
|
"variables": [
|
|
332
332
|
{
|
|
333
333
|
"argument": {
|
|
@@ -335,8 +335,8 @@
|
|
|
335
335
|
"machine_name": "degrees_fahrenheit_to_adjust_cooling_setpoint_by.",
|
|
336
336
|
"name": "cooling_adjustment",
|
|
337
337
|
"required": false,
|
|
338
|
-
"uuid": "
|
|
339
|
-
"version_uuid": "
|
|
338
|
+
"uuid": "37f7c460-b199-0131-8f54-14109fdf0b37",
|
|
339
|
+
"version_uuid": "37f7c940-b199-0131-8f55-14109fdf0b37"
|
|
340
340
|
},
|
|
341
341
|
"display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
|
342
342
|
"machine_name": "degrees_fahrenheit_to_adjust_cooling_setpoint_by.",
|
|
@@ -381,9 +381,9 @@
|
|
|
381
381
|
],
|
|
382
382
|
"type": "discrete_uncertain"
|
|
383
383
|
},
|
|
384
|
-
"uuid": "
|
|
384
|
+
"uuid": "37f7ced0-b199-0131-8f56-14109fdf0b37",
|
|
385
385
|
"variable_type": "RubyContinuousVariable",
|
|
386
|
-
"version_uuid": "
|
|
386
|
+
"version_uuid": "37f7d3b0-b199-0131-8f57-14109fdf0b37"
|
|
387
387
|
},
|
|
388
388
|
{
|
|
389
389
|
"argument": {
|
|
@@ -391,8 +391,8 @@
|
|
|
391
391
|
"machine_name": "degrees_fahrenheit_to_adjust_heating_setpoint_by.",
|
|
392
392
|
"name": "heating_adjustment",
|
|
393
393
|
"required": false,
|
|
394
|
-
"uuid": "
|
|
395
|
-
"version_uuid": "
|
|
394
|
+
"uuid": "37f7ead0-b199-0131-8f58-14109fdf0b37",
|
|
395
|
+
"version_uuid": "37f7f250-b199-0131-8f59-14109fdf0b37"
|
|
396
396
|
},
|
|
397
397
|
"display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
|
398
398
|
"machine_name": "degrees_fahrenheit_to_adjust_heating_setpoint_by.",
|
|
@@ -437,12 +437,12 @@
|
|
|
437
437
|
],
|
|
438
438
|
"type": "discrete_uncertain"
|
|
439
439
|
},
|
|
440
|
-
"uuid": "
|
|
440
|
+
"uuid": "37f7fab0-b199-0131-8f5a-14109fdf0b37",
|
|
441
441
|
"variable_type": "RubyContinuousVariable",
|
|
442
|
-
"version_uuid": "
|
|
442
|
+
"version_uuid": "37f801e0-b199-0131-8f5b-14109fdf0b37"
|
|
443
443
|
}
|
|
444
444
|
],
|
|
445
|
-
"version_uuid": "
|
|
445
|
+
"version_uuid": "37f7b3b0-b199-0131-8f53-14109fdf0b37",
|
|
446
446
|
"workflow_index": 0,
|
|
447
447
|
"workflow_step_type": "Measure"
|
|
448
448
|
}
|
|
Binary file
|