sinergym.utils.common.create_variable_weather
- sinergym.utils.common.create_variable_weather(weather_data: opyplus.WeatherData, original_epw_file: str, columns: List[str] = ['drybulb'], variation: Tuple[float, float, float] | None = None) str | 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[str], optional) – List of columns to be affected. Defaults to [‘drybulb’].
variation (Optional[Tuple[float, float, float]], 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:
Optional[str]