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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -6
- data/README.md +55 -7
- data/Rakefile +10 -0
- data/lib/openstudio/analysis/algorithm_attributes.rb +22 -0
- data/lib/openstudio/analysis/formulation.rb +174 -0
- data/lib/openstudio/analysis/translator/excel.rb +65 -48
- data/lib/openstudio/analysis/version.rb +1 -1
- data/lib/openstudio/analysis/workflow.rb +197 -0
- data/lib/openstudio/analysis/workflow_step.rb +312 -0
- data/lib/openstudio/analysis.rb +8 -0
- data/lib/openstudio/helpers/string.rb +22 -22
- data/lib/openstudio/templates/analysis.json.erb +0 -1
- data/lib/openstudio-analysis.rb +9 -0
- data/spec/files/0_1_09_small_list_incomplete.xlsx +0 -0
- data/spec/files/0_2_0_template_simpletest.xlsx +0 -0
- data/spec/files/0_4_0_lhs_discrete_continuous.xlsx +0 -0
- data/spec/files/analysis/example_analysis_api.json +656 -0
- data/spec/files/analysis/examples/discrete_lhs_example.json +809 -0
- data/spec/files/analysis/examples/medium_office_example.json +1673 -0
- data/spec/files/analysis/lhs_discrete_and_continuous_variables_api.json +1230 -0
- data/spec/files/analysis/medium_office.json +91 -92
- data/spec/files/analysis/medium_office.zip +0 -0
- data/spec/files/analysis/name_goes_here_api.json +1681 -0
- data/spec/files/analysis/output_vars_api.json +632 -0
- data/spec/files/analysis/preflight_api.json +1518 -0
- data/spec/files/analysis/simple_test_api.json +519 -0
- data/spec/files/analysis/test_model_api.json +493 -0
- data/spec/files/export/analysis/0_1_09_outputvars.json +38 -39
- data/spec/files/export/analysis/0_1_09_outputvars.zip +0 -0
- data/spec/files/export/analysis/0_1_11_discrete_variables.json +46 -47
- data/spec/files/export/analysis/0_1_11_discrete_variables.zip +0 -0
- data/spec/files/export/analysis/0_1_12_discrete_dynamic_columns.json +8 -9
- data/spec/files/export/analysis/0_1_12_discrete_dynamic_columns.zip +0 -0
- data/spec/files/export/analysis/0_2_0_template_simpletest.json +19 -14
- data/spec/files/export/analysis/0_2_0_template_simpletest.zip +0 -0
- data/spec/files/export/analysis/0_3_0_outputs.json +99 -100
- data/spec/files/export/analysis/0_3_0_outputs.zip +0 -0
- data/spec/files/export/analysis/{6d6a08db-fdf8-4bb5-8ad3-18c471418c72.json → 276ccf51-ed22-4604-a380-8985cec5efe8.json} +103 -104
- data/spec/files/export/analysis/{6d6a08db-fdf8-4bb5-8ad3-18c471418c72.zip → 276ccf51-ed22-4604-a380-8985cec5efe8.zip} +0 -0
- data/spec/files/export/analysis/{55086845-70cf-487f-87f6-7a147cbf1e72.json → 639cb8a5-cdbb-4b69-955a-cbb650f6872b.json} +107 -108
- data/spec/files/export/analysis/{55086845-70cf-487f-87f6-7a147cbf1e72.zip → 639cb8a5-cdbb-4b69-955a-cbb650f6872b.zip} +0 -0
- data/spec/files/export/analysis/{10c791ce-cba7-4506-a863-3fb15703889b.json → 9560f95b-5730-4038-a95b-328c825c596b.json} +99 -100
- data/spec/files/export/analysis/{10c791ce-cba7-4506-a863-3fb15703889b.zip → 9560f95b-5730-4038-a95b-328c825c596b.zip} +0 -0
- data/spec/files/export/analysis/{f028bfbe-e30e-488d-adad-a60a62bbf7e0.json → c50f0062-cdfb-4dec-bc02-215f6c29af3c.json} +107 -108
- data/spec/files/export/analysis/{f028bfbe-e30e-488d-adad-a60a62bbf7e0.zip → c50f0062-cdfb-4dec-bc02-215f6c29af3c.zip} +0 -0
- data/spec/files/export/analysis/discrete_lhs_example.json +1185 -0
- data/spec/files/export/analysis/discrete_lhs_example.zip +0 -0
- data/spec/files/export/analysis/small_seed.json +38 -39
- data/spec/files/export/analysis/small_seed.zip +0 -0
- data/spec/files/export/workflow/analysis.json +23 -0
- data/spec/files/measures/ActualMeasureNoJson/measure.json +25 -0
- data/spec/files/measures/ActualMeasureNoJson/measure.rb +80 -0
- data/spec/files/measures/ActualMeasureNoJson/measure.xml +2 -0
- data/spec/files/measures/SetThermostatSchedules/measure.json +63 -0
- data/spec/files/measures/SetThermostatSchedules/measure.rb +254 -0
- data/spec/files/measures/SetThermostatSchedules/measure.xml +2 -0
- data/spec/openstudio/excel_spec.rb +11 -11
- data/spec/openstudio/formulation_spec.rb +107 -0
- data/spec/openstudio/workflow_spec.rb +90 -0
- data/spec/openstudio/workflow_step_spec.rb +116 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Formulation.xml +28 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-object-instance.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.xml +1 -1
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.xml +30 -4
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.xml +11 -3
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.xml +6 -6
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.xml +52 -8
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.xml +22 -5
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.xml +28 -5
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.xml +3 -3
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.xml +13 -6
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.xml +55 -5
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.xml +9 -4
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.xml +8 -3
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.xml +13 -5
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.xml +9 -4
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-5-and-measure-paths.xml +9 -4
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.0.xml +40 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.xml +9 -4
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.xml +1 -1
- data/spec/reports/SPEC-OpenStudio-Analysis-Workflow.xml +31 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-WorkflowStep.xml +29 -0
- data/spec/spec_helper.rb +1 -1
- metadata +87 -18
@@ -0,0 +1,493 @@
|
|
1
|
+
{
|
2
|
+
"analysis": {
|
3
|
+
"display_name": "test_model",
|
4
|
+
"name": "test_model",
|
5
|
+
"output_variables": [
|
6
|
+
{
|
7
|
+
"units": "MJ/m2",
|
8
|
+
"objective_function": true,
|
9
|
+
"objective_function_index": 0,
|
10
|
+
"objective_function_target": 330.7,
|
11
|
+
"objective_function_group": "TRUE",
|
12
|
+
"scaling_factor": null,
|
13
|
+
"display_name": "Total Natual Gas",
|
14
|
+
"display_name_short": "Total Natual Gas",
|
15
|
+
"metadata_id": null,
|
16
|
+
"name": "total_natural_gas"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"units": "MJ/m2",
|
20
|
+
"objective_function": true,
|
21
|
+
"objective_function_index": 1,
|
22
|
+
"objective_function_target": 496.5,
|
23
|
+
"objective_function_group": "TRUE",
|
24
|
+
"scaling_factor": null,
|
25
|
+
"display_name": "Total Electricity",
|
26
|
+
"display_name_short": "Total Electricity",
|
27
|
+
"metadata_id": null,
|
28
|
+
"name": "total_electricity"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"units": "J",
|
32
|
+
"objective_function": true,
|
33
|
+
"objective_function_index": 2,
|
34
|
+
"objective_function_target": 63597914341.3388,
|
35
|
+
"objective_function_group": "TRUE",
|
36
|
+
"scaling_factor": 46320380000.0,
|
37
|
+
"display_name": "cooling_electricity_jan",
|
38
|
+
"display_name_short": "cooling_electricity_jan",
|
39
|
+
"metadata_id": null,
|
40
|
+
"name": "cooling_electricity_jan"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"units": "J",
|
44
|
+
"objective_function": true,
|
45
|
+
"objective_function_index": 3,
|
46
|
+
"objective_function_target": 58138465958.3439,
|
47
|
+
"objective_function_group": "TRUE",
|
48
|
+
"scaling_factor": 46320380000.0,
|
49
|
+
"display_name": "cooling_electricity_feb",
|
50
|
+
"display_name_short": "cooling_electricity_feb",
|
51
|
+
"metadata_id": null,
|
52
|
+
"name": "cooling_electricity_feb"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"units": "J",
|
56
|
+
"objective_function": true,
|
57
|
+
"objective_function_index": 4,
|
58
|
+
"objective_function_target": 301531761648.05,
|
59
|
+
"objective_function_group": "TRUE",
|
60
|
+
"scaling_factor": 46320380000.0,
|
61
|
+
"display_name": "cooling_electricity_mar",
|
62
|
+
"display_name_short": "cooling_electricity_mar",
|
63
|
+
"metadata_id": null,
|
64
|
+
"name": "cooling_electricity_mar"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"units": "J",
|
68
|
+
"objective_function": true,
|
69
|
+
"objective_function_index": 5,
|
70
|
+
"objective_function_target": 336163175378.778,
|
71
|
+
"objective_function_group": "TRUE",
|
72
|
+
"scaling_factor": 46320380000.0,
|
73
|
+
"display_name": "cooling_electricity_apr",
|
74
|
+
"display_name_short": "cooling_electricity_apr",
|
75
|
+
"metadata_id": null,
|
76
|
+
"name": "cooling_electricity_apr"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"units": "J",
|
80
|
+
"objective_function": true,
|
81
|
+
"objective_function_index": 6,
|
82
|
+
"objective_function_target": 1412749721236.32,
|
83
|
+
"objective_function_group": "TRUE",
|
84
|
+
"scaling_factor": 46320380000.0,
|
85
|
+
"display_name": "cooling_electricity_may",
|
86
|
+
"display_name_short": "cooling_electricity_may",
|
87
|
+
"metadata_id": null,
|
88
|
+
"name": "cooling_electricity_may"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"units": "J",
|
92
|
+
"objective_function": true,
|
93
|
+
"objective_function_index": 7,
|
94
|
+
"objective_function_target": 2327741408781.58,
|
95
|
+
"objective_function_group": "TRUE",
|
96
|
+
"scaling_factor": 46320380000.0,
|
97
|
+
"display_name": "cooling_electricity_jun",
|
98
|
+
"display_name_short": "cooling_electricity_jun",
|
99
|
+
"metadata_id": null,
|
100
|
+
"name": "cooling_electricity_jun"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"units": "J",
|
104
|
+
"objective_function": true,
|
105
|
+
"objective_function_index": 8,
|
106
|
+
"objective_function_target": 2402590637505.39,
|
107
|
+
"objective_function_group": "TRUE",
|
108
|
+
"scaling_factor": 46320380000.0,
|
109
|
+
"display_name": "cooling_electricity_jul",
|
110
|
+
"display_name_short": "cooling_electricity_jul",
|
111
|
+
"metadata_id": null,
|
112
|
+
"name": "cooling_electricity_jul"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"units": "J",
|
116
|
+
"objective_function": true,
|
117
|
+
"objective_function_index": 9,
|
118
|
+
"objective_function_target": 2472656245279.37,
|
119
|
+
"objective_function_group": "TRUE",
|
120
|
+
"scaling_factor": 46320380000.0,
|
121
|
+
"display_name": "cooling_electricity_aug",
|
122
|
+
"display_name_short": "cooling_electricity_aug",
|
123
|
+
"metadata_id": null,
|
124
|
+
"name": "cooling_electricity_aug"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"units": "J",
|
128
|
+
"objective_function": true,
|
129
|
+
"objective_function_index": 10,
|
130
|
+
"objective_function_target": 1807432185051.14,
|
131
|
+
"objective_function_group": "TRUE",
|
132
|
+
"scaling_factor": 46320380000.0,
|
133
|
+
"display_name": "cooling_electricity_sep",
|
134
|
+
"display_name_short": "cooling_electricity_sep",
|
135
|
+
"metadata_id": null,
|
136
|
+
"name": "cooling_electricity_sep"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"units": "J",
|
140
|
+
"objective_function": true,
|
141
|
+
"objective_function_index": 11,
|
142
|
+
"objective_function_target": 619615878181.616,
|
143
|
+
"objective_function_group": "TRUE",
|
144
|
+
"scaling_factor": 46320380000.0,
|
145
|
+
"display_name": "cooling_electricity_oct",
|
146
|
+
"display_name_short": "cooling_electricity_oct",
|
147
|
+
"metadata_id": null,
|
148
|
+
"name": "cooling_electricity_oct"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"units": "J",
|
152
|
+
"objective_function": true,
|
153
|
+
"objective_function_index": 12,
|
154
|
+
"objective_function_target": 117109844324.095,
|
155
|
+
"objective_function_group": "TRUE",
|
156
|
+
"scaling_factor": 46320380000.0,
|
157
|
+
"display_name": "cooling_electricity_nov",
|
158
|
+
"display_name_short": "cooling_electricity_nov",
|
159
|
+
"metadata_id": null,
|
160
|
+
"name": "cooling_electricity_nov"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"units": "J",
|
164
|
+
"objective_function": true,
|
165
|
+
"objective_function_index": 13,
|
166
|
+
"objective_function_target": 103360013175.794,
|
167
|
+
"objective_function_group": "TRUE",
|
168
|
+
"scaling_factor": 46320380000.0,
|
169
|
+
"display_name": "cooling_electricity_dec",
|
170
|
+
"display_name_short": "cooling_electricity_dec",
|
171
|
+
"metadata_id": null,
|
172
|
+
"name": "cooling_electricity_dec"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"units": "J",
|
176
|
+
"objective_function": true,
|
177
|
+
"objective_function_index": 14,
|
178
|
+
"objective_function_target": 2799558466140.68,
|
179
|
+
"objective_function_group": "TRUE",
|
180
|
+
"scaling_factor": 46320380000.0,
|
181
|
+
"display_name": "heating_gas_jan",
|
182
|
+
"display_name_short": "heating_gas_jan",
|
183
|
+
"metadata_id": null,
|
184
|
+
"name": "heating_gas_jan"
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"units": "J",
|
188
|
+
"objective_function": true,
|
189
|
+
"objective_function_index": 15,
|
190
|
+
"objective_function_target": 2663349812763.18,
|
191
|
+
"objective_function_group": "TRUE",
|
192
|
+
"scaling_factor": 46320380000.0,
|
193
|
+
"display_name": "heating_gas_feb",
|
194
|
+
"display_name_short": "heating_gas_feb",
|
195
|
+
"metadata_id": null,
|
196
|
+
"name": "heating_gas_feb"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"units": "J",
|
200
|
+
"objective_function": true,
|
201
|
+
"objective_function_index": 16,
|
202
|
+
"objective_function_target": 1576136833664.73,
|
203
|
+
"objective_function_group": "TRUE",
|
204
|
+
"scaling_factor": 46320380000.0,
|
205
|
+
"display_name": "heating_gas_mar",
|
206
|
+
"display_name_short": "heating_gas_mar",
|
207
|
+
"metadata_id": null,
|
208
|
+
"name": "heating_gas_mar"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"units": "J",
|
212
|
+
"objective_function": true,
|
213
|
+
"objective_function_index": 17,
|
214
|
+
"objective_function_target": 1752794439290.69,
|
215
|
+
"objective_function_group": "TRUE",
|
216
|
+
"scaling_factor": 46320380000.0,
|
217
|
+
"display_name": "heating_gas_apr",
|
218
|
+
"display_name_short": "heating_gas_apr",
|
219
|
+
"metadata_id": null,
|
220
|
+
"name": "heating_gas_apr"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"units": "J",
|
224
|
+
"objective_function": true,
|
225
|
+
"objective_function_index": 18,
|
226
|
+
"objective_function_target": 375145279804.892,
|
227
|
+
"objective_function_group": "TRUE",
|
228
|
+
"scaling_factor": 46320380000.0,
|
229
|
+
"display_name": "heating_gas_may",
|
230
|
+
"display_name_short": "heating_gas_may",
|
231
|
+
"metadata_id": null,
|
232
|
+
"name": "heating_gas_may"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"units": "J",
|
236
|
+
"objective_function": true,
|
237
|
+
"objective_function_index": 19,
|
238
|
+
"objective_function_target": 32970706746.2053,
|
239
|
+
"objective_function_group": "TRUE",
|
240
|
+
"scaling_factor": 46320380000.0,
|
241
|
+
"display_name": "heating_gas_jun",
|
242
|
+
"display_name_short": "heating_gas_jun",
|
243
|
+
"metadata_id": null,
|
244
|
+
"name": "heating_gas_jun"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"units": "J",
|
248
|
+
"objective_function": true,
|
249
|
+
"objective_function_index": 20,
|
250
|
+
"objective_function_target": 50096876832.5083,
|
251
|
+
"objective_function_group": "TRUE",
|
252
|
+
"scaling_factor": 46320380000.0,
|
253
|
+
"display_name": "heating_gas_jul",
|
254
|
+
"display_name_short": "heating_gas_jul",
|
255
|
+
"metadata_id": null,
|
256
|
+
"name": "heating_gas_jul"
|
257
|
+
},
|
258
|
+
{
|
259
|
+
"units": "J",
|
260
|
+
"objective_function": true,
|
261
|
+
"objective_function_index": 21,
|
262
|
+
"objective_function_target": 32660740137.6019,
|
263
|
+
"objective_function_group": "TRUE",
|
264
|
+
"scaling_factor": 46320380000.0,
|
265
|
+
"display_name": "heating_gas_aug",
|
266
|
+
"display_name_short": "heating_gas_aug",
|
267
|
+
"metadata_id": null,
|
268
|
+
"name": "heating_gas_aug"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"units": "J",
|
272
|
+
"objective_function": true,
|
273
|
+
"objective_function_index": 22,
|
274
|
+
"objective_function_target": 144097879467.636,
|
275
|
+
"objective_function_group": "TRUE",
|
276
|
+
"scaling_factor": 46320380000.0,
|
277
|
+
"display_name": "heating_gas_sep",
|
278
|
+
"display_name_short": "heating_gas_sep",
|
279
|
+
"metadata_id": null,
|
280
|
+
"name": "heating_gas_sep"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"units": "J",
|
284
|
+
"objective_function": true,
|
285
|
+
"objective_function_index": 23,
|
286
|
+
"objective_function_target": 970975709027.067,
|
287
|
+
"objective_function_group": "TRUE",
|
288
|
+
"scaling_factor": 46320380000.0,
|
289
|
+
"display_name": "heating_gas_oct",
|
290
|
+
"display_name_short": "heating_gas_oct",
|
291
|
+
"metadata_id": null,
|
292
|
+
"name": "heating_gas_oct"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"units": "J",
|
296
|
+
"objective_function": true,
|
297
|
+
"objective_function_index": 24,
|
298
|
+
"objective_function_target": 2261115778226.24,
|
299
|
+
"objective_function_group": "TRUE",
|
300
|
+
"scaling_factor": 46320380000.0,
|
301
|
+
"display_name": "heating_gas_nov",
|
302
|
+
"display_name_short": "heating_gas_nov",
|
303
|
+
"metadata_id": null,
|
304
|
+
"name": "heating_gas_nov"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"units": "J",
|
308
|
+
"objective_function": true,
|
309
|
+
"objective_function_index": 25,
|
310
|
+
"objective_function_target": 2657735386128.84,
|
311
|
+
"objective_function_group": "TRUE",
|
312
|
+
"scaling_factor": 46320380000.0,
|
313
|
+
"display_name": "heating_gas_dec",
|
314
|
+
"display_name_short": "heating_gas_dec",
|
315
|
+
"metadata_id": null,
|
316
|
+
"name": "heating_gas_dec"
|
317
|
+
}
|
318
|
+
],
|
319
|
+
"problem": {
|
320
|
+
"analysis_type": null,
|
321
|
+
"algorithm": {
|
322
|
+
"objective_functions": [
|
323
|
+
"total_natural_gas",
|
324
|
+
"total_electricity",
|
325
|
+
"cooling_electricity_jan",
|
326
|
+
"cooling_electricity_feb",
|
327
|
+
"cooling_electricity_mar",
|
328
|
+
"cooling_electricity_apr",
|
329
|
+
"cooling_electricity_may",
|
330
|
+
"cooling_electricity_jun",
|
331
|
+
"cooling_electricity_jul",
|
332
|
+
"cooling_electricity_aug",
|
333
|
+
"cooling_electricity_sep",
|
334
|
+
"cooling_electricity_oct",
|
335
|
+
"cooling_electricity_nov",
|
336
|
+
"cooling_electricity_dec",
|
337
|
+
"heating_gas_jan",
|
338
|
+
"heating_gas_feb",
|
339
|
+
"heating_gas_mar",
|
340
|
+
"heating_gas_apr",
|
341
|
+
"heating_gas_may",
|
342
|
+
"heating_gas_jun",
|
343
|
+
"heating_gas_jul",
|
344
|
+
"heating_gas_aug",
|
345
|
+
"heating_gas_sep",
|
346
|
+
"heating_gas_oct",
|
347
|
+
"heating_gas_nov",
|
348
|
+
"heating_gas_dec"
|
349
|
+
]
|
350
|
+
},
|
351
|
+
"workflow": [
|
352
|
+
{
|
353
|
+
"name": "adjust_thermostat_setpoints_by_degrees",
|
354
|
+
"display_name": "Adjust Thermostat Setpoints by Degrees",
|
355
|
+
"measure_type": "RubyMeasure",
|
356
|
+
"measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
|
357
|
+
"measure_definition_directory": "./spec/files/measures/example_measure_auto_directory_name",
|
358
|
+
"measure_definition_display_name": "Adjust Thermostat Setpoints by Degrees",
|
359
|
+
"measure_definition_name": "adjust_thermostat_setpoints_by_degrees",
|
360
|
+
"measure_definition_name_xml": null,
|
361
|
+
"measure_definition_uuid": "93ce77d7-3da2-4d05-a621-dbfc06cd8ac6",
|
362
|
+
"measure_definition_version_uuid": "e355a0b3-d575-4a7d-899e-852f62e2dba1",
|
363
|
+
"arguments": [
|
364
|
+
{
|
365
|
+
"display_name": "Alter Design Day Thermostats?",
|
366
|
+
"display_name_short": "Alter Design Day Thermostats?",
|
367
|
+
"name": "alter_design_days",
|
368
|
+
"value_type": "bool",
|
369
|
+
"default_value": false,
|
370
|
+
"value": false
|
371
|
+
}
|
372
|
+
],
|
373
|
+
"variables": [
|
374
|
+
{
|
375
|
+
"argument": {
|
376
|
+
"display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
377
|
+
"display_name_short": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
378
|
+
"name": "cooling_adjustment",
|
379
|
+
"value_type": "double",
|
380
|
+
"default_value": 0.0,
|
381
|
+
"value": 0.0
|
382
|
+
},
|
383
|
+
"display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
384
|
+
"display_name_short": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
385
|
+
"units": null,
|
386
|
+
"minimum": 0.0,
|
387
|
+
"maximum": 5.0,
|
388
|
+
"relation_to_output": null,
|
389
|
+
"uuid": "41818e81-d5c4-4346-9bca-b4c4c714295f",
|
390
|
+
"version_uuid": "07c1c4ee-bb5c-4831-bf46-0c6e111809cb",
|
391
|
+
"variable": true,
|
392
|
+
"static_value": 0.0,
|
393
|
+
"uncertainty_description": {
|
394
|
+
"type": "discrete_uncertain",
|
395
|
+
"attributes": [
|
396
|
+
{
|
397
|
+
"name": "discrete",
|
398
|
+
"values_and_weights": [
|
399
|
+
{
|
400
|
+
"value": -2,
|
401
|
+
"weight": 0.33
|
402
|
+
},
|
403
|
+
{
|
404
|
+
"value": 0,
|
405
|
+
"weight": 0.33
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"value": 2,
|
409
|
+
"weight": 0.33
|
410
|
+
}
|
411
|
+
]
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"name": "lower_bounds",
|
415
|
+
"value": 0.0
|
416
|
+
},
|
417
|
+
{
|
418
|
+
"name": "upper_bounds",
|
419
|
+
"value": 5.0
|
420
|
+
},
|
421
|
+
{
|
422
|
+
"name": "modes",
|
423
|
+
"value": 5.0
|
424
|
+
}
|
425
|
+
]
|
426
|
+
},
|
427
|
+
"workflow_index": 0
|
428
|
+
},
|
429
|
+
{
|
430
|
+
"argument": {
|
431
|
+
"display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
432
|
+
"display_name_short": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
433
|
+
"name": "heating_adjustment",
|
434
|
+
"value_type": "double",
|
435
|
+
"default_value": 0.0,
|
436
|
+
"value": 0.0
|
437
|
+
},
|
438
|
+
"display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
439
|
+
"display_name_short": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
440
|
+
"units": null,
|
441
|
+
"minimum": 0.0,
|
442
|
+
"maximum": 5.0,
|
443
|
+
"relation_to_output": null,
|
444
|
+
"uuid": "558494f7-8609-44b4-9cc5-cf4af53c0960",
|
445
|
+
"version_uuid": "fe6bed31-3258-4841-8512-da4db42fc959",
|
446
|
+
"variable": true,
|
447
|
+
"static_value": 0.0,
|
448
|
+
"uncertainty_description": {
|
449
|
+
"type": "discrete_uncertain",
|
450
|
+
"attributes": [
|
451
|
+
{
|
452
|
+
"name": "discrete",
|
453
|
+
"values_and_weights": [
|
454
|
+
{
|
455
|
+
"value": -2,
|
456
|
+
"weight": 0.33
|
457
|
+
},
|
458
|
+
{
|
459
|
+
"value": 0,
|
460
|
+
"weight": 0.33
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"value": 2,
|
464
|
+
"weight": 0.33
|
465
|
+
}
|
466
|
+
]
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"name": "lower_bounds",
|
470
|
+
"value": 0.0
|
471
|
+
},
|
472
|
+
{
|
473
|
+
"name": "upper_bounds",
|
474
|
+
"value": 5.0
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"name": "modes",
|
478
|
+
"value": 4.0
|
479
|
+
}
|
480
|
+
]
|
481
|
+
},
|
482
|
+
"workflow_index": 1
|
483
|
+
}
|
484
|
+
],
|
485
|
+
"workflow_index": 0
|
486
|
+
}
|
487
|
+
]
|
488
|
+
},
|
489
|
+
"seed": null,
|
490
|
+
"weather_file": null,
|
491
|
+
"file_format_version": 1
|
492
|
+
}
|
493
|
+
}
|