{ "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 %>" }, "display_name": "<%= @variable['display_name'] %>", "display_name_short": "<%= @variable['display_name_short'] %>", "machine_name": "<%= @variable['machine_name'] %>", "maximum": <%= @variable['distribution']['max'] ? @variable['distribution']['max'].inspect : 'null' %>, "minimum": <%= @variable['distribution']['min'] ? @variable['distribution']['min'].inspect : 'null' %>, "name": "<%= @variable['machine_name'] %>", "relation_to_output": "<%= @variable['relation_to_eui'] %>", "static_value": <%= @variable['distribution']['static_value'].inspect %>, "uncertainty_description": { "attributes": [ { "name": "discrete", "values_and_weights": <%= @values_and_weights %> }, { "name": "lower_bounds", "value": <%= @variable['distribution']['min'].inspect %> }, { "name": "upper_bounds", "value": <%= @variable['distribution']['max'].inspect %> }, { "name": "modes", "value": <%= @variable['distribution']['mean'] ? @variable['distribution']['mean'].inspect : 'null' %> } ], "type": "discrete_uncertain" }, "units": "<%= @variable['units'] %>", "value_type": "<%= @variable['type'] %>", "variable": true, "variable_type": "RubyContinuousVariable", "uuid": "<%= UUID.new.generate %>", "version_uuid": "<%= UUID.new.generate %>" }