lib/openstudio-standards/standards/Standards.SubSurface.rb in openstudio-standards-0.2.10 vs lib/openstudio-standards/standards/Standards.SubSurface.rb in openstudio-standards-0.2.11.rc1
- old
+ new
@@ -44,20 +44,20 @@
when 'Door'
infil_rate_cfm_per_ft2 = component_infil_rates_cfm_per_ft2[type]['opaque_door']
when 'OverheadDoor'
infil_rate_cfm_per_ft2 = component_infil_rates_cfm_per_ft2[type]['loading_dock_door']
when 'GlassDoor'
- OpenStudio.logFree(OpenStudio::Info, 'openstudio.Standards.Model', "For #{sub_surface.name}, assuming swinging_or_revolving_glass_door for infiltration calculation.")
+ OpenStudio.logFree(OpenStudio::Info, 'openstudio.standards.SubSurface', "For #{sub_surface.name}, assuming swinging_or_revolving_glass_door for infiltration calculation.")
infil_rate_cfm_per_ft2 = component_infil_rates_cfm_per_ft2[type]['swinging_or_revolving_glass_door']
when 'FixedWindow', 'OperableWindow'
infil_rate_cfm_per_ft2 = component_infil_rates_cfm_per_ft2[type]['window']
when 'Skylight', 'TubularDaylightDome', 'TubularDaylightDiffuser'
infil_rate_cfm_per_ft2 = component_infil_rates_cfm_per_ft2[type]['skylight']
end
end
if infil_rate_cfm_per_ft2.nil?
- OpenStudio.logFree(OpenStudio::Warn, 'openstudio.Standards.Model', "For #{sub_surface.name}, could not determine surface type for infiltration, will not be included in calculation.")
+ OpenStudio.logFree(OpenStudio::Warn, 'openstudio.standards.SubSurface', "For #{sub_surface.name}, could not determine surface type for infiltration, will not be included in calculation.")
return comp_infil_rate_m3_per_s
end
# Area of the surface
area_m2 = sub_surface.netArea
@@ -239,10 +239,10 @@
# Throw an error if the roof is not flat.
surface.vertices.each do |surf_vert|
surface.vertices.each do |surf_vert_2|
unless surf_vert_2.z.to_f == surf_vert.z.to_f
- OpenStudio.logFree(OpenStudio::Error, 'openstudio.model.Model', "Currently skylights can only be added to buildings with non-plenum flat roofs.")
+ OpenStudio.logFree(OpenStudio::Error, 'openstudio.standards.SubSurface', 'Currently skylights can only be added to buildings with non-plenum flat roofs.')
end
end
end
new_surfaces = BTAP::Geometry::Surfaces.make_convex_surfaces(surface: surface, tol: 12)