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 print_construction_assignment(runner, surface)
            if surface.is_a? OpenStudio::Model::SubSurface
                type_s = "SubSurface"
            elsif surface.is_a? OpenStudio::Model::InternalMassDefinition
                type_s = "InternalMassDefinition"
            else
                type_s = "Surface"
            end
            runner.registerInfo("#{type_s.to_s} '#{surface.name.to_s}' has been assigned construction '#{surface.construction.get.name.to_s}'.")
        end
def print_construction_assignment ( runner , surface ) if surface . is_a? OpenStudio :: Model :: SubSurface type_s = "SubSurface" elsif surface . is_a? OpenStudio :: Model :: InternalMassDefinition type_s = "InternalMassDefinition" else type_s = "Surface" end runner . registerInfo ( "#{type_s.to_s} '#{surface.name.to_s}' has been assigned construction '#{surface.construction.get.name.to_s}'." ) 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 .
runner
<not_specific>
surface
<not_specific>