Tip
Need help? Please let us know in the UMEP Community.
Find an issue within this page? Please report it in the GitHub issues.
A good understanding of SUEWS is a prerequisite to the proper use of SuPy.
supy.util.gen_epwΒΆ
- 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- Parameters
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)
- Returns
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]