reho.model.preprocessing.weather#

Generates the meteorological data (temperature and solar irradiance).

Functions

generate_weather_data(cluster, ...)

This function is called if the clustered weather data specified by File_ID do not exist yet.

get_cluster_file_ID(cluster)

Gets the weather file ID that corresponds to the specifications provided in the reho initalization.

get_weather_data(qbuildings_data)

Using the pvlib library, connects to the PVGIS dabatase to extract the weather data based on the building's coordinates.

plot_LDC(cl[, save_fig])

plot_cluster_KPI_separate(df[, save_fig])

read_custom_weather(path_to_weather_file)

From the current directory, looks for a custom weather file.

write_weather_files(clustering_directory, ...)

Writes the clustering results computed from generate_weather_data as CSV files in folder clustering_directory.