A web application that predicts solar power generation based on real-time weather data using machine learning.
- Real-time Weather Integration: Fetches current weather conditions from OpenWeatherMap API
- Machine Learning Model: Uses a pre-trained Random Forest Regressor to predict solar power output
- Dynamic Tips: Generates personalized optimization recommendations based on weather conditions
- Interactive Visualization: Displays prediction results with charts and detailed metrics
- Responsive Design: Works on both desktop and mobile devices
Frontend: HTML ,CSS ,JavaScript ,Bootstrap 5 (UI framework) ,Chart.js (Data visualization)
Backend: python, flask
Dataset: solar_power_generation.csv
- Random Forest Regressor
- Feature engineering:
- Time proxies from solar position
- Weather interactions (temperature × humidity, radiation × cloud cover)
- Seasonal indicators
- Python 3.8+
- pip package manager
- Clone the repository
- Install dependencies
- Set up your OpenWeatherMap API key from OpenWeatherMap
- Replace the API key in app.py
- Run the application