openstudio-analysis 0.3.7 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -6
  3. data/README.md +55 -7
  4. data/Rakefile +10 -0
  5. data/lib/openstudio/analysis/algorithm_attributes.rb +22 -0
  6. data/lib/openstudio/analysis/formulation.rb +174 -0
  7. data/lib/openstudio/analysis/translator/excel.rb +65 -48
  8. data/lib/openstudio/analysis/version.rb +1 -1
  9. data/lib/openstudio/analysis/workflow.rb +197 -0
  10. data/lib/openstudio/analysis/workflow_step.rb +312 -0
  11. data/lib/openstudio/analysis.rb +8 -0
  12. data/lib/openstudio/helpers/string.rb +22 -22
  13. data/lib/openstudio/templates/analysis.json.erb +0 -1
  14. data/lib/openstudio-analysis.rb +9 -0
  15. data/spec/files/0_1_09_small_list_incomplete.xlsx +0 -0
  16. data/spec/files/0_2_0_template_simpletest.xlsx +0 -0
  17. data/spec/files/0_4_0_lhs_discrete_continuous.xlsx +0 -0
  18. data/spec/files/analysis/example_analysis_api.json +656 -0
  19. data/spec/files/analysis/examples/discrete_lhs_example.json +809 -0
  20. data/spec/files/analysis/examples/medium_office_example.json +1673 -0
  21. data/spec/files/analysis/lhs_discrete_and_continuous_variables_api.json +1230 -0
  22. data/spec/files/analysis/medium_office.json +91 -92
  23. data/spec/files/analysis/medium_office.zip +0 -0
  24. data/spec/files/analysis/name_goes_here_api.json +1681 -0
  25. data/spec/files/analysis/output_vars_api.json +632 -0
  26. data/spec/files/analysis/preflight_api.json +1518 -0
  27. data/spec/files/analysis/simple_test_api.json +519 -0
  28. data/spec/files/analysis/test_model_api.json +493 -0
  29. data/spec/files/export/analysis/0_1_09_outputvars.json +38 -39
  30. data/spec/files/export/analysis/0_1_09_outputvars.zip +0 -0
  31. data/spec/files/export/analysis/0_1_11_discrete_variables.json +46 -47
  32. data/spec/files/export/analysis/0_1_11_discrete_variables.zip +0 -0
  33. data/spec/files/export/analysis/0_1_12_discrete_dynamic_columns.json +8 -9
  34. data/spec/files/export/analysis/0_1_12_discrete_dynamic_columns.zip +0 -0
  35. data/spec/files/export/analysis/0_2_0_template_simpletest.json +19 -14
  36. data/spec/files/export/analysis/0_2_0_template_simpletest.zip +0 -0
  37. data/spec/files/export/analysis/0_3_0_outputs.json +99 -100
  38. data/spec/files/export/analysis/0_3_0_outputs.zip +0 -0
  39. data/spec/files/export/analysis/{6d6a08db-fdf8-4bb5-8ad3-18c471418c72.json → 276ccf51-ed22-4604-a380-8985cec5efe8.json} +103 -104
  40. data/spec/files/export/analysis/{6d6a08db-fdf8-4bb5-8ad3-18c471418c72.zip → 276ccf51-ed22-4604-a380-8985cec5efe8.zip} +0 -0
  41. data/spec/files/export/analysis/{55086845-70cf-487f-87f6-7a147cbf1e72.json → 639cb8a5-cdbb-4b69-955a-cbb650f6872b.json} +107 -108
  42. data/spec/files/export/analysis/{55086845-70cf-487f-87f6-7a147cbf1e72.zip → 639cb8a5-cdbb-4b69-955a-cbb650f6872b.zip} +0 -0
  43. data/spec/files/export/analysis/{10c791ce-cba7-4506-a863-3fb15703889b.json → 9560f95b-5730-4038-a95b-328c825c596b.json} +99 -100
  44. data/spec/files/export/analysis/{10c791ce-cba7-4506-a863-3fb15703889b.zip → 9560f95b-5730-4038-a95b-328c825c596b.zip} +0 -0
  45. data/spec/files/export/analysis/{f028bfbe-e30e-488d-adad-a60a62bbf7e0.json → c50f0062-cdfb-4dec-bc02-215f6c29af3c.json} +107 -108
  46. data/spec/files/export/analysis/{f028bfbe-e30e-488d-adad-a60a62bbf7e0.zip → c50f0062-cdfb-4dec-bc02-215f6c29af3c.zip} +0 -0
  47. data/spec/files/export/analysis/discrete_lhs_example.json +1185 -0
  48. data/spec/files/export/analysis/discrete_lhs_example.zip +0 -0
  49. data/spec/files/export/analysis/small_seed.json +38 -39
  50. data/spec/files/export/analysis/small_seed.zip +0 -0
  51. data/spec/files/export/workflow/analysis.json +23 -0
  52. data/spec/files/measures/ActualMeasureNoJson/measure.json +25 -0
  53. data/spec/files/measures/ActualMeasureNoJson/measure.rb +80 -0
  54. data/spec/files/measures/ActualMeasureNoJson/measure.xml +2 -0
  55. data/spec/files/measures/SetThermostatSchedules/measure.json +63 -0
  56. data/spec/files/measures/SetThermostatSchedules/measure.rb +254 -0
  57. data/spec/files/measures/SetThermostatSchedules/measure.xml +2 -0
  58. data/spec/openstudio/excel_spec.rb +11 -11
  59. data/spec/openstudio/formulation_spec.rb +107 -0
  60. data/spec/openstudio/workflow_spec.rb +90 -0
  61. data/spec/openstudio/workflow_step_spec.rb +116 -0
  62. data/spec/reports/SPEC-OpenStudio-Analysis-Formulation.xml +28 -0
  63. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-object-instance.xml +2 -2
  64. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.xml +2 -2
  65. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.xml +1 -1
  66. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.xml +30 -4
  67. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.xml +11 -3
  68. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.xml +6 -6
  69. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.xml +2 -2
  70. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.xml +2 -2
  71. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.xml +52 -8
  72. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.xml +22 -5
  73. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.xml +2 -2
  74. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.xml +2 -2
  75. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.xml +28 -5
  76. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.xml +2 -2
  77. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.xml +3 -3
  78. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.xml +13 -6
  79. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.xml +55 -5
  80. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.xml +9 -4
  81. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.xml +8 -3
  82. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.xml +13 -5
  83. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.xml +9 -4
  84. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-5-and-measure-paths.xml +9 -4
  85. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.0.xml +40 -2
  86. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.xml +9 -4
  87. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.xml +1 -1
  88. data/spec/reports/SPEC-OpenStudio-Analysis-Workflow.xml +31 -0
  89. data/spec/reports/SPEC-OpenStudio-Analysis-WorkflowStep.xml +29 -0
  90. data/spec/spec_helper.rb +1 -1
  91. metadata +87 -18
@@ -11,7 +11,7 @@
11
11
  "units": "MJ/m2",
12
12
  "visualize": false,
13
13
  "export": true,
14
- "variable_type": "Double",
14
+ "variable_type": "double",
15
15
  "objective_function": true,
16
16
  "objective_function_index": 0,
17
17
  "objective_function_target": null,
@@ -26,7 +26,7 @@
26
26
  "units": "MJ/m2",
27
27
  "visualize": true,
28
28
  "export": true,
29
- "variable_type": "Double",
29
+ "variable_type": "double",
30
30
  "objective_function": true,
31
31
  "objective_function_index": 1,
32
32
  "objective_function_target": 25.1,
@@ -41,7 +41,7 @@
41
41
  "units": "MJ/m2",
42
42
  "visualize": true,
43
43
  "export": true,
44
- "variable_type": "Double",
44
+ "variable_type": "double",
45
45
  "objective_function": false,
46
46
  "objective_function_index": null,
47
47
  "objective_function_target": null,
@@ -55,7 +55,7 @@
55
55
  "units": "MJ/m2",
56
56
  "visualize": true,
57
57
  "export": true,
58
- "variable_type": "Double",
58
+ "variable_type": "double",
59
59
  "objective_function": false,
60
60
  "objective_function_index": null,
61
61
  "objective_function_target": null,
@@ -69,7 +69,7 @@
69
69
  "units": "hrs",
70
70
  "visualize": false,
71
71
  "export": true,
72
- "variable_type": "Double",
72
+ "variable_type": "double",
73
73
  "objective_function": false,
74
74
  "objective_function_index": null,
75
75
  "objective_function_target": null,
@@ -83,7 +83,7 @@
83
83
  "units": "hrs",
84
84
  "visualize": false,
85
85
  "export": true,
86
- "variable_type": "Double",
86
+ "variable_type": "double",
87
87
  "objective_function": false,
88
88
  "objective_function_index": null,
89
89
  "objective_function_target": null,
@@ -97,7 +97,7 @@
97
97
  "units": "hrs",
98
98
  "visualize": false,
99
99
  "export": true,
100
- "variable_type": "Double",
100
+ "variable_type": "double",
101
101
  "objective_function": false,
102
102
  "objective_function_index": null,
103
103
  "objective_function_target": null,
@@ -111,7 +111,7 @@
111
111
  "units": "m2",
112
112
  "visualize": true,
113
113
  "export": true,
114
- "variable_type": "Double",
114
+ "variable_type": "double",
115
115
  "objective_function": false,
116
116
  "objective_function_index": null,
117
117
  "objective_function_target": null,
@@ -125,7 +125,7 @@
125
125
  "units": "MJ/m2",
126
126
  "visualize": false,
127
127
  "export": true,
128
- "variable_type": "Double",
128
+ "variable_type": "double",
129
129
  "objective_function": false,
130
130
  "objective_function_index": null,
131
131
  "objective_function_target": null,
@@ -139,7 +139,7 @@
139
139
  "units": "MJ/m2",
140
140
  "visualize": false,
141
141
  "export": true,
142
- "variable_type": "Double",
142
+ "variable_type": "double",
143
143
  "objective_function": false,
144
144
  "objective_function_index": null,
145
145
  "objective_function_target": null,
@@ -153,7 +153,7 @@
153
153
  "units": "MJ/m2",
154
154
  "visualize": false,
155
155
  "export": true,
156
- "variable_type": "Double",
156
+ "variable_type": "double",
157
157
  "objective_function": false,
158
158
  "objective_function_index": null,
159
159
  "objective_function_target": null,
@@ -167,7 +167,7 @@
167
167
  "units": "MJ/m2",
168
168
  "visualize": false,
169
169
  "export": true,
170
- "variable_type": "Double",
170
+ "variable_type": "double",
171
171
  "objective_function": false,
172
172
  "objective_function_index": null,
173
173
  "objective_function_target": null,
@@ -181,7 +181,7 @@
181
181
  "units": "MJ/m2",
182
182
  "visualize": false,
183
183
  "export": true,
184
- "variable_type": "Double",
184
+ "variable_type": "double",
185
185
  "objective_function": false,
186
186
  "objective_function_index": null,
187
187
  "objective_function_target": null,
@@ -195,7 +195,7 @@
195
195
  "units": "MJ/m2",
196
196
  "visualize": false,
197
197
  "export": true,
198
- "variable_type": "Double",
198
+ "variable_type": "double",
199
199
  "objective_function": false,
200
200
  "objective_function_index": null,
201
201
  "objective_function_target": null,
@@ -209,7 +209,7 @@
209
209
  "units": "MJ/m2",
210
210
  "visualize": false,
211
211
  "export": true,
212
- "variable_type": "Double",
212
+ "variable_type": "double",
213
213
  "objective_function": false,
214
214
  "objective_function_index": null,
215
215
  "objective_function_target": null,
@@ -223,7 +223,7 @@
223
223
  "units": "MJ/m2",
224
224
  "visualize": false,
225
225
  "export": true,
226
- "variable_type": "Double",
226
+ "variable_type": "double",
227
227
  "objective_function": false,
228
228
  "objective_function_index": null,
229
229
  "objective_function_target": null,
@@ -237,7 +237,7 @@
237
237
  "units": "MJ/m2",
238
238
  "visualize": false,
239
239
  "export": true,
240
- "variable_type": "Double",
240
+ "variable_type": "double",
241
241
  "objective_function": false,
242
242
  "objective_function_index": null,
243
243
  "objective_function_target": null,
@@ -251,7 +251,7 @@
251
251
  "units": "MJ/m2",
252
252
  "visualize": false,
253
253
  "export": true,
254
- "variable_type": "Double",
254
+ "variable_type": "double",
255
255
  "objective_function": false,
256
256
  "objective_function_index": null,
257
257
  "objective_function_target": null,
@@ -265,7 +265,7 @@
265
265
  "units": "MJ/m2",
266
266
  "visualize": false,
267
267
  "export": true,
268
- "variable_type": "Double",
268
+ "variable_type": "double",
269
269
  "objective_function": false,
270
270
  "objective_function_index": null,
271
271
  "objective_function_target": null,
@@ -279,7 +279,7 @@
279
279
  "units": "MJ/m2",
280
280
  "visualize": false,
281
281
  "export": true,
282
- "variable_type": "Double",
282
+ "variable_type": "double",
283
283
  "objective_function": false,
284
284
  "objective_function_index": null,
285
285
  "objective_function_target": null,
@@ -293,7 +293,7 @@
293
293
  "units": "MJ/m2",
294
294
  "visualize": false,
295
295
  "export": true,
296
- "variable_type": "Double",
296
+ "variable_type": "double",
297
297
  "objective_function": false,
298
298
  "objective_function_index": null,
299
299
  "objective_function_target": null,
@@ -307,7 +307,7 @@
307
307
  "units": "MJ/m2",
308
308
  "visualize": false,
309
309
  "export": true,
310
- "variable_type": "Double",
310
+ "variable_type": "double",
311
311
  "objective_function": false,
312
312
  "objective_function_index": null,
313
313
  "objective_function_target": null,
@@ -321,7 +321,7 @@
321
321
  "units": "$",
322
322
  "visualize": true,
323
323
  "export": true,
324
- "variable_type": "Double",
324
+ "variable_type": "double",
325
325
  "objective_function": false,
326
326
  "objective_function_index": null,
327
327
  "objective_function_target": null,
@@ -335,7 +335,7 @@
335
335
  "units": "percent",
336
336
  "visualize": false,
337
337
  "export": true,
338
- "variable_type": "Double",
338
+ "variable_type": "double",
339
339
  "objective_function": false,
340
340
  "objective_function_index": null,
341
341
  "objective_function_target": null,
@@ -349,7 +349,7 @@
349
349
  "units": "percent",
350
350
  "visualize": true,
351
351
  "export": true,
352
- "variable_type": "Double",
352
+ "variable_type": "double",
353
353
  "objective_function": false,
354
354
  "objective_function_index": null,
355
355
  "objective_function_target": null,
@@ -363,7 +363,7 @@
363
363
  "units": "non-dim",
364
364
  "visualize": false,
365
365
  "export": true,
366
- "variable_type": "Double",
366
+ "variable_type": "double",
367
367
  "objective_function": false,
368
368
  "objective_function_index": null,
369
369
  "objective_function_target": null,
@@ -377,7 +377,7 @@
377
377
  "units": "ft2",
378
378
  "visualize": false,
379
379
  "export": true,
380
- "variable_type": "Double",
380
+ "variable_type": "double",
381
381
  "objective_function": false,
382
382
  "objective_function_index": null,
383
383
  "objective_function_target": null,
@@ -391,7 +391,7 @@
391
391
  "units": "non-dim",
392
392
  "visualize": false,
393
393
  "export": true,
394
- "variable_type": "Integer",
394
+ "variable_type": "integer",
395
395
  "objective_function": false,
396
396
  "objective_function_index": null,
397
397
  "objective_function_target": null,
@@ -405,7 +405,7 @@
405
405
  "units": "ft2",
406
406
  "visualize": false,
407
407
  "export": true,
408
- "variable_type": "Double",
408
+ "variable_type": "double",
409
409
  "objective_function": false,
410
410
  "objective_function_index": null,
411
411
  "objective_function_target": null,
@@ -419,7 +419,7 @@
419
419
  "units": "non-dim",
420
420
  "visualize": true,
421
421
  "export": true,
422
- "variable_type": "Double",
422
+ "variable_type": "double",
423
423
  "objective_function": false,
424
424
  "objective_function_index": null,
425
425
  "objective_function_target": null,
@@ -433,7 +433,7 @@
433
433
  "units": "ft2",
434
434
  "visualize": true,
435
435
  "export": true,
436
- "variable_type": "Double",
436
+ "variable_type": "double",
437
437
  "objective_function": false,
438
438
  "objective_function_index": null,
439
439
  "objective_function_target": null,
@@ -447,7 +447,7 @@
447
447
  "units": "non-dim",
448
448
  "visualize": true,
449
449
  "export": true,
450
- "variable_type": "Integer",
450
+ "variable_type": "integer",
451
451
  "objective_function": false,
452
452
  "objective_function_index": null,
453
453
  "objective_function_target": null,
@@ -461,7 +461,7 @@
461
461
  "units": "ft2",
462
462
  "visualize": true,
463
463
  "export": true,
464
- "variable_type": "Double",
464
+ "variable_type": "double",
465
465
  "objective_function": false,
466
466
  "objective_function_index": null,
467
467
  "objective_function_target": null,
@@ -475,7 +475,7 @@
475
475
  "units": "COP",
476
476
  "visualize": false,
477
477
  "export": true,
478
- "variable_type": "Double",
478
+ "variable_type": "double",
479
479
  "objective_function": false,
480
480
  "objective_function_index": null,
481
481
  "objective_function_target": null,
@@ -489,7 +489,7 @@
489
489
  "units": "COP",
490
490
  "visualize": true,
491
491
  "export": true,
492
- "variable_type": "Double",
492
+ "variable_type": "double",
493
493
  "objective_function": false,
494
494
  "objective_function_index": null,
495
495
  "objective_function_target": null,
@@ -503,7 +503,7 @@
503
503
  "units": "COP",
504
504
  "visualize": false,
505
505
  "export": true,
506
- "variable_type": "Double",
506
+ "variable_type": "double",
507
507
  "objective_function": false,
508
508
  "objective_function_index": null,
509
509
  "objective_function_target": null,
@@ -517,7 +517,7 @@
517
517
  "units": "COP",
518
518
  "visualize": true,
519
519
  "export": true,
520
- "variable_type": "Double",
520
+ "variable_type": "double",
521
521
  "objective_function": false,
522
522
  "objective_function_index": null,
523
523
  "objective_function_target": null,
@@ -531,7 +531,7 @@
531
531
  "units": "COP",
532
532
  "visualize": false,
533
533
  "export": true,
534
- "variable_type": "Double",
534
+ "variable_type": "double",
535
535
  "objective_function": false,
536
536
  "objective_function_index": null,
537
537
  "objective_function_target": null,
@@ -545,7 +545,7 @@
545
545
  "units": "COP",
546
546
  "visualize": true,
547
547
  "export": true,
548
- "variable_type": "Double",
548
+ "variable_type": "double",
549
549
  "objective_function": false,
550
550
  "objective_function_index": null,
551
551
  "objective_function_target": null,
@@ -559,7 +559,7 @@
559
559
  "units": "percent",
560
560
  "visualize": false,
561
561
  "export": true,
562
- "variable_type": "Double",
562
+ "variable_type": "double",
563
563
  "objective_function": false,
564
564
  "objective_function_index": null,
565
565
  "objective_function_target": null,
@@ -573,7 +573,7 @@
573
573
  "units": "percent",
574
574
  "visualize": true,
575
575
  "export": true,
576
- "variable_type": "Double",
576
+ "variable_type": "double",
577
577
  "objective_function": false,
578
578
  "objective_function_index": null,
579
579
  "objective_function_target": null,
@@ -587,7 +587,7 @@
587
587
  "units": "COP",
588
588
  "visualize": false,
589
589
  "export": true,
590
- "variable_type": "Double",
590
+ "variable_type": "double",
591
591
  "objective_function": false,
592
592
  "objective_function_index": null,
593
593
  "objective_function_target": null,
@@ -601,7 +601,7 @@
601
601
  "units": "COP",
602
602
  "visualize": true,
603
603
  "export": true,
604
- "variable_type": "Double",
604
+ "variable_type": "double",
605
605
  "objective_function": false,
606
606
  "objective_function_index": null,
607
607
  "objective_function_target": null,
@@ -615,7 +615,7 @@
615
615
  "units": "ft-c",
616
616
  "visualize": false,
617
617
  "export": true,
618
- "variable_type": "Double",
618
+ "variable_type": "double",
619
619
  "objective_function": false,
620
620
  "objective_function_index": null,
621
621
  "objective_function_target": null,
@@ -629,7 +629,7 @@
629
629
  "units": "ft-c",
630
630
  "visualize": true,
631
631
  "export": true,
632
- "variable_type": "Double",
632
+ "variable_type": "double",
633
633
  "objective_function": false,
634
634
  "objective_function_index": null,
635
635
  "objective_function_target": null,
@@ -643,7 +643,7 @@
643
643
  "units": "COP",
644
644
  "visualize": false,
645
645
  "export": true,
646
- "variable_type": "Double",
646
+ "variable_type": "double",
647
647
  "objective_function": false,
648
648
  "objective_function_index": null,
649
649
  "objective_function_target": null,
@@ -657,7 +657,7 @@
657
657
  "units": "COP",
658
658
  "visualize": true,
659
659
  "export": true,
660
- "variable_type": "Double",
660
+ "variable_type": "double",
661
661
  "objective_function": false,
662
662
  "objective_function_index": null,
663
663
  "objective_function_target": null,
@@ -671,7 +671,7 @@
671
671
  "units": "percent",
672
672
  "visualize": false,
673
673
  "export": true,
674
- "variable_type": "Double",
674
+ "variable_type": "double",
675
675
  "objective_function": false,
676
676
  "objective_function_index": null,
677
677
  "objective_function_target": null,
@@ -685,7 +685,7 @@
685
685
  "units": "percent",
686
686
  "visualize": true,
687
687
  "export": true,
688
- "variable_type": "Double",
688
+ "variable_type": "double",
689
689
  "objective_function": false,
690
690
  "objective_function_index": null,
691
691
  "objective_function_target": null,
@@ -699,7 +699,7 @@
699
699
  "units": "bool",
700
700
  "visualize": false,
701
701
  "export": true,
702
- "variable_type": "Bool",
702
+ "variable_type": "bool",
703
703
  "objective_function": false,
704
704
  "objective_function_index": null,
705
705
  "objective_function_target": null,
@@ -713,7 +713,7 @@
713
713
  "units": "bool",
714
714
  "visualize": true,
715
715
  "export": true,
716
- "variable_type": "Bool",
716
+ "variable_type": "bool",
717
717
  "objective_function": false,
718
718
  "objective_function_index": null,
719
719
  "objective_function_target": null,
@@ -727,7 +727,7 @@
727
727
  "units": "ft",
728
728
  "visualize": false,
729
729
  "export": true,
730
- "variable_type": "Double",
730
+ "variable_type": "double",
731
731
  "objective_function": false,
732
732
  "objective_function_index": null,
733
733
  "objective_function_target": null,
@@ -741,7 +741,7 @@
741
741
  "units": null,
742
742
  "visualize": true,
743
743
  "export": true,
744
- "variable_type": "Double",
744
+ "variable_type": "double",
745
745
  "objective_function": false,
746
746
  "objective_function_index": null,
747
747
  "objective_function_target": null,
@@ -755,7 +755,7 @@
755
755
  "units": "h ft2 F/Btu",
756
756
  "visualize": false,
757
757
  "export": true,
758
- "variable_type": "Double",
758
+ "variable_type": "double",
759
759
  "objective_function": false,
760
760
  "objective_function_index": null,
761
761
  "objective_function_target": null,
@@ -769,7 +769,7 @@
769
769
  "units": "h ft2 F/Btu",
770
770
  "visualize": true,
771
771
  "export": true,
772
- "variable_type": "Double",
772
+ "variable_type": "double",
773
773
  "objective_function": false,
774
774
  "objective_function_index": null,
775
775
  "objective_function_target": null,
@@ -783,7 +783,7 @@
783
783
  "units": "W/ft2",
784
784
  "visualize": false,
785
785
  "export": true,
786
- "variable_type": "Double",
786
+ "variable_type": "double",
787
787
  "objective_function": false,
788
788
  "objective_function_index": null,
789
789
  "objective_function_target": null,
@@ -797,7 +797,7 @@
797
797
  "units": "W/ft2",
798
798
  "visualize": true,
799
799
  "export": true,
800
- "variable_type": "Double",
800
+ "variable_type": "double",
801
801
  "objective_function": false,
802
802
  "objective_function_index": null,
803
803
  "objective_function_target": null,
@@ -811,7 +811,7 @@
811
811
  "units": null,
812
812
  "visualize": false,
813
813
  "export": true,
814
- "variable_type": "String",
814
+ "variable_type": "string",
815
815
  "objective_function": false,
816
816
  "objective_function_index": null,
817
817
  "objective_function_target": null,
@@ -825,7 +825,7 @@
825
825
  "units": null,
826
826
  "visualize": true,
827
827
  "export": true,
828
- "variable_type": "String",
828
+ "variable_type": "string",
829
829
  "objective_function": false,
830
830
  "objective_function_index": null,
831
831
  "objective_function_target": null,
@@ -839,7 +839,7 @@
839
839
  "units": "COP",
840
840
  "visualize": false,
841
841
  "export": true,
842
- "variable_type": "Double",
842
+ "variable_type": "double",
843
843
  "objective_function": false,
844
844
  "objective_function_index": null,
845
845
  "objective_function_target": null,
@@ -853,7 +853,7 @@
853
853
  "units": "COP",
854
854
  "visualize": true,
855
855
  "export": true,
856
- "variable_type": "Double",
856
+ "variable_type": "double",
857
857
  "objective_function": false,
858
858
  "objective_function_index": null,
859
859
  "objective_function_target": null,
@@ -867,7 +867,7 @@
867
867
  "units": "percent",
868
868
  "visualize": false,
869
869
  "export": true,
870
- "variable_type": "Double",
870
+ "variable_type": "double",
871
871
  "objective_function": false,
872
872
  "objective_function_index": null,
873
873
  "objective_function_target": null,
@@ -881,7 +881,7 @@
881
881
  "units": "percent",
882
882
  "visualize": true,
883
883
  "export": true,
884
- "variable_type": "Double",
884
+ "variable_type": "double",
885
885
  "objective_function": false,
886
886
  "objective_function_index": null,
887
887
  "objective_function_target": null,
@@ -895,7 +895,7 @@
895
895
  "units": "percent",
896
896
  "visualize": false,
897
897
  "export": true,
898
- "variable_type": "Double",
898
+ "variable_type": "double",
899
899
  "objective_function": false,
900
900
  "objective_function_index": null,
901
901
  "objective_function_target": null,
@@ -909,7 +909,7 @@
909
909
  "units": "percent",
910
910
  "visualize": true,
911
911
  "export": true,
912
- "variable_type": "Double",
912
+ "variable_type": "double",
913
913
  "objective_function": false,
914
914
  "objective_function_index": null,
915
915
  "objective_function_target": null,
@@ -923,7 +923,7 @@
923
923
  "units": "ft",
924
924
  "visualize": false,
925
925
  "export": true,
926
- "variable_type": "Double",
926
+ "variable_type": "double",
927
927
  "objective_function": false,
928
928
  "objective_function_index": null,
929
929
  "objective_function_target": null,
@@ -937,7 +937,7 @@
937
937
  "units": "ft",
938
938
  "visualize": true,
939
939
  "export": true,
940
- "variable_type": "Double",
940
+ "variable_type": "double",
941
941
  "objective_function": false,
942
942
  "objective_function_index": null,
943
943
  "objective_function_target": null,
@@ -951,7 +951,7 @@
951
951
  "units": null,
952
952
  "visualize": false,
953
953
  "export": true,
954
- "variable_type": "String",
954
+ "variable_type": "string",
955
955
  "objective_function": false,
956
956
  "objective_function_index": null,
957
957
  "objective_function_target": null,
@@ -965,7 +965,7 @@
965
965
  "units": "Btu/h ft2 F",
966
966
  "visualize": false,
967
967
  "export": true,
968
- "variable_type": "Double",
968
+ "variable_type": "double",
969
969
  "objective_function": false,
970
970
  "objective_function_index": null,
971
971
  "objective_function_target": null,
@@ -979,7 +979,7 @@
979
979
  "units": null,
980
980
  "visualize": true,
981
981
  "export": true,
982
- "variable_type": "String",
982
+ "variable_type": "string",
983
983
  "objective_function": false,
984
984
  "objective_function_index": null,
985
985
  "objective_function_target": null,
@@ -993,7 +993,7 @@
993
993
  "units": "Btu/h ft2 F",
994
994
  "visualize": true,
995
995
  "export": true,
996
- "variable_type": "Double",
996
+ "variable_type": "double",
997
997
  "objective_function": false,
998
998
  "objective_function_index": null,
999
999
  "objective_function_target": null,
@@ -1007,7 +1007,7 @@
1007
1007
  "units": "degrees",
1008
1008
  "visualize": true,
1009
1009
  "export": true,
1010
- "variable_type": "Double",
1010
+ "variable_type": "double",
1011
1011
  "objective_function": false,
1012
1012
  "objective_function_index": null,
1013
1013
  "objective_function_target": null,
@@ -1021,7 +1021,7 @@
1021
1021
  "units": "degrees",
1022
1022
  "visualize": false,
1023
1023
  "export": true,
1024
- "variable_type": "Double",
1024
+ "variable_type": "double",
1025
1025
  "objective_function": false,
1026
1026
  "objective_function_index": null,
1027
1027
  "objective_function_target": null,
@@ -1035,7 +1035,7 @@
1035
1035
  "units": "ft",
1036
1036
  "visualize": false,
1037
1037
  "export": true,
1038
- "variable_type": "Double",
1038
+ "variable_type": "double",
1039
1039
  "objective_function": false,
1040
1040
  "objective_function_index": null,
1041
1041
  "objective_function_target": null,
@@ -1049,7 +1049,7 @@
1049
1049
  "units": "ft",
1050
1050
  "visualize": true,
1051
1051
  "export": true,
1052
- "variable_type": "Double",
1052
+ "variable_type": "double",
1053
1053
  "objective_function": false,
1054
1054
  "objective_function_index": null,
1055
1055
  "objective_function_target": null,
@@ -1063,7 +1063,7 @@
1063
1063
  "units": "non-dim",
1064
1064
  "visualize": false,
1065
1065
  "export": true,
1066
- "variable_type": "Double",
1066
+ "variable_type": "double",
1067
1067
  "objective_function": false,
1068
1068
  "objective_function_index": null,
1069
1069
  "objective_function_target": null,
@@ -1077,7 +1077,7 @@
1077
1077
  "units": "non-dim",
1078
1078
  "visualize": true,
1079
1079
  "export": true,
1080
- "variable_type": "Double",
1080
+ "variable_type": "double",
1081
1081
  "objective_function": false,
1082
1082
  "objective_function_index": null,
1083
1083
  "objective_function_target": null,
@@ -1091,7 +1091,7 @@
1091
1091
  "units": null,
1092
1092
  "visualize": false,
1093
1093
  "export": true,
1094
- "variable_type": "String",
1094
+ "variable_type": "string",
1095
1095
  "objective_function": false,
1096
1096
  "objective_function_index": null,
1097
1097
  "objective_function_target": null,
@@ -1105,7 +1105,7 @@
1105
1105
  "units": "Btu/h ft2 F",
1106
1106
  "visualize": false,
1107
1107
  "export": true,
1108
- "variable_type": "Double",
1108
+ "variable_type": "double",
1109
1109
  "objective_function": false,
1110
1110
  "objective_function_index": null,
1111
1111
  "objective_function_target": null,
@@ -1119,7 +1119,7 @@
1119
1119
  "units": null,
1120
1120
  "visualize": true,
1121
1121
  "export": true,
1122
- "variable_type": "String",
1122
+ "variable_type": "string",
1123
1123
  "objective_function": false,
1124
1124
  "objective_function_index": null,
1125
1125
  "objective_function_target": null,
@@ -1133,7 +1133,7 @@
1133
1133
  "units": "Btu/h f",
1134
1134
  "visualize": true,
1135
1135
  "export": true,
1136
- "variable_type": "Double",
1136
+ "variable_type": "double",
1137
1137
  "objective_function": false,
1138
1138
  "objective_function_index": null,
1139
1139
  "objective_function_target": null,
@@ -1147,7 +1147,7 @@
1147
1147
  "units": "percent",
1148
1148
  "visualize": false,
1149
1149
  "export": true,
1150
- "variable_type": "Double",
1150
+ "variable_type": "double",
1151
1151
  "objective_function": false,
1152
1152
  "objective_function_index": null,
1153
1153
  "objective_function_target": null,
@@ -1161,7 +1161,7 @@
1161
1161
  "units": "percent",
1162
1162
  "visualize": true,
1163
1163
  "export": true,
1164
- "variable_type": "Double",
1164
+ "variable_type": "double",
1165
1165
  "objective_function": false,
1166
1166
  "objective_function_index": null,
1167
1167
  "objective_function_target": null,
@@ -1175,7 +1175,7 @@
1175
1175
  "units": "non-dim",
1176
1176
  "visualize": false,
1177
1177
  "export": true,
1178
- "variable_type": "Double",
1178
+ "variable_type": "double",
1179
1179
  "objective_function": false,
1180
1180
  "objective_function_index": null,
1181
1181
  "objective_function_target": null,
@@ -1189,7 +1189,7 @@
1189
1189
  "units": "non-dim",
1190
1190
  "visualize": true,
1191
1191
  "export": true,
1192
- "variable_type": "Double",
1192
+ "variable_type": "double",
1193
1193
  "objective_function": false,
1194
1194
  "objective_function_index": null,
1195
1195
  "objective_function_target": null,
@@ -1203,7 +1203,7 @@
1203
1203
  "units": "ft",
1204
1204
  "visualize": false,
1205
1205
  "export": true,
1206
- "variable_type": "Double",
1206
+ "variable_type": "double",
1207
1207
  "objective_function": false,
1208
1208
  "objective_function_index": null,
1209
1209
  "objective_function_target": null,
@@ -1217,7 +1217,7 @@
1217
1217
  "units": "ft",
1218
1218
  "visualize": true,
1219
1219
  "export": true,
1220
- "variable_type": "Double",
1220
+ "variable_type": "double",
1221
1221
  "objective_function": false,
1222
1222
  "objective_function_index": null,
1223
1223
  "objective_function_target": null,
@@ -1231,7 +1231,7 @@
1231
1231
  "units": "non-dim",
1232
1232
  "visualize": false,
1233
1233
  "export": true,
1234
- "variable_type": "Double",
1234
+ "variable_type": "double",
1235
1235
  "objective_function": false,
1236
1236
  "objective_function_index": null,
1237
1237
  "objective_function_target": null,
@@ -1245,7 +1245,7 @@
1245
1245
  "units": "non-dim",
1246
1246
  "visualize": true,
1247
1247
  "export": true,
1248
- "variable_type": "Double",
1248
+ "variable_type": "double",
1249
1249
  "objective_function": false,
1250
1250
  "objective_function_index": null,
1251
1251
  "objective_function_target": null,
@@ -1259,7 +1259,7 @@
1259
1259
  "units": "Btu/h ft2 F",
1260
1260
  "visualize": false,
1261
1261
  "export": true,
1262
- "variable_type": "Double",
1262
+ "variable_type": "double",
1263
1263
  "objective_function": false,
1264
1264
  "objective_function_index": null,
1265
1265
  "objective_function_target": null,
@@ -1273,7 +1273,7 @@
1273
1273
  "units": "Btu/h ft2 F",
1274
1274
  "visualize": true,
1275
1275
  "export": true,
1276
- "variable_type": "Double",
1276
+ "variable_type": "double",
1277
1277
  "objective_function": false,
1278
1278
  "objective_function_index": null,
1279
1279
  "objective_function_target": null,
@@ -1287,7 +1287,7 @@
1287
1287
  "units": "non-dim",
1288
1288
  "visualize": false,
1289
1289
  "export": true,
1290
- "variable_type": "Double",
1290
+ "variable_type": "double",
1291
1291
  "objective_function": false,
1292
1292
  "objective_function_index": null,
1293
1293
  "objective_function_target": null,
@@ -1301,7 +1301,7 @@
1301
1301
  "units": "non-dim",
1302
1302
  "visualize": true,
1303
1303
  "export": true,
1304
- "variable_type": "Double",
1304
+ "variable_type": "double",
1305
1305
  "objective_function": false,
1306
1306
  "objective_function_index": null,
1307
1307
  "objective_function_target": null,
@@ -1316,14 +1316,13 @@
1316
1316
  "standard_report_legacy.total_source_energy"
1317
1317
  ]
1318
1318
  },
1319
- "name": "Problem",
1320
1319
  "workflow": [
1321
1320
  {
1322
1321
  "measure_definition_class_name": "RotateBuilding",
1323
1322
  "measure_definition_directory": "./measures/IncreaseInsulationRValueForRoofs",
1324
1323
  "measure_definition_display_name": "RotateBuilding",
1325
- "measure_definition_uuid": "1275a0f0-2133-4b4c-9c4f-56a4fd2f5b5d",
1326
- "measure_definition_version_uuid": "26bfc5e9-6e79-4864-b8fa-da76b765b930",
1324
+ "measure_definition_uuid": "68147404-525e-43a7-8f0f-fa0d452e6f66",
1325
+ "measure_definition_version_uuid": "ba6c47e6-70bd-4a5b-a862-45a7e283d68b",
1327
1326
  "measure_type": "RubyMeasure",
1328
1327
  "arguments": [
1329
1328
 
@@ -1373,21 +1372,21 @@
1373
1372
  "value_type": "double",
1374
1373
  "variable": true,
1375
1374
  "variable_type": "RubyContinuousVariable",
1376
- "uuid": "a37a21e0-7d25-4252-a1e3-14a4728d6f64",
1377
- "version_uuid": "6f9171b9-a761-4716-9793-ce89a24a1ce9"
1375
+ "uuid": "b40bc677-f602-4913-980a-24e220195ea5",
1376
+ "version_uuid": "6cf5c18b-86f9-4338-b40b-ab7480f4f196"
1378
1377
  }
1379
1378
  ],
1380
1379
  "workflow_index": 0,
1381
1380
  "workflow_step_type": "Measure",
1382
- "uuid": "4786fe3b-dff1-41c3-9325-0a078adf765e",
1383
- "version_uuid": "a846b88a-66f3-4d04-ab54-7df7471eb730"
1381
+ "uuid": "d81a4509-4b39-4e0b-b00d-2fd62ea8afb2",
1382
+ "version_uuid": "8325450e-f995-47c4-b78a-7fd28f091d53"
1384
1383
  },
1385
1384
  {
1386
1385
  "measure_definition_class_name": "SetInfiltration",
1387
1386
  "measure_definition_directory": "./measures/ExampleMeasure",
1388
1387
  "measure_definition_display_name": "SetInfiltration",
1389
- "measure_definition_uuid": "ae4d991f-4d6b-4bf6-ac12-a57f0d1a3983",
1390
- "measure_definition_version_uuid": "9e102e97-75f9-4152-a3c9-5e9011891325",
1388
+ "measure_definition_uuid": "96eaee0e-9ea4-423c-8288-f10e93e3c16f",
1389
+ "measure_definition_version_uuid": "043ea6ae-7938-4127-be51-43c0c09c5b6e",
1391
1390
  "measure_type": "EnergyPlusMeasure",
1392
1391
  "arguments": [
1393
1392
  {
@@ -1405,8 +1404,8 @@
1405
1404
  ],
1406
1405
  "workflow_index": 1,
1407
1406
  "workflow_step_type": "Measure",
1408
- "uuid": "56ea49c0-fc21-4d30-8c64-4d2d96c3fd31",
1409
- "version_uuid": "921a558e-0686-436a-84ab-babceae73dd8"
1407
+ "uuid": "810a6d62-1454-4b17-8e69-6b4b902fd3e3",
1408
+ "version_uuid": "0feb2cfc-5b07-41b2-8f14-39d98bbeb2c5"
1410
1409
  }
1411
1410
  ],
1412
1411
  "analysis_type": "preflight"