1. Need help? Please let us know in the UMEP Community.

  2. Find an issue within this page? Please report it in the GitHub issues.

  3. A good understanding of SUEWS is a prerequisite to the proper use of SuPy.


supy.util.gen_epw(df_output: pandas.core.frame.DataFrame, lat, lon, tz=0, path_epw=PosixPath('uTMY.epw')) 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’).

  • lat (float) – Latitude of the site, used for calculating solar angle.

  • lon (float) – Longitude of the site, used for calculating solar angle.

  • tz (float) – time zone represented by time difference from UTC+0 (e.g., 8 for UTC+8), by default 0 (i.e., UTC+0)


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]