Open Source Attribution Notice
Using open source software without proper attribution or in violation of license terms is not only ethically problematic but may also constitute a legal violation. I believe in supporting the open source community that makes projects like this possible.
If you're using code or tools from this repository or GitHub, please ensure you maintain all attribution notices and comply with all applicable licenses.
SynapticGrid is an evolving system designed to make cities more efficient, sustainable, and livable using AI and data-driven insights. This project focuses on smart energy grids, waste management, and traffic optimization—helping cities reduce waste, ease congestion, and manage power more effectively.
By combining IoT sensors, real-time data processing, and reinforcement learning, SynapticGrid continuously learns and improves, adapting to the needs of growing urban environments. This isn't just a research project—it’s a practical system designed to help cities operate smarter.
- Uses AI to balance power demand across neighborhoods, preventing blackouts and energy waste
- Helps cities manage renewable energy sources efficiently
- Predicts energy needs in real-time to optimize distribution
- Reduces energy waste and improves reliability with adaptive learning models
- Smart bins monitor waste levels and send alerts when they need to be emptied
- AI sorts waste more accurately over time, improving recycling rates
- Optimized collection routes reduce fuel consumption and traffic
- Data-driven recommendations help place bins where they’re needed most
- AI adjusts traffic light timing to reduce congestion in real time
- Predicts traffic patterns to help with long-term urban planning
- Optimizes public transport and electric vehicle routes for efficiency
- Monitors pedestrian movement and vehicle flow to improve road safety
SynapticGrid is built as a modular system that integrates sensors, machine learning, and interactive dashboards.
┌────────────────────────┐ ┌──────────────────┐ ┌───────────────────┐
│ IoT Smart Sensors │────▶│ Data Collection │────▶│ AI Processing │
│ - Traffic Cameras │ │ & Processing │ │ - Reinforcement │
│ - Smart Bins │ │ (Flask API) │ │ Learning Models │
│ - Energy Meters │ │ │ │ - Optimization │
└────────────────────────┘ └──────────────────┘ └───────────────────┘
│ │
▼ ▼
┌──────────────────────┐ ┌──────────────────┐ ┌────────────────┐
│ Web Dashboard │◀───▶│ AI Decisioning │◀───▶│ Analytics │
│ (HTML/CSS/JS) │ │ & Automation │ │ Engine │
│ │ │ │ │ │
└──────────────────────┘ └──────────────────┘ └────────────────┘
- Python 3.8+
- MongoDB
- Dependencies listed in
requirements.txt
-
Clone the repository:
git clone https://github.com/ShaliniAnandaPhD/SynapticGrid.git cd SynapticGrid
-
Set up a virtual environment:
python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Set up the database:
python setup_db.py
-
Run the application:
python app.py
-
Open the dashboard:
http://localhost:5000
- Balances power loads across neighborhoods
- Predicts energy demand to prevent shortages
- Uses reinforcement learning to improve grid efficiency
- Monitors real-time bin fill levels
- AI learns to sort waste more accurately over time
- Optimizes waste collection routes to reduce fuel use
- Optimizes traffic light timing to reduce congestion
- Predicts and adapts to changing traffic patterns
- Helps optimize public transport and EV routes
- Collects real-time data from traffic sensors, smart bins, and energy meters
- Lets users test the system before deploying in a real city
GET /api/grid/status
– Gets live data on energy useGET /api/bins
– Fetches the latest bin status updatesGET /api/traffic/signals
– Checks traffic optimization statusPOST /api/bins/{bin_id}/update
– Updates a bin’s fill levelGET /api/recommendations
– Provides recommendations for energy, waste, and traffic management
- Understands power consumption patterns to balance loads efficiently
- Predicts energy demand based on usage trends
- Adjusts power distribution in real-time to reduce strain on the grid
- Recognizes different types of waste and learns to sort them better over time
- Reduces contamination in recycling by improving classification accuracy
- Encourages sustainable waste disposal through automated bin monitoring
- Monitors real-time congestion and adjusts traffic signals dynamically
- Uses historical data to predict rush hour patterns and optimize flow
- Helps cities plan better by analyzing long-term trends
- Smarter Energy Grids: Watch Demo
- Traffic Optimization: Watch Demo
- Smart Waste Management (Mac Users Only): Watch Demo
- Decentralized Smart Grid https://www.linkedin.com/posts/shalinianandaphd_decentralization-smartgrid-ai-activity-7305001874422661120-WBPN?utm_source=share&utm_medium=member_desktop&rcm=ACoAAATH3cgBLB3ZhNKdiK83PyAA1KPddyaaY2I
This project keeps growing. If you want to contribute, here’s how:
- Fork the repository
- Create a feature branch (
git checkout -b feature/NewFeature
) - Commit your changes (
git commit -m 'Added NewFeature'
) - Push to your branch (
git push origin feature/NewFeature
) - Open a pull request
This project is licensed under the MIT License. See the LICENSE
file for details.
- Flask – Backend framework
- TensorFlow & PyTorch – Machine learning models
- MongoDB – Scalable database for urban data storage
- Pandas & NumPy – Data analytics tools
SynapticGrid is built to help cities run smarter, cleaner, and more efficiently. Whether it's reducing traffic jams, improving waste management, or making energy grids more reliable, this system is designed to adapt and grow.