Inverter-based resources

If you are accustomed to sequential simulation programs, begin with the controller-to-equilibrium workbook. Its prediction/run/explanation exercises distinguish operating equations, numerical iterations, optimisation choices and physical memory.

Start with From current limits to operating rules for a graphical explanation of hardware constraints, operating relationships and objectives. See the simulation/optimisation comparison table for formulations of each conceptual constraint, supported operating modes and remaining extensions. The executable reproduction cases test when the two pathways select the same operation.

Full network OPF and independent validation demonstrates three jointly optimised inverters on a seven-bus four-wire feeder, with matched forward-control comparisons and an independent radial replay.

PowerOptLab provides two inverter models:

  • a POC injection model for studies specified by active/reactive-power or current commands; and
  • AdvancedInverter, a circuit-aware fundamental-frequency model for studies in which the internal converter voltage, output filter, bridge topology, neutral path, or DC-link stress changes the feasible operating set.

Use the point-of-connection model for studies described by terminal power and current limits. Use the circuit model when the filter, converter topology or DC link affects the feasible operating region.

Fidelity ladder from POC injection through EMT

Models and worked studies

Use the advanced inverter modelling guide and tutorial to choose a plant. The advanced inverter API lists its constructor, solve entry point and results. For local laws, use the control modelling guide and phase-aware control API.

Fleet and hardware studies and closed-loop evidence diagnostics document their network-level interfaces. The control-identification guide examines policy fitting and replay; the bilevel PV/tap guide and API cover a separate hierarchical-control proof of concept.

Represented phenomena

AdvancedInverter represents RMS fundamental phasors and derives selected line-frequency DC quantities from them. It includes:

  • an internal converter node behind either a reduced conductor-domain series primitive or an explicit LCL network with two primitive arms, a damped midpoint capacitor, distinct arm currents, and an optional POC shunt;
  • selectable converter/PCC apparent-power and optional conductor-current limits;
  • 3-leg 3-wire, 3-leg split-DC 4-wire, and 4-leg 4-wire switching-feasibility regions;
  • Fortescue zero-, positive-, and negative-sequence current limits;
  • neutral current, unequal split-link half-bank capacitance, fundamental and mean midpoint displacement, bounded balancing charge, 2ω power pulsation, DC-bus voltage ripple, and simultaneous frequency-weighted capacitor budgets;
  • an optional ideal shared-carrier PWM audit with SPWM or centered continuous PWM, switching-current/voltage-ripple diagnostics, optional finite DC-source R–L current sharing, split-rail voltage stress, antiresonance screening, and conservative operating-point-dependent capacitor-reserve closure;
  • an optional carrier-harmonic AC audit through reduced-L or primitive LCL networks, including phase/neutral mutual coupling, damping, path-resolved ripple, and total-RMS current-limit closure;
  • fixed, current-linear, and current-quadratic converter loss terms, including the neutral semiconductor leg for a 4-leg bridge, plus optional weighted capacitor-ESR dissipation; and
  • a bounded balanced internal voltage for steady-state grid-forming studies.

Comparison of the three implemented three-phase converter topologies

The available topologies are:

topologyAC conductorsNeutral returnDC structureDistinct limiting mechanism
:THREE_LEG3none; ΣIₓ = 0monolithic linkline-to-line switching hull
:SPLIT_DC4capacitor midpointtwo possibly unequal half-banks in serieshalf-bus utilisation, mean/fundamental midpoint motion, individual-bank heating
:FOUR_LEG4fourth semiconductor legmonolithic linkfourth-leg current and loss

The split-DC model is a three-leg bridge with a split capacitor link. It is not the reconfigurable four-leg-plus-split-link hybrid studied by Deakin, Heidari, and Deng. That hybrid is a useful future topology, but it should not be silently folded into either existing category.

Read this chapter in layers

  1. Scientific foundations derives the model from conductor KVL/KCL, complex power, symmetrical components, capacitor energy, and the ideal switching hull.
  2. Phase-aware local control laws derives and classifies topology-compatible Volt-var/Volt-watt extensions for unbalanced voltages.
  3. Phase-aware control modelling guide constructs and solves the implemented three-leg laws with executable examples.
  4. Inverter-control study methodology describes the model implementation, validation tests and hardware-sizing experiments used in network studies, and Choosing inverter and controller parameters shows how to derive, source or declare every hardware and controller value.
  5. Verification and benchmark cases maps claims to unit, regression, paper, and higher-fidelity tests.
  6. IBR references is the maintained bibliography and literature roadmap.
  7. The advanced inverter component reference documents the current API and equations; the modelling tutorial shows how to choose and parameterise it.

Reproducible study tutorials

The focused tutorials turn the equations into comparative engineering studies:

Each starts from a complete BMOPF network and includes numerical assertions and publication checks. Run julia --project=. scripts/run_study_tutorials.jl from the repository root; CI executes these studies on Julia 1.10 and current stable. The general modelling tutorial remains the best entry point for choosing the correct abstraction; these three are designed to be run as research-study templates.

What this model must not be used to claim

This is not a harmonic power flow, sequence-impedance scan, averaged control model, or switched EMT model. In particular, grid_forming=true is a steady-state internal-voltage constraint, not evidence of synchronization, fault ride-through, black start, stable current limiting, or multi-inverter power sharing. i_sw is still a manually reserved RMS allowance; the separate carrier audit is an ideal PWM reconstruction around a frozen fundamental operating point, not a switched network solution.

Those boundaries are intentional. Moving to the right on the fidelity ladder requires controller transfer functions, detailed filter parasitics, semiconductor and capacitor frequency/temperature data, and a different validation oracle. The chapter records those next layers without pretending they are already implemented.

Figures and derivation sources

Fourteen diagrams now cover abstraction level, physical topology, conductor KVL, the explicit LCL midpoint, sequence-to-hardware pathways, a published 2ω waveform case, the balanced voltage-utilisation boundary, and asymmetric split-link charge/current pathways, the carrier-PWM audit and reserve feedback, DC-source/capacitor harmonic current sharing, carrier harmonics through the LCL network, and the phase-aware control signal chain, curve envelopes, and ripple disk. The last ten are generated by docs/scripts/generate_ibr_figures.jl so numerical labels cannot drift from the derivation.