lib/openstudio/templates/pivot_variable.json.erb in openstudio-analysis-0.2.3 vs lib/openstudio/templates/pivot_variable.json.erb in openstudio-analysis-0.3.0
- old
+ new
@@ -8,25 +8,25 @@
"version_uuid": "<%= UUID.new.generate %>"
},
"display_name": "<%= @variable['display_name'] %>",
"machine_name": "<%= @variable['machine_name'] %>",
"name": "<%= @variable['machine_name'] %>",
- "units": "<%= @variable['units'] %>",
- "value_type": "<%= @variable['type'] %>",
"pivot": true,
"relation_to_output": "<%= @variable['relation_to_eui'] %>",
"uncertainty_description": {
"attributes": [
{
"name": "discrete",
"values_and_weights":
- <%= @values_and_weights %>
+ <%= @values_and_weights %>
}
],
"type": "discrete_uncertain"
},
- "uuid": "<%= UUID.new.generate %>",
+ "units": "<%= @variable['units'] %>",
+ "value_type": "<%= @variable['type'] %>",
"variable_type": "RubyContinuousVariable",
+ "uuid": "<%= UUID.new.generate %>",
"version_uuid": "<%= UUID.new.generate %>"
}