Governing model
The shared bus follows a swing-equation analogue:
M · dΔf/dt = ΣPᵢ − Pₗ − D · Δf
Each online inverter follows a saturated frequency–power droop command and a first-order response:
Pᵢ* = clamp(−Δf / Rᵢ, −Pᶜʰᵢ, Pᵈⁱˢᵢ)
τ · dPᵢ/dt = Pᵢ* − Pᵢ
Battery charge changes according to terminal power and charge/discharge efficiency. Positive power means discharge into the bus. The efficiencies are 96% discharge and 94% charge (both illustrative); each inverter is rated at 160 kW (illustrative), and the state-of-charge reserve band is 15–95% (illustrative).
dSOCᵢ/dt = −Pᵢ / (3600 s/h (textbook) · Eᵢ · η)
What is simplified
- The network is represented by one common-frequency bus; cable impedance, voltage dynamics, harmonics and phase angles are omitted.
- The inertia-like coefficient M and damping D are illustrative aggregate parameters, not measurements of a named grid.
- Each inverter has a first-order power controller, a droop slope and a fixed rated-power ceiling. Protection, thermal behaviour and detailed electrochemistry are not modelled.
- Battery charge is bounded between illustrative reserve limits. A fixed round-trip efficiency is used for energy accounting.
Reference values
Nominal frequency is 50 Hz (textbook), as used by the UK and many other power systems. The example inertia coefficient is 700 kW·s/Hz (illustrative); damping, ratings, response times, battery capacities and efficiencies are also illustrative. Displayed trajectories are scaled to make the control response visible.
This is an educational single-bus model, not a grid-planning, protection or equipment-sizing tool.