Sha256: 496cca5d447820a65cc2fed9746150036b2ba0558c87208f68f9a69a53b87090

Contents?: true

Size: 1.8 KB

Versions: 2

Compression:

Stored size: 1.8 KB

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openstudio-analysis-0.3.6 lib/openstudio/templates/uncertain_variable.json.erb
openstudio-analysis-0.3.5 lib/openstudio/templates/uncertain_variable.json.erb