lib/openstudio-standards/btap/envelope.rb in openstudio-standards-0.2.17.rc1 vs lib/openstudio-standards/btap/envelope.rb in openstudio-standards-0.2.17.rc2
- old
+ new
@@ -68,10 +68,10 @@
#@author phylroy.lopez@nrcan.gc.ca
#@param model [OpenStudio::model::Model] A model object
def self.assign_interior_surface_construction_to_adiabatic_surfaces(model, runner = nil)
BTAP::runner_register("Info", "assign_interior_surface_construction_to_adiabatic_surfaces", runner)
unless model.building.get.defaultConstructionSet.empty? or model.building.get.defaultConstructionSet.get.defaultInteriorSurfaceConstructions.empty? or model.building.get.defaultConstructionSet.get.defaultInteriorSurfaceConstructions.get.wallConstruction.empty?
- #Give adiabatic surfaces a construction. Does not matter what. This is a bug in Openstudio that leave these surfaces unassigned by the default construction set.
+ #Give adiabatic surfaces a construction. Does not matter what. This is a bug in OpenStudio that leave these surfaces unassigned by the default construction set.
all_adiabatic_surfaces = BTAP::Geometry::Surfaces::filter_by_boundary_condition(model.getSurfaces, "Adiabatic")
unless all_adiabatic_surfaces.empty?
wall_construction = model.building.get.defaultConstructionSet.get.defaultInteriorSurfaceConstructions.get.wallConstruction.get
\ No newline at end of file