openstudio-analysis 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/lib/openstudio/analysis/server_api.rb +13 -4
  3. data/lib/openstudio/analysis/translator/excel.rb +4 -1
  4. data/lib/openstudio/analysis/version.rb +1 -1
  5. data/spec/files/0_3_0_outputs.xlsx +0 -0
  6. data/spec/files/analysis/medium_office.json +240 -240
  7. data/spec/files/analysis/medium_office.zip +0 -0
  8. data/spec/files/export/analysis/0_3_0_outputs.json +10 -10
  9. data/spec/files/export/analysis/0_3_0_outputs.zip +0 -0
  10. data/spec/files/export/analysis/discrete_dynamic_seed.json +16 -16
  11. data/spec/files/export/analysis/discrete_dynamic_seed.zip +0 -0
  12. data/spec/files/export/analysis/discrete_seed.json +106 -106
  13. data/spec/files/export/analysis/discrete_seed.zip +0 -0
  14. data/spec/files/export/analysis/kats_model_v2.json +22 -22
  15. data/spec/files/export/analysis/kats_model_v2.zip +0 -0
  16. data/spec/files/export/analysis/output_vars.json +104 -104
  17. data/spec/files/export/analysis/output_vars.zip +0 -0
  18. data/spec/files/export/analysis/small_seed.json +104 -104
  19. data/spec/files/export/analysis/small_seed.zip +0 -0
  20. data/spec/files/partial_weather_2.epw +32 -0
  21. data/spec/openstudio/analysis/translator/excel_spec.rb +6 -0
  22. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.15.xml +9 -0
  23. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.16.xml +9 -0
  24. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.17.xml +9 -0
  25. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.18.xml +9 -0
  26. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.19.xml +9 -0
  27. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.20.xml +9 -0
  28. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.21.xml +9 -0
  29. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.22.xml +9 -0
  30. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.23.xml +9 -0
  31. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.24.xml +9 -0
  32. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.25.xml +9 -0
  33. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.15.xml +9 -0
  34. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.16.xml +9 -0
  35. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.17.xml +9 -0
  36. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.18.xml +9 -0
  37. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.19.xml +9 -0
  38. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.20.xml +9 -0
  39. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.21.xml +9 -0
  40. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.22.xml +9 -0
  41. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.23.xml +9 -0
  42. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.24.xml +9 -0
  43. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.25.xml +9 -0
  44. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.15.xml +7 -0
  45. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.16.xml +7 -0
  46. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.17.xml +7 -0
  47. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.18.xml +7 -0
  48. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.19.xml +7 -0
  49. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.20.xml +7 -0
  50. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.21.xml +7 -0
  51. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.22.xml +7 -0
  52. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.23.xml +7 -0
  53. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.24.xml +7 -0
  54. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.25.xml +7 -0
  55. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.12.xml +18 -0
  56. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.12.xml +17 -0
  57. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.14.xml +18 -0
  58. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.15.xml +18 -0
  59. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.12.xml +9 -0
  60. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.13.xml +9 -0
  61. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.12.xml +36 -0
  62. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.14.xml +21 -0
  63. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.14.xml +9 -0
  64. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.15.xml +9 -0
  65. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.14.xml +9 -0
  66. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.14.xml +23 -0
  67. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.14.xml +9 -0
  68. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.12.xml +13 -0
  69. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.12.xml +21 -0
  70. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.12.xml +32 -0
  71. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.10.xml +22 -0
  72. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.11.xml +29 -0
  73. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.12.xml +40 -0
  74. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.13.xml +40 -0
  75. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.14.xml +36 -0
  76. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.15.xml +22 -0
  77. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.6.xml +21 -0
  78. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.7.xml +21 -0
  79. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.8.xml +21 -0
  80. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.9.xml +22 -0
  81. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.15.xml +7 -0
  82. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.16.xml +7 -0
  83. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.17.xml +7 -0
  84. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.18.xml +7 -0
  85. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.19.xml +7 -0
  86. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.20.xml +7 -0
  87. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.21.xml +7 -0
  88. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.22.xml +7 -0
  89. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.23.xml +7 -0
  90. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.24.xml +7 -0
  91. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.25.xml +7 -0
  92. metadata +143 -3
  93. data/spec/files/~$0_3_0_outputs.xlsx +0 -0
Binary file
@@ -1232,13 +1232,13 @@
1232
1232
  ],
1233
1233
  "bcl_measure_directory": "./measures/rotate_building",
1234
1234
  "bcl_measure_class_name": "RotateBuilding",
1235
- "bcl_measure_uuid": "85a46fe0-d3a1-0131-bdca-2820663576f4",
1236
- "bcl_measure_version_uuid": "85a49fd0-d3a1-0131-bdcb-2820663576f4",
1235
+ "bcl_measure_uuid": "c8e3af70-d3da-0131-c6d7-2820663576f4",
1236
+ "bcl_measure_version_uuid": "c8e3d240-d3da-0131-c6d8-2820663576f4",
1237
1237
  "display_name": "Rotate Building Relative to Current Orientation",
1238
1238
  "measure_definition_directory": "./measures/rotate_building",
1239
1239
  "measure_definition_class_name": "RotateBuilding",
1240
- "measure_definition_uuid": "85a4c2b0-d3a1-0131-bdcc-2820663576f4",
1241
- "measure_definition_version_uuid": "85a4e240-d3a1-0131-bdcd-2820663576f4",
1240
+ "measure_definition_uuid": "c8e3f520-d3da-0131-c6d9-2820663576f4",
1241
+ "measure_definition_version_uuid": "c8e41480-d3da-0131-c6da-2820663576f4",
1242
1242
  "measure_type": "RubyMeasure",
1243
1243
  "name": "rotate_building_relative_to_current_orientation",
1244
1244
  "variables": [
@@ -1248,8 +1248,8 @@
1248
1248
  "machine_name": "orientation",
1249
1249
  "name": "relative_building_rotation",
1250
1250
  "required": false,
1251
- "uuid": "85a548e0-d3a1-0131-bdd0-2820663576f4",
1252
- "version_uuid": "85a56c00-d3a1-0131-bdd1-2820663576f4"
1251
+ "uuid": "c8e48260-d3da-0131-c6dd-2820663576f4",
1252
+ "version_uuid": "c8e4a9f0-d3da-0131-c6de-2820663576f4"
1253
1253
  },
1254
1254
  "display_name": "Orientation",
1255
1255
  "machine_name": "orientation",
@@ -1287,14 +1287,14 @@
1287
1287
  "value_type": "double",
1288
1288
  "variable": true,
1289
1289
  "variable_type": "RubyContinuousVariable",
1290
- "uuid": "85a58e20-d3a1-0131-bdd2-2820663576f4",
1291
- "version_uuid": "85a5bdc0-d3a1-0131-bdd3-2820663576f4"
1290
+ "uuid": "c8e4ca50-d3da-0131-c6df-2820663576f4",
1291
+ "version_uuid": "c8e4eb20-d3da-0131-c6e0-2820663576f4"
1292
1292
  }
1293
1293
  ],
1294
1294
  "workflow_index": 0,
1295
1295
  "workflow_step_type": "Measure",
1296
- "uuid": "85a50190-d3a1-0131-bdce-2820663576f4",
1297
- "version_uuid": "85a52140-d3a1-0131-bdcf-2820663576f4"
1296
+ "uuid": "c8e43670-d3da-0131-c6db-2820663576f4",
1297
+ "version_uuid": "c8e45820-d3da-0131-c6dc-2820663576f4"
1298
1298
  }
1299
1299
  ],
1300
1300
  "analysis_type": "preflight"
@@ -337,19 +337,19 @@
337
337
  "name": "alter_design_days",
338
338
  "value": false,
339
339
  "value_type": "bool",
340
- "uuid": "83952890-d3a1-0131-bbe8-2820663576f4",
341
- "version_uuid": "83954970-d3a1-0131-bbe9-2820663576f4"
340
+ "uuid": "ade3a6b0-d3d9-0131-c42d-2820663576f4",
341
+ "version_uuid": "ade3c860-d3d9-0131-c42e-2820663576f4"
342
342
  }
343
343
  ],
344
344
  "bcl_measure_directory": "./measures/adjust_theromstat_setpoints_by_degrees",
345
345
  "bcl_measure_class_name": "AdjustTheromstatSetpointsByDegrees",
346
- "bcl_measure_uuid": "8392ffd0-d3a1-0131-bbda-2820663576f4",
347
- "bcl_measure_version_uuid": "83934960-d3a1-0131-bbdb-2820663576f4",
346
+ "bcl_measure_uuid": "ade17af0-d3d9-0131-c41f-2820663576f4",
347
+ "bcl_measure_version_uuid": "ade1c6b0-d3d9-0131-c420-2820663576f4",
348
348
  "display_name": "Adjust Thermostat Setpoints by Degrees",
349
349
  "measure_definition_directory": "./measures/adjust_theromstat_setpoints_by_degrees",
350
350
  "measure_definition_class_name": "AdjustTheromstatSetpointsByDegrees",
351
- "measure_definition_uuid": "83936c10-d3a1-0131-bbdc-2820663576f4",
352
- "measure_definition_version_uuid": "83938c10-d3a1-0131-bbdd-2820663576f4",
351
+ "measure_definition_uuid": "ade1e880-d3d9-0131-c421-2820663576f4",
352
+ "measure_definition_version_uuid": "ade209d0-d3d9-0131-c422-2820663576f4",
353
353
  "measure_type": "RubyMeasure",
354
354
  "name": "adjust_thermostat_setpoints_by_degrees",
355
355
  "variables": [
@@ -359,8 +359,8 @@
359
359
  "machine_name": "degrees_fahrenheit_to_adjust_cooling_setpoint_by.",
360
360
  "name": "cooling_adjustment",
361
361
  "required": false,
362
- "uuid": "8393f500-d3a1-0131-bbe0-2820663576f4",
363
- "version_uuid": "839415b0-d3a1-0131-bbe1-2820663576f4"
362
+ "uuid": "ade284b0-d3d9-0131-c425-2820663576f4",
363
+ "version_uuid": "ade2a400-d3d9-0131-c426-2820663576f4"
364
364
  },
365
365
  "display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
366
366
  "machine_name": "degrees_fahrenheit_to_adjust_cooling_setpoint_by.",
@@ -407,8 +407,8 @@
407
407
  "value_type": "double",
408
408
  "variable": true,
409
409
  "variable_type": "RubyContinuousVariable",
410
- "uuid": "83943560-d3a1-0131-bbe2-2820663576f4",
411
- "version_uuid": "839464b0-d3a1-0131-bbe3-2820663576f4"
410
+ "uuid": "ade2c6c0-d3d9-0131-c427-2820663576f4",
411
+ "version_uuid": "ade2e800-d3d9-0131-c428-2820663576f4"
412
412
  },
413
413
  {
414
414
  "argument": {
@@ -416,8 +416,8 @@
416
416
  "machine_name": "degrees_fahrenheit_to_adjust_heating_setpoint_by.",
417
417
  "name": "heating_adjustment",
418
418
  "required": false,
419
- "uuid": "83949140-d3a1-0131-bbe4-2820663576f4",
420
- "version_uuid": "8394b3e0-d3a1-0131-bbe5-2820663576f4"
419
+ "uuid": "ade31890-d3d9-0131-c429-2820663576f4",
420
+ "version_uuid": "ade33bc0-d3d9-0131-c42a-2820663576f4"
421
421
  },
422
422
  "display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
423
423
  "machine_name": "degrees_fahrenheit_to_adjust_heating_setpoint_by.",
@@ -464,14 +464,14 @@
464
464
  "value_type": "double",
465
465
  "variable": true,
466
466
  "variable_type": "RubyContinuousVariable",
467
- "uuid": "8394e420-d3a1-0131-bbe6-2820663576f4",
468
- "version_uuid": "83950420-d3a1-0131-bbe7-2820663576f4"
467
+ "uuid": "ade35f00-d3d9-0131-c42b-2820663576f4",
468
+ "version_uuid": "ade37ea0-d3d9-0131-c42c-2820663576f4"
469
469
  }
470
470
  ],
471
471
  "workflow_index": 0,
472
472
  "workflow_step_type": "Measure",
473
- "uuid": "8393ab60-d3a1-0131-bbde-2820663576f4",
474
- "version_uuid": "8393caa0-d3a1-0131-bbdf-2820663576f4"
473
+ "uuid": "ade23010-d3d9-0131-c423-2820663576f4",
474
+ "version_uuid": "ade25860-d3d9-0131-c424-2820663576f4"
475
475
  }
476
476
  ],
477
477
  "analysis_type": "lhs"