openstudio-analysis 0.4.3 → 0.4.4

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.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +19 -0
  3. data/.rubocop.yml +135 -0
  4. data/.travis.yml +6 -0
  5. data/CHANGELOG.md +5 -0
  6. data/Gemfile +11 -0
  7. data/LGPL-2.1.txt +502 -0
  8. data/LICENSE.txt +65 -0
  9. data/README.md +1 -1
  10. data/lib/openstudio/analysis/formulation.rb +15 -8
  11. data/lib/openstudio/analysis/server_api.rb +4 -6
  12. data/lib/openstudio/analysis/translator/excel.rb +1 -1
  13. data/lib/openstudio/analysis/version.rb +1 -1
  14. data/openstudio-analysis.gemspec +33 -0
  15. data/rubocop-todo.yml +246 -0
  16. data/spec/files/measures/NoMeasureRbFile/.gitkeep +0 -0
  17. data/spec/openstudio/formulation_spec.rb +36 -0
  18. data/spec/openstudio/hash_spec.rb +21 -0
  19. data/spec/spec_helper.rb +3 -0
  20. metadata +53 -169
  21. data/lib/openstudio/templates/analysis.json.erb +0 -20
  22. data/lib/openstudio/templates/argument.json.erb +0 -7
  23. data/lib/openstudio/templates/discrete_uncertain_variable.json.erb +0 -41
  24. data/lib/openstudio/templates/pivot_variable.json.erb +0 -32
  25. data/lib/openstudio/templates/uncertain_variable.json.erb +0 -45
  26. data/lib/openstudio/templates/workflow_item.json.erb +0 -16
  27. data/spec/files/analysis/example_analysis_api.json +0 -656
  28. data/spec/files/analysis/lhs_discrete_and_continuous_variables_api.json +0 -1230
  29. data/spec/files/analysis/medium_office.json +0 -1736
  30. data/spec/files/analysis/medium_office.zip +0 -0
  31. data/spec/files/analysis/name_goes_here.json +0 -1752
  32. data/spec/files/analysis/name_goes_here.zip +0 -0
  33. data/spec/files/analysis/name_goes_here_api.json +0 -1681
  34. data/spec/files/analysis/output_vars_api.json +0 -632
  35. data/spec/files/analysis/preflight_api.json +0 -1518
  36. data/spec/files/analysis/simple_test_api.json +0 -519
  37. data/spec/files/analysis/test_model_api.json +0 -493
  38. data/spec/files/export/analysis/0_1_09_outputvars.json +0 -678
  39. data/spec/files/export/analysis/0_1_09_outputvars.zip +0 -0
  40. data/spec/files/export/analysis/0_3_0_dynamic_uuids.json +0 -1490
  41. data/spec/files/export/analysis/0_3_0_dynamic_uuids.zip +0 -0
  42. data/spec/files/export/analysis/0_3_0_outputs.json +0 -1490
  43. data/spec/files/export/analysis/0_3_0_outputs.zip +0 -0
  44. data/spec/files/export/analysis/0_3_3_short_names.json +0 -1517
  45. data/spec/files/export/analysis/0_3_3_short_names.zip +0 -0
  46. data/spec/files/export/analysis/0_3_5_multiple_measure_paths.json +0 -1537
  47. data/spec/files/export/analysis/0_3_5_multiple_measure_paths.zip +0 -0
  48. data/spec/files/export/analysis/0_3_7_worker_init_final.json +0 -1537
  49. data/spec/files/export/analysis/0_3_7_worker_init_final.zip +0 -0
  50. data/spec/files/export/analysis/example_analysis.json +0 -727
  51. data/spec/files/export/analysis/example_analysis.zip +0 -0
  52. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables.json +0 -1298
  53. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables.zip +0 -0
  54. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_f4a73fc4-0514-4033-b54d-d1c58c77c724.json +0 -1298
  55. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_f4a73fc4-0514-4033-b54d-d1c58c77c724.zip +0 -0
  56. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_model_-_1.json +0 -1298
  57. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_model_-_1.zip +0 -0
  58. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_something_else.json +0 -1298
  59. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_something_else.zip +0 -0
  60. data/spec/files/export/analysis/pivot_test.json +0 -1323
  61. data/spec/files/export/analysis/pivot_test.zip +0 -0
  62. data/spec/files/export/analysis/simple_test.json +0 -551
  63. data/spec/files/export/analysis/simple_test.zip +0 -0
  64. data/spec/files/export/analysis/test_model.json +0 -524
  65. data/spec/files/export/analysis/test_model.zip +0 -0
  66. data/spec/files/export/weather/weather_out.epw +0 -32
  67. data/spec/files/export/weather/weather_out_appended.epw +0 -56
  68. data/spec/files/export/workflow/analysis.json +0 -22
  69. data/spec/files/measures/ActualMeasureNoJson/measure.json +0 -25
  70. data/spec/reports/SPEC-OpenStudio-Analysis-Formulation.xml +0 -77
  71. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-object-instance.xml +0 -5
  72. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.xml +0 -5
  73. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.xml +0 -3
  74. data/spec/reports/SPEC-OpenStudio-Analysis-SupportFiles.xml +0 -15
  75. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.xml +0 -31
  76. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.xml +0 -24
  77. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.xml +0 -11
  78. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.xml +0 -5
  79. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.xml +0 -5
  80. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.xml +0 -40
  81. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.xml +0 -11
  82. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.xml +0 -5
  83. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.xml +0 -5
  84. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.xml +0 -34
  85. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.xml +0 -5
  86. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.xml +0 -7
  87. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.xml +0 -28
  88. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.xml +0 -43
  89. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.xml +0 -53
  90. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.xml +0 -7
  91. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.xml +0 -55
  92. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.xml +0 -54
  93. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-5-and-measure-paths.xml +0 -53
  94. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.0.xml +0 -60
  95. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.xml +0 -56
  96. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-4-0-multiple-seed-models.xml +0 -165
  97. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-4-0-pivot-test.xml +0 -60
  98. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.xml +0 -3
  99. data/spec/reports/SPEC-OpenStudio-Analysis-Workflow.xml +0 -31
  100. data/spec/reports/SPEC-OpenStudio-Analysis-WorkflowStep.xml +0 -23
  101. data/spec/reports/SPEC-OpenStudio-Weather-Epw.xml +0 -9
@@ -1,727 +0,0 @@
1
- {
2
- "analysis": {
3
- "display_name": "Example Analysis",
4
- "name": "example_analysis",
5
- "output_variables": [
6
-
7
- ],
8
- "problem": {
9
- "analysis_type": "lhs",
10
- "algorithm": {
11
- "sample_method": "all_variables",
12
- "number_of_samples": 100,
13
- "number_of_generations": 20,
14
- "objective_functions": [
15
-
16
- ]
17
- },
18
- "workflow": [
19
- {
20
- "name": "reduce_lighting_loads_by_percentage",
21
- "display_name": "Reduce Lighting Loads by Percentage",
22
- "measure_type": "RubyMeasure",
23
- "measure_definition_class_name": "ReduceLightingLoadsByPercentage",
24
- "measure_definition_directory": "./measures/reduce_lighting_loads_by_percentage",
25
- "measure_definition_directory_local": "/Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/reduce_lighting_loads_by_percentage",
26
- "measure_definition_display_name": "Reduce Lighting Loads by Percentage",
27
- "measure_definition_name": "reduce_lighting_loads_by_percentage",
28
- "measure_definition_name_xml": null,
29
- "measure_definition_uuid": "4bfb5100-4136-40ce-b5f3-6286d11b48f4",
30
- "measure_definition_version_uuid": "61f2f2c1-195f-40b5-9496-20929294d849",
31
- "arguments": [
32
- {
33
- "display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
34
- "display_name_short": "Apply the Measure to a Specific Space Type or to the Entire Model.",
35
- "name": "space_type",
36
- "value_type": "string",
37
- "default_value": "*Entire Building*",
38
- "value": "*Entire Building*"
39
- },
40
- {
41
- "display_name": "Increase in Material and Installation Cost for Lighting per Floor Area (%).",
42
- "display_name_short": "Increase in Material and Installation Cost for Lighting per Floor Area (%).",
43
- "name": "material_and_installation_cost",
44
- "value_type": "double",
45
- "default_value": 0.0,
46
- "value": 0.0
47
- },
48
- {
49
- "display_name": "Increase in Demolition Costs for Lighting per Floor Area (%).",
50
- "display_name_short": "Increase in Demolition Costs for Lighting per Floor Area (%).",
51
- "name": "demolition_cost",
52
- "value_type": "double",
53
- "default_value": 0.0,
54
- "value": 0.0
55
- },
56
- {
57
- "display_name": "Years Until Costs Start (whole years).",
58
- "display_name_short": "Years Until Costs Start (whole years).",
59
- "name": "years_until_costs_start",
60
- "value_type": "integer",
61
- "default_value": 0,
62
- "value": 0
63
- },
64
- {
65
- "display_name": "Demolition Costs Occur During Initial Construction?",
66
- "display_name_short": "Demolition Costs Occur During Initial Construction?",
67
- "name": "demo_cost_initial_const",
68
- "value_type": "bool",
69
- "default_value": true,
70
- "value": true
71
- },
72
- {
73
- "display_name": "Expected Life (whole years).",
74
- "display_name_short": "Expected Life (whole years).",
75
- "name": "expected_life",
76
- "value_type": "integer",
77
- "default_value": 15,
78
- "value": 15
79
- },
80
- {
81
- "display_name": "Increase O & M Costs for Lighting per Floor Area (%).",
82
- "display_name_short": "Increase O & M Costs for Lighting per Floor Area (%).",
83
- "name": "om_cost",
84
- "value_type": "double",
85
- "default_value": 0.0,
86
- "value": 0.0
87
- },
88
- {
89
- "display_name": "O & M Frequency (whole years).",
90
- "display_name_short": "O & M Frequency (whole years).",
91
- "name": "om_frequency",
92
- "value_type": "integer",
93
- "default_value": 1,
94
- "value": 1
95
- }
96
- ],
97
- "variables": [
98
- {
99
- "argument": {
100
- "display_name": "Lighting Power Reduction",
101
- "display_name_short": "Lighting Power Reduction",
102
- "name": "lighting_power_reduction_percent",
103
- "value_type": "double",
104
- "default_value": 30.0,
105
- "value": 30.0
106
- },
107
- "display_name": "Lighting Power Reduction",
108
- "display_name_short": "Lighting Power Reduction",
109
- "variable_type": "variable",
110
- "units": null,
111
- "minimum": 0.0,
112
- "maximum": 10.0,
113
- "relation_to_output": null,
114
- "static_value": 30.0,
115
- "uuid": "0027573b-a6a9-468a-9e77-2b1f227ec88b",
116
- "version_uuid": "7df38d64-f3fc-41eb-8512-febd20a774bb",
117
- "variable": true,
118
- "uncertainty_description": {
119
- "type": "discrete_uncertain",
120
- "attributes": [
121
- {
122
- "name": "discrete",
123
- "values_and_weights": [
124
- {
125
- "value": 10,
126
- "weight": 0.1
127
- },
128
- {
129
- "value": 20,
130
- "weight": 0.4
131
- },
132
- {
133
- "value": 40,
134
- "weight": 0.2
135
- },
136
- {
137
- "value": 60,
138
- "weight": 0.3
139
- }
140
- ]
141
- },
142
- {
143
- "name": "lower_bounds",
144
- "value": 0.0
145
- },
146
- {
147
- "name": "upper_bounds",
148
- "value": 10.0
149
- },
150
- {
151
- "name": "modes",
152
- "value": 5.0
153
- },
154
- {
155
- "name": "delta_x",
156
- "value": null
157
- },
158
- {
159
- "name": "stddev",
160
- "value": 3.0
161
- }
162
- ]
163
- },
164
- "workflow_index": 0
165
- }
166
- ],
167
- "workflow_index": 0
168
- },
169
- {
170
- "name": "reducespaceinfiltrationbypercentage",
171
- "display_name": "ReduceSpaceInfiltrationByPercentage",
172
- "measure_type": "RubyMeasure",
173
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
174
- "measure_definition_directory": "./measures/example_measure_auto_directory_name",
175
- "measure_definition_directory_local": "/Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/example_measure_auto_directory_name",
176
- "measure_definition_display_name": "ReduceSpaceInfiltrationByPercentage",
177
- "measure_definition_name": "reducespaceinfiltrationbypercentage",
178
- "measure_definition_name_xml": null,
179
- "measure_definition_uuid": "6910c79d-1e22-42c8-bd92-4a0e7048d939",
180
- "measure_definition_version_uuid": "902a1246-9400-44e8-b694-1982838734d7",
181
- "arguments": [
182
- {
183
- "display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
184
- "display_name_short": "Apply the Measure to a Specific Space Type or to the Entire Model.",
185
- "name": "space_type",
186
- "value_type": "string",
187
- "default_value": "*Entire Building*",
188
- "value": "*Entire Building*"
189
- },
190
- {
191
- "display_name": "Increase in Material and Installation Costs for Building per Affected Floor Area ($/ft^2).",
192
- "display_name_short": "Increase in Material and Installation Costs for Building per Affected Floor Area ($/ft^2).",
193
- "name": "material_and_installation_cost",
194
- "value_type": "double",
195
- "default_value": 0.0,
196
- "value": 0.0
197
- },
198
- {
199
- "display_name": "O & M Costs for Construction per Affected Floor Area ($/ft^2).",
200
- "display_name_short": "O & M Costs for Construction per Affected Floor Area ($/ft^2).",
201
- "name": "om_cost",
202
- "value_type": "double",
203
- "default_value": 0.0,
204
- "value": 0.0
205
- },
206
- {
207
- "display_name": "O & M Frequency (whole years).",
208
- "display_name_short": "O & M Frequency (whole years).",
209
- "name": "om_frequency",
210
- "value_type": "integer",
211
- "default_value": 1,
212
- "value": 1
213
- }
214
- ],
215
- "variables": [
216
- {
217
- "argument": {
218
- "display_name": "Space Infiltration Power Reduction",
219
- "display_name_short": "Space Infiltration Power Reduction",
220
- "name": "space_infiltration_reduction_percent",
221
- "value_type": "double",
222
- "default_value": 30.0,
223
- "value": 30.0
224
- },
225
- "display_name": "Space Infiltration Power Reduction",
226
- "display_name_short": "Space Infiltration Power Reduction",
227
- "variable_type": "variable",
228
- "units": null,
229
- "minimum": 0.0,
230
- "maximum": 30.0,
231
- "relation_to_output": null,
232
- "static_value": 30.0,
233
- "uuid": "a12ba967-3115-4c3c-93ff-f89fd98350dc",
234
- "version_uuid": "583ebf7a-8f62-4b4e-96e1-ba5b1a31fba3",
235
- "variable": true,
236
- "uncertainty_description": {
237
- "type": "uniform_uncertain",
238
- "attributes": [
239
- {
240
- "name": "lower_bounds",
241
- "value": 0.0
242
- },
243
- {
244
- "name": "upper_bounds",
245
- "value": 30.0
246
- },
247
- {
248
- "name": "modes",
249
- "value": 10.0
250
- },
251
- {
252
- "name": "delta_x",
253
- "value": null
254
- },
255
- {
256
- "name": "stddev",
257
- "value": 5.0
258
- }
259
- ]
260
- },
261
- "workflow_index": 0
262
- }
263
- ],
264
- "workflow_index": 1
265
- },
266
- {
267
- "name": "adjust_thermostat_setpoints_by_degrees",
268
- "display_name": "Adjust Thermostat Setpoints by Degrees",
269
- "measure_type": "RubyMeasure",
270
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
271
- "measure_definition_directory": "./measures/example_measure_auto_directory_name",
272
- "measure_definition_directory_local": "/Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/example_measure_auto_directory_name",
273
- "measure_definition_display_name": "Adjust Thermostat Setpoints by Degrees",
274
- "measure_definition_name": "adjust_thermostat_setpoints_by_degrees",
275
- "measure_definition_name_xml": null,
276
- "measure_definition_uuid": "223eb68f-a311-402a-a5db-ce619fa967b7",
277
- "measure_definition_version_uuid": "37cb4946-a4ec-4c4c-9e62-24d178642d58",
278
- "arguments": [
279
-
280
- ],
281
- "variables": [
282
- {
283
- "argument": {
284
- "display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
285
- "display_name_short": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
286
- "name": "cooling_adjustment",
287
- "value_type": "double",
288
- "default_value": 1.0,
289
- "value": 1.0
290
- },
291
- "display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
292
- "display_name_short": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
293
- "variable_type": "variable",
294
- "units": null,
295
- "minimum": -4.0,
296
- "maximum": 4.0,
297
- "relation_to_output": null,
298
- "static_value": 1.0,
299
- "uuid": "98017642-38f3-40aa-9e7b-e460da96e6ea",
300
- "version_uuid": "fdf3b69c-29cd-4904-afff-b5da97266493",
301
- "variable": true,
302
- "uncertainty_description": {
303
- "type": "uniform_uncertain",
304
- "attributes": [
305
- {
306
- "name": "lower_bounds",
307
- "value": -4.0
308
- },
309
- {
310
- "name": "upper_bounds",
311
- "value": 4.0
312
- },
313
- {
314
- "name": "modes",
315
- "value": 0.0
316
- },
317
- {
318
- "name": "delta_x",
319
- "value": null
320
- },
321
- {
322
- "name": "stddev",
323
- "value": 1.3333333333333333
324
- }
325
- ]
326
- },
327
- "workflow_index": 0
328
- },
329
- {
330
- "argument": {
331
- "display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
332
- "display_name_short": "Degrees Fahrenheit to Adjust heating Setpoint By.",
333
- "name": "heating_adjustment",
334
- "value_type": "double",
335
- "default_value": -1.0,
336
- "value": -1.0
337
- },
338
- "display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
339
- "display_name_short": "Degrees Fahrenheit to Adjust heating Setpoint By.",
340
- "variable_type": "variable",
341
- "units": null,
342
- "minimum": -4.0,
343
- "maximum": 4.0,
344
- "relation_to_output": null,
345
- "static_value": -1.0,
346
- "uuid": "6332608f-c950-41fd-9e54-a35b07a2c8d6",
347
- "version_uuid": "66e15585-bfa4-49d2-ad89-483b6b50edad",
348
- "variable": true,
349
- "uncertainty_description": {
350
- "type": "uniform_uncertain",
351
- "attributes": [
352
- {
353
- "name": "lower_bounds",
354
- "value": -4.0
355
- },
356
- {
357
- "name": "upper_bounds",
358
- "value": 4.0
359
- },
360
- {
361
- "name": "modes",
362
- "value": 0.0
363
- },
364
- {
365
- "name": "delta_x",
366
- "value": null
367
- },
368
- {
369
- "name": "stddev",
370
- "value": 1.3333333333333333
371
- }
372
- ]
373
- },
374
- "workflow_index": 1
375
- },
376
- {
377
- "argument": {
378
- "display_name": "Alter Design Day Thermostats?",
379
- "display_name_short": "Alter Design Day Thermostats?",
380
- "name": "alter_design_days",
381
- "value_type": "bool",
382
- "default_value": false,
383
- "value": false
384
- },
385
- "display_name": "Alter Design Day Thermostats?",
386
- "display_name_short": "Alter Design Day Thermostats?",
387
- "variable_type": "variable",
388
- "units": null,
389
- "minimum": true,
390
- "maximum": true,
391
- "relation_to_output": null,
392
- "uuid": "b75d74db-4c9f-4c88-a794-c37c53d9e144",
393
- "version_uuid": "d7c072f6-c54b-418b-9f52-a5b6e40762f9",
394
- "variable": true,
395
- "static_value": false,
396
- "uncertainty_description": {
397
- "type": "discrete_uncertain",
398
- "attributes": [
399
- {
400
- "name": "discrete",
401
- "values_and_weights": [
402
- {
403
- "value": true,
404
- "weight": 0.8
405
- },
406
- {
407
- "value": false,
408
- "weight": 0.2
409
- }
410
- ]
411
- },
412
- {
413
- "name": "lower_bounds",
414
- "value": true
415
- },
416
- {
417
- "name": "upper_bounds",
418
- "value": true
419
- },
420
- {
421
- "name": "modes",
422
- "value": false
423
- },
424
- {
425
- "name": "delta_x",
426
- "value": null
427
- },
428
- {
429
- "name": "stddev",
430
- "value": null
431
- }
432
- ]
433
- },
434
- "workflow_index": 2
435
- }
436
- ],
437
- "workflow_index": 2
438
- },
439
- {
440
- "name": "set_r_value_of_insulation_for_exterior_walls_to_a_specific_value",
441
- "display_name": "Set R-value of Insulation for Exterior Walls to a Specific Value",
442
- "measure_type": "RubyMeasure",
443
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
444
- "measure_definition_directory": "./measures/example_measure_auto_directory_name",
445
- "measure_definition_directory_local": "/Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/example_measure_auto_directory_name",
446
- "measure_definition_display_name": "Set R-value of Insulation for Exterior Walls to a Specific Value",
447
- "measure_definition_name": "set_r_value_of_insulation_for_exterior_walls_to_a_specific_value",
448
- "measure_definition_name_xml": null,
449
- "measure_definition_uuid": "e6eaabc5-c81e-4073-8a8c-3c11814d07b8",
450
- "measure_definition_version_uuid": "d59ef314-08e3-436c-ad17-edd917ab8d29",
451
- "arguments": [
452
- {
453
- "display_name": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
454
- "display_name_short": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
455
- "name": "material_cost_increase_ip",
456
- "value_type": "double",
457
- "default_value": 0.0,
458
- "value": 0.0
459
- },
460
- {
461
- "display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
462
- "display_name_short": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
463
- "name": "one_time_retrofit_cost_ip",
464
- "value_type": "double",
465
- "default_value": 0.0,
466
- "value": 0.0
467
- },
468
- {
469
- "display_name": "Year to Incur One Time Retrofit Cost (whole years).",
470
- "display_name_short": "Year to Incur One Time Retrofit Cost (whole years).",
471
- "name": "years_until_retrofit_cost",
472
- "value_type": "integer",
473
- "default_value": 0,
474
- "value": 0
475
- }
476
- ],
477
- "variables": [
478
- {
479
- "argument": {
480
- "display_name": "Wall R Value",
481
- "display_name_short": "Wall R Value",
482
- "name": "r_value",
483
- "value_type": "double",
484
- "default_value": 5.0,
485
- "value": 5.0
486
- },
487
- "display_name": "Wall R Value",
488
- "display_name_short": "Wall R Value",
489
- "variable_type": "variable",
490
- "units": null,
491
- "minimum": 0.0,
492
- "maximum": 5.0,
493
- "relation_to_output": null,
494
- "static_value": 5.0,
495
- "uuid": "f4a20b44-8675-42eb-bcbc-d26b7d8e8e4a",
496
- "version_uuid": "40a98793-1dee-4891-8290-a4761051616e",
497
- "variable": true,
498
- "uncertainty_description": {
499
- "type": "triangle_uncertain",
500
- "attributes": [
501
- {
502
- "name": "lower_bounds",
503
- "value": 0.0
504
- },
505
- {
506
- "name": "upper_bounds",
507
- "value": 5.0
508
- },
509
- {
510
- "name": "modes",
511
- "value": 2.5
512
- },
513
- {
514
- "name": "delta_x",
515
- "value": null
516
- },
517
- {
518
- "name": "stddev",
519
- "value": 0.8333333333333334
520
- }
521
- ]
522
- },
523
- "workflow_index": 0
524
- }
525
- ],
526
- "workflow_index": 3
527
- },
528
- {
529
- "name": "set_r_value_of_insulation_for_roofs_to_a_specific_value",
530
- "display_name": "Set R-value of Insulation for Roofs to a Specific Value",
531
- "measure_type": "RubyMeasure",
532
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
533
- "measure_definition_directory": "./measures/example_measure_auto_directory_name",
534
- "measure_definition_directory_local": "/Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/example_measure_auto_directory_name",
535
- "measure_definition_display_name": "Set R-value of Insulation for Roofs to a Specific Value",
536
- "measure_definition_name": "set_r_value_of_insulation_for_roofs_to_a_specific_value",
537
- "measure_definition_name_xml": null,
538
- "measure_definition_uuid": "1897891d-6b74-481f-b274-e1d3f70de2c4",
539
- "measure_definition_version_uuid": "d00c213c-da7b-4578-bf34-c7ffede76d10",
540
- "arguments": [
541
- {
542
- "display_name": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
543
- "display_name_short": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
544
- "name": "material_cost_increase_ip",
545
- "value_type": "double",
546
- "default_value": 0.0,
547
- "value": 0.0
548
- },
549
- {
550
- "display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
551
- "display_name_short": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
552
- "name": "one_time_retrofit_cost_ip",
553
- "value_type": "double",
554
- "default_value": 0.0,
555
- "value": 0.0
556
- },
557
- {
558
- "display_name": "Year to Incur One Time Retrofit Cost (whole years).",
559
- "display_name_short": "Year to Incur One Time Retrofit Cost (whole years).",
560
- "name": "years_until_retrofit_cost",
561
- "value_type": "integer",
562
- "default_value": 0,
563
- "value": 0
564
- }
565
- ],
566
- "variables": [
567
- {
568
- "argument": {
569
- "display_name": "Roof R Value",
570
- "display_name_short": "Roof R Value",
571
- "name": "r_value",
572
- "value_type": "double",
573
- "default_value": 5.0,
574
- "value": 5.0
575
- },
576
- "display_name": "Roof R Value",
577
- "display_name_short": "Roof R Value",
578
- "variable_type": "variable",
579
- "units": null,
580
- "minimum": 0.0,
581
- "maximum": 5.0,
582
- "relation_to_output": null,
583
- "static_value": 5.0,
584
- "uuid": "3300ce15-4c28-48fa-bfbb-64a5885a71db",
585
- "version_uuid": "a203949b-a25d-45a0-a03b-420f9156fd29",
586
- "variable": true,
587
- "uncertainty_description": {
588
- "type": "triangle_uncertain",
589
- "attributes": [
590
- {
591
- "name": "lower_bounds",
592
- "value": 0.0
593
- },
594
- {
595
- "name": "upper_bounds",
596
- "value": 5.0
597
- },
598
- {
599
- "name": "modes",
600
- "value": 2.5
601
- },
602
- {
603
- "name": "delta_x",
604
- "value": null
605
- },
606
- {
607
- "name": "stddev",
608
- "value": 0.8333333333333334
609
- }
610
- ]
611
- },
612
- "workflow_index": 0
613
- }
614
- ],
615
- "workflow_index": 4
616
- },
617
- {
618
- "name": "reduce_ventilation_by_percentage",
619
- "display_name": "Reduce Ventilation By Percentage",
620
- "measure_type": "RubyMeasure",
621
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
622
- "measure_definition_directory": "./measures/example_measure_auto_directory_name",
623
- "measure_definition_directory_local": "/Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/example_measure_auto_directory_name",
624
- "measure_definition_display_name": "Reduce Ventilation By Percentage",
625
- "measure_definition_name": "reduce_ventilation_by_percentage",
626
- "measure_definition_name_xml": null,
627
- "measure_definition_uuid": "3e1e8ae4-dd85-411e-aeba-d531461bf51d",
628
- "measure_definition_version_uuid": "6d0a509f-2508-4775-89dd-53d9a78ba79d",
629
- "arguments": [
630
- {
631
- "display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
632
- "display_name_short": "Apply the Measure to a Specific Space Type or to the Entire Model.",
633
- "name": "space_type",
634
- "value_type": "string",
635
- "default_value": "*Entire Building*",
636
- "value": "*Entire Building*"
637
- }
638
- ],
639
- "variables": [
640
- {
641
- "argument": {
642
- "display_name": "Design Specification Outdoor Air Reduction (%).",
643
- "display_name_short": "Design Specification Outdoor Air Reduction (%).",
644
- "name": "design_spec_outdoor_air_reduction_percent",
645
- "value_type": "double",
646
- "default_value": 0.0,
647
- "value": 0.0
648
- },
649
- "display_name": "Design Specification Outdoor Air Reduction (%).",
650
- "display_name_short": "Design Specification Outdoor Air Reduction (%).",
651
- "variable_type": "variable",
652
- "units": null,
653
- "minimum": 0.0,
654
- "maximum": 90.0,
655
- "relation_to_output": null,
656
- "static_value": 0.0,
657
- "uuid": "c53e6893-2702-4522-86f7-aae893451f85",
658
- "version_uuid": "36719cbc-7309-4454-bbcb-32b3d16cf366",
659
- "variable": true,
660
- "uncertainty_description": {
661
- "type": "discrete_uncertain",
662
- "attributes": [
663
- {
664
- "name": "discrete",
665
- "values_and_weights": [
666
- {
667
- "value": 0,
668
- "weight": 0.2
669
- },
670
- {
671
- "value": 10,
672
- "weight": 0.2
673
- },
674
- {
675
- "value": 30,
676
- "weight": 0.2
677
- },
678
- {
679
- "value": 60,
680
- "weight": 0.2
681
- },
682
- {
683
- "value": 90,
684
- "weight": 0.2
685
- }
686
- ]
687
- },
688
- {
689
- "name": "lower_bounds",
690
- "value": 0.0
691
- },
692
- {
693
- "name": "upper_bounds",
694
- "value": 90.0
695
- },
696
- {
697
- "name": "modes",
698
- "value": 45.0
699
- },
700
- {
701
- "name": "delta_x",
702
- "value": null
703
- },
704
- {
705
- "name": "stddev",
706
- "value": null
707
- }
708
- ]
709
- },
710
- "workflow_index": 0
711
- }
712
- ],
713
- "workflow_index": 5
714
- }
715
- ]
716
- },
717
- "seed": {
718
- "file_type": "OSM",
719
- "path": "./seed/small_seed.osm"
720
- },
721
- "weather_file": {
722
- "file_type": "EPW",
723
- "path": "./weather/partial_weather.epw"
724
- },
725
- "file_format_version": 1
726
- }
727
- }