This function computes the angular variation and the hemispherical integration of the transmittance and reflectance for each glass pane. There are two schemes for the calculation. One is for coated glass and the other is for uncoated glass. The function checks the difference between front and back reflectances. If the difference is less than the tolerance (0.005), it uses the formula for uncoated glass. Otherwise, the formula for coated glass will be used.
function glassProperty extends Buildings.HeatTransfer.Windows.Functions.BaseClasses.partialGlassRadiation; input Real glass[3, N, NSta] "Propertry of each glass pane"; input Real xGla[N] "Thickness of each glass pane"; input Modelica.Units.SI.Angle psi[HEM - 1] "Incident angles"; output Real layer[3, N, HEM, NSta] "Transmittance, front and back reflectance"; end glassProperty;