Research / pandapower runpp_3ph
For four unsupported transformer types, a power-flow solver reported convergence on a physically impossible answer.
CounterexampleReported, no fix claimed- Result
- For four unsupported transformer types the solver reported convergence on a physically impossible answer: about 994,686 per unit on a 0.4 kV bus.
- Boundary
- One network, one load, zero phase shift, one pinned commit. The issue is open; no fix is claimed.
- Who did what
- Found and reported by Warren (issue #3122).
- Public evidence
- Issue #3122The 18-result matrix (JSON)
Interactive figure. Every number it draws is stated in the record below.
The question
When this power-flow solver reports that it converged, did it?
pandapower is an open-source power-system analysis library. A convergence flag is routinely read as “this answer is usable”. If the flag can be set for a configuration the solver does not support, every downstream decision inherits a meaningless number, and nothing in the output says so.
Counterexample: A concrete input shows the claim is false as stated. Reported, no fix claimed: Reported to the maintainers with evidence; no fix is claimed.
What was tested
- Classified all 18 two-winding vector-group strings found in the source, the documentation and the shipped standard types before running anything, with a predicted outcome for each.
- Ran each string once, in its own process, on the network from closed issue #1041, at pandapower 3.5.4 (commit fd7346f).
- Applied five sanity bands to any run that reported convergence: no NaN or infinity, low-voltage buses between 0.9 and 1.1 per unit, external-grid power between 0.10 and 0.15 MW, power balance within 0.001 MW, transformer loading under 100%.
- Read the source to locate why some strings reach the solver.
What happened
- Ten of fourteen unsupported groups raised the intended NotImplementedError.
- Four (Dy, Yy, Yd, Dd) returned converged=True with identical, physically impossible results. Zero-sequence modelling is skipped for exactly those strings before the gate that rejects the others.
- The three documented-supported groups (Dyn, YNyn, Yzn) produced results inside all five sanity bands.
- Yyn is documented as supported and rejected by the code. Reported as an inconsistency, not adjudicated.
- All 18 outcomes matched their prediction.
Challenge
The objections that would most easily undo the conclusion, and what answered each.
- Could the expectations have been fitted after the fact?
- Each of the 18 strings was classed, and its outcome predicted, before anything ran. All 18 matched.
- Are the four failures four separate bugs?
- No. Their results are identical to the last digit, so they are one model reached by four names. Counted as one observation.
- Is the failure in the network rather than the solver?
- The same network gives plausible results for the three supported groups and the intended error for ten unsupported ones.
What survived
Did not survive
- Unsupported vector groups are rejected rather than solved.4 of 14 are solved silently. The four collapse to one model, so this is one observation, not four defects.
Survived
- Ten unsupported groups are rejected with the intended error.NotImplementedError on all ten.
Not established, or not tested
- Whether the supported groups give a correct three-phase result is inconclusive. They were plausible under five bands on one network, but no independent solver was run, so plausible is the ceiling.
- With a non-zero phase shift the four strings might no longer collapse to one model. Not run.
Limits
One network, one load, zero phase shift, one pinned commit. Whether the skip is intended for another calculation path is for the maintainers to decide.
Reproduce or inspect
- Source
- gist (raw JSON)
- Revision
a7ceb09c…562791 (SHA-256 of the matrix)- Command
shasum -a 256 pandapower-3122-18-vector-groups.json- Expect
a7ceb09c8ebea504f9e4d390676ec40711b595116487f107122b61f0de562791
The 18-row result matrix is public and is the exact data drawn on this page. The reduced reproducer is in issue #3122. The command is given as the repository documents it; it was not re-run for this page.