PowerOptLab.jl
PowerOptLab provides models and numerical methods for studying four-wire distribution networks with uncertain states and parameters.
Start here
The getting-started example builds a small feeder, schedules a battery and checks the solution. It uses synthetic data and Ipopt. The example is run automatically when the documentation is built.
For an existing checkout, install the pinned dependencies from its root:
julia --project=. scripts/instantiate_pinned.jlThen choose a study topic below. For a complete worked experiment, follow the battery-model comparison or four-wire state-estimation study. Both include figures, expected results and executable checks.
Study topics
Choose a chapter according to the quantities you want to estimate, optimise or check.
| Study topic | Question | Start here |
|---|---|---|
| State and parameter estimation | Estimate voltages, line lengths, taps or overhead-line configurations from measurements and network data. | Estimation methods |
| Device models and scheduling | Select generator, battery and EV models, and calculate charging and discharging schedules. | Device models |
| Inverter models and controls | Study voltage control, converter losses, conductor currents and DC-link requirements. | Inverter studies |
| Dynamic operating envelopes | Calculate import or export limits and test them over specified operating conditions. | DOE in 15 minutes |
| Power flow and voltage operability | Compare power-flow solutions, examine static voltage margins and assess neutral reduction. | Power-flow methods |
| Numerical formulations and solvers | Compare mathematical representations, approximation errors and solver tolerances. | Formulation studies |
The API reference lists functions, arguments and returned quantities. The symbol index provides an alphabetical lookup. Concepts summarises the development status of the models and methods.
Research context
The research programme addresses three questions:
- Which network states and parameter values are consistent with measurements and network records?
- Which additional measurements or changes in operating point would distinguish the plausible models while respecting voltage and equipment limits?
- Which operating decisions remain feasible under those models?
The package builds on the BMOPFTools reference current–voltage OPF formulation. It uses the same network equations, with an explicit neutral conductor and per-unit scaling, and adds models through the public model-building functions.
The current package provides separate estimation, optimisation and checking methods. Joint network-model identification and automatic experiment design remain research objectives. The nonlinear DOE solvers also lack a general feasibility certificate for continuous uncertainty and utilisation sets. Concepts explains the modelling assumptions and conventions; the research programme sets out the longer-term questions.
Extending the package
See Contributing for adding a model or solution method. Models with sufficiently established interfaces and validation may be proposed for inclusion in BMOPFTools.