MeteoSynth: A Python Package for Non-Parametric Stochastic Weather Series Generation in Renewable Energy and Building Performance Simulations
Nikolaos C. Papadakis
Key points
From the paper's conclusion- Together they show how the generator handles each of these cases in general, and the limitations that remain are also examined.
Abstract
Evaluating renewable energy system performance and building energy demand typically relies on single-year historical profiles or Typical Meteorological Years (TMYs). However, deterministic weather series fail to capture inter-annual variability, extreme operational events, and provide distribution information necessary for performance assessment, control optimization, and Global Sensitivity Analysis (GSA). To address these limitations, this paper introduces MeteoSynth, an open-source Python package designed for high-throughput, non-parametric generation of physically consistent synthetic time series for individual environmental variables. The package is variable-agnostic: any continuous hourly series can be modeled once its physical support and units are declared. This paper, like the package defaults, focuses on solar irradiance, air temperature, and wind speed. These three were chosen mainly because their physical constraints differ: temperature may take negative values, wind speed is non-negative, and irradiance is non-negative and also collapses to a degenerate zero state every night. Together they show how the generator handles each of these cases in general, and the limitations that remain are also examined. A second and practical reason is that the European Commission’s Photovoltaic Geographical Information System (PVGIS) supplies all three for any location. The present release is a parallel univariate generator: each variable is simulated independently, so the variables share the diurnal and seasonal cycle but not their day-to-day departures from it. Joint multivariate generation is identified as the main next development step. MeteoSynth models diurnal weather dynamics using time-inhomogeneous first-order Markov chains governed by two-dimensional Kernel Density Estimation (2D KDE). To ensure physical validity and calendar continuity, the framework incorporates features such as prevention of non-physical negative values with minimal domain distortion, a robust degenerate state classification engine to handle zero-variance night-time solar irradiance, a climatological circular rolling-window calendar (366-day calendar) that eliminates New Year boundary jumps while accommodating leap years, and date-aligned cross-midnight transition models ensuring multi-day series continuity. It additionally offers optional integration with the PVGIS database, a user-friendly API supporting both rapid monthly subsetting and high-accuracy rolling-window training, and an optimized ensemble engine capable of generating thousands of synthetic weather realizations in a single calendar walk, such that generating a single synthetic year and large ensembles of 1000 to 100,000 years takes virtually the same amount of execution time due to internal model-reuse optimizations.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- METEORv1.6: Spatial climate variability and integrated impact emulationGeoscientific Model Development · 2026
- Multi-Scale Scenario Generation for Large Hydro–Wind–Solar Systems Using Clustering and Vine CopulasProcesses · 2026
- EGGS-WG: an open source global gridded stochastic weather generator derived from ERA5-LandGeoscientific Model Development · 2026
- A simple weather generator that converts statistical information from downscaled global climate models to sequences of daily precipitation and temperatureGeoscientific Model Development · 2026
- StatD2GAN: When Calibration Masks Generator Quality in Held-Out Evaluation of Synthetic Weather SequencesarXiv · 2026
- A Physics-Constrained Probabilistic Forecasting Method for Wind–PV–Load Systems Under Extreme Weather Based on Extreme-Event Awareness and Uncertainty CalibrationEng · 2026