⚑ Grid Outage Forecaster

T2.3 Β· AIMS KTT Hackathon 2026 Β· Kigali, Rwanda
0.176
Brier Score
61.2
MAE (min)
2.79h
Avg Lead Time
Business:
πŸ’‡ Beauty Salon
🧊 Cold Room
🧡 Tailor Shop
⚠️ OFFLINE MODE β€” Forecast last updated . Plan valid for 6 hours from generation. After 13:00 without refresh, treat HIGH-risk hours as confirmed. Call 0788-GRID for live status.
πŸ“ˆ Forecast
πŸ”Œ Appliance Plan
πŸ“± SMS Digest
ℹ️ About
P(outage)
Uncertainty band
LOW risk <12%
MEDIUM 12–25%
HIGH >25%

Hourly Risk β€” click a cell to drill into plan

Hour 0 Β· 00:00

Hour 0
Shedding Logic: Luxury β†’ Comfort β†’ Critical (never shed during peak unless P > 0.50). Within category: lowest revenue shed first. Critical always ON during business peak hours.

πŸ“± Morning Digest β€” Feature Phone SMS

Sent at 06:30 CAT. Max 3 messages Γ— 160 chars. Works on any GSM phone. No internet required. Language: Kinyarwanda/English mix for maximum reach.

πŸ”• Offline Fallback Protocol
If no internet refresh by 13:00: Device shows last cached plan with a red ⚠️ staleness banner. Risk budget: plan valid for 6 hours from generation time. After 6h, all HIGH-risk flags remain but MEDIUM degrades to LOW (overly cautious). Maximum acceptable staleness before stopping to trust the plan: 8 hours. Owner sees: "PLAN STALE β€” use generator, call 0788-GRID."
πŸ”Š Illiteracy Adaptation β€” Voice + LED Relay
Design choice: Colored LED relay board (3 LEDs per appliance slot).
🟒 GREEN = ON safe Β· 🟑 YELLOW = shed if load high Β· πŸ”΄ RED = OFF now.
Board connects via GPIO to a β‰ˆUSD 8 ESP32 running cached plan. No reading required. Physical override switch lets owner override any LED. Justification: LEDs are universal, no language barrier, no smartphone needed, $8 hardware cost, zero ongoing data cost.

Technical Notes

Model
LightGBM classifier for P(outage) + regressor for E[duration | outage]. Features: lagged load (1h, 2h, 24h, 48h), rolling stats, weather (temp, humidity, rain, wind), temporal (hour, DOW, month, peak flags, rainy season). Training: 150-day window. Evaluation: rolling 30-day held-out.
Performance
Brier score: 0.1756 (naΓ―ve base rate = ~0.212)
Duration MAE: 61.2 min
Avg lead time on true outages: 2.79h
Inference latency: <300ms CPU
Retraining time: <10 min
Constraints Met
βœ… CPU-only Β· βœ… <10 min retrain Β· βœ… <300ms serve
βœ… 50KB static UI Β· βœ… Feature phone SMS digest
βœ… Offline fallback protocol Β· βœ… Illiteracy adaptation
βœ… 3 business archetypes Β· βœ… Critical-before-luxury rule
Hardest Trade-off
Chose LightGBM over Prophet: faster retrain, handles irregular time steps, natively supports tabular weather features. Trade-off: less interpretable seasonality decomposition. Compensated with explicit hour/DOW/month features and SHAP values available in eval notebook.