openstudio-analysis 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
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,32 +0,0 @@
1
- {
2
- "argument": {
3
- "display_name": "<%= @variable['display_name'] %>",
4
- "display_name_short": "<%= @variable['display_name_short'] %>",
5
- "name": "<%= @variable['name'] %>",
6
- "value_type": "<%= @variable['type'] %>"
7
- },
8
- "display_name": "<%= @variable['display_name'] %>",
9
- "display_name_short": "<%= @variable['display_name_short'] %>",
10
- "maximum": <%= @variable['distribution']['max'] ? @variable['distribution']['max'].inspect : 'null' %>,
11
- "minimum": <%= @variable['distribution']['min'] ? @variable['distribution']['min'].inspect : 'null' %>,
12
- "relation_to_output": "<%= @variable['relation_to_eui'] %>",
13
- "static_value": <%= @variable['distribution']['static_value'].inspect %>,
14
- "pivot": true,
15
- "uncertainty_description": {
16
- "attributes": [
17
- {
18
- "name": "discrete",
19
- "values_and_weights":
20
- <%= @values_and_weights %>
21
- }
22
- ],
23
- "type": "discrete_uncertain"
24
- },
25
- "units": "<%= @variable['units'] %>",
26
- "value_type": "<%= @variable['type'] %>",
27
- "variable_type": "RubyContinuousVariable",
28
- "uuid": "<%= SecureRandom.uuid %>",
29
- "version_uuid": "<%= SecureRandom.uuid %>"
30
- }
31
-
32
-
@@ -1,45 +0,0 @@
1
- {
2
- "argument": {
3
- "display_name": "<%= @variable['display_name'] %>",
4
- "display_name_short": "<%= @variable['display_name_short'] %>",
5
- "name": "<%= @variable['name'] %>",
6
- "value_type": "<%= @variable['type'] %>"
7
- },
8
- "display_name": "<%= @variable['display_name'] %>",
9
- "display_name_short": "<%= @variable['display_name_short'] %>",
10
- "maximum": <%= @variable['distribution']['max'] ? @variable['distribution']['max'].inspect : 'null' %>,
11
- "minimum": <%= @variable['distribution']['min'] ? @variable['distribution']['min'].inspect : 'null' %>,
12
- "relation_to_output": "<%= @variable['relation_to_eui'] %>",
13
- "static_value": <%= @variable['distribution']['static_value'].inspect %>,
14
- "uncertainty_description": {
15
- "attributes": [
16
- {
17
- "name": "lower_bounds",
18
- "value": <%= @variable['distribution']['min'] %>
19
- },
20
- {
21
- "name": "upper_bounds",
22
- "value": <%= @variable['distribution']['max'] %>
23
- },
24
- {
25
- "name": "stddev",
26
- "value": <%= @variable['distribution']['stddev'] %>
27
- },
28
- {
29
- "name": "delta_x",
30
- "value": <%= @variable['distribution']['delta_x'] ? @variable['distribution']['delta_x'].inspect : 'null' %>
31
- },
32
- {
33
- "name": "modes",
34
- "value": <%= @variable['distribution']['mean'] %>
35
- }
36
- ],
37
- "type": <%= @variable['distribution']['type'].inspect %>
38
- },
39
- "units": "<%= @variable['units'] %>",
40
- "value_type": "<%= @variable['type'] %>",
41
- "variable": true,
42
- "variable_type": "RubyContinuousVariable",
43
- "uuid": "<%= SecureRandom.uuid %>",
44
- "version_uuid": "<%= SecureRandom.uuid %>"
45
- }
@@ -1,16 +0,0 @@
1
- {
2
- "measure_definition_class_name": "<%= @measure['measure_file_name'] %>",
3
- "measure_definition_directory": "./measures/<%= @measure['measure_file_name_directory'] %>",
4
- "measure_definition_display_name": "<%= @measure['measure_file_name'] %>",
5
- "measure_definition_uuid": "<%= SecureRandom.uuid %>",
6
- "measure_definition_version_uuid": "<%= SecureRandom.uuid %>",
7
- "measure_type": "<%= @measure['measure_type'] %>",
8
- "arguments": [],
9
- "display_name": "<%= @measure['display_name'] %>",
10
- "name": "<%= @measure['name'] %>",
11
- "variables": [],
12
- "workflow_index": <%= @measure_index %>,
13
- "workflow_step_type": "Measure",
14
- "uuid": "<%= SecureRandom.uuid %>",
15
- "version_uuid": "<%= SecureRandom.uuid %>"
16
- }
@@ -1,656 +0,0 @@
1
- {
2
- "analysis": {
3
- "display_name": "example_analysis",
4
- "name": "example_analysis",
5
- "output_variables": [
6
-
7
- ],
8
- "problem": {
9
- "analysis_type": null,
10
- "algorithm": {
11
- "objective_functions": [
12
-
13
- ]
14
- },
15
- "workflow": [
16
- {
17
- "name": "reduce_lighting_loads_by_percentage",
18
- "display_name": "Reduce Lighting Loads by Percentage",
19
- "measure_type": "RubyMeasure",
20
- "measure_definition_class_name": "ReduceLightingLoadsByPercentage",
21
- "measure_definition_directory": "reduce_lighting_loads_by_percentage",
22
- "measure_definition_display_name": "Reduce Lighting Loads by Percentage",
23
- "measure_definition_name": "reduce_lighting_loads_by_percentage",
24
- "measure_definition_name_xml": null,
25
- "measure_definition_uuid": "22c3355c-ce33-4ce3-b3a6-316a8aa28ecf",
26
- "measure_definition_version_uuid": "586234d3-7b16-43fb-8e5b-8e7bcbe0085f",
27
- "arguments": [
28
- {
29
- "display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
30
- "display_name_short": "Apply the Measure to a Specific Space Type or to the Entire Model.",
31
- "name": "space_type",
32
- "value_type": "string",
33
- "default_value": "*Entire Building*",
34
- "value": "*Entire Building*"
35
- },
36
- {
37
- "display_name": "Increase in Material and Installation Cost for Lighting per Floor Area (%).",
38
- "display_name_short": "Increase in Material and Installation Cost for Lighting per Floor Area (%).",
39
- "name": "material_and_installation_cost",
40
- "value_type": "double",
41
- "default_value": 0.0,
42
- "value": 0.0
43
- },
44
- {
45
- "display_name": "Increase in Demolition Costs for Lighting per Floor Area (%).",
46
- "display_name_short": "Increase in Demolition Costs for Lighting per Floor Area (%).",
47
- "name": "demolition_cost",
48
- "value_type": "double",
49
- "default_value": 0.0,
50
- "value": 0.0
51
- },
52
- {
53
- "display_name": "Years Until Costs Start (whole years).",
54
- "display_name_short": "Years Until Costs Start (whole years).",
55
- "name": "years_until_costs_start",
56
- "value_type": "integer",
57
- "default_value": 0,
58
- "value": 0
59
- },
60
- {
61
- "display_name": "Demolition Costs Occur During Initial Construction?",
62
- "display_name_short": "Demolition Costs Occur During Initial Construction?",
63
- "name": "demo_cost_initial_const",
64
- "value_type": "bool",
65
- "default_value": true,
66
- "value": true
67
- },
68
- {
69
- "display_name": "Expected Life (whole years).",
70
- "display_name_short": "Expected Life (whole years).",
71
- "name": "expected_life",
72
- "value_type": "integer",
73
- "default_value": 15,
74
- "value": 15
75
- },
76
- {
77
- "display_name": "Increase O & M Costs for Lighting per Floor Area (%).",
78
- "display_name_short": "Increase O & M Costs for Lighting per Floor Area (%).",
79
- "name": "om_cost",
80
- "value_type": "double",
81
- "default_value": 0.0,
82
- "value": 0.0
83
- },
84
- {
85
- "display_name": "O & M Frequency (whole years).",
86
- "display_name_short": "O & M Frequency (whole years).",
87
- "name": "om_frequency",
88
- "value_type": "integer",
89
- "default_value": 1,
90
- "value": 1
91
- }
92
- ],
93
- "variables": [
94
- {
95
- "argument": {
96
- "display_name": "Lighting Power Reduction",
97
- "display_name_short": "Lighting Power Reduction",
98
- "name": "lighting_power_reduction_percent",
99
- "value_type": "double",
100
- "default_value": 30.0,
101
- "value": 30.0
102
- },
103
- "display_name": "Lighting Power Reduction",
104
- "display_name_short": "Lighting Power Reduction",
105
- "units": null,
106
- "minimum": 0.0,
107
- "maximum": 10.0,
108
- "relation_to_output": null,
109
- "uuid": "5ed48eab-302b-4039-a60b-3626f009fab5",
110
- "version_uuid": "ce0aca47-92ec-4cb3-bef6-ed4aeecfb30d",
111
- "variable": true,
112
- "static_value": 30.0,
113
- "uncertainty_description": {
114
- "type": "discrete_uncertain",
115
- "attributes": [
116
- {
117
- "name": "discrete",
118
- "values_and_weights": [
119
- {
120
- "value": 10,
121
- "weight": 0.1
122
- },
123
- {
124
- "value": 20,
125
- "weight": 0.4
126
- },
127
- {
128
- "value": 40,
129
- "weight": 0.2
130
- },
131
- {
132
- "value": 60,
133
- "weight": 0.3
134
- }
135
- ]
136
- },
137
- {
138
- "name": "lower_bounds",
139
- "value": 0.0
140
- },
141
- {
142
- "name": "upper_bounds",
143
- "value": 10.0
144
- },
145
- {
146
- "name": "modes",
147
- "value": 5.0
148
- }
149
- ]
150
- },
151
- "workflow_index": 0
152
- }
153
- ],
154
- "workflow_index": 0
155
- },
156
- {
157
- "name": "reducespaceinfiltrationbypercentage",
158
- "display_name": "ReduceSpaceInfiltrationByPercentage",
159
- "measure_type": "RubyMeasure",
160
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
161
- "measure_definition_directory": "example_measure_auto_directory_name",
162
- "measure_definition_display_name": "ReduceSpaceInfiltrationByPercentage",
163
- "measure_definition_name": "reducespaceinfiltrationbypercentage",
164
- "measure_definition_name_xml": null,
165
- "measure_definition_uuid": "b0817829-7e20-4fb9-9b77-3b6cb1f10fdf",
166
- "measure_definition_version_uuid": "d2d57698-9521-4865-b5cb-024e790f8d0d",
167
- "arguments": [
168
- {
169
- "display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
170
- "display_name_short": "Apply the Measure to a Specific Space Type or to the Entire Model.",
171
- "name": "space_type",
172
- "value_type": "string",
173
- "default_value": "*Entire Building*",
174
- "value": "*Entire Building*"
175
- },
176
- {
177
- "display_name": "Increase in Material and Installation Costs for Building per Affected Floor Area ($/ft^2).",
178
- "display_name_short": "Increase in Material and Installation Costs for Building per Affected Floor Area ($/ft^2).",
179
- "name": "material_and_installation_cost",
180
- "value_type": "double",
181
- "default_value": 0.0,
182
- "value": 0.0
183
- },
184
- {
185
- "display_name": "O & M Costs for Construction per Affected Floor Area ($/ft^2).",
186
- "display_name_short": "O & M Costs for Construction per Affected Floor Area ($/ft^2).",
187
- "name": "om_cost",
188
- "value_type": "double",
189
- "default_value": 0.0,
190
- "value": 0.0
191
- },
192
- {
193
- "display_name": "O & M Frequency (whole years).",
194
- "display_name_short": "O & M Frequency (whole years).",
195
- "name": "om_frequency",
196
- "value_type": "integer",
197
- "default_value": 1,
198
- "value": 1
199
- }
200
- ],
201
- "variables": [
202
- {
203
- "argument": {
204
- "display_name": "Space Infiltration Power Reduction",
205
- "display_name_short": "Space Infiltration Power Reduction",
206
- "name": "space_infiltration_reduction_percent",
207
- "value_type": "double",
208
- "default_value": 30.0,
209
- "value": 30.0
210
- },
211
- "display_name": "Space Infiltration Power Reduction",
212
- "display_name_short": "Space Infiltration Power Reduction",
213
- "units": null,
214
- "minimum": 0.0,
215
- "maximum": 30.0,
216
- "relation_to_output": null,
217
- "uuid": "f0b22674-1a74-4151-aa9e-e216f8e89219",
218
- "version_uuid": "ca8d4010-445a-459f-86bd-41b38f595414",
219
- "variable": true,
220
- "static_value": 30.0,
221
- "uncertainty_description": {
222
- "type": "uniform_uncertain",
223
- "attributes": [
224
- {
225
- "name": "lower_bounds",
226
- "value": 0.0
227
- },
228
- {
229
- "name": "upper_bounds",
230
- "value": 30.0
231
- },
232
- {
233
- "name": "modes",
234
- "value": 10.0
235
- }
236
- ]
237
- },
238
- "workflow_index": 0
239
- }
240
- ],
241
- "workflow_index": 1
242
- },
243
- {
244
- "name": "adjust_thermostat_setpoints_by_degrees",
245
- "display_name": "Adjust Thermostat Setpoints by Degrees",
246
- "measure_type": "RubyMeasure",
247
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
248
- "measure_definition_directory": "example_measure_auto_directory_name",
249
- "measure_definition_display_name": "Adjust Thermostat Setpoints by Degrees",
250
- "measure_definition_name": "adjust_thermostat_setpoints_by_degrees",
251
- "measure_definition_name_xml": null,
252
- "measure_definition_uuid": "fd812c6b-2910-4cc2-9f5d-311b13b1ff32",
253
- "measure_definition_version_uuid": "b7ba2afa-ac43-445a-8ee7-319d8f1cda7b",
254
- "arguments": [
255
-
256
- ],
257
- "variables": [
258
- {
259
- "argument": {
260
- "display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
261
- "display_name_short": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
262
- "name": "cooling_adjustment",
263
- "value_type": "double",
264
- "default_value": 1.0,
265
- "value": 1.0
266
- },
267
- "display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
268
- "display_name_short": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
269
- "units": null,
270
- "minimum": -4.0,
271
- "maximum": 4.0,
272
- "relation_to_output": null,
273
- "uuid": "e328fcc0-675c-4b95-85c8-5dade07c14ea",
274
- "version_uuid": "e65de8fc-ed1d-4af1-ab09-b1bb212a5975",
275
- "variable": true,
276
- "static_value": 1.0,
277
- "uncertainty_description": {
278
- "type": "uniform_uncertain",
279
- "attributes": [
280
- {
281
- "name": "lower_bounds",
282
- "value": -4.0
283
- },
284
- {
285
- "name": "upper_bounds",
286
- "value": 4.0
287
- },
288
- {
289
- "name": "modes",
290
- "value": 0.0
291
- }
292
- ]
293
- },
294
- "workflow_index": 0
295
- },
296
- {
297
- "argument": {
298
- "display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
299
- "display_name_short": "Degrees Fahrenheit to Adjust heating Setpoint By.",
300
- "name": "heating_adjustment",
301
- "value_type": "double",
302
- "default_value": -1.0,
303
- "value": -1.0
304
- },
305
- "display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
306
- "display_name_short": "Degrees Fahrenheit to Adjust heating Setpoint By.",
307
- "units": null,
308
- "minimum": -4.0,
309
- "maximum": 4.0,
310
- "relation_to_output": null,
311
- "uuid": "107d6621-ee65-4008-96c9-5344c927f807",
312
- "version_uuid": "defed140-a797-47f2-af48-376031d54a37",
313
- "variable": true,
314
- "static_value": -1.0,
315
- "uncertainty_description": {
316
- "type": "uniform_uncertain",
317
- "attributes": [
318
- {
319
- "name": "lower_bounds",
320
- "value": -4.0
321
- },
322
- {
323
- "name": "upper_bounds",
324
- "value": 4.0
325
- },
326
- {
327
- "name": "modes",
328
- "value": 0.0
329
- }
330
- ]
331
- },
332
- "workflow_index": 1
333
- },
334
- {
335
- "argument": {
336
- "display_name": "Alter Design Day Thermostats?",
337
- "display_name_short": "Alter Design Day Thermostats?",
338
- "name": "alter_design_days",
339
- "value_type": "bool",
340
- "default_value": false,
341
- "value": false
342
- },
343
- "display_name": "Alter Design Day Thermostats?",
344
- "display_name_short": "Alter Design Day Thermostats?",
345
- "units": null,
346
- "minimum": true,
347
- "maximum": true,
348
- "relation_to_output": null,
349
- "uuid": "2a5460e6-8059-46de-b829-7dc471b413ad",
350
- "version_uuid": "682c6db1-c408-42f4-a0fe-23b0cc041835",
351
- "variable": true,
352
- "static_value": false,
353
- "uncertainty_description": {
354
- "type": "discrete_uncertain",
355
- "attributes": [
356
- {
357
- "name": "discrete",
358
- "values_and_weights": [
359
- {
360
- "value": true,
361
- "weight": 0.8
362
- },
363
- {
364
- "value": false,
365
- "weight": 0.2
366
- }
367
- ]
368
- },
369
- {
370
- "name": "lower_bounds",
371
- "value": true
372
- },
373
- {
374
- "name": "upper_bounds",
375
- "value": true
376
- },
377
- {
378
- "name": "modes",
379
- "value": false
380
- }
381
- ]
382
- },
383
- "workflow_index": 2
384
- }
385
- ],
386
- "workflow_index": 2
387
- },
388
- {
389
- "name": "set_r_value_of_insulation_for_exterior_walls_to_a_specific_value",
390
- "display_name": "Set R-value of Insulation for Exterior Walls to a Specific Value",
391
- "measure_type": "RubyMeasure",
392
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
393
- "measure_definition_directory": "example_measure_auto_directory_name",
394
- "measure_definition_display_name": "Set R-value of Insulation for Exterior Walls to a Specific Value",
395
- "measure_definition_name": "set_r_value_of_insulation_for_exterior_walls_to_a_specific_value",
396
- "measure_definition_name_xml": null,
397
- "measure_definition_uuid": "4e77fe84-c578-4b1d-9f38-dcb707c3c78e",
398
- "measure_definition_version_uuid": "e096e1ac-f451-4430-8a59-30e481adf588",
399
- "arguments": [
400
- {
401
- "display_name": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
402
- "display_name_short": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
403
- "name": "material_cost_increase_ip",
404
- "value_type": "double",
405
- "default_value": 0.0,
406
- "value": 0.0
407
- },
408
- {
409
- "display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
410
- "display_name_short": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
411
- "name": "one_time_retrofit_cost_ip",
412
- "value_type": "double",
413
- "default_value": 0.0,
414
- "value": 0.0
415
- },
416
- {
417
- "display_name": "Year to Incur One Time Retrofit Cost (whole years).",
418
- "display_name_short": "Year to Incur One Time Retrofit Cost (whole years).",
419
- "name": "years_until_retrofit_cost",
420
- "value_type": "integer",
421
- "default_value": 0,
422
- "value": 0
423
- }
424
- ],
425
- "variables": [
426
- {
427
- "argument": {
428
- "display_name": "Wall R Value",
429
- "display_name_short": "Wall R Value",
430
- "name": "r_value",
431
- "value_type": "double",
432
- "default_value": 5.0,
433
- "value": 5.0
434
- },
435
- "display_name": "Wall R Value",
436
- "display_name_short": "Wall R Value",
437
- "units": null,
438
- "minimum": 0.0,
439
- "maximum": 5.0,
440
- "relation_to_output": null,
441
- "uuid": "4e451bfd-9641-44fe-8045-5b5bb006249f",
442
- "version_uuid": "2efbec3a-2396-499d-a8a8-6367ad899b19",
443
- "variable": true,
444
- "static_value": 5.0,
445
- "uncertainty_description": {
446
- "type": "triangle_uncertain",
447
- "attributes": [
448
- {
449
- "name": "lower_bounds",
450
- "value": 0.0
451
- },
452
- {
453
- "name": "upper_bounds",
454
- "value": 5.0
455
- },
456
- {
457
- "name": "modes",
458
- "value": 2.5
459
- },
460
- {
461
- "name": "delta_x",
462
- "value": null
463
- },
464
- {
465
- "name": "stddev",
466
- "value": null
467
- }
468
- ]
469
- },
470
- "workflow_index": 0
471
- }
472
- ],
473
- "workflow_index": 3
474
- },
475
- {
476
- "name": "set_r_value_of_insulation_for_roofs_to_a_specific_value",
477
- "display_name": "Set R-value of Insulation for Roofs to a Specific Value",
478
- "measure_type": "RubyMeasure",
479
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
480
- "measure_definition_directory": "example_measure_auto_directory_name",
481
- "measure_definition_display_name": "Set R-value of Insulation for Roofs to a Specific Value",
482
- "measure_definition_name": "set_r_value_of_insulation_for_roofs_to_a_specific_value",
483
- "measure_definition_name_xml": null,
484
- "measure_definition_uuid": "b9dfb8df-02d3-4225-a031-396dad583bb1",
485
- "measure_definition_version_uuid": "00000d78-badc-4673-ada6-0da2a00494a7",
486
- "arguments": [
487
- {
488
- "display_name": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
489
- "display_name_short": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
490
- "name": "material_cost_increase_ip",
491
- "value_type": "double",
492
- "default_value": 0.0,
493
- "value": 0.0
494
- },
495
- {
496
- "display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
497
- "display_name_short": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
498
- "name": "one_time_retrofit_cost_ip",
499
- "value_type": "double",
500
- "default_value": 0.0,
501
- "value": 0.0
502
- },
503
- {
504
- "display_name": "Year to Incur One Time Retrofit Cost (whole years).",
505
- "display_name_short": "Year to Incur One Time Retrofit Cost (whole years).",
506
- "name": "years_until_retrofit_cost",
507
- "value_type": "integer",
508
- "default_value": 0,
509
- "value": 0
510
- }
511
- ],
512
- "variables": [
513
- {
514
- "argument": {
515
- "display_name": "Roof R Value",
516
- "display_name_short": "Roof R Value",
517
- "name": "r_value",
518
- "value_type": "double",
519
- "default_value": 5.0,
520
- "value": 5.0
521
- },
522
- "display_name": "Roof R Value",
523
- "display_name_short": "Roof R Value",
524
- "units": null,
525
- "minimum": 0.0,
526
- "maximum": 5.0,
527
- "relation_to_output": null,
528
- "uuid": "3da6c8ee-f913-44d5-99ee-2b07caa3d79b",
529
- "version_uuid": "f88b5dd1-e518-479d-9456-452d2a9b3ee4",
530
- "variable": true,
531
- "static_value": 5.0,
532
- "uncertainty_description": {
533
- "type": "triangle_uncertain",
534
- "attributes": [
535
- {
536
- "name": "lower_bounds",
537
- "value": 0.0
538
- },
539
- {
540
- "name": "upper_bounds",
541
- "value": 5.0
542
- },
543
- {
544
- "name": "modes",
545
- "value": 2.5
546
- },
547
- {
548
- "name": "delta_x",
549
- "value": null
550
- },
551
- {
552
- "name": "stddev",
553
- "value": null
554
- }
555
- ]
556
- },
557
- "workflow_index": 0
558
- }
559
- ],
560
- "workflow_index": 4
561
- },
562
- {
563
- "name": "reduce_ventilation_by_percentage",
564
- "display_name": "Reduce Ventilation By Percentage",
565
- "measure_type": "RubyMeasure",
566
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
567
- "measure_definition_directory": "example_measure_auto_directory_name",
568
- "measure_definition_display_name": "Reduce Ventilation By Percentage",
569
- "measure_definition_name": "reduce_ventilation_by_percentage",
570
- "measure_definition_name_xml": null,
571
- "measure_definition_uuid": "a795c3dd-19d4-4c56-978d-d46f2525f06d",
572
- "measure_definition_version_uuid": "6b79ed9b-aab0-4800-9c4d-f304087cab60",
573
- "arguments": [
574
- {
575
- "display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
576
- "display_name_short": "Apply the Measure to a Specific Space Type or to the Entire Model.",
577
- "name": "space_type",
578
- "value_type": "string",
579
- "default_value": "*Entire Building*",
580
- "value": "*Entire Building*"
581
- }
582
- ],
583
- "variables": [
584
- {
585
- "argument": {
586
- "display_name": "Design Specification Outdoor Air Reduction (%).",
587
- "display_name_short": "Design Specification Outdoor Air Reduction (%).",
588
- "name": "design_spec_outdoor_air_reduction_percent",
589
- "value_type": "double",
590
- "default_value": 0.0,
591
- "value": 0.0
592
- },
593
- "display_name": "Design Specification Outdoor Air Reduction (%).",
594
- "display_name_short": "Design Specification Outdoor Air Reduction (%).",
595
- "units": null,
596
- "minimum": 0.0,
597
- "maximum": 90.0,
598
- "relation_to_output": null,
599
- "uuid": "d77bb396-2943-484f-beea-1a328f9df574",
600
- "version_uuid": "db9644ff-7ce8-4def-9cb3-20ea848868b6",
601
- "variable": true,
602
- "static_value": 0.0,
603
- "uncertainty_description": {
604
- "type": "discrete_uncertain",
605
- "attributes": [
606
- {
607
- "name": "discrete",
608
- "values_and_weights": [
609
- {
610
- "value": 0,
611
- "weight": 0.2
612
- },
613
- {
614
- "value": 10,
615
- "weight": 0.2
616
- },
617
- {
618
- "value": 30,
619
- "weight": 0.2
620
- },
621
- {
622
- "value": 60,
623
- "weight": 0.2
624
- },
625
- {
626
- "value": 90,
627
- "weight": 0.2
628
- }
629
- ]
630
- },
631
- {
632
- "name": "lower_bounds",
633
- "value": 0.0
634
- },
635
- {
636
- "name": "upper_bounds",
637
- "value": 90.0
638
- },
639
- {
640
- "name": "modes",
641
- "value": 45.0
642
- }
643
- ]
644
- },
645
- "workflow_index": 0
646
- }
647
- ],
648
- "workflow_index": 5
649
- }
650
- ]
651
- },
652
- "seed": null,
653
- "weather_file": null,
654
- "file_format_version": 1
655
- }
656
- }