lib/from_openstudio/construction/air.rb in honeybee-openstudio-2.26.0 vs lib/from_openstudio/construction/air.rb in honeybee-openstudio-2.27.0

- old
+ new

@@ -39,9 +39,12 @@ # create an empty hash hash = {} hash[:type] = 'AirBoundaryConstructionAbridged' # set hash values from OpenStudio Object hash[:identifier] = clean_name(construction.nameString) + unless construction.displayName.empty? + hash[:display_name] = (construction.displayName.get).force_encoding("UTF-8") + end # check if boost optional object is empty unless construction.simpleMixingSchedule.empty? schedule = construction.simpleMixingSchedule.get hash[:air_mixing_schedule] = clean_name(schedule.nameString) end