Skip to content

SynapticGrid is an AI-driven system designed to make cities more efficient, sustainable, and livable by optimizing smart energy grids, waste management, and traffic flow through IoT sensors, real-time data processing, and reinforcement learning algorithms. The modular platform continuously learns and improves, helping urban environments

License

Notifications You must be signed in to change notification settings

ShaliniAnandaPhD/SynapticGrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: AI for Smarter, More Sustainable Cities

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.


What SynapticGrid Does

1. Smarter Energy Grids

  • 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

2. Intelligent Waste Management

  • 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

3. Traffic Optimization & Smart Mobility

  • 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

How It Works

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        │
│                      │     │                  │     │                │
└──────────────────────┘     └──────────────────┘     └────────────────┘

Getting Started

Requirements

  • Python 3.8+
  • MongoDB
  • Dependencies listed in requirements.txt

Installation

  1. Clone the repository:

    git clone https://github.com/ShaliniAnandaPhD/SynapticGrid.git
    cd SynapticGrid
  2. Set up a virtual environment:

    python -m venv venv
    source venv/bin/activate  # Windows: venv\Scripts\activate
  3. Install dependencies:

    pip install -r requirements.txt
  4. Set up the database:

    python setup_db.py
  5. Run the application:

    python app.py
  6. Open the dashboard:

    http://localhost:5000
    

Core Modules

1. Smart Energy Grid (grid_optimizer.py)

  • Balances power loads across neighborhoods
  • Predicts energy demand to prevent shortages
  • Uses reinforcement learning to improve grid efficiency

2. Waste Management System (bin_manager.py)

  • Monitors real-time bin fill levels
  • AI learns to sort waste more accurately over time
  • Optimizes waste collection routes to reduce fuel use

3. Traffic Management (traffic_rl.py)

  • Optimizes traffic light timing to reduce congestion
  • Predicts and adapts to changing traffic patterns
  • Helps optimize public transport and EV routes

4. Data Collection API (data_collector.py)

  • Collects real-time data from traffic sensors, smart bins, and energy meters

5. Simulation Engine (simulation.py)

  • Lets users test the system before deploying in a real city

API Endpoints

  • GET /api/grid/status – Gets live data on energy use
  • GET /api/bins – Fetches the latest bin status updates
  • GET /api/traffic/signals – Checks traffic optimization status
  • POST /api/bins/{bin_id}/update – Updates a bin’s fill level
  • GET /api/recommendations – Provides recommendations for energy, waste, and traffic management

How AI Powers SynapticGrid

1. Smarter Energy Grids

  • 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

2. AI Waste Sorting

  • 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

3. Intelligent Traffic Control

  • 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

Watch It in Action


Get Involved

This project keeps growing. If you want to contribute, here’s how:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/NewFeature)
  3. Commit your changes (git commit -m 'Added NewFeature')
  4. Push to your branch (git push origin feature/NewFeature)
  5. Open a pull request

License

This project is licensed under the MIT License. See the LICENSE file for details.


Acknowledgements

  • 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.

About

SynapticGrid is an AI-driven system designed to make cities more efficient, sustainable, and livable by optimizing smart energy grids, waste management, and traffic flow through IoT sensors, real-time data processing, and reinforcement learning algorithms. The modular platform continuously learns and improves, helping urban environments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published