trnslator.trnsys.choose_window

trnslator.trnsys.choose_window(u_value, shgc, t_vis, tolerance, window_lib_path)[source]

Return window object from TRNBuild library

Returns

(tuple): A tuple of:

  • window_ID

  • window’s description (label)

  • window’s design (width of layers)

  • window u-value

  • window shgc

  • window solar transmittance

  • window solar refraction

  • window visible transmittance

  • number of layers of the window

  • window width

  • the “bunch” of description/properties from Berkeley lab

If tolerance not respected return new tolerance used to find a window.

Parameters
  • u_value (float) – U_value of the glazing given by the user

  • shgc (float) – SHGC of the glazing given by the user

  • t_vis (float) – Visible transmittance of the glazing given by the user

  • tolerance (float) – Maximum tolerance on u_value, shgc and tvis wanted by the user

  • window_lib_path (dat file) – window library from Berkeley lab