openstudio-analysis 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/openstudio/analysis/translator/excel.rb +6 -3
- data/lib/openstudio/analysis/version.rb +1 -1
- data/lib/openstudio/templates/discrete_uncertain_variable.json.erb +4 -4
- data/lib/openstudio/templates/pivot_variable.json.erb +1 -0
- data/lib/openstudio/templates/static_variable.json.erb +2 -2
- data/lib/openstudio/templates/uncertain_variable.json.erb +1 -1
- data/spec/files/export/analysis/discrete_seed.json +91 -91
- data/spec/files/export/analysis/discrete_seed.zip +0 -0
- data/spec/files/export/analysis/output_vars.json +91 -91
- data/spec/files/export/analysis/output_vars.zip +0 -0
- data/spec/files/export/analysis/small_seed.json +83 -83
- data/spec/files/export/analysis/small_seed.zip +0 -0
- data/spec/openstudio/analysis/server_api_spec.rb +1 -1
- data/spec/openstudio/analysis/translator/excel_spec.rb +11 -11
- metadata +2 -2
Binary file
|
@@ -26,64 +26,64 @@
|
|
26
26
|
"machine_name": "apply_the_measure_to_a_specific_space_type_or_to_the_entire_model.",
|
27
27
|
"name": "space_type",
|
28
28
|
"value": "*Entire Building*",
|
29
|
-
"uuid": "
|
30
|
-
"version_uuid": "
|
29
|
+
"uuid": "1a0171f0-7676-0131-72f6-2820663576f4",
|
30
|
+
"version_uuid": "1a0190a0-7676-0131-72f7-2820663576f4"
|
31
31
|
},
|
32
32
|
{
|
33
33
|
"display_name": "Increase in Material and Installation Cost for Lighting per Floor Area (%).",
|
34
34
|
"machine_name": "increase_in_material_and_installation_cost_for_lighting_per_floor_area_(%).",
|
35
35
|
"name": "material_and_installation_cost",
|
36
36
|
"value": 0.0,
|
37
|
-
"uuid": "
|
38
|
-
"version_uuid": "
|
37
|
+
"uuid": "1a01f030-7676-0131-72f9-2820663576f4",
|
38
|
+
"version_uuid": "1a021260-7676-0131-72fa-2820663576f4"
|
39
39
|
},
|
40
40
|
{
|
41
41
|
"display_name": "Increase in Demolition Costs for Lighting per Floor Area (%).",
|
42
42
|
"machine_name": "increase_in_demolition_costs_for_lighting_per_floor_area_(%).",
|
43
43
|
"name": "demolition_cost",
|
44
44
|
"value": 0.0,
|
45
|
-
"uuid": "
|
46
|
-
"version_uuid": "
|
45
|
+
"uuid": "1a0234d0-7676-0131-72fb-2820663576f4",
|
46
|
+
"version_uuid": "1a025300-7676-0131-72fc-2820663576f4"
|
47
47
|
},
|
48
48
|
{
|
49
49
|
"display_name": "Years Until Costs Start (whole years).",
|
50
50
|
"machine_name": "years_until_costs_start_(whole_years).",
|
51
51
|
"name": "years_until_costs_start",
|
52
52
|
"value": 0,
|
53
|
-
"uuid": "
|
54
|
-
"version_uuid": "
|
53
|
+
"uuid": "1a027560-7676-0131-72fd-2820663576f4",
|
54
|
+
"version_uuid": "1a029260-7676-0131-72fe-2820663576f4"
|
55
55
|
},
|
56
56
|
{
|
57
57
|
"display_name": "Demolition Costs Occur During Initial Construction?",
|
58
58
|
"machine_name": "demolition_costs_occur_during_initial_construction?",
|
59
59
|
"name": "demo_cost_initial_const",
|
60
60
|
"value": true,
|
61
|
-
"uuid": "
|
62
|
-
"version_uuid": "
|
61
|
+
"uuid": "1a02b270-7676-0131-72ff-2820663576f4",
|
62
|
+
"version_uuid": "1a02cfd0-7676-0131-7300-2820663576f4"
|
63
63
|
},
|
64
64
|
{
|
65
65
|
"display_name": "Expected Life (whole years).",
|
66
66
|
"machine_name": "expected_life_(whole_years).",
|
67
67
|
"name": "expected_life",
|
68
68
|
"value": 15,
|
69
|
-
"uuid": "
|
70
|
-
"version_uuid": "
|
69
|
+
"uuid": "1a02efc0-7676-0131-7301-2820663576f4",
|
70
|
+
"version_uuid": "1a031100-7676-0131-7302-2820663576f4"
|
71
71
|
},
|
72
72
|
{
|
73
73
|
"display_name": "Increase O & M Costs for Lighting per Floor Area (%).",
|
74
74
|
"machine_name": "increase_o_&_m_costs_for_lighting_per_floor_area_(%).",
|
75
75
|
"name": "om_cost",
|
76
76
|
"value": 0.0,
|
77
|
-
"uuid": "
|
78
|
-
"version_uuid": "
|
77
|
+
"uuid": "1a033450-7676-0131-7303-2820663576f4",
|
78
|
+
"version_uuid": "1a0354d0-7676-0131-7304-2820663576f4"
|
79
79
|
},
|
80
80
|
{
|
81
81
|
"display_name": "O & M Frequency (whole years).",
|
82
82
|
"machine_name": "o_&_m_frequency_(whole_years).",
|
83
83
|
"name": "om_frequency",
|
84
84
|
"value": 1,
|
85
|
-
"uuid": "
|
86
|
-
"version_uuid": "
|
85
|
+
"uuid": "1a0378f0-7676-0131-7305-2820663576f4",
|
86
|
+
"version_uuid": "1a039a00-7676-0131-7306-2820663576f4"
|
87
87
|
}
|
88
88
|
],
|
89
89
|
"bcl_measure_directory": "./measures/reduce_lighting_loads_by_percentage",
|
@@ -91,21 +91,21 @@
|
|
91
91
|
"bcl_measure_class_name_ADDME": "ReduceLightingLoadsByPercentage",
|
92
92
|
"measure_definition_class_name_CHANGE_TO_ME": "ReduceLightingLoadsByPercentage",
|
93
93
|
"measure_definition_class_name": "ReduceLightingLoadsByPercentage",
|
94
|
-
"bcl_measure_uuid": "
|
95
|
-
"measure_definition_uuid_CHANGE_TO_ME": "
|
96
|
-
"bcl_measure_version_uuid": "
|
97
|
-
"measure_definition_version_uuid_CHANGE_TO_ME": "
|
94
|
+
"bcl_measure_uuid": "1a006430-7676-0131-72f0-2820663576f4",
|
95
|
+
"measure_definition_uuid_CHANGE_TO_ME": "1a00b6a0-7676-0131-72f1-2820663576f4",
|
96
|
+
"bcl_measure_version_uuid": "1a00ddd0-7676-0131-72f2-2820663576f4",
|
97
|
+
"measure_definition_version_uuid_CHANGE_TO_ME": "1a010030-7676-0131-72f3-2820663576f4",
|
98
98
|
"measure_type": "RubyMeasure",
|
99
99
|
"name": "reduce_lighting_loads_by_percentage",
|
100
100
|
"display_name": "Reduce Lighting Loads by Percentage",
|
101
|
-
"uuid": "
|
101
|
+
"uuid": "1a012520-7676-0131-72f4-2820663576f4",
|
102
102
|
"variables": [
|
103
103
|
{
|
104
104
|
"argument": {
|
105
105
|
"display_name": "Lighting Power Reduction",
|
106
106
|
"machine_name": "lighting_power_reduction",
|
107
107
|
"name": "lighting_power_reduction_percent",
|
108
|
-
"uuid": "
|
108
|
+
"uuid": "1a01bad0-7676-0131-72f8-2820663576f4",
|
109
109
|
"version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
|
110
110
|
},
|
111
111
|
"display_name": "Lighting Power Reduction",
|
@@ -143,7 +143,7 @@
|
|
143
143
|
"version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
|
144
144
|
}
|
145
145
|
],
|
146
|
-
"version_uuid": "
|
146
|
+
"version_uuid": "1a014d70-7676-0131-72f5-2820663576f4",
|
147
147
|
"workflow_index": 0,
|
148
148
|
"workflow_step_type": "Measure"
|
149
149
|
},
|
@@ -154,32 +154,32 @@
|
|
154
154
|
"machine_name": "apply_the_measure_to_a_specific_space_type_or_to_the_entire_model.",
|
155
155
|
"name": "space_type",
|
156
156
|
"value": "*Entire Building*",
|
157
|
-
"uuid": "
|
158
|
-
"version_uuid": "
|
157
|
+
"uuid": "1a047be0-7676-0131-730d-2820663576f4",
|
158
|
+
"version_uuid": "1a0499d0-7676-0131-730e-2820663576f4"
|
159
159
|
},
|
160
160
|
{
|
161
161
|
"display_name": "Increase in Material and Installation Costs for Building per Affected Floor Area ($/ft^2).",
|
162
162
|
"machine_name": "increase_in_material_and_installation_costs_for_building_per_affected_floor_area_($/ft^2).",
|
163
163
|
"name": "material_and_installation_cost",
|
164
164
|
"value": 0.0,
|
165
|
-
"uuid": "
|
166
|
-
"version_uuid": "
|
165
|
+
"uuid": "1a04e840-7676-0131-7310-2820663576f4",
|
166
|
+
"version_uuid": "1a0507f0-7676-0131-7311-2820663576f4"
|
167
167
|
},
|
168
168
|
{
|
169
169
|
"display_name": "O & M Costs for Construction per Affected Floor Area ($/ft^2).",
|
170
170
|
"machine_name": "o_&_m_costs_for_construction_per_affected_floor_area_($/ft^2).",
|
171
171
|
"name": "om_cost",
|
172
172
|
"value": 0.0,
|
173
|
-
"uuid": "
|
174
|
-
"version_uuid": "
|
173
|
+
"uuid": "1a052d00-7676-0131-7312-2820663576f4",
|
174
|
+
"version_uuid": "1a054d20-7676-0131-7313-2820663576f4"
|
175
175
|
},
|
176
176
|
{
|
177
177
|
"display_name": "O & M Frequency (whole years).",
|
178
178
|
"machine_name": "o_&_m_frequency_(whole_years).",
|
179
179
|
"name": "om_frequency",
|
180
180
|
"value": 1,
|
181
|
-
"uuid": "
|
182
|
-
"version_uuid": "
|
181
|
+
"uuid": "1a056e30-7676-0131-7314-2820663576f4",
|
182
|
+
"version_uuid": "1a058b00-7676-0131-7315-2820663576f4"
|
183
183
|
}
|
184
184
|
],
|
185
185
|
"bcl_measure_directory": "./measures/reduce_space_infiltration_by_percentage",
|
@@ -187,21 +187,21 @@
|
|
187
187
|
"bcl_measure_class_name_ADDME": "ReduceSpaceInfiltrationByPercentage",
|
188
188
|
"measure_definition_class_name_CHANGE_TO_ME": "ReduceSpaceInfiltrationByPercentage",
|
189
189
|
"measure_definition_class_name": "ReduceSpaceInfiltrationByPercentage",
|
190
|
-
"bcl_measure_uuid": "
|
191
|
-
"measure_definition_uuid_CHANGE_TO_ME": "
|
192
|
-
"bcl_measure_version_uuid": "
|
193
|
-
"measure_definition_version_uuid_CHANGE_TO_ME": "
|
190
|
+
"bcl_measure_uuid": "1a03c5f0-7676-0131-7307-2820663576f4",
|
191
|
+
"measure_definition_uuid_CHANGE_TO_ME": "1a03e810-7676-0131-7308-2820663576f4",
|
192
|
+
"bcl_measure_version_uuid": "1a0405a0-7676-0131-7309-2820663576f4",
|
193
|
+
"measure_definition_version_uuid_CHANGE_TO_ME": "1a042230-7676-0131-730a-2820663576f4",
|
194
194
|
"measure_type": "RubyMeasure",
|
195
195
|
"name": "reducespaceinfiltrationbypercentage",
|
196
196
|
"display_name": "ReduceSpaceInfiltrationByPercentage",
|
197
|
-
"uuid": "
|
197
|
+
"uuid": "1a043e80-7676-0131-730b-2820663576f4",
|
198
198
|
"variables": [
|
199
199
|
{
|
200
200
|
"argument": {
|
201
201
|
"display_name": "Space Infiltration Power Reduction",
|
202
202
|
"machine_name": "space_infiltration_power_reduction",
|
203
203
|
"name": "space_infiltration_reduction_percent",
|
204
|
-
"uuid": "
|
204
|
+
"uuid": "1a04c330-7676-0131-730f-2820663576f4",
|
205
205
|
"version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
|
206
206
|
},
|
207
207
|
"display_name": "Space Infiltration Power Reduction",
|
@@ -239,7 +239,7 @@
|
|
239
239
|
"version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
|
240
240
|
}
|
241
241
|
],
|
242
|
-
"version_uuid": "
|
242
|
+
"version_uuid": "1a045b70-7676-0131-730c-2820663576f4",
|
243
243
|
"workflow_index": 1,
|
244
244
|
"workflow_step_type": "Measure"
|
245
245
|
},
|
@@ -250,8 +250,8 @@
|
|
250
250
|
"machine_name": "alter_design_day_thermostats?",
|
251
251
|
"name": "alter_design_days",
|
252
252
|
"value": false,
|
253
|
-
"uuid": "
|
254
|
-
"version_uuid": "
|
253
|
+
"uuid": "1a06c640-7676-0131-731e-2820663576f4",
|
254
|
+
"version_uuid": "1a06e520-7676-0131-731f-2820663576f4"
|
255
255
|
}
|
256
256
|
],
|
257
257
|
"bcl_measure_directory": "./measures/adjust_theromstat_setpoints_by_degrees",
|
@@ -259,21 +259,21 @@
|
|
259
259
|
"bcl_measure_class_name_ADDME": "AdjustTheromstatSetpointsByDegrees",
|
260
260
|
"measure_definition_class_name_CHANGE_TO_ME": "AdjustTheromstatSetpointsByDegrees",
|
261
261
|
"measure_definition_class_name": "AdjustTheromstatSetpointsByDegrees",
|
262
|
-
"bcl_measure_uuid": "
|
263
|
-
"measure_definition_uuid_CHANGE_TO_ME": "
|
264
|
-
"bcl_measure_version_uuid": "
|
265
|
-
"measure_definition_version_uuid_CHANGE_TO_ME": "
|
262
|
+
"bcl_measure_uuid": "1a05b130-7676-0131-7316-2820663576f4",
|
263
|
+
"measure_definition_uuid_CHANGE_TO_ME": "1a05d070-7676-0131-7317-2820663576f4",
|
264
|
+
"bcl_measure_version_uuid": "1a05ef20-7676-0131-7318-2820663576f4",
|
265
|
+
"measure_definition_version_uuid_CHANGE_TO_ME": "1a060f80-7676-0131-7319-2820663576f4",
|
266
266
|
"measure_type": "RubyMeasure",
|
267
267
|
"name": "adjust_thermostat_setpoints_by_degrees",
|
268
268
|
"display_name": "Adjust Thermostat Setpoints by Degrees",
|
269
|
-
"uuid": "
|
269
|
+
"uuid": "1a062ea0-7676-0131-731a-2820663576f4",
|
270
270
|
"variables": [
|
271
271
|
{
|
272
272
|
"argument": {
|
273
273
|
"display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
274
274
|
"machine_name": "degrees_fahrenheit_to_adjust_cooling_setpoint_by.",
|
275
275
|
"name": "cooling_adjustment",
|
276
|
-
"uuid": "
|
276
|
+
"uuid": "1a067860-7676-0131-731c-2820663576f4",
|
277
277
|
"version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
|
278
278
|
},
|
279
279
|
"display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
@@ -315,7 +315,7 @@
|
|
315
315
|
"display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
316
316
|
"machine_name": "degrees_fahrenheit_to_adjust_heating_setpoint_by.",
|
317
317
|
"name": "heating_adjustment",
|
318
|
-
"uuid": "
|
318
|
+
"uuid": "1a06a0e0-7676-0131-731d-2820663576f4",
|
319
319
|
"version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
|
320
320
|
},
|
321
321
|
"display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
@@ -353,7 +353,7 @@
|
|
353
353
|
"version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
|
354
354
|
}
|
355
355
|
],
|
356
|
-
"version_uuid": "
|
356
|
+
"version_uuid": "1a065200-7676-0131-731b-2820663576f4",
|
357
357
|
"workflow_index": 2,
|
358
358
|
"workflow_step_type": "Measure"
|
359
359
|
},
|
@@ -364,24 +364,24 @@
|
|
364
364
|
"machine_name": "increase_in_material_and_installation_costs_for_construction_per_area_used_($/ft^2).",
|
365
365
|
"name": "material_cost_increase_ip",
|
366
366
|
"value": 0.0,
|
367
|
-
"uuid": "
|
368
|
-
"version_uuid": "
|
367
|
+
"uuid": "1a0805a0-7676-0131-7327-2820663576f4",
|
368
|
+
"version_uuid": "1a082780-7676-0131-7328-2820663576f4"
|
369
369
|
},
|
370
370
|
{
|
371
371
|
"display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
|
372
372
|
"machine_name": "one_time_retrofit_cost_to_add_insulation_to_construction_($/ft^2).",
|
373
373
|
"name": "one_time_retrofit_cost_ip",
|
374
374
|
"value": 0.0,
|
375
|
-
"uuid": "
|
376
|
-
"version_uuid": "
|
375
|
+
"uuid": "1a084b40-7676-0131-7329-2820663576f4",
|
376
|
+
"version_uuid": "1a0869c0-7676-0131-732a-2820663576f4"
|
377
377
|
},
|
378
378
|
{
|
379
379
|
"display_name": "Year to Incur One Time Retrofit Cost (whole years).",
|
380
380
|
"machine_name": "year_to_incur_one_time_retrofit_cost_(whole_years).",
|
381
381
|
"name": "years_until_retrofit_cost",
|
382
382
|
"value": 0,
|
383
|
-
"uuid": "
|
384
|
-
"version_uuid": "
|
383
|
+
"uuid": "1a089280-7676-0131-732b-2820663576f4",
|
384
|
+
"version_uuid": "1a08b1c0-7676-0131-732c-2820663576f4"
|
385
385
|
}
|
386
386
|
],
|
387
387
|
"bcl_measure_directory": "./measures/increase_insulation_r_value_for_exterior_walls",
|
@@ -389,21 +389,21 @@
|
|
389
389
|
"bcl_measure_class_name_ADDME": "IncreaseInsulationRValueForExteriorWalls",
|
390
390
|
"measure_definition_class_name_CHANGE_TO_ME": "IncreaseInsulationRValueForExteriorWalls",
|
391
391
|
"measure_definition_class_name": "IncreaseInsulationRValueForExteriorWalls",
|
392
|
-
"bcl_measure_uuid": "
|
393
|
-
"measure_definition_uuid_CHANGE_TO_ME": "
|
394
|
-
"bcl_measure_version_uuid": "
|
395
|
-
"measure_definition_version_uuid_CHANGE_TO_ME": "
|
392
|
+
"bcl_measure_uuid": "1a070b60-7676-0131-7320-2820663576f4",
|
393
|
+
"measure_definition_uuid_CHANGE_TO_ME": "1a072f40-7676-0131-7321-2820663576f4",
|
394
|
+
"bcl_measure_version_uuid": "1a075090-7676-0131-7322-2820663576f4",
|
395
|
+
"measure_definition_version_uuid_CHANGE_TO_ME": "1a077250-7676-0131-7323-2820663576f4",
|
396
396
|
"measure_type": "RubyMeasure",
|
397
397
|
"name": "set_r_value_of_insulation_for_exterior_walls_to_a_specific_value",
|
398
398
|
"display_name": "Set R-value of Insulation for Exterior Walls to a Specific Value",
|
399
|
-
"uuid": "
|
399
|
+
"uuid": "1a078fd0-7676-0131-7324-2820663576f4",
|
400
400
|
"variables": [
|
401
401
|
{
|
402
402
|
"argument": {
|
403
403
|
"display_name": "Wall R Value",
|
404
404
|
"machine_name": "wall_r_value",
|
405
405
|
"name": "r_value",
|
406
|
-
"uuid": "
|
406
|
+
"uuid": "1a07d350-7676-0131-7326-2820663576f4",
|
407
407
|
"version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
|
408
408
|
},
|
409
409
|
"display_name": "Wall R Value",
|
@@ -441,7 +441,7 @@
|
|
441
441
|
"version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
|
442
442
|
}
|
443
443
|
],
|
444
|
-
"version_uuid": "
|
444
|
+
"version_uuid": "1a07ad20-7676-0131-7325-2820663576f4",
|
445
445
|
"workflow_index": 3,
|
446
446
|
"workflow_step_type": "Measure"
|
447
447
|
},
|
@@ -452,24 +452,24 @@
|
|
452
452
|
"machine_name": "increase_in_material_and_installation_costs_for_construction_per_area_used_($/ft^2).",
|
453
453
|
"name": "material_cost_increase_ip",
|
454
454
|
"value": 0.0,
|
455
|
-
"uuid": "
|
456
|
-
"version_uuid": "
|
455
|
+
"uuid": "1a09c400-7676-0131-7334-2820663576f4",
|
456
|
+
"version_uuid": "1a09e430-7676-0131-7335-2820663576f4"
|
457
457
|
},
|
458
458
|
{
|
459
459
|
"display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
|
460
460
|
"machine_name": "one_time_retrofit_cost_to_add_insulation_to_construction_($/ft^2).",
|
461
461
|
"name": "one_time_retrofit_cost_ip",
|
462
462
|
"value": 0.0,
|
463
|
-
"uuid": "
|
464
|
-
"version_uuid": "
|
463
|
+
"uuid": "1a0a0840-7676-0131-7336-2820663576f4",
|
464
|
+
"version_uuid": "1a0a2540-7676-0131-7337-2820663576f4"
|
465
465
|
},
|
466
466
|
{
|
467
467
|
"display_name": "Year to Incur One Time Retrofit Cost (whole years).",
|
468
468
|
"machine_name": "year_to_incur_one_time_retrofit_cost_(whole_years).",
|
469
469
|
"name": "years_until_retrofit_cost",
|
470
470
|
"value": 0,
|
471
|
-
"uuid": "
|
472
|
-
"version_uuid": "
|
471
|
+
"uuid": "1a0a4690-7676-0131-7338-2820663576f4",
|
472
|
+
"version_uuid": "1a0a6790-7676-0131-7339-2820663576f4"
|
473
473
|
}
|
474
474
|
],
|
475
475
|
"bcl_measure_directory": "./measures/increase_insulation_r_value_for_roofs",
|
@@ -477,21 +477,21 @@
|
|
477
477
|
"bcl_measure_class_name_ADDME": "IncreaseInsulationRValueForRoofs",
|
478
478
|
"measure_definition_class_name_CHANGE_TO_ME": "IncreaseInsulationRValueForRoofs",
|
479
479
|
"measure_definition_class_name": "IncreaseInsulationRValueForRoofs",
|
480
|
-
"bcl_measure_uuid": "
|
481
|
-
"measure_definition_uuid_CHANGE_TO_ME": "
|
482
|
-
"bcl_measure_version_uuid": "
|
483
|
-
"measure_definition_version_uuid_CHANGE_TO_ME": "
|
480
|
+
"bcl_measure_uuid": "1a08da90-7676-0131-732d-2820663576f4",
|
481
|
+
"measure_definition_uuid_CHANGE_TO_ME": "1a08f9f0-7676-0131-732e-2820663576f4",
|
482
|
+
"bcl_measure_version_uuid": "1a0918d0-7676-0131-732f-2820663576f4",
|
483
|
+
"measure_definition_version_uuid_CHANGE_TO_ME": "1a093880-7676-0131-7330-2820663576f4",
|
484
484
|
"measure_type": "RubyMeasure",
|
485
485
|
"name": "set_r_value_of_insulation_for_roofs_to_a_specific_value",
|
486
486
|
"display_name": "Set R-value of Insulation for Roofs to a Specific Value",
|
487
|
-
"uuid": "
|
487
|
+
"uuid": "1a0958c0-7676-0131-7331-2820663576f4",
|
488
488
|
"variables": [
|
489
489
|
{
|
490
490
|
"argument": {
|
491
491
|
"display_name": "Roof R Value",
|
492
492
|
"machine_name": "roof_r_value",
|
493
493
|
"name": "r_value",
|
494
|
-
"uuid": "
|
494
|
+
"uuid": "1a09a290-7676-0131-7333-2820663576f4",
|
495
495
|
"version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
|
496
496
|
},
|
497
497
|
"display_name": "Roof R Value",
|
@@ -529,7 +529,7 @@
|
|
529
529
|
"version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
|
530
530
|
}
|
531
531
|
],
|
532
|
-
"version_uuid": "
|
532
|
+
"version_uuid": "1a0977c0-7676-0131-7332-2820663576f4",
|
533
533
|
"workflow_index": 4,
|
534
534
|
"workflow_step_type": "Measure"
|
535
535
|
},
|
@@ -540,8 +540,8 @@
|
|
540
540
|
"machine_name": "apply_the_measure_to_a_specific_space_type_or_to_the_entire_model.",
|
541
541
|
"name": "space_type",
|
542
542
|
"value": "*Entire Building*",
|
543
|
-
"uuid": "
|
544
|
-
"version_uuid": "
|
543
|
+
"uuid": "1a0b4670-7676-0131-7340-2820663576f4",
|
544
|
+
"version_uuid": "1a0b63f0-7676-0131-7341-2820663576f4"
|
545
545
|
}
|
546
546
|
],
|
547
547
|
"bcl_measure_directory": "./measures/reduce_ventilation_by_percentage",
|
@@ -549,21 +549,21 @@
|
|
549
549
|
"bcl_measure_class_name_ADDME": "ReduceVentilationByPercentage",
|
550
550
|
"measure_definition_class_name_CHANGE_TO_ME": "ReduceVentilationByPercentage",
|
551
551
|
"measure_definition_class_name": "ReduceVentilationByPercentage",
|
552
|
-
"bcl_measure_uuid": "
|
553
|
-
"measure_definition_uuid_CHANGE_TO_ME": "
|
554
|
-
"bcl_measure_version_uuid": "
|
555
|
-
"measure_definition_version_uuid_CHANGE_TO_ME": "
|
552
|
+
"bcl_measure_uuid": "1a0a8c30-7676-0131-733a-2820663576f4",
|
553
|
+
"measure_definition_uuid_CHANGE_TO_ME": "1a0aac70-7676-0131-733b-2820663576f4",
|
554
|
+
"bcl_measure_version_uuid": "1a0ac9c0-7676-0131-733c-2820663576f4",
|
555
|
+
"measure_definition_version_uuid_CHANGE_TO_ME": "1a0ae5c0-7676-0131-733d-2820663576f4",
|
556
556
|
"measure_type": "RubyMeasure",
|
557
557
|
"name": "reduce_ventilation_by_percentage",
|
558
558
|
"display_name": "Reduce Ventilation By Percentage",
|
559
|
-
"uuid": "
|
559
|
+
"uuid": "1a0b0310-7676-0131-733e-2820663576f4",
|
560
560
|
"variables": [
|
561
561
|
{
|
562
562
|
"argument": {
|
563
563
|
"display_name": "Design Specification Outdoor Air Reduction (%).",
|
564
564
|
"machine_name": "design_specification_outdoor_air_reduction_(%).",
|
565
565
|
"name": "design_spec_outdoor_air_reduction_percent",
|
566
|
-
"uuid": "
|
566
|
+
"uuid": "1a0b8860-7676-0131-7342-2820663576f4",
|
567
567
|
"version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
|
568
568
|
},
|
569
569
|
"display_name": "Design Specification Outdoor Air Reduction (%).",
|
@@ -601,7 +601,7 @@
|
|
601
601
|
"version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
|
602
602
|
}
|
603
603
|
],
|
604
|
-
"version_uuid": "
|
604
|
+
"version_uuid": "1a0b2200-7676-0131-733f-2820663576f4",
|
605
605
|
"workflow_index": 5,
|
606
606
|
"workflow_step_type": "Measure"
|
607
607
|
}
|
Binary file
|
@@ -15,7 +15,7 @@ describe OpenStudio::Analysis::ServerApi do
|
|
15
15
|
it "should have a not localhost URL" do
|
16
16
|
options = {hostname: "http://abc.def.ghi"}
|
17
17
|
api = OpenStudio::Analysis::ServerApi.new(options)
|
18
|
-
api.hostname.
|
18
|
+
expect(api.hostname).to eq(options[:hostname])
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
@@ -9,19 +9,19 @@ describe OpenStudio::Analysis::Translator::Excel do
|
|
9
9
|
end
|
10
10
|
|
11
11
|
it "should have measure path" do
|
12
|
-
@excel.measure_path.
|
12
|
+
expect(@excel.measure_path).to eq("./measures")
|
13
13
|
end
|
14
14
|
|
15
15
|
it "should have excel data" do
|
16
16
|
puts @excel
|
17
|
-
@excel.
|
17
|
+
expect(@excel).not_to be_nil
|
18
18
|
end
|
19
19
|
|
20
20
|
it "should process the excel file" do
|
21
|
-
@excel.process.
|
21
|
+
expect(@excel.process).to eq(true)
|
22
22
|
|
23
23
|
# after processing the measures directory should be what is in the excel file
|
24
|
-
@excel.measure_path.
|
24
|
+
expect(@excel.measure_path).to eq(File.expand_path(File.join("spec", "files", "measures")))
|
25
25
|
end
|
26
26
|
|
27
27
|
it "should not work because no variables defined" do
|
@@ -72,12 +72,12 @@ describe OpenStudio::Analysis::Translator::Excel do
|
|
72
72
|
@excel.process
|
73
73
|
end
|
74
74
|
it "should have a model" do
|
75
|
-
@excel.models.first.
|
76
|
-
|
75
|
+
expect(@excel.models.first).not_to be_nil
|
76
|
+
expect(@excel.models.first[:name]).to eq("small_seed")
|
77
77
|
end
|
78
78
|
|
79
79
|
it "should have a weather file" do
|
80
|
-
@excel.weather_files.first.
|
80
|
+
expect(@excel.weather_files.first).not_to be_nil
|
81
81
|
puts @excel.weather_files.first
|
82
82
|
expect(@excel.weather_files.first.include?("partial_weather.epw")).to eq(true)
|
83
83
|
end
|
@@ -191,12 +191,12 @@ describe OpenStudio::Analysis::Translator::Excel do
|
|
191
191
|
end
|
192
192
|
|
193
193
|
it "should have a model" do
|
194
|
-
@excel.models.first.
|
195
|
-
|
194
|
+
expect(@excel.models.first).not_to be_nil
|
195
|
+
expect(@excel.models.first[:name]).to eq("output_vars")
|
196
196
|
end
|
197
197
|
|
198
198
|
it "should have a weather file" do
|
199
|
-
@excel.weather_files.first.
|
199
|
+
expect(@excel.weather_files.first).not_to be_nil
|
200
200
|
puts @excel.weather_files.first
|
201
201
|
expect(@excel.weather_files.first.include?("partial_weather.epw")).to eq(true)
|
202
202
|
end
|
@@ -261,7 +261,7 @@ describe OpenStudio::Analysis::Translator::Excel do
|
|
261
261
|
puts @excel.settings.inspect
|
262
262
|
expect(@excel.settings["user_id"]).to eq('new_user')
|
263
263
|
expect(@excel.settings["openstudio_server_version"]).to eq('1.3.2')
|
264
|
-
expect(@excel.
|
264
|
+
expect(@excel.cluster_name).to eq('analysis_cluster')
|
265
265
|
puts @excel.run_setup.inspect
|
266
266
|
expect(@excel.run_setup["analysis_name"]).to eq('LHS Example Project')
|
267
267
|
end
|