| # GHI Prediction β Solar Radiation Forecasting System | |
| This interactive demo presents a production-grade **machine learning system** for predicting **Global Horizontal Irradiance (GHI)** using real-world weather data collected from weather stations across **Saudi Arabia**. | |
| The model enables fast and accurate solar radiation forecasting, supporting applications in **solar energy planning, grid optimization, and sustainable infrastructure development**. | |
| --- | |
| ## Input Features & Valid Ranges | |
| All inputs are validated using real data bounds to ensure reliable predictions: | |
| | Feature | Valid Range | | |
| |-------|------------| | |
| Air Temperature (Β°C) | 8.10 β 39.70 | | |
| Air Temperature Uncertainty (Β°C) | 0.50 β 0.60 | | |
| Wind Direction (Β°N) | 0 β 359 | | |
| Wind Direction Uncertainty (Β°N) | 0.0 β 4.80 | | |
| Wind Speed at 3m (m/s) | 0.0 β 7.80 | | |
| Wind Speed Uncertainty (m/s) | 0.0 β 0.10 | | |
| Wind Speed Std Dev (m/s) | 0.0 β 4.50 | | |
| DHI (Wh/mΒ²) | 865.8 β 6394.6 | | |
| DHI Uncertainty (Wh/mΒ²) | 37.3 β 1344.8 | | |
| Standard Deviation DHI (Wh/mΒ²) | 148.3 β 1649.6 | | |
| DNI (Wh/mΒ²) | 0.3 β 9517.0 | | |
| DNI Uncertainty (Wh/mΒ²) | 0.2 β 2115.8 | | |
| Standard Deviation DNI (Wh/mΒ²) | 0.4 β 3282.2 | | |
| GHI Uncertainty (Wh/mΒ²) | 98.4 β 5249.6 | | |
| Standard Deviation GHI (Wh/mΒ²) | 117.6 β 1720.7 | | |
| Peak Wind Speed at 3m (m/s) | 0.0 β 40.5 | | |
| Peak Wind Speed Uncertainty (m/s) | 0.0 β 0.20 | | |
| Relative Humidity (%) | 8.3 β 95.9 | | |
| Relative Humidity Uncertainty (%) | 2.8 β 3.7 | | |
| Barometric Pressure (hPa) | 831.3 β 1019.7 | | |
| Barometric Pressure Uncertainty (hPa) | 4.1 β 6.2 | | |
| --- | |
| ## Model & Training Summary | |
| Multiple machine learning models were trained and evaluated: | |
| - Linear Regression **(Deployed Model)** | |
| - Random Forest | |
| - Decision Tree | |
| - KNN | |
| - SVR | |
| - XGBoost | |
| - Artificial Neural Network | |
| - Histogram Gradient Boosting | |
| ### Final Model Selection Strategy | |
| The final deployed model β **Linear Regression** β was selected using an automated ranking system that balances: | |
| - **Prediction accuracy** (RMSE, RΒ²) | |
| - **Inference latency** (real-time performance) | |
| This approach ensures both **high accuracy and fast response** for real-world deployment. | |
| ### Best Model Performance | |
| | Model | MAE | RMSE | RΒ² | Training Time | | |
| |------|------|------|------|------| | |
| Linear Regression | 135.94 | 193.74 | 0.97 | 0.01s | | |
| Histogram Gradient Boosting | 140.58 | 192.11 | 0.98 | 0.83s | | |
| XGBoost | 148.37 | 198.05 | 0.97 | 2.73s | | |
| ANN | 154.4 | 241.22 | 0.96 | 10.6s | | |
| --- | |
| ## Experiment Tracking | |
| All experiments, comparisons, and model selection were tracked using **Weights & Biases** with full reproducibility and visualization. | |
| π W&B Dashboard: | |
| https://wandb.ai/nishnarudkar-d-y-patil-university/solar-radiation-prediction | |
| --- | |
| ## Full Project Ecosystem | |
| - π₯οΈ **Live Web Application:** | |
| https://solar-radiation-prediction-using-saudi.onrender.com | |
| - π» **Source Code (GitHub):** | |
| https://github.com/nishnarudkar/Solar-Radiation-Prediction-using-Saudi-Arabia-Dataset | |
| - π§βπ¬ **AWS Builder Center Article:** | |
| https://builder.aws.com/content/36qXvwTipuNwbZMUPf3hQ7n2IS0/from-experiment-tracking-to-automated-model-selection-a-solar-radiation-prediction-pipeline | |
| - π° **Medium Article:** | |
| https://medium.com/@nishnarudkar/from-experiment-tracking-to-automated-model-selection-a-practical-ml-workflow-cf193d1b1098 | |
| --- | |
| ## Team | |
| - **Nishant Narudkar** | |
| - Maitreya Pawar | |
| - Vatsal Parmar | |
| - Aamir Sarang | |
| --- | |
| This Hugging Face Space demonstrates the final trained model with validated real-world constraints and a clean interactive interface for public experimentation. | |