Sha256: 8c7bbdbb50b4869326bee7080ef59211c9c45b7601640c0f6f10f50adfa6324a

Contents?: true

Size: 1.67 KB

Versions: 9

Compression:

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


Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
openstudio-analysis-0.2.3 lib/openstudio/templates/discrete_uncertain_variable.json.erb
openstudio-analysis-0.2.2 lib/openstudio/templates/discrete_uncertain_variable.json.erb
openstudio-analysis-0.2.1 lib/openstudio/templates/discrete_uncertain_variable.json.erb
openstudio-analysis-0.2.0 lib/openstudio/templates/discrete_uncertain_variable.json.erb
openstudio-analysis-0.1.18 lib/openstudio/templates/discrete_uncertain_variable.json.erb
openstudio-analysis-0.1.17 lib/openstudio/templates/discrete_uncertain_variable.json.erb
openstudio-analysis-0.1.16 lib/openstudio/templates/discrete_uncertain_variable.json.erb
openstudio-analysis-0.1.15 lib/openstudio/templates/discrete_uncertain_variable.json.erb
openstudio-analysis-0.1.14 lib/openstudio/templates/discrete_uncertain_variable.json.erb