Power Grid Synchronization: Swing-Equation Cascade
Interactive 2D swing-equation simulator: watch generator and load rotor angles on a meshed 12-bus grid oscillate and phase-lock as a real 2nd-order ODE network, then trip one line and see overcurrent relays and under-frequency load shedding cascade in real electromechanical time.
Every bus in this meshed 12-bus, 20-line network is modeled as its own rotating mass obeying the real electromechanical swing equation, coupled to its neighbors through the true nonlinear AC power-angle relation and integrated live with a 4th-order Runge-Kutta solver — not re-solved as a linear snapshot after each change. Trip a single transmission line and watch the network's rotor angles and frequencies swing in real time as power reroutes, overcurrent relays trip further overloaded lines after a realistic inverse-time delay, and any bus whose local frequency collapses far enough triggers automatic under-frequency load shedding. The Kuramoto order parameter tracks how tightly the whole grid stays phase-locked, falling visibly the moment synchronism is lost — the same electromechanical mechanism (not a mere overload) behind real transient-stability blackouts.
Trip one transmission line in a meshed 12-bus grid and watch every bus's rotor angle and frequency evolve live under the real nonlinear swing equation (2nd-order ODE, RK4-integrated) as overcurrent relays and under-frequency load shedding cascade in electromechanical time, distinct from the static DC-power-flow snapshot of the 3D version.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install