Evidence

Cross-checked against independent tools. To machine epsilon.

GridSim's solvers are checked against pandapower, published MATPOWER solutions and SciPy, and its frequency model is replayed against recorded GB events. Every figure on this page comes from a run recorded in the repository, with the script that measured it.

Three kinds of evidence

Each answers its own question.

01

Repeatability

The same inputs give the same bits on every run, CPU tier and operating system, and the dense and sparse engines agree to the bit.

How determinism works
02

Verification

Results agree with independent tools solving the same equations, and every converged state can be audited against the conservation laws it must satisfy.

See the cross-checks
03

Recorded events

The frequency model replays sourced GB disturbances through a credibility gate before any counterfactual is allowed to run.

See the replays

Power flow against pandapower

Inside a 4096 machine-epsilon gate on every case.

The worst difference on the full 3,539-bus GB model is 3.3e-13 pu, a 2.7× margin inside the gate.

Each case is solved in GridSim, exported and re-solved independently in pandapower 3.5.5. The gate is 4096 machine epsilons, 9.09e-13, on voltage magnitude in per unit and angle in radians. Run it yourself with gridsim crossval case14.

Worst difference from pandapower
CaseVm (pu)Va (rad)
case94.4e-167.0e-17
case144.4e-161.1e-15
case306.7e-161.7e-15
case571.8e-153.5e-15
case1188.9e-162.7e-15
case3005.2e-148.7e-14
gb-synthetic, 2,227 buses1.9e-143.9e-14
gb-full, 3,539 buses3.3e-133.0e-13

SciPy, MATPOWER and more

Dynamics and estimation, checked the same way.

Other independent checks
CheckReferenceGateMeasured
case9 power flowPublished MATPOWER solutionVm to 3 decimals, Va to 2, loss to 2Exact to those decimals; 4 iterations to a mismatch of 1.6e-14 pu; loss 4.641 MW
Swing equationSciPy RK450.02 Hz/s; 0.05 Hz1.6e-4 Hz/s and 2.2e-4 Hz on a 1,320 MW loss
Classical multi-machine swingSciPy1e-3 rad3.7e-8 rad on case9
Small-signal eigenvaluesIndependent Python sidecar4096 machine epsilons × eigenvector condition number3.1e-8 relative on case9, at a condition number of 1.9e10
State estimationpandapower.estimation1e-6 pu; 1e-5 degcase14 5.56e-12 pu and 7.74e-11 deg; case30 4.44e-16 pu; case118 2.36e-13 pu
Impedance-stability rebuildIndependent Python sidecar4096 machine epsilonsWorst case 28.06 machine epsilons
Harmonic penetrationIndependent Python sidecar4096 machine epsilons (9.09e-13)9.7e-17 pu
Quasi-static time seriesOpenDSS1e-10 pu, every tap and capacitor-bank operation at the same step1.8e-11 pu daily; 7.9e-12 pu at 1 s steps

Physics checks on every converged state

Any solved state can be audited against the laws it must satisfy: energy, Ohm's law, Joule heating, Kirchhoff's current law and complex-power balance. A state that passes the solver's tolerance but breaks a law is reported, and a non-converged result is never reported as a success.

Commands

  • gridsim crossval <case>: re-solve in pandapower
  • gridsim physics-check and gridsim conformance: audit a solved state
  • gridsim simdcheck and gridsim gpucheck: check the compute
Cross-check method and scripts

Recorded GB events

Replayed through a gate that can say no.

A counterfactual runs only after the baseline reproduces the recorded event. The gate allows ±15 % on RoCoF and ±0.15 Hz on the nadir, and nothing is tuned to pass it.

9 August 2019 · Hornsea and Little Barford, 2,768 MW lostReproduced

Simulated RoCoF −0.171 Hz/s against −0.170 Hz/s recorded, a 1 % error. Nadir 48.84 Hz against 48.80 Hz recorded, a 0.04 Hz error. Counterfactuals unlocked.

Against NESO’s 1-second frequency trace the per-sample RMSE is 0.099 Hz, above the 0.05 Hz bar, so the trace check reads MARGINAL for trajectory shape. The model reproduces the headline physics of the event, not every sample.

22 December 2023 · IFA 1,000 MW and Cottam 345 MWMarginal

Frequency fell to 49.275 Hz. The model's own uncertainty envelope traces the residual to one nameable gap in the public record, the basis of the inertia measurement. RMSE against the trace is 0.281 Hz. Counterfactuals stay locked.

Both earlier placeholder versions of the 2019 event failed the same gate, with 27 to 33 % RoCoF error. Only the inputs changed, from curated to sourced; the swing model, tolerances and verdict logic stayed the same.

Replaying the 2019 eventThe 2023 marginal baselineThe replay as a case study

Read the record

Every claim links to its source.

Benchmark

RC4 AC power-flow comparison

Eight tools, 245 networks, one harness and an independent residual check before any timing counts.

Benchmark results
Model exchange

GB model conversion

Solve, export, read back and solve again: JSON v2 preserved the checked solution, and the read-back showed what each other format changed.

Event engine

Provenance on every figure

Every figure in a replay carries a provenance tag: recorded, derived, curated placeholder, synthetic or counterfactual. A 169-hour no-forward-inference horizon is enforced in code at every dated ingester.

Replaying the 2019 event

Check it yourself

Two commands. Your machine.

gridsim crossval case14
gridsim replay-event gb-2019-08-09
Get started