Sha256: f50c58e3f882d2a68a41a4499e6b6f5c62ecb6f756420e49a2b3374793a384bb

Contents?: true

Size: 1.89 KB

Versions: 3

Compression:

Stored size: 1.89 KB

Contents

{
    "argument": {
        "display_name": "<%= @variable['display_name'] %>",
        "machine_name": "<%= @variable['machine_name'] %>",
        "name": "<%= @variable['name'] %>",
        "required": false,
        "uuid": "<%= UUID.new.generate %>",
        "version_uuid": "<%= UUID.new.generate %>"
    },
    "display_name": "<%= @variable['display_name'] %>",
    "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": "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

3 entries across 3 versions & 1 rubygems

Version Path
openstudio-analysis-0.3.2 lib/openstudio/templates/uncertain_variable.json.erb
openstudio-analysis-0.3.1 lib/openstudio/templates/uncertain_variable.json.erb
openstudio-analysis-0.3.0 lib/openstudio/templates/uncertain_variable.json.erb