sinergym.utils.common.create_variable_weather

sinergym.utils.common.create_variable_weather(weather_data, original_epw_file, columns: list = ['drybulb'], variation: tuple = None)

Create a new weather file using Ornstein-Uhlenbeck process.

Parameters:
  • weather_data (opyplus.WeatherData) – Opyplus object with the weather for the simulation.

  • original_epw_file (str) – Path to the original EPW file.

  • columns (list, optional) – List of columns to be affected. Defaults to [‘drybulb’].

  • variation (tuple, optional) – Tuple with the sigma, mean and tau for OU process. Defaults to None.

Returns:

Name of the file created in the same location as the original one.

Return type:

str