Dynamic Unit Data

A generating unit can carry dynamic parameters: inertia, damping, primary and secondary control, unit type. They sit in an optional DynamicData record on the unit (ProSumer.dynamics, default nothing).

No calculation reads these fields. Power flow, state estimation, short circuit, N-1 and QSTS give the same results with and without them. They are data for a later frequency analysis and for the exchange through SCF. The only reader is the island slack choice of the CGMES import, which uses the unit type (see below).

Fields

FieldUnitMeaningDefault
inertia_ssinertia constant H on the rating of the unitnothing (no inertia)
damping_pupu/pudamping coefficient D0.0
rating_mvaMVArating that H and D refer to, when it differs from the unit's ratedSnothing (ratedS applies)
droop_pupuprimary control droop (statics), for example 0.05nothing (no primary control)
deadband_hzHzprimary control deadband0.0
primary_reserve_mwMWprimary reserve limit, symmetric0.0
governor_time_ssgovernor/turbine time constant, first ordernothing
agc_participationpushare of the secondary control signal, 0 to 10.0
secondary_reserve_mwMWsecondary reserve limit, symmetric0.0
unit_typeenumSynchronousUnit, GridFollowingUnit, GridFormingUnitSynchronousUnit when inertia_s is set, else GridFollowingUnit
virtual_inertia_sssynthetic inertia of a grid-forming unitnothing
black_startthe unit can energise a dead networkfalse
min_stable_mwMWminimum stable generationnothing

inertia_s and virtual_inertia_s are separate, so a converter can carry a rating and a synthetic inertia without counting as a machine.

The constructor checks the values: every number finite, inertia, virtual inertia, time constant, deadband and reserves not negative, droop and rating greater than zero when set, agc_participation in [0, 1]. A violation throws DynamicDataError, which names the field.

using Sparlectra
net = importSCF("data/scf/sp_case5.scf.json")
gen = first(ps for ps in net.prosumpsVec if isGenerator(ps))
gen.dynamics = DynamicData(inertia_s = 5.0, droop_pu = 0.05, primary_reserve_mw = 20.0)

Sources

SourceWhat it fills
SCFevery field, block extra.<machine>.dynamics (Sparlectra Case Format)
CGMESinertia, damping, rating and unit type from the DY profile, droop and governor time constant of some turbine governors, with cgmes_import.read_dynamics = true (CGMES Import)
MATPOWER, PowSyBl IIDM, PGM, DTFnothing; the field stays nothing

Unit type and island slack

The CGMES import gives every electrical island that has infeed but no reference a slack. A unit whose unit_type is GridFollowingUnit is no candidate for it: it cannot hold voltage and frequency of an island. An island whose units are all grid following (static var compensators and loads aside) cannot stand in operation; the import switches it off with a warning, like a part without source. Synchronous and grid-forming units remain candidates. A unit without DynamicData is a candidate as before; for a PowerElectronicsConnection without it the warning says that its type is unknown and assumed grid following.