|
|
||
|
TheoryThe Kuramoto model describes how a population of coupled oscillators with different natural frequencies can spontaneously synchronize. It captures a phase transition: below a critical coupling strength the system stays disordered; above it, coherence emerges and the oscillators lock to a common rhythm. This behavior appears in fireflies, heart cells, power grids, and neural networks. What this simulation showsMain canvas: Each dot is an oscillator. Its phase θ (angle) evolves in time; color maps phase to hue so that similar phases look similar. At low coupling the dots flicker randomly; as you increase Coupling strength K, they can suddenly lock into a shared rhythm. Phase circle: The same oscillators plotted on a unit circle (angle = phase). Synchronization appears as dots clustering in one direction. Order parameter R: The magnitude of the mean phase vector, from 0 (disordered) to 1 (fully synchronized). The sparkline shows R(t) in real time. The Phase transition curve is built by the "Run Auto-Sweep" experiment: it plots R vs K and reveals the critical coupling where order emerges. Mathematical foundationThere are N oscillators. Each has a phase θi and a natural frequency ωi (drawn from a distribution, e.g. Gaussian). The dynamics are dθi/dt = ωi + (K/N) Σj sin(θj − θi) The sum is over all other oscillators (all-to-all coupling). The sine term pulls oscillator i toward the phases of the others; K sets the strength. Integration is done with a simple Euler step: θi(t+dt) = θi(t) + dt · dθi/dt. Order parameter: The complex number reiψ = (1/N) Σj eiθj. The magnitude R = |reiψ| (0 ≤ R ≤ 1) measures global coherence: R ≈ 0 when phases are spread uniformly, R → 1 when they align. Phase transition: For a unimodal frequency distribution there is a critical coupling Kc. For K < Kc, R stays near 0; for K > Kc, R grows. The "Run Auto-Sweep" experiment gradually increases K and records R, drawing the transition curve. Time vs phase for all individualReal-time coherence R0%
Phase transition curveR vs K
2.0
1.5
2.0
Click a generator to overload it; watch stress spread. R < 0.8 = instability.
Links:
Low stress
Medium stress
High stress
Tripped
Nodes:
Generator (0)
Generator (π/4)
Generator (π/2)
Generator (3π/4)
Generator (π)
Generator (5π/4)
Generator (3π/2)
Generator (7π/4)
Overloaded
Blackout
R: —
Blackout: 0
Tripped: 0
Usage (Theory tab)
Usage (Power Grid tab)
Parameters
Buttons
|
||