Published May 1, 2026 | Version v5

Solar dataset for Machine Learning Analysis

  • 1. Technical University of Ostrava

Contributors

Data collector:

Hosting institution:

  • 1. ROR icon VSB - Technical University of Ostrava

Description

This dataset contains meteorological inputs, photovoltaic (PV) simulation outputs, and machine learning features used to predict monthly optimal tilt angles for fixed PV systems across 17 globally distributed cities representing four Köppen-Geiger climate zones (tropical, subtropical, temperate, and cold/subpolar).

The optimal tilt angles were determined using PVLib-based simulations of energy output for tilt angles from 0° to 70°, in 1° increments. The angle that produced the highest monthly energy yield was recorded as the optimal tilt. These simulation-derived values were then used to train supervised machine learning models (Random Forest, XGBoost, Linear Regression) that predict monthly tilt angles based on weather features and geographical characteristics.

The dataset enables:
- Monthly optimal tilt estimation
- Solar PV performance analysis across climate zones
- Machine learning model training and benchmarking
- Climate-adaptive PV system design research

------------------------------------------------------------
2. File Information
------------------------------------------------------------
Filename: all_cities_ml_ready_onehot.csv
Format: Comma-separated values (CSV)
Rows: ~67,000 samples
Columns: 40+ variables (meteorological, geographic, encoded climate categories, energy outputs)

Each row represents a month-location instance with environmental inputs and simulation-based outputs.

------------------------------------------------------------
3. Variable Descriptions
------------------------------------------------------------
Key meteorological features:
- ghi: Global Horizontal Irradiance (W/m²)
- dni: Direct Normal Irradiance (W/m²)
- dhi: Diffuse Horizontal Irradiance (W/m²)
- temp_air: Air temperature (°C)
- wind_speed: Wind speed (m/s)
- pressure: Atmospheric pressure (hPa)
- relative_humidity (%)

Geographical and temporal features:
- latitude (degrees)
- longitude (degrees)
- month (1–12)
- climate_Tropical, climate_Subtropical, climate_Temperate, climate_Cold (one-hot encoded Köppen zones)

Simulation-based PV Energy Output:
- energy_0deg, energy_1deg, ..., energy_70deg (monthly summed PVLib output in kWh/month)

Ground Truth Label:
- best_tilt (°): Tilt with highest monthly PV energy output
- best_energy (kWh): Energy output at best tilt

------------------------------------------------------------
4. Cities Included (17 total)
------------------------------------------------------------
Bangkok, Jakarta, Nairobi, Dubai, Cape Town, Sydney, Santiago,
Las Vegas, Madrid, New York, Tokyo, Beijing, Berlin, Ostrava,
Helsinki, Reykjavík, Ushuaia

These cities were selected to represent climate diversity across hemispheres.

------------------------------------------------------------
5. Data Sources
------------------------------------------------------------
- Typical Meteorological Year (TMY) data retrieved from PVGIS (EU Joint Research Centre)
- PV energy simulation performed using PVLib Python (Sandia Array Performance Model)
- Climate classification based on Köppen–Geiger (2022 dataset)

------------------------------------------------------------
6. License
------------------------------------------------------------
Creative Commons Attribution 4.0 International (CC BY 4.0)
Users may share and adapt the dataset with proper citation.

------------------------------------------------------------
7. How to Cite
------------------------------------------------------------
Please cite this dataset as:

Lin, O.Z., Štěpanec, L., Koutroulis, E., Juchelkova, D., & Aye, H.Y. (2025).
Global Monthly Solar PV Tilt Optimization Dataset (Version 1.0). Zenodo. DOI: (insert after upload)

------------------------------------------------------------
8. Related Publication
------------------------------------------------------------
Lin, O.Z., et al. “Optimizing Monthly Solar PV Tilt Angles and Energy Yield Across Global Climate Zones: A Hybrid Machine Learning and PVLib Approach.” (Preprint / Journal DOI once published)

------------------------------------------------------------
9. Contact
------------------------------------------------------------
For questions, corrections, or collaboration:
Email: (your email)
Institution: Technical University of Ostrava, Czech Republic

Files

all_cities_ml_ready_onehot (1).csv

Files (92.5 MB)

Name Size
md5:c692af14415b7466521d0e2e5a0246a1
92.5 MB Preview Download
md5:de03277ecbf92f9d428981a5553fb733
4.9 kB Preview Download

Additional details

Funding

VSB - Technical University of Ostrava
Research Platform for Digital Transformation and Society 5.0 CZ.02.01.01/00/23_021/0012599

Dates

Available
2025-12-30
Online

Software

Programming language
Python
Development Status
Active