HideoutLab

Back to Works

PEA SubstationOps

AI that plans the teams, equipment and vehicles for substation maintenance, across provinces. Built for PEA Hackathon 2026.

Category
AIWeb appHackathonWeb platformLLMMachine learning
Developers
Anupun Khumthong+1 more
PEA SubstationOps

PEA SubstationOps is a proof of concept built by AGICAFET for PEA Hackathon 2026, for the Provincial Electricity Authority (PEA). It helps supervisors staff substation testing and maintenance jobs: for each job it recommends a team, equipment and a vehicle, can borrow them from another region, and weighs the travel cost against who is actually free that day.

The AI

  • Every recommendation comes with the reasons behind it, and a Google Gemini assistant explains in chat why a team was picked
  • Plans are ranked by how many of the team are free on the day, whether they are in the same region, and the cost of travelling there
  • A world model (a JEPA-inspired neural network in PyTorch) predicts a plan's time, cost, chance of success and risk from 15 features; in training it reached R² 0.951 to 0.996 on all four
  • An AI Monitor page tracks the model: prediction error, calibration, drift and serving health

The system

  • Staff report a job with its type (protection relays, circuit breakers and switchgear, transformers and AVR), priority, PEA branch and date
  • A dashboard of issues by status and priority, and a map of open jobs and free teams across Thailand
  • Every team's calendar for the month: free, on a job, on leave or off
  • An operator view where teams accept and work through their jobs
  • A data pipeline that reads PEA's own Excel rosters, where each day's status is the cell's color

Built with

  • Next.js, React, Tailwind CSS and shadcn/ui
  • Leaflet and Recharts
  • Python, pandas and openpyxl for the data pipeline
  • PyTorch for the world model
  • Supabase
  • Google Gemini
  • Vercel, deployed by GitHub Actions

Screenshots

In the app

Every team's month at a glance: free, on a job, on leave or off (names blurred)
AI Monitor: how well the world model predicts, and when it starts to drift
Serving health, drift and regression tests (simulated data in the proof of concept)
From training: R² 0.951 to 0.996 on all four predictions, and the loss curve
Reporting a job: its type, priority, PEA branch and date
Sign-in, built for PEA Hackathon 2026

Discover more of our work

Chat with us

Have a project in mind?

Message us on Facebook or send us a message here, and tell us what you'd like to build.

Contact us