Note
Please report issues with this page on the GitHub page.
supy.util.gen_epw¶
-
supy.util.
gen_epw
(df_tmy: pandas.core.frame.DataFrame, path_epw=PosixPath('uTMY.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 resultsParameters: - df_tmy (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
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]