Sha256: 98160e73212ab5ea4cf44c4ad590eb312d4f4c02ffcef8cae1487e7820213f60

Contents?: true

Size: 1.8 KB

Versions: 5

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": "<%= SecureRandom.uuid %>",
    "version_uuid": "<%= SecureRandom.uuid %>"
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openstudio-analysis-0.4.3 lib/openstudio/templates/uncertain_variable.json.erb
openstudio-analysis-0.4.2 lib/openstudio/templates/uncertain_variable.json.erb
openstudio-analysis-0.4.1 lib/openstudio/templates/uncertain_variable.json.erb
openstudio-analysis-0.4.0 lib/openstudio/templates/uncertain_variable.json.erb
openstudio-analysis-0.3.7 lib/openstudio/templates/uncertain_variable.json.erb