lib/from_openstudio/geometry/shade.rb in honeybee-openstudio-2.28.0 vs lib/from_openstudio/geometry/shade.rb in honeybee-openstudio-2.28.1
- old
+ new
@@ -60,11 +60,11 @@
hash[:type] = 'ShadeEnergyPropertiesAbridged'
unless shading_surface.isConstructionDefaulted
construction = shading_surface.construction
if !construction.empty?
- const_name = clean_identifier(construction.get.nameString)
+ const_name = clean_name(construction.get.nameString) + ' Shade'
hash[:construction] = const_name
unless $shade_constructions.has_key?(const_name)
const_obj = construction.get
const = const_obj.to_LayeredConstruction.get
$shade_constructions[const_name] = const
@@ -72,10 +72,10 @@
end
end
transmittance_schedule = shading_surface.transmittanceSchedule
if !transmittance_schedule.empty?
- trans_sch_name = clean_identifier(transmittance_schedule.get.nameString)
+ trans_sch_name = clean_name(transmittance_schedule.get.nameString)
# Check whether schedules other than schedule ruleset or schedule fixed interval are
# being assigned
unless $schedules[trans_sch_name].nil?
hash[:transmittance_schedule] = trans_sch_name
end