Hexa Watts is a Streamlit-based web application that allows users to analyze and predict electricity consumption across French regions. The app provides visualizations, exploratory data analysis (EDA), and machine learning predictions to support energy management and planning.
Note: The application's interface and explanatory text are in French. This is to provide a localized experience for French-speaking users.
-
Data Visualization:
- Regional energy production and consumption trends.
- Renewable energy production breakdown (solar, wind, hydro, bioenergy).
- European energy comparisons using Eurostat data.
-
Machine Learning:
- Predicts electricity consumption (in MW) based on region, date, time, and temperature data.
- Linear Regression model trained on historical data.
-
Data Sources:
- French energy consumption data: RTE eco2mix.
- Regional population statistics: INSEE.
- Regional temperature data: Météo France.
- European energy data: Eurostat.
To run the application locally, follow these steps:
git clone https://github.com/your-username/energie-france.git
cd energie-france
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
streamlit run streamlit_app.py
energie-france/
├── datasets/ # Data files used for analysis and predictions
├── models/ # Pre-trained ML models (e.g., Linear Regression)
├── content/ # Modular Streamlit pages (e.g., Introduction, Visualizations)
├── images/ # Image assets for the application
├── streamlit_app.py # Main application entry point
├── requirements.txt # Dependencies for the project
└── README.md # Project documentation
- Python: Primary programming language.
- Streamlit: Framework for building the web application.
- Pandas: Data manipulation and analysis.
- Plotly: Interactive visualizations.
- Scikit-Learn: Machine learning for predictions.
- Joblib: Model serialization.
This project is licensed under the MIT License. See the LICENSE file for details.