Measures/m_5_example_5_computed_schedule/resources/util.rb
# Facilitates creating and assigning an OpenStudio construction (with accompanying 
# OpenStudio Materials) from Material objects. Handles parallel paths as well.
Facilitates creating and assigning an OpenStudio construction (with accompanying
OpenStudio Materials) from Material objects. Handles parallel paths as well.
Facilitates creating and assigning an OpenStudio construction ( with accompanying OpenStudio Materials ) from Material objects . Handles parallel paths as well .
def add_layer(materials, include_in_construction, name=nil)
        if not materials.kind_of?(Array)
            @layers_materials << [materials]
        else
            @layers_materials << materials
        end
        @layers_includes << include_in_construction
        @layers_names << name
    end
def add_layer ( materials , include_in_construction , name = nil ) if not materials . kind_of? ( Array ) @layers_materials << [ materials ] else @layers_materials << materials end @layers_includes << include_in_construction @layers_names << name end
Facilitates creating and assigning an OpenStudio construction (with accompanying
OpenStudio Materials) from Material objects.
Facilitates creating and assigning an OpenStudio construction ( with accompanying OpenStudio Materials ) from Material objects .
# materials: Either a Material object or a list of Material objects # include_in_construction: false if an assumed, default layer that should not be included  #                          in the resulting construction but is used to calculate the  #                          effective R-value. # name: Name of the layer; required if multiple materials are provided. Otherwise the  #       Material.name will be used.
materials
<not_specific>
include_in_construction
<not_specific>
name
<not_specific>