A smart energy management and electricity theft detection system using Machine Learning and Data Analytics.
- Introduction
- Features
- System Design
- Technologies Used
- Project Structure
- Setup and Installation
- Usage
- Contributors
- License
This Smart Energy Grid project addresses energy distribution and theft detection challenges using data from the Gorwa Sub Division, MGVCL. The project employs Machine Learning for detecting anomalies in energy consumption and leverages Big Data analytics for real-time monitoring.
The system helps optimize energy distribution, improve grid reliability, and reduce losses by analyzing historical and real-time data.
- Real-Time Monitoring: Collects and analyzes live data from smart meters and sensors.
- Anomaly Detection: Identifies electricity theft and irregular consumption using Machine Learning.
- Predictive Analytics: Forecasts energy demand and optimizes distribution.
- Visualization Dashboards: Real-time energy insights using PowerBI.
The system consists of several interconnected components:
- Data Acquisition: Collects data from smart meters and sensors in real-time.
- Data Processing: Processes data using Machine Learning models for real-time analysis.
- Visualization: Displays results on a PowerBI dashboard for utility providers.
The architecture is modular and scalable, enabling easy integration with smart meters and sensors. It uses NodeMCU ESP32 for data collection and transmission.
- NodeMCU ESP32: Handles wireless communication and data processing.
- ZMTP101B AC Voltage Sensor: Measures voltage in real-time.
- ACS712 Current Sensor: Measures current flow and monitors power consumption.
- Machine Learning: Isolation Forest for anomaly detection.
- Data Processing: Python (pandas, scikit-learn) for data analysis.
- Visualization: PowerBI for dashboards and real-time monitoring.
Smart-Energy-Grid/
│
├── Data/ # Data files and logs
├── Hardware/ # C++ sripts for Arduino IDE
├── Scripts/ # Python scripts for data processing and ML
├── Images/ # Images used in README and documentation
├── Dashboards/ # PowerBI dashboard files
├── README.md # This file
└── LICENSE # License file
- Python 3.x
- NodeMCU ESP32
- PowerBI Desktop for dashboard visualization
-
Clone this repository:
git clone https://github.com/Honeypatel123/Smart-Energy-Grid.git cd Smart-Energy-Grid
-
Install the required Python libraries by running the following command:
pip install -r requirements.txt
-
Connect the NodeMCU ESP32 to your system and configure it for data collection. Ensure that the voltage and current sensors (ZMTP101B and ACS712) are properly connected to the NodeMCU.
-
Upload real-time data from the NodeMCU ESP32 to your local machine. The data will be stored in the
data/
folder for analysis. -
Open the PowerBI dashboard by launching the
.pbix
file located in thedashboards/
directory:- You will be able to visualize real-time energy consumption, anomaly detection results, and other relevant metrics in the PowerBI dashboard.
-
Start Data Collection:
- Upload real-time data from the NodeMCU ESP32 to your local storage.
-
Run Machine Learning Model:
scripts/Smart Grid Data Transformation and Modelling (1).ipynb
-
View Dashboard: Open the PowerBI dashboard to visualize real-time data and anomaly reports.
- Honey Patel
- Yash Rank
- Surani Smit
- Aviral
This project is licensed under the MIT License. See the LICENSE file for details.