Skip to content

0xMoni/syntrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SYNTRIX

City-Scale Autonomous Resource Optimization Platform

Real-time optimization of water, electricity, and waste across 9 city zones in Bangalore Metro (20.4M population). AI predicts demand, detects anomalies, and redistributes finite resources so no neighborhood goes critical.

Features

  • Smart Finite-Resource Optimization — Resources are redistributed, not created. Water transfers, power load-shifts, and waste truck dispatches keep all zones balanced.
  • AI Demand Prediction — Linear regression on sensor history + time-of-day demand curves + weather modifiers. Predicts 6 steps ahead. Proactive commands fix problems before they happen.
  • Data Inconsistency Handling — Sensor anomaly detection, conflicting sensor arbitration, stale data flagging, and automatic smoothing.
  • Real-Time Simulation — 3-second tick engine with demand curves, weather effects (heatwave, rainfall), and city events (cricket matches, pipe bursts).
  • Role-Based Mobile App — Operator: dashboard, alerts, AI optimization, command history. Citizen: zone status, issue reporting with AI-generated resolutions.
  • Zone Locking — Freeze any zone for testing or demo stability.
  • SDG Metrics — Real-time tracking of SDG 6.4, 7.2, 11.6, 12.5 indicators.
  • 14 REST API Endpoints — Full control over zones, optimization, weather, events, predictions, and logging.

Tech Stack

Layer Technology
Backend Node.js, Express
Mobile React Native, Expo
Simulation Custom JS tick engine + Python sector simulator
State In-memory with file-based seed

Quick Start

npm install
npm run dev

Server runs at http://localhost:3001

API Endpoints

Method Route Description
GET /state Full city snapshot
GET /zones All 9 zones
GET /zones/:id Single zone
PATCH /zones/:id Manual override
POST /optimize Apply optimization
POST /optimize/auto Smart AI optimization
GET /predict Demand predictions (all zones)
GET /predict/:id Prediction for one zone
POST /event Inject city event
DELETE /event/:id Remove event
PATCH /simulation Configure simulation
PATCH /weather Change weather
GET /log Command history
GET /sdg SDG metrics

9 Zones

Zone Area Population
Z1 North Harbor 2.1M
Z2 Central Core 3.4M
Z3 East District 1.8M
Z4 West Valley 2.6M
Z5 Midtown 4.1M
Z6 Tech Corridor 1.2M
Z7 South Port 2.9M
Z8 Industrial 0.8M
Z9 Greenway 1.5M

INNOVATEX 4.0 — Round 2

Built at Presidency University for the INNOVATEX 4.0 hackathon.

About

A JavaScript web app for creative coding and visual experiments

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors