lib/openstudio/templates/pivot_variable.json.erb in openstudio-analysis-0.3.4 vs lib/openstudio/templates/pivot_variable.json.erb in openstudio-analysis-0.3.5
- old
+ new
@@ -1,20 +1,18 @@
{
"argument": {
"display_name": "<%= @variable['display_name'] %>",
"display_name_short": "<%= @variable['display_name_short'] %>",
- "machine_name": "<%= @variable['machine_name'] %>",
"name": "<%= @variable['name'] %>",
- "required": false,
- "uuid": "<%= UUID.new.generate %>",
- "version_uuid": "<%= UUID.new.generate %>"
+ "value_type": "<%= @variable['type'] %>"
},
"display_name": "<%= @variable['display_name'] %>",
"display_name_short": "<%= @variable['display_name_short'] %>",
- "machine_name": "<%= @variable['machine_name'] %>",
- "name": "<%= @variable['machine_name'] %>",
- "pivot": true,
+ "maximum": <%= @variable['distribution']['max'] ? @variable['distribution']['max'].inspect : 'null' %>,
+ "minimum": <%= @variable['distribution']['min'] ? @variable['distribution']['min'].inspect : 'null' %>,
"relation_to_output": "<%= @variable['relation_to_eui'] %>",
+ "static_value": <%= @variable['distribution']['static_value'].inspect %>,
+ "pivot": true,
"uncertainty_description": {
"attributes": [
{
"name": "discrete",
"values_and_weights":