Please report issues with this page on the GitHub page.


supy.util.gen_epw(df_output: pandas.core.frame.DataFrame, path_epw=PosixPath('TMY.epw'), ratio_dif_dir=0.15) → Tuple[pandas.core.frame.DataFrame, str, pathlib.Path][source]

Generate an epw file of uTMY (urbanised Typical Meteorological Year) using SUEWS simulation results

  • df_output (pd.DataFrame) – SUEWS simulation results.
  • path_epw (Path, optional) – Path to store generated epw file, by default Path(‘./uTMY.epw’)
  • ratio_dif_dir (float, optional) – Ratio between direct and diffuse solar radiation, by default 0.15

df_epw, text_meta, path_epw

  • df_epw: uTMY result
  • text_meta: meta-info text
  • path_epw: path to generated epw file

Return type:

Tuple[pd.DataFrame, str, Path]