Background and open questions

Selected literature that bears on these two prototypes, what they implement, and what they do not. This page is deliberately blunt about the gaps.

A selective bibliography, not a survey

The works below were chosen because they bear directly on decisions taken in this codebase. This is not a systematic review of state estimation, and the open questions below are open relative to this bibliography — treat them as leads for a proper literature search, not as claims of novelty. For actual surveys see Primadianto and Lu (2017) and Dehghanpour et al. (2019).

What the field settled long ago

The formulation. Schweppe and Wildes (1970) posed static state estimation as weighted least squares over a nonlinear measurement model, and that is still the dominant frame. The measurement-only modes of both PowerOptLab estimators are constrained Gaussian WLS/MLE formulations; adding a genuine state prior gives a MAP or regularised formulation instead.

Zero injections are constraints, not measurements. Modelling a known zero injection as a pseudo-measurement with a very small σ is a classic source of ill-conditioning. Two effects compound: the spread of weights inflates $\mathrm{cond}(W^{1/2}H)$ by up to the ratio of the largest to smallest whitening factor, $\sqrt{w_{\max}/w_{\min}}$ when the diagonal entries of $W$ are inverse-variance weights. Forming the normal equations then squares the condition number of $W^{1/2}H$. Treating zero injections as equality constraints and solving the resulting KKT system avoids both (Clements, Woodzell and Burchett, 1990). The constrained NLLS estimator does this natively; the WLS estimator gets the same effect from the engine's KCL rather than from a weighted row.

The augmented (Hachtel) system beats the normal equations. Gjelsvik, Aam and Holten (1985) showed that solving the augmented system instead of forming $H^\top W H$ greatly improves numerical stability on ill-conditioned networks, at some extra storage. solve_sparse_state_estimator uses exactly this: it factors the blocked $[I\;H\;0;\;H^\top\;-\gamma I\;C^\top;\;0\;C\;0]$ system with sparse QR and never forms $H^\top H$.

Bad data needs the residual covariance, not the raw residual. Monticelli and Garcia (1983) established largest-normalised-residual processing: $r^N_i = r_i/\sqrt{\Omega_{ii}}$, where $\Omega = SR$ is the residual covariance, $R$ is the measurement covariance, and $S$ is the residual sensitivity matrix. Dividing by σ alone is not this. The separate global objective test has an approximate χ² law under the linearised Gaussian model; the individual normalised residual is used for identification after detection. Neither estimator implements either test — see the gaps below.

Ampere measurements have distinct identifiability and conditioning hazards. Abur and Expósito (1997) showed that current magnitudes can admit multiple solutions. Their 2004 text also discusses poor conditioning under low loading when ampere measurements carry observability. The current-magnitude tutorial reproduces a local/global ambiguity and two conditioning paths on a resistive feeder; it does not turn either path into a universal rule.

Distribution estimation is measurement-poor. Modern DSSE surveys (Dehghanpour et al., 2019; Primadianto and Lu, 2017) agree that the binding constraint is telemetry, not algorithms: real feeders are observable only via pseudo-measurements from billing or load allocation, whose errors are large, non-Gaussian, and correlated. That last word is the one that matters here — both estimators assume a diagonal covariance.

Where these prototypes stand

CapabilityNative WLSCompiled (dense / sparse / Ipopt)Notes
Nonlinear WLS fit✅✅
Exact zero injection✅✅constraints, not weighted rows
Exact device laws❌✅constant P, constant I, ZIP
Four-wire / floating neutral✅✅Native WLS requires a grounded source neutral.
Branch telemetry❌✅finite lines, transformer ports and shunts; restricted ideal-wire telemetry
Local observability✅✅dense SVD, both
State covariance❌✅checks identifiability of each requested quantity
Time series / priors❌✅
Hachtel sparse step❌✅
χ² detection❌❌
Largest-$r^N$ identification❌❌
Robust estimator (LAV / Huber)❌❌
Correlated covariance❌❌
Topology-error hypotheses❌❌
Multistart / global search❌❌
PMU / synchrophasor modelpartialpartial:vr/:vi exist; no reference-angle or PMU error model

See measurement and electrical compatibility for the tested transformer variants, custom functions, grounding configurations and remaining model boundaries. Solver choice within the compiled API preserves semantics.

Open questions

These gaps affect the interpretation, numerical scalability and validity of the current estimates. The discussion connects the missing capabilities to selected literature and the assumptions they would need to address.

1. Bad-data processing (largest gap)

Neither estimator can tell a bad reading from a bad model. This needs the residual sensitivity $S = I - H(H^\top W H)^{-1}H^\top W$, the χ² test on the objective, and normalised-residual identification. The constrained estimator already has the pieces — _derived_covariance builds $(H_{red}^\top H_{red})^{-1}$ on the tangent space — so $S$ is reachable without new linear algebra. Constraint multipliers are exposed today as leads only, and the documentation is careful to say so.

2. Sparse execution beyond Jacobian assembly

Jacobian assembly now uses sparse triplets and cached transposed network operators. Residual-only evaluation avoids dense device derivative arrays. The remaining bottlenecks are dense SVD rank/null-space and covariance work, allocation of temporary sparse rows, and rebuilding the augmented QR factorisation. Symbolic-factorisation reuse, reusable workspaces, and sparse rank/uncertainty backends still need implementation and feeder benchmarks.

3. Robust and non-Gaussian estimation

Least squares has an unbounded influence function: one bad reading moves the estimate without limit. LAV or a Huber M-estimator would give the prototypes a defensible answer under the non-Gaussian pseudo-measurement errors DSSE actually faces.

The route differs sharply by engine, and this is the one axis where the legacy WLS estimator is the better platform. Its JuMP objective can express any smooth $-\log f$ directly, and $\ell_1$ exactly through an epigraph reformulation. That formulation adds variables and inequalities, so its runtime and convergence should be benchmarked rather than assumed. The compiled estimator could use robust reweighting or a generalised Gauss–Newton method, but its step, stopping tests and covariance would all need new definitions. See likelihood, loss, and priors, and Vanin et al. (2023) for a worked non-Gaussian DSSE in the same ecosystem.

4. Correlated covariance

Both estimators whiten with a diagonal $1/\sigma$. Pseudo-measurements derived from a common load allocation are strongly correlated, and treating them as independent overstates the information content — the estimate looks more certain than it is. A Cholesky factor of a block covariance would slot into the existing whitening step.

5. Multistart

Both problems are nonconvex, and the current-magnitude tutorial exhibits two exactly-fitting solutions. A cheap multistart with a spread comparison would turn "converged" into something closer to a claim.

6. Observable-island decomposition

The unobservable directions are computed and can be inspected (observability); turning them into maximal observable islands, and into a minimal set of pseudo-measurements that merges them, is a combinatorial step this codebase does not take.

7. Transformer and source telemetry

Line, finite transformer-port and finite-shunt telemetry now share a measurement interface, with explicit voltage references for power. Net conductor injection and user-defined scalar voltage functions are also available in all three compiled solvers. Ideal-switch/bond reactions and ambiguous transformer-port currents need an augmented current-state model. Source-free absolute voltage telemetry is supported; uncertain phasors on an otherwise fixed source require removing that fixed boundary and explicitly supplying enough information. See compatibility for the exact tested scope.

References

  • Schweppe, F. C. and Wildes, J., "Power system static-state estimation, Part I: Exact model", IEEE Trans. Power Apparatus and Systems, PAS-89(1),
  • Gjelsvik, A., Aam, S. and Holten, L., "Hachtel's augmented matrix method — a rapid method improving numerical stability in power system static state estimation", IEEE Trans. Power Apparatus and Systems, PAS-104(11):2987–2993, November 1985.
  • Monticelli, A. and Garcia, A., "Reliable bad data processing for real-time state estimation", IEEE Trans. Power Apparatus and Systems, PAS-102(5),
  • Abur, A. and Expósito, A. G., "Detecting multiple solutions in state estimation in the presence of current magnitude measurements", IEEE Trans. Power Systems, 12(1):370–375, February 1997.
  • Clements, K. A., Woodzell, G. W. and Burchett, R. C., "A new method for solving equality-constrained power system static-state estimation", IEEE Trans. Power Systems, 5(4):1260–1266, November 1990.
  • Abur, A. and Expósito, A. G., Power System State Estimation: Theory and Implementation, Marcel Dekker, 2004.
  • Monticelli, A., "Electric power system state estimation", Proceedings of the IEEE, 88(2):262–282, 2000.
  • Baran, M. E. and Kelley, A. W., "State estimation for real-time monitoring of distribution systems", IEEE Trans. Power Systems, 9(3), 1994.
  • Primadianto, A. and Lu, C.-N., "A review on distribution system state estimation", IEEE Trans. Power Systems, 32(5):3875–3883, 2017.
  • Dehghanpour, K., Wang, Z., Wang, J., Yuan, Y. and Bu, F., "A survey on state estimation techniques and challenges in smart distribution systems", IEEE Trans. Smart Grid, 10(2):2312–2322, 2019.
  • Vanin, M., Van Acker, T., D'hulst, R. and Van Hertem, D., "Exact modeling of non-Gaussian measurement uncertainty in distribution system state estimation", IEEE Trans. Instrumentation and Measurement, 72:9002911,
    1. DOI: 10.1109/TIM.2023.3287253.
  • Bandara, W. G. C., Almeida, D., Godaliyadda, R. I., Ekanayake, M. P. and Ekanayake, J., "A complete state estimation algorithm for a three-phase four-wire low voltage distribution system with high penetration of solar PV", International Journal of Electrical Power & Energy Systems, 124:106332,
    1. DOI: 10.1016/j.ijepes.2020.106332.
  • Melo, I. D., Teixeira, M. O. N. and Mingorança, J. S., "Neutral-to-Earth Voltage (NEV) and state estimation for unbalanced multiphase distribution systems based on an optimization model", Electric Power Systems Research, 217:109123, 2023. DOI: 10.1016/j.epsr.2023.109123.