|
36 | 36 | glazing_system.enable_deflection(True)
|
37 | 37 |
|
38 | 38 | # Set initial temperature and pressure. Values just chosen for example purposes
|
39 |
| -glazing_system.set_deflection_properties(temperature_initial=273, pressure_initial=101320) |
| 39 | +glazing_system.set_deflection_properties(temperature_at_construction=273, pressure_at_construction=101320) |
40 | 40 |
|
41 | 41 | # Density can be calculated using either U or SHGC TARCOG system types. Just using SHGC for this
|
42 | 42 | # example for simplicity.
|
|
54 | 54 | print("\tVT: {val}".format(val=visible_results.system_results.front.transmittance.direct_hemispherical))
|
55 | 55 |
|
56 | 56 | # Change initial temperature and pressure. Values just chosen for example purposes
|
57 |
| -glazing_system.set_deflection_properties(temperature_initial=290, pressure_initial=101450) |
| 57 | +glazing_system.set_deflection_properties(temperature_at_construction=290, pressure_at_construction=101450) |
58 | 58 | print("")
|
59 | 59 | print("Changed initial temperature and pressure")
|
60 | 60 | print("\tdeflection max: {val}".format(val=deflection_results.deflection_max))
|
|
174 | 174 |
|
175 | 175 | glazing_system.environments(custom_env_2)
|
176 | 176 |
|
177 |
| -glazing_system.set_deflection_properties(temperature_initial=273, pressure_initial=101320) |
| 177 | +glazing_system.set_deflection_properties(temperature_at_construction=273, pressure_at_construction=101320) |
178 | 178 | deflection_results = glazing_system.calc_deflection_properties(pywincalc.TarcogSystemType.SHGC)
|
179 | 179 |
|
180 | 180 | print("")
|
|
204 | 204 | height_meters=height, tilt_degrees=tilt, environment=custom_env_2)
|
205 | 205 |
|
206 | 206 | glazing_system.enable_deflection(True)
|
207 |
| -glazing_system.set_deflection_properties(temperature_initial=273, pressure_initial=101320) |
| 207 | +glazing_system.set_deflection_properties(temperature_at_construction=273, pressure_at_construction=101320) |
208 | 208 | deflection_results = glazing_system.calc_deflection_properties(pywincalc.TarcogSystemType.SHGC)
|
209 | 209 |
|
210 | 210 | print("")
|
|
219 | 219 | "\tLayer temperatures (SHGC): {val}".format(val=glazing_system.layer_temperatures(pywincalc.TarcogSystemType.SHGC)))
|
220 | 220 | visible_results = glazing_system.optical_method_results("PHOTOPIC")
|
221 | 221 | print("\tVT: {val}".format(val=visible_results.system_results.front.transmittance.direct_hemispherical))
|
| 222 | + |
| 223 | + |
| 224 | +# If the deflection of the solid layers has been measured it can be used instead of temperature and pressure |
| 225 | +# to calculate other properties |
| 226 | +glazing_system.set_deflection_properties(measured_deflected_gaps=[.01, .015]) |
| 227 | +deflection_results = glazing_system.calc_deflection_properties(pywincalc.TarcogSystemType.SHGC) |
| 228 | + |
| 229 | +print("") |
| 230 | +print("Set measured gap widths") |
| 231 | +print("\tdeflection max: {val}".format(val=deflection_results.deflection_max)) |
| 232 | +print("\tdeflection mean: {val}".format(val=deflection_results.deflection_mean)) |
| 233 | +print("\tpanes load: {val}".format(val=deflection_results.panes_load)) |
| 234 | +print("\tU: {val}".format(val=glazing_system.u())) |
| 235 | +print("\tSHGC: {val}".format(val=glazing_system.shgc())) |
| 236 | +print("\tLayer temperatures (U): {val}".format(val=glazing_system.layer_temperatures(pywincalc.TarcogSystemType.U))) |
| 237 | +print( |
| 238 | + "\tLayer temperatures (SHGC): {val}".format(val=glazing_system.layer_temperatures(pywincalc.TarcogSystemType.SHGC))) |
| 239 | +visible_results = glazing_system.optical_method_results("PHOTOPIC") |
| 240 | +print("\tVT: {val}".format(val=visible_results.system_results.front.transmittance.direct_hemispherical)) |
0 commit comments