openstudio-analysis 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b97d05c22286ea80b3cc548fd74542087ed760af
4
- data.tar.gz: 3903c6767cbd66cd1eee17b64a55401dfc017dec
3
+ metadata.gz: cb69b7a18a9d452627f05a2c220023222134f2f4
4
+ data.tar.gz: 105ff039f993bb29c25b88b581dba254761eeb36
5
5
  SHA512:
6
- metadata.gz: 1cd95c8d34e9769c6d4ec5da9b27c46559fa4693c6b3e31f0375724941c3b53dd8b344516ee24958fa55d9473357bf31fd47ea4723faf50f054679274a52751e
7
- data.tar.gz: cf7a4e110ac6152d44a808d8b2eef0bc21e6de7fe747161845eeb16ad0414388575d2c1c776f2ec9a1bd662027bb9870476f0fcf96f8c1f138c930dd5cb97c47
6
+ metadata.gz: 6fc03e21d59ca92184b19445b31022b7a72434d0c03c6ca5a92bca3d564aa1eca2cf6fd25d1588de271f0b2d2f397ccc0af79715a7a6a9412d1d30292dbf49d0
7
+ data.tar.gz: e5f9dfb8ea5818975779bfba3a0149e56d0c22f49f14ea8294f5ee6315ce8c2ea767226c89fca1e47f9bf47a41c3170904ffcddecb26964f2f2f61d1871563b3
data/CHANGELOG.md CHANGED
@@ -1,13 +1,17 @@
1
1
  OpenStudio Analysis Gem Change Log
2
2
  ==================================
3
3
 
4
- Version 0.1.11
4
+ Version 0.1.12/13
5
5
  -------------
6
6
 
7
7
  * Add machine name to pivot variables
8
8
 
9
9
  * Force generation of unique UUIDs
10
10
 
11
+ * Add data types to arguments and variables for XML based measures
12
+
13
+ * Move Pivot variable type to Type (not sample method)
14
+
11
15
  Version 0.1.11
12
16
  -------------
13
17
 
@@ -240,17 +240,18 @@ module OpenStudio
240
240
  end
241
241
  raise "Argument '#{@variable['name']}' did not process. Most likely it did not have all parameters defined." if ag.nil?
242
242
  wf['arguments'] << ag
243
- else # must be a variable
243
+ else # must be a variable [either pivot or normal variable]
244
244
  vr = nil
245
245
  if @variable['method'] == 'static'
246
246
  # add this as an argument
247
247
  vr = JSON.parse(static_variable_template.result(get_binding))
248
248
  elsif @variable['method'] == 'lhs'
249
+ # TODO: remove enum and choice as this is not the variable type
249
250
  if @variable['type'] == 'enum' || @variable['type'].downcase == 'choice'
250
251
  @values_and_weights = @variable['distribution']['enumerations'].map { |v| {value: v} }.to_json
251
252
  vr = JSON.parse(discrete_uncertain_variable_template.result(get_binding))
252
253
  elsif @variable['distribution']['type'] == 'discrete_uncertain'
253
- puts @variable.inspect
254
+ #puts @variable.inspect
254
255
  weights = nil
255
256
  if @variable['distribution']['discrete_weights'] && @variable['distribution']['discrete_weights'] != ''
256
257
  weights = eval(@variable['distribution']['discrete_weights'])
@@ -271,13 +272,18 @@ module OpenStudio
271
272
  @values_and_weights = values.map { |v| {value: v} }.to_json
272
273
  end
273
274
 
274
- vr = JSON.parse(discrete_uncertain_variable_template.result(get_binding))
275
+ if @variable['variable_type'] == 'pivot'
276
+ vr = JSON.parse(pivot_variable_template.result(get_binding))
277
+ else
278
+ vr = JSON.parse(discrete_uncertain_variable_template.result(get_binding))
279
+ end
275
280
  else
276
- vr = JSON.parse(uncertain_variable_template.result(get_binding))
281
+ if @variable['variable_type'] == 'pivot'
282
+ raise "Currently unable to pivot on continuous variables... stay tuned."
283
+ else
284
+ vr = JSON.parse(uncertain_variable_template.result(get_binding))
285
+ end
277
286
  end
278
- elsif @variable['method'] == 'pivot'
279
- @values_and_weights = @variable['distribution']['enumerations'].map { |v| {value: v} }.to_json
280
- vr =JSON.parse(pivot_variable_template.result(get_binding))
281
287
  end
282
288
  raise "variable was nil after processing" if vr.nil?
283
289
  wf['variables'] << vr
@@ -432,7 +438,7 @@ module OpenStudio
432
438
  @version = row[1].chomp if row[0] == "Spreadsheet Version"
433
439
  @settings["#{row[0].snake_case}"] = row[1] if row[0]
434
440
  @cluster_name = @settings["cluster_name"].snake_case if @settings["cluster_name"]
435
-
441
+
436
442
  # type some of the values that we know
437
443
  @settings["proxy_port"] = @settings["proxy_port"].to_i if @settings["proxy_port"]
438
444
  elsif b_run_setup
@@ -595,7 +601,7 @@ module OpenStudio
595
601
  icnt += 1
596
602
  # puts "Parsing line: #{icnt}"
597
603
  next if icnt <= 3 # skip the first 3 lines of the file
598
-
604
+
599
605
  var = {}
600
606
  var['display_name'] = row[0].strip
601
607
  var['name'] = row[1]
@@ -608,7 +614,7 @@ module OpenStudio
608
614
  else
609
615
  var['objective_function_index'] = nil
610
616
  end
611
- var['objective_function_target'] = row[4]
617
+ var['objective_function_target'] = row[4]
612
618
  data['output_variables'] << var
613
619
  end
614
620
 
@@ -1,5 +1,5 @@
1
1
  module OpenStudio
2
2
  module Analysis
3
- VERSION = "0.1.12"
3
+ VERSION = "0.1.13"
4
4
  end
5
5
  end
@@ -2,7 +2,6 @@
2
2
  "analysis": {
3
3
  "display_name": "<%= @name %>",
4
4
  "name": "<%= @name.downcase.gsub(" ", "_") %>",
5
- "parameter_space": [],
6
5
  "output_variables": [],
7
6
  "problem": {
8
7
  "algorithm": {
@@ -3,6 +3,7 @@
3
3
  "machine_name": "<%= @variable['machine_name'] %>",
4
4
  "name": "<%= @variable['name'] %>",
5
5
  "value": <%= @static_value %>,
6
+ "value_type": "<%= @variable['type'] %>",
6
7
  "uuid": "<%= UUID.new.generate %>",
7
8
  "version_uuid": "<%= UUID.new.generate %>"
8
9
  }
@@ -11,6 +11,7 @@
11
11
  "machine_name": "<%= @variable['machine_name'] %>",
12
12
  "name": "<%= @variable['machine_name'] %>",
13
13
  "units": "<%= @variable['units'] %>",
14
+ "value_type": "<%= @variable['type'] %>",
14
15
  "variable": true,
15
16
  "variable_ADDME": true,
16
17
  "relation_to_output": "<%= @variable['relation_to_eui'] %>",
@@ -4,29 +4,30 @@
4
4
  "machine_name": "<%= @variable['machine_name'] %>",
5
5
  "name": "<%= @variable['name'] %>",
6
6
  "required": false,
7
- "uuid": "a0618d15-bb0b-4494-a72f-8ad628693a7e",
8
- "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
7
+ "uuid": "<%= UUID.new.generate %>",
8
+ "version_uuid": "<%= UUID.new.generate %>"
9
9
  },
10
10
  "display_name": "<%= @variable['display_name'] %>",
11
11
  "machine_name": "<%= @variable['machine_name'] %>",
12
12
  "name": "<%= @variable['machine_name'] %>",
13
13
  "units": "<%= @variable['units'] %>",
14
+ "value_type": "<%= @variable['type'] %>",
14
15
  "pivot": true,
15
16
  "pivot_ADDME": true,
16
- "relation_to_output": null,
17
+ "relation_to_output": "<%= @variable['relation_to_eui'] %>",
17
18
  "uncertainty_description": {
18
19
  "attributes": [
19
20
  {
20
21
  "name": "discrete",
21
22
  "values_and_weights":
22
- <%= @values_and_weights %>
23
+ <%= @values_and_weights %>
23
24
  }
24
25
  ],
25
26
  "type": "discrete_uncertain"
26
27
  },
27
- "uuid": "d157d709-b83e-42bd-bd30-1bc3a7979672",
28
+ "uuid": "<%= UUID.new.generate %>",
28
29
  "variable_type": "RubyContinuousVariable",
29
- "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
30
+ "version_uuid": "<%= UUID.new.generate %>"
30
31
  }
31
32
 
32
33
 
@@ -10,6 +10,7 @@
10
10
  "machine_name": "<%= @variable['machine_name'] %>",
11
11
  "name": "<%= @variable['machine_name'] %>",
12
12
  "units": "<%= @variable['units'] %>",
13
+ "value_type": "<%= @variable['type'] %>",
13
14
  "static": true,
14
15
  "static_ADDME": true,
15
16
  "relation_to_output": "<%= @variable['relation_to_eui'] %>",
@@ -12,6 +12,7 @@
12
12
  "minimum": <%= @variable['distribution']['min'].inspect %>,
13
13
  "maximum": <%= @variable['distribution']['max'].inspect %>,
14
14
  "units": "<%= @variable['units'] %>",
15
+ "value_type": "<%= @variable['type'] %>",
15
16
  "variable": true,
16
17
  "variable_ADDME": true,
17
18
  "relation_to_output": "<%= @variable['relation_to_eui'] %>",
@@ -2,9 +2,6 @@
2
2
  "analysis": {
3
3
  "display_name": "Example Analysis",
4
4
  "name": "example_analysis",
5
- "parameter_space": [
6
-
7
- ],
8
5
  "output_variables": [
9
6
 
10
7
  ],
@@ -26,64 +23,72 @@
26
23
  "machine_name": "apply_the_measure_to_a_specific_space_type_or_to_the_entire_model.",
27
24
  "name": "space_type",
28
25
  "value": "*Entire Building*",
29
- "uuid": "1aca2320-7676-0131-738c-2820663576f4",
30
- "version_uuid": "1aca41e0-7676-0131-738d-2820663576f4"
26
+ "value_type": "Choice",
27
+ "uuid": "cbe29b90-7692-0131-7c2e-2820663576f4",
28
+ "version_uuid": "cbe2bf20-7692-0131-7c2f-2820663576f4"
31
29
  },
32
30
  {
33
31
  "display_name": "Increase in Material and Installation Cost for Lighting per Floor Area (%).",
34
32
  "machine_name": "increase_in_material_and_installation_cost_for_lighting_per_floor_area_(%).",
35
33
  "name": "material_and_installation_cost",
36
34
  "value": 0.0,
37
- "uuid": "1acaf520-7676-0131-7392-2820663576f4",
38
- "version_uuid": "1acb1780-7676-0131-7393-2820663576f4"
35
+ "value_type": "Double",
36
+ "uuid": "cbe38290-7692-0131-7c34-2820663576f4",
37
+ "version_uuid": "cbe3a1c0-7692-0131-7c35-2820663576f4"
39
38
  },
40
39
  {
41
40
  "display_name": "Increase in Demolition Costs for Lighting per Floor Area (%).",
42
41
  "machine_name": "increase_in_demolition_costs_for_lighting_per_floor_area_(%).",
43
42
  "name": "demolition_cost",
44
43
  "value": 0.0,
45
- "uuid": "1acb3db0-7676-0131-7394-2820663576f4",
46
- "version_uuid": "1acb6070-7676-0131-7395-2820663576f4"
44
+ "value_type": "Double",
45
+ "uuid": "cbe3c9e0-7692-0131-7c36-2820663576f4",
46
+ "version_uuid": "cbe3e7e0-7692-0131-7c37-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": "1acb81b0-7676-0131-7396-2820663576f4",
54
- "version_uuid": "1acb9ec0-7676-0131-7397-2820663576f4"
53
+ "value_type": "Integer",
54
+ "uuid": "cbe40d70-7692-0131-7c38-2820663576f4",
55
+ "version_uuid": "cbe42c80-7692-0131-7c39-2820663576f4"
55
56
  },
56
57
  {
57
58
  "display_name": "Demolition Costs Occur During Initial Construction?",
58
59
  "machine_name": "demolition_costs_occur_during_initial_construction?",
59
60
  "name": "demo_cost_initial_const",
60
61
  "value": true,
61
- "uuid": "1acbc1a0-7676-0131-7398-2820663576f4",
62
- "version_uuid": "1acbe290-7676-0131-7399-2820663576f4"
62
+ "value_type": "Bool",
63
+ "uuid": "cbe44e50-7692-0131-7c3a-2820663576f4",
64
+ "version_uuid": "cbe46e70-7692-0131-7c3b-2820663576f4"
63
65
  },
64
66
  {
65
67
  "display_name": "Expected Life (whole years).",
66
68
  "machine_name": "expected_life_(whole_years).",
67
69
  "name": "expected_life",
68
70
  "value": 15,
69
- "uuid": "1acc07b0-7676-0131-739a-2820663576f4",
70
- "version_uuid": "1acc25f0-7676-0131-739b-2820663576f4"
71
+ "value_type": "Integer",
72
+ "uuid": "cbe49070-7692-0131-7c3c-2820663576f4",
73
+ "version_uuid": "cbe4af50-7692-0131-7c3d-2820663576f4"
71
74
  },
72
75
  {
73
76
  "display_name": "Increase O & M Costs for Lighting per Floor Area (%).",
74
77
  "machine_name": "increase_o_&_m_costs_for_lighting_per_floor_area_(%).",
75
78
  "name": "om_cost",
76
79
  "value": 0.0,
77
- "uuid": "1acc4680-7676-0131-739c-2820663576f4",
78
- "version_uuid": "1acc6530-7676-0131-739d-2820663576f4"
80
+ "value_type": "Double",
81
+ "uuid": "cbe4cfb0-7692-0131-7c3e-2820663576f4",
82
+ "version_uuid": "cbe4f090-7692-0131-7c3f-2820663576f4"
79
83
  },
80
84
  {
81
85
  "display_name": "O & M Frequency (whole years).",
82
86
  "machine_name": "o_&_m_frequency_(whole_years).",
83
87
  "name": "om_frequency",
84
88
  "value": 1,
85
- "uuid": "1acc8890-7676-0131-739e-2820663576f4",
86
- "version_uuid": "1acca8c0-7676-0131-739f-2820663576f4"
89
+ "value_type": "Integer",
90
+ "uuid": "cbe51710-7692-0131-7c40-2820663576f4",
91
+ "version_uuid": "cbe53980-7692-0131-7c41-2820663576f4"
87
92
  }
88
93
  ],
89
94
  "bcl_measure_directory": "./measures/reduce_lighting_loads_by_percentage",
@@ -91,14 +96,14 @@
91
96
  "bcl_measure_class_name_ADDME": "ReduceLightingLoadsByPercentage",
92
97
  "measure_definition_class_name_CHANGE_TO_ME": "ReduceLightingLoadsByPercentage",
93
98
  "measure_definition_class_name": "ReduceLightingLoadsByPercentage",
94
- "bcl_measure_uuid": "1ac90d10-7676-0131-7386-2820663576f4",
95
- "measure_definition_uuid_CHANGE_TO_ME": "1ac96400-7676-0131-7387-2820663576f4",
96
- "bcl_measure_version_uuid": "1ac98650-7676-0131-7388-2820663576f4",
97
- "measure_definition_version_uuid_CHANGE_TO_ME": "1ac9a8d0-7676-0131-7389-2820663576f4",
99
+ "bcl_measure_uuid": "cbe19b50-7692-0131-7c28-2820663576f4",
100
+ "measure_definition_uuid_CHANGE_TO_ME": "cbe1eb70-7692-0131-7c29-2820663576f4",
101
+ "bcl_measure_version_uuid": "cbe20ed0-7692-0131-7c2a-2820663576f4",
102
+ "measure_definition_version_uuid_CHANGE_TO_ME": "cbe23280-7692-0131-7c2b-2820663576f4",
98
103
  "measure_type": "RubyMeasure",
99
104
  "name": "reduce_lighting_loads_by_percentage",
100
105
  "display_name": "Reduce Lighting Loads by Percentage",
101
- "uuid": "1ac9ce80-7676-0131-738a-2820663576f4",
106
+ "uuid": "cbe254a0-7692-0131-7c2c-2820663576f4",
102
107
  "variables": [
103
108
  {
104
109
  "argument": {
@@ -106,13 +111,14 @@
106
111
  "machine_name": "lighting_power_reduction",
107
112
  "name": "lighting_power_reduction_percent",
108
113
  "required": false,
109
- "uuid": "1aca6bf0-7676-0131-738e-2820663576f4",
110
- "version_uuid": "1aca8d90-7676-0131-738f-2820663576f4"
114
+ "uuid": "cbe2ea70-7692-0131-7c30-2820663576f4",
115
+ "version_uuid": "cbe31a60-7692-0131-7c31-2820663576f4"
111
116
  },
112
117
  "display_name": "Lighting Power Reduction",
113
118
  "machine_name": "lighting_power_reduction",
114
119
  "name": "lighting_power_reduction",
115
120
  "units": "",
121
+ "value_type": "Double",
116
122
  "variable": true,
117
123
  "variable_ADDME": true,
118
124
  "relation_to_output": "",
@@ -142,12 +148,12 @@
142
148
  ],
143
149
  "type": "discrete_uncertain"
144
150
  },
145
- "uuid": "1acab3b0-7676-0131-7390-2820663576f4",
151
+ "uuid": "cbe33cf0-7692-0131-7c32-2820663576f4",
146
152
  "variable_type": "RubyContinuousVariable",
147
- "version_uuid": "1acad2c0-7676-0131-7391-2820663576f4"
153
+ "version_uuid": "cbe35c70-7692-0131-7c33-2820663576f4"
148
154
  }
149
155
  ],
150
- "version_uuid": "1ac9fcd0-7676-0131-738b-2820663576f4",
156
+ "version_uuid": "cbe27720-7692-0131-7c2d-2820663576f4",
151
157
  "workflow_index": 0,
152
158
  "workflow_step_type": "Measure"
153
159
  },
@@ -158,32 +164,36 @@
158
164
  "machine_name": "apply_the_measure_to_a_specific_space_type_or_to_the_entire_model.",
159
165
  "name": "space_type",
160
166
  "value": "*Entire Building*",
161
- "uuid": "1acd9780-7676-0131-73a6-2820663576f4",
162
- "version_uuid": "1acdb880-7676-0131-73a7-2820663576f4"
167
+ "value_type": "Choice",
168
+ "uuid": "cbe63d40-7692-0131-7c48-2820663576f4",
169
+ "version_uuid": "cbe66420-7692-0131-7c49-2820663576f4"
163
170
  },
164
171
  {
165
172
  "display_name": "Increase in Material and Installation Costs for Building per Affected Floor Area ($/ft^2).",
166
173
  "machine_name": "increase_in_material_and_installation_costs_for_building_per_affected_floor_area_($/ft^2).",
167
174
  "name": "material_and_installation_cost",
168
175
  "value": 0.0,
169
- "uuid": "1ace04e0-7676-0131-73a9-2820663576f4",
170
- "version_uuid": "1ace21b0-7676-0131-73aa-2820663576f4"
176
+ "value_type": "Double",
177
+ "uuid": "cbe6b440-7692-0131-7c4b-2820663576f4",
178
+ "version_uuid": "cbe6d620-7692-0131-7c4c-2820663576f4"
171
179
  },
172
180
  {
173
181
  "display_name": "O & M Costs for Construction per Affected Floor Area ($/ft^2).",
174
182
  "machine_name": "o_&_m_costs_for_construction_per_affected_floor_area_($/ft^2).",
175
183
  "name": "om_cost",
176
184
  "value": 0.0,
177
- "uuid": "1ace4280-7676-0131-73ab-2820663576f4",
178
- "version_uuid": "1ace61c0-7676-0131-73ac-2820663576f4"
185
+ "value_type": "Double",
186
+ "uuid": "cbe703b0-7692-0131-7c4d-2820663576f4",
187
+ "version_uuid": "cbe72490-7692-0131-7c4e-2820663576f4"
179
188
  },
180
189
  {
181
190
  "display_name": "O & M Frequency (whole years).",
182
191
  "machine_name": "o_&_m_frequency_(whole_years).",
183
192
  "name": "om_frequency",
184
193
  "value": 1,
185
- "uuid": "1ace8750-7676-0131-73ad-2820663576f4",
186
- "version_uuid": "1acea770-7676-0131-73ae-2820663576f4"
194
+ "value_type": "Integer",
195
+ "uuid": "cbe74f00-7692-0131-7c4f-2820663576f4",
196
+ "version_uuid": "cbe77140-7692-0131-7c50-2820663576f4"
187
197
  }
188
198
  ],
189
199
  "bcl_measure_directory": "./measures/reduce_space_infiltration_by_percentage",
@@ -191,21 +201,21 @@
191
201
  "bcl_measure_class_name_ADDME": "ReduceSpaceInfiltrationByPercentage",
192
202
  "measure_definition_class_name_CHANGE_TO_ME": "ReduceSpaceInfiltrationByPercentage",
193
203
  "measure_definition_class_name": "ReduceSpaceInfiltrationByPercentage",
194
- "bcl_measure_uuid": "1acccff0-7676-0131-73a0-2820663576f4",
195
- "measure_definition_uuid_CHANGE_TO_ME": "1accf0a0-7676-0131-73a1-2820663576f4",
196
- "bcl_measure_version_uuid": "1acd0f20-7676-0131-73a2-2820663576f4",
197
- "measure_definition_version_uuid_CHANGE_TO_ME": "1acd3740-7676-0131-73a3-2820663576f4",
204
+ "bcl_measure_uuid": "cbe56100-7692-0131-7c42-2820663576f4",
205
+ "measure_definition_uuid_CHANGE_TO_ME": "cbe58360-7692-0131-7c43-2820663576f4",
206
+ "bcl_measure_version_uuid": "cbe5a470-7692-0131-7c44-2820663576f4",
207
+ "measure_definition_version_uuid_CHANGE_TO_ME": "cbe5c7a0-7692-0131-7c45-2820663576f4",
198
208
  "measure_type": "RubyMeasure",
199
209
  "name": "reducespaceinfiltrationbypercentage",
200
210
  "display_name": "ReduceSpaceInfiltrationByPercentage",
201
- "uuid": "1acd5550-7676-0131-73a4-2820663576f4",
211
+ "uuid": "cbe5eb20-7692-0131-7c46-2820663576f4",
202
212
  "variables": [
203
213
  {
204
214
  "argument": {
205
215
  "display_name": "Space Infiltration Power Reduction",
206
216
  "machine_name": "space_infiltration_power_reduction",
207
217
  "name": "space_infiltration_reduction_percent",
208
- "uuid": "1acde1b0-7676-0131-73a8-2820663576f4",
218
+ "uuid": "cbe68c10-7692-0131-7c4a-2820663576f4",
209
219
  "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
210
220
  },
211
221
  "display_name": "Space Infiltration Power Reduction",
@@ -214,6 +224,7 @@
214
224
  "minimum": 0.0,
215
225
  "maximum": 30.0,
216
226
  "units": "",
227
+ "value_type": "Double",
217
228
  "variable": true,
218
229
  "variable_ADDME": true,
219
230
  "relation_to_output": "",
@@ -243,7 +254,7 @@
243
254
  "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
244
255
  }
245
256
  ],
246
- "version_uuid": "1acd7430-7676-0131-73a5-2820663576f4",
257
+ "version_uuid": "cbe61880-7692-0131-7c47-2820663576f4",
247
258
  "workflow_index": 1,
248
259
  "workflow_step_type": "Measure"
249
260
  },
@@ -256,21 +267,21 @@
256
267
  "bcl_measure_class_name_ADDME": "AdjustTheromstatSetpointsByDegrees",
257
268
  "measure_definition_class_name_CHANGE_TO_ME": "AdjustTheromstatSetpointsByDegrees",
258
269
  "measure_definition_class_name": "AdjustTheromstatSetpointsByDegrees",
259
- "bcl_measure_uuid": "1acecc50-7676-0131-73af-2820663576f4",
260
- "measure_definition_uuid_CHANGE_TO_ME": "1aceea30-7676-0131-73b0-2820663576f4",
261
- "bcl_measure_version_uuid": "1acf1910-7676-0131-73b1-2820663576f4",
262
- "measure_definition_version_uuid_CHANGE_TO_ME": "1acf39e0-7676-0131-73b2-2820663576f4",
270
+ "bcl_measure_uuid": "cbe7a3e0-7692-0131-7c51-2820663576f4",
271
+ "measure_definition_uuid_CHANGE_TO_ME": "cbe7dae0-7692-0131-7c52-2820663576f4",
272
+ "bcl_measure_version_uuid": "cbe801a0-7692-0131-7c53-2820663576f4",
273
+ "measure_definition_version_uuid_CHANGE_TO_ME": "cbe82590-7692-0131-7c54-2820663576f4",
263
274
  "measure_type": "RubyMeasure",
264
275
  "name": "adjust_thermostat_setpoints_by_degrees",
265
276
  "display_name": "Adjust Thermostat Setpoints by Degrees",
266
- "uuid": "1acf59a0-7676-0131-73b3-2820663576f4",
277
+ "uuid": "cbe84b80-7692-0131-7c55-2820663576f4",
267
278
  "variables": [
268
279
  {
269
280
  "argument": {
270
281
  "display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
271
282
  "machine_name": "degrees_fahrenheit_to_adjust_cooling_setpoint_by.",
272
283
  "name": "cooling_adjustment",
273
- "uuid": "1acfa930-7676-0131-73b5-2820663576f4",
284
+ "uuid": "cbe8b320-7692-0131-7c57-2820663576f4",
274
285
  "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
275
286
  },
276
287
  "display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
@@ -279,6 +290,7 @@
279
290
  "minimum": -4.0,
280
291
  "maximum": 4.0,
281
292
  "units": "",
293
+ "value_type": "Double",
282
294
  "variable": true,
283
295
  "variable_ADDME": true,
284
296
  "relation_to_output": "",
@@ -312,7 +324,7 @@
312
324
  "display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
313
325
  "machine_name": "degrees_fahrenheit_to_adjust_heating_setpoint_by.",
314
326
  "name": "heating_adjustment",
315
- "uuid": "1acfd050-7676-0131-73b6-2820663576f4",
327
+ "uuid": "cbe8e7b0-7692-0131-7c58-2820663576f4",
316
328
  "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
317
329
  },
318
330
  "display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
@@ -321,6 +333,7 @@
321
333
  "minimum": -4.0,
322
334
  "maximum": 4.0,
323
335
  "units": "",
336
+ "value_type": "Double",
324
337
  "variable": true,
325
338
  "variable_ADDME": true,
326
339
  "relation_to_output": "",
@@ -355,13 +368,14 @@
355
368
  "machine_name": "alter_design_day_thermostats?",
356
369
  "name": "alter_design_days",
357
370
  "required": false,
358
- "uuid": "1acff940-7676-0131-73b7-2820663576f4",
359
- "version_uuid": "1ad018d0-7676-0131-73b8-2820663576f4"
371
+ "uuid": "cbe91e90-7692-0131-7c59-2820663576f4",
372
+ "version_uuid": "cbe94090-7692-0131-7c5a-2820663576f4"
360
373
  },
361
374
  "display_name": "Alter Design Day Thermostats?",
362
375
  "machine_name": "alter_design_day_thermostats?",
363
376
  "name": "alter_design_day_thermostats?",
364
377
  "units": "",
378
+ "value_type": "Bool",
365
379
  "variable": true,
366
380
  "variable_ADDME": true,
367
381
  "relation_to_output": "",
@@ -383,12 +397,12 @@
383
397
  ],
384
398
  "type": "discrete_uncertain"
385
399
  },
386
- "uuid": "1ad03860-7676-0131-73b9-2820663576f4",
400
+ "uuid": "cbe960f0-7692-0131-7c5b-2820663576f4",
387
401
  "variable_type": "RubyContinuousVariable",
388
- "version_uuid": "1ad05970-7676-0131-73ba-2820663576f4"
402
+ "version_uuid": "cbe98130-7692-0131-7c5c-2820663576f4"
389
403
  }
390
404
  ],
391
- "version_uuid": "1acf7ce0-7676-0131-73b4-2820663576f4",
405
+ "version_uuid": "cbe87b30-7692-0131-7c56-2820663576f4",
392
406
  "workflow_index": 2,
393
407
  "workflow_step_type": "Measure"
394
408
  },
@@ -399,24 +413,27 @@
399
413
  "machine_name": "increase_in_material_and_installation_costs_for_construction_per_area_used_($/ft^2).",
400
414
  "name": "material_cost_increase_ip",
401
415
  "value": 0.0,
402
- "uuid": "1ad163c0-7676-0131-73c2-2820663576f4",
403
- "version_uuid": "1ad18010-7676-0131-73c3-2820663576f4"
416
+ "value_type": "Double",
417
+ "uuid": "cbea9840-7692-0131-7c64-2820663576f4",
418
+ "version_uuid": "cbeab850-7692-0131-7c65-2820663576f4"
404
419
  },
405
420
  {
406
421
  "display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
407
422
  "machine_name": "one_time_retrofit_cost_to_add_insulation_to_construction_($/ft^2).",
408
423
  "name": "one_time_retrofit_cost_ip",
409
424
  "value": 0.0,
410
- "uuid": "1ad1a050-7676-0131-73c4-2820663576f4",
411
- "version_uuid": "1ad1bc50-7676-0131-73c5-2820663576f4"
425
+ "value_type": "Double",
426
+ "uuid": "cbeadf70-7692-0131-7c66-2820663576f4",
427
+ "version_uuid": "cbeb00c0-7692-0131-7c67-2820663576f4"
412
428
  },
413
429
  {
414
430
  "display_name": "Year to Incur One Time Retrofit Cost (whole years).",
415
431
  "machine_name": "year_to_incur_one_time_retrofit_cost_(whole_years).",
416
432
  "name": "years_until_retrofit_cost",
417
433
  "value": 0,
418
- "uuid": "1ad1e3c0-7676-0131-73c6-2820663576f4",
419
- "version_uuid": "1ad202f0-7676-0131-73c7-2820663576f4"
434
+ "value_type": "Integer",
435
+ "uuid": "cbeb2260-7692-0131-7c68-2820663576f4",
436
+ "version_uuid": "cbeb42d0-7692-0131-7c69-2820663576f4"
420
437
  }
421
438
  ],
422
439
  "bcl_measure_directory": "./measures/increase_insulation_r_value_for_exterior_walls",
@@ -424,21 +441,21 @@
424
441
  "bcl_measure_class_name_ADDME": "IncreaseInsulationRValueForExteriorWalls",
425
442
  "measure_definition_class_name_CHANGE_TO_ME": "IncreaseInsulationRValueForExteriorWalls",
426
443
  "measure_definition_class_name": "IncreaseInsulationRValueForExteriorWalls",
427
- "bcl_measure_uuid": "1ad08020-7676-0131-73bb-2820663576f4",
428
- "measure_definition_uuid_CHANGE_TO_ME": "1ad0a060-7676-0131-73bc-2820663576f4",
429
- "bcl_measure_version_uuid": "1ad0be60-7676-0131-73bd-2820663576f4",
430
- "measure_definition_version_uuid_CHANGE_TO_ME": "1ad0db00-7676-0131-73be-2820663576f4",
444
+ "bcl_measure_uuid": "cbe9a810-7692-0131-7c5d-2820663576f4",
445
+ "measure_definition_uuid_CHANGE_TO_ME": "cbe9cd60-7692-0131-7c5e-2820663576f4",
446
+ "bcl_measure_version_uuid": "cbe9eeb0-7692-0131-7c5f-2820663576f4",
447
+ "measure_definition_version_uuid_CHANGE_TO_ME": "cbea0e20-7692-0131-7c60-2820663576f4",
431
448
  "measure_type": "RubyMeasure",
432
449
  "name": "set_r_value_of_insulation_for_exterior_walls_to_a_specific_value",
433
450
  "display_name": "Set R-value of Insulation for Exterior Walls to a Specific Value",
434
- "uuid": "1ad0f800-7676-0131-73bf-2820663576f4",
451
+ "uuid": "cbea2d60-7692-0131-7c61-2820663576f4",
435
452
  "variables": [
436
453
  {
437
454
  "argument": {
438
455
  "display_name": "Wall R Value",
439
456
  "machine_name": "wall_r_value",
440
457
  "name": "r_value",
441
- "uuid": "1ad13f90-7676-0131-73c1-2820663576f4",
458
+ "uuid": "cbea7470-7692-0131-7c63-2820663576f4",
442
459
  "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
443
460
  },
444
461
  "display_name": "Wall R Value",
@@ -447,6 +464,7 @@
447
464
  "minimum": 0.0,
448
465
  "maximum": 5.0,
449
466
  "units": "",
467
+ "value_type": "Double",
450
468
  "variable": true,
451
469
  "variable_ADDME": true,
452
470
  "relation_to_output": "",
@@ -476,7 +494,7 @@
476
494
  "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
477
495
  }
478
496
  ],
479
- "version_uuid": "1ad11770-7676-0131-73c0-2820663576f4",
497
+ "version_uuid": "cbea4e80-7692-0131-7c62-2820663576f4",
480
498
  "workflow_index": 3,
481
499
  "workflow_step_type": "Measure"
482
500
  },
@@ -487,24 +505,27 @@
487
505
  "machine_name": "increase_in_material_and_installation_costs_for_construction_per_area_used_($/ft^2).",
488
506
  "name": "material_cost_increase_ip",
489
507
  "value": 0.0,
490
- "uuid": "1ad321b0-7676-0131-73cf-2820663576f4",
491
- "version_uuid": "1ad341b0-7676-0131-73d0-2820663576f4"
508
+ "value_type": "Double",
509
+ "uuid": "cbec6c60-7692-0131-7c71-2820663576f4",
510
+ "version_uuid": "cbec8c40-7692-0131-7c72-2820663576f4"
492
511
  },
493
512
  {
494
513
  "display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
495
514
  "machine_name": "one_time_retrofit_cost_to_add_insulation_to_construction_($/ft^2).",
496
515
  "name": "one_time_retrofit_cost_ip",
497
516
  "value": 0.0,
498
- "uuid": "1ad363e0-7676-0131-73d1-2820663576f4",
499
- "version_uuid": "1ad38490-7676-0131-73d2-2820663576f4"
517
+ "value_type": "Double",
518
+ "uuid": "cbecb080-7692-0131-7c73-2820663576f4",
519
+ "version_uuid": "cbecd100-7692-0131-7c74-2820663576f4"
500
520
  },
501
521
  {
502
522
  "display_name": "Year to Incur One Time Retrofit Cost (whole years).",
503
523
  "machine_name": "year_to_incur_one_time_retrofit_cost_(whole_years).",
504
524
  "name": "years_until_retrofit_cost",
505
525
  "value": 0,
506
- "uuid": "1ad3ad00-7676-0131-73d3-2820663576f4",
507
- "version_uuid": "1ad3d410-7676-0131-73d4-2820663576f4"
526
+ "value_type": "Integer",
527
+ "uuid": "cbecf490-7692-0131-7c75-2820663576f4",
528
+ "version_uuid": "cbed1c60-7692-0131-7c76-2820663576f4"
508
529
  }
509
530
  ],
510
531
  "bcl_measure_directory": "./measures/increase_insulation_r_value_for_roofs",
@@ -512,21 +533,21 @@
512
533
  "bcl_measure_class_name_ADDME": "IncreaseInsulationRValueForRoofs",
513
534
  "measure_definition_class_name_CHANGE_TO_ME": "IncreaseInsulationRValueForRoofs",
514
535
  "measure_definition_class_name": "IncreaseInsulationRValueForRoofs",
515
- "bcl_measure_uuid": "1ad228d0-7676-0131-73c8-2820663576f4",
516
- "measure_definition_uuid_CHANGE_TO_ME": "1ad25550-7676-0131-73c9-2820663576f4",
517
- "bcl_measure_version_uuid": "1ad27380-7676-0131-73ca-2820663576f4",
518
- "measure_definition_version_uuid_CHANGE_TO_ME": "1ad292b0-7676-0131-73cb-2820663576f4",
536
+ "bcl_measure_uuid": "cbeb6ee0-7692-0131-7c6a-2820663576f4",
537
+ "measure_definition_uuid_CHANGE_TO_ME": "cbeb8eb0-7692-0131-7c6b-2820663576f4",
538
+ "bcl_measure_version_uuid": "cbebb6d0-7692-0131-7c6c-2820663576f4",
539
+ "measure_definition_version_uuid_CHANGE_TO_ME": "cbebd530-7692-0131-7c6d-2820663576f4",
519
540
  "measure_type": "RubyMeasure",
520
541
  "name": "set_r_value_of_insulation_for_roofs_to_a_specific_value",
521
542
  "display_name": "Set R-value of Insulation for Roofs to a Specific Value",
522
- "uuid": "1ad2b530-7676-0131-73cc-2820663576f4",
543
+ "uuid": "cbebf880-7692-0131-7c6e-2820663576f4",
523
544
  "variables": [
524
545
  {
525
546
  "argument": {
526
547
  "display_name": "Roof R Value",
527
548
  "machine_name": "roof_r_value",
528
549
  "name": "r_value",
529
- "uuid": "1ad2fe10-7676-0131-73ce-2820663576f4",
550
+ "uuid": "cbec40f0-7692-0131-7c70-2820663576f4",
530
551
  "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
531
552
  },
532
553
  "display_name": "Roof R Value",
@@ -535,6 +556,7 @@
535
556
  "minimum": 0.0,
536
557
  "maximum": 5.0,
537
558
  "units": "",
559
+ "value_type": "Double",
538
560
  "variable": true,
539
561
  "variable_ADDME": true,
540
562
  "relation_to_output": "",
@@ -564,7 +586,7 @@
564
586
  "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
565
587
  }
566
588
  ],
567
- "version_uuid": "1ad2d730-7676-0131-73cd-2820663576f4",
589
+ "version_uuid": "cbec1810-7692-0131-7c6f-2820663576f4",
568
590
  "workflow_index": 4,
569
591
  "workflow_step_type": "Measure"
570
592
  },
@@ -575,8 +597,9 @@
575
597
  "machine_name": "apply_the_measure_to_a_specific_space_type_or_to_the_entire_model.",
576
598
  "name": "space_type",
577
599
  "value": "*Entire Building*",
578
- "uuid": "1ad4b8e0-7676-0131-73db-2820663576f4",
579
- "version_uuid": "1ad4da70-7676-0131-73dc-2820663576f4"
600
+ "value_type": "Choice",
601
+ "uuid": "cbee6540-7692-0131-7c7d-2820663576f4",
602
+ "version_uuid": "cbee95f0-7692-0131-7c7e-2820663576f4"
580
603
  }
581
604
  ],
582
605
  "bcl_measure_directory": "./measures/reduce_ventilation_by_percentage",
@@ -584,14 +607,14 @@
584
607
  "bcl_measure_class_name_ADDME": "ReduceVentilationByPercentage",
585
608
  "measure_definition_class_name_CHANGE_TO_ME": "ReduceVentilationByPercentage",
586
609
  "measure_definition_class_name": "ReduceVentilationByPercentage",
587
- "bcl_measure_uuid": "1ad3ffe0-7676-0131-73d5-2820663576f4",
588
- "measure_definition_uuid_CHANGE_TO_ME": "1ad41fd0-7676-0131-73d6-2820663576f4",
589
- "bcl_measure_version_uuid": "1ad43dc0-7676-0131-73d7-2820663576f4",
590
- "measure_definition_version_uuid_CHANGE_TO_ME": "1ad45b60-7676-0131-73d8-2820663576f4",
610
+ "bcl_measure_uuid": "cbed45d0-7692-0131-7c77-2820663576f4",
611
+ "measure_definition_uuid_CHANGE_TO_ME": "cbed68a0-7692-0131-7c78-2820663576f4",
612
+ "bcl_measure_version_uuid": "cbed8e50-7692-0131-7c79-2820663576f4",
613
+ "measure_definition_version_uuid_CHANGE_TO_ME": "cbedbcb0-7692-0131-7c7a-2820663576f4",
591
614
  "measure_type": "RubyMeasure",
592
615
  "name": "reduce_ventilation_by_percentage",
593
616
  "display_name": "Reduce Ventilation By Percentage",
594
- "uuid": "1ad47910-7676-0131-73d9-2820663576f4",
617
+ "uuid": "cbedf5d0-7692-0131-7c7b-2820663576f4",
595
618
  "variables": [
596
619
  {
597
620
  "argument": {
@@ -599,13 +622,14 @@
599
622
  "machine_name": "design_specification_outdoor_air_reduction_(%).",
600
623
  "name": "design_spec_outdoor_air_reduction_percent",
601
624
  "required": false,
602
- "uuid": "1ad4ffc0-7676-0131-73dd-2820663576f4",
603
- "version_uuid": "1ad51ba0-7676-0131-73de-2820663576f4"
625
+ "uuid": "cbeed160-7692-0131-7c7f-2820663576f4",
626
+ "version_uuid": "cbef0490-7692-0131-7c80-2820663576f4"
604
627
  },
605
628
  "display_name": "Design Specification Outdoor Air Reduction (%).",
606
629
  "machine_name": "design_specification_outdoor_air_reduction_(%).",
607
630
  "name": "design_specification_outdoor_air_reduction_(%).",
608
631
  "units": "",
632
+ "value_type": "Double",
609
633
  "variable": true,
610
634
  "variable_ADDME": true,
611
635
  "relation_to_output": "",
@@ -634,12 +658,12 @@
634
658
  ],
635
659
  "type": "discrete_uncertain"
636
660
  },
637
- "uuid": "1ad53a30-7676-0131-73df-2820663576f4",
661
+ "uuid": "cbef2b00-7692-0131-7c81-2820663576f4",
638
662
  "variable_type": "RubyContinuousVariable",
639
- "version_uuid": "1ad55ab0-7676-0131-73e0-2820663576f4"
663
+ "version_uuid": "cbef4c10-7692-0131-7c82-2820663576f4"
640
664
  }
641
665
  ],
642
- "version_uuid": "1ad49600-7676-0131-73da-2820663576f4",
666
+ "version_uuid": "cbee33a0-7692-0131-7c7c-2820663576f4",
643
667
  "workflow_index": 5,
644
668
  "workflow_step_type": "Measure"
645
669
  }