Expand description
The public calculation solutions.
A solution contains values keyed by stable element identity, termination
information, an objective where the problem has one, and numerical
residuals — never a solver’s variable ordering, factorization, cache, or
internal status objects. Each solution shares the immutable instance it
solves through shared ownership, just as each instance shares its network:
one instance can carry zero, one, or several solutions from different
equations, solvers, settings, or initial points, and
solution.clone() duplicates neither its instance nor its network.
The registered solutions include DcPfSolution, AcPfSolution,
DcOpfSolution, AcOpfSolution, SocwrOpfSolution,
McAcPfSolution, McAcOpfSolution, LinDist3FlowOpfSolution, and
AcScucSolution.
Structs§
- AcOpf
Solution - The AC optimal power flow solution: the AC power flow results plus the optimized generator active and reactive dispatch and the objective value.
- AcPf
Solution - The AC power flow solution: complex bus voltages, active and reactive bus injections, and terminal branch flows over the shared instance.
- AcScuc
Solution - The AC security constrained unit commitment solution over the shared instance.
- DcOpf
Solution - The DC optimal power flow solution: the DC power flow results plus the optimized generator active dispatch, the objective value, and the optional economic outputs an optimizing producer can attach.
- DcPf
Solution - The DC power flow solution: bus angles and injections and branch terminal active flows over the shared instance.
- Generator
Dispatch - Optional per generator dispatch, in generator table order.
- LinDist3
Flow OpfSolution - A solution of the fixed-reference LinDist3Flow OPF approximation.
- LinDist3
Flow OpfValues - Physical primal values from a LinDist3Flow solve.
- McAc
OpfSolution - The multiconductor AC optimal power flow solution: the power flow results plus per phase generator dispatch and the objective value.
- McAc
PfSolution - The multiconductor AC power flow solution: terminal complex voltages, optional terminal currents and powers, and source injections over the shared instance.
- Residuals
- Numerical residuals of the solved equations, in the problem’s power unit.
A field is
Nonewhen the producer did not report it. - Scuc
Device Outputs - Per time point simple dispatchable device outputs:
values[t][device]over the stated device order. - Scuc
Network Outputs - Per time point network outputs:
values[t][row]over the stated element table order. - Socwr
OpfDuals - Optional dual quantities reported by a SOCWR AC OPF solve.
- Socwr
OpfSolution - A solution of the PowerModels SOCWR relaxation of AC optimal power flow.
- Socwr
OpfValues - The primal quantities reported by a SOCWR AC OPF solve.
- Three
Winding Transformer Terminal Active Power - Active power at the three terminals of one three winding transformer, in the transformer’s declared winding order. Positive values enter the transformer.
- Three
Winding Transformer Terminal Power - Active and reactive power at the three terminals of one three winding transformer, in the transformer’s declared winding order. Positive values enter the transformer.
Enums§
- Termination
- How the producing calculation ended.
Constants§
- SCUC_
DEVICE_ OUTPUT_ SERIES - Every stored series of
ScucDeviceOutputs, asSCUC_NETWORK_OUTPUT_SERIES. - SCUC_
NETWORK_ OUTPUT_ SERIES - Every stored series of
ScucNetworkOutputs, one name per field. The serialized fields and this list stay in agreement through the exhaustive destructure test below: adding a field breaks the build until the name lands here and in the stored document.
Type Aliases§
- Producer
- The producer or solver identity a solution records, free text as the producer states it.