lib/from_openstudio/material/window_simpleglazsys.rb in honeybee-openstudio-2.26.0 vs lib/from_openstudio/material/window_simpleglazsys.rb in honeybee-openstudio-2.27.0

- old
+ new

@@ -39,9 +39,12 @@ # create an empty hash hash = {} hash[:type] = 'EnergyWindowMaterialSimpleGlazSys' # set hash values from OpenStudio Object hash[:identifier] = clean_name(material.nameString) + unless material.displayName.empty? + hash[:display_name] = (material.displayName.get).force_encoding("UTF-8") + end hash[:u_factor] = material.uFactor hash[:shgc] = material.solarHeatGainCoefficient # check if boost optional object is empty unless material.visibleTransmittance.empty? hash[:vt] = material.visibleTransmittance.get