The question
Papers on sizing off-grid solar, wind and battery systems usually compete on the optimiser: genetic algorithms, particle swarms, grey wolves, whales. Most of them size the system on a single year of weather data. We wanted to know which of those two choices actually changes the design you end up building.
What we did
We built a benchmark over 12 Indian sites, from Leh to Kanyakumari, with 19 years of hourly weather (PVGIS-ERA5, 2005 to 2023) and three synthetic loads: a rural village, a telecom tower and a campus. Seven metaheuristics and a random-search baseline sized the system 30 times on every site and year, 164,160 runs in all. Every reference design was certified with branch and bound, so each algorithm could be scored against a proven optimum instead of against the best answer another algorithm happened to find.
Then we asked a second question: what does it cost to build a design that meets its reliability target in every one of the 19 years?
What we found
The good algorithms were almost interchangeable. The five best differed by a median of 0.05 to 0.52 percentage points in cost. The weather year was not interchangeable at all: the cost of the optimal design swung by a median of 25 to 35% from one year to another, which is 67 to 576 times the algorithm spread.
Year-by-year reliability checks passed, by years of weather used for sizing
Data: Numbers ledger, section I (paper_scripts.zip, Zenodo 10.5281/zenodo.23915872)Show the numbers as a table
| Years used for sizing | Checks passed |
|---|---|
| 1 | 53.9% |
| 2 | 69.3% |
| 3 | 80.3% |
| 5 | 87.9% |
| 10 | 95.4% |
| 15 | 98.5% |
| 19 | 100.0% |
That swing has a practical consequence. Designs sized on a single year passed only 54% of the year-by-year reliability checks across the 19 years; sizing on ten years raised that to 95%. A design that holds in all 19 years cost 16% more on average, from 1.5% at Leh to 27.5% at Shillong, and the premium tracked how much a site’s weather varies from year to year.
What it does not show
The weather is reanalysis, not measurements from the sites, and the demand profiles are synthetic. The numbers above come from the revised analysis that accompanies the journal revision; the data and code archive has every run.
What I take from it
If you are sizing an off-grid system, spend your effort on weather history before you spend it on optimisers. Ten years of data buys more reliability than any algorithm in our benchmark.
Data, code and citation
Data and code for “Weather-year choice outweighs algorithm choice in sizing standalone hybrid renewable energy systems”
Show BibTeX
@dataset{sahay2026_23915872,
author = {Sahay, Shahan and Yadav, Harsh and Jaiswal, Avishkar and Sharma, Aaradhya and Gupta, Shivani and Tiwari, Ravi},
title = {Data and code for "Weather-year choice outweighs algorithm choice in sizing standalone hybrid renewable energy systems"},
year = {2026},
publisher = {Zenodo},
version = {3},
doi = {10.5281/zenodo.23915872},
url = {https://doi.org/10.5281/zenodo.23915872}
}
Weather-year choice outweighs algorithm choice in sizing standalone hybrid renewable energy systems