An advanced, multi-modal machine learning platform and real-time ingestion pipeline designed for state-level electrical power infrastructure. This system integrates IoT telemetry, drone imagery analytics, and weather sensor data to predict Asset Remaining Useful Life (RUL), execute dynamic line rating adjustments, and perform predictive network load balancing.
- Asset Health Regressor: Built on a
RandomForestRegressorensemble pipeline trained across multiple vectors. - Feature Integration: Synthesizes internal thermal loads (
temp_C,load_pct), structural health degradation indices (insulation_health), drone spatial anomalies (veg_distance_m,conductor_sag_cm), and environmental IoT metrics (ambient_temp_C).
- Adaptive Ceilings: Automatically scales safe operational line thresholds between 76.0% and 96.0% capacity.
- Thermal Modeling: Computes ambient cooling coefficients using real-time local wind velocity measurements weighted against thermal air stresses.
- Automated Mitigation: Scans the infrastructure mesh for nodes dropping below critical RUL boundaries (< 30 days).
- Shedding Optimization: Isolates available system headroom and smoothly steps down overstressed elements, rerouting power directly into under-utilized grid layers without dropping generation baseloads.
- Language: Python 3.10+
- ML Framework: Scikit-Learn (Random Forest Ensemble)
- Data Processing: NumPy, Pandas
- UI Layer: Streamlit Web Framework / Interactive Control Room CLI Terminal
git clone https://github.com
cd aptransco-grid-intelligencepython -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activatepip install numpy pandas scikit-learn streamlitTo run the high-performance, responsive live tracking interface:
streamlit run app.pyTo start the standard telemetry streaming loop in a terminal session:
python grid_monitor.pyThe platform evaluates financial risk exposure and tracks capital preservation values in real time:
| Financial Cost Parameter | Allocated Value (INR) | Description |
|---|---|---|
| COST_REPLACEMENT_GEN | ₹4,50,00,000 | Total Generation Asset Unit Fail Capital |
| COST_REPLACEMENT_TX | ₹1,40,00,000 | Major Transmission Asset Fail Capital |
| COST_LINE_REPAIR | ₹22,00,000 | Local Distribution/Feeder Line Fix |
| REGULATORY_FINE | ₹1,80,00,000 | State Environmental & Safety Breach Fine |
| EMERGENCY_LABOR_RATE | ₹16,000 / hr | Reactive Breakdown Emergency Crew Rate |
| PLANNED_LABOR_RATE | ₹4,200 / hr | Proactive Preventive AI Dispatch Rate |
On every pipeline cycle tick, the engine appends compressed telemetry and optimization logs directly into the centralized historical ledger file:
- Output Path:
ap_grid_unified_intelligence.csv - Log Columns:
timestamp,asset_id,level,temp_C,load_pct,predicted_rul,optimized_load_pct,reactive_risk_inr,net_saved_capital_inr.
This grid control system software is proprietary property. Licensed for authorized use inside APTRANSCO and APSPDCL Power Systems Operations Control Centres (SLDC).
Created by: Srinivasta