modelDroopControl

Droop control for grid forming converters

Parameters

TypeNameDefaultDescription
Types.PerUnitMqReactive power droop control coefficient
Types.PerUnitWfCutoff pulsation of the active and reactive filters (in rad/s)
Types.PerUnitMpActive power droop control coefficient
Types.PerUnitWffCutoff pulsation of the active damping (in rad/s)
Types.PerUnitKffGain of the active damping
Types.ActivePowerPuPRef0PuStart value of the active power reference at the converter's capacitor in pu (base SNom) (generator convention)
Types.ReactivePowerPuQRef0PuStart value of the reactive power reference at the converter's capacitor in pu (base SNom) (generator convention)
Types.PerUnitIdPcc0PuStart value of d-axis current in the grid in pu (base UNom, SNom) (generator convention)
Types.PerUnitIqPcc0PuStart value of q-axis current in the grid in pu (base UNom, SNom) (generator convention)
Types.PerUnitUdFilter0PuStart value of d-axis voltage at the converter's capacitor in pu (base UNom)
Types.PerUnitUqFilter0PuStart value of q-axis voltage at the converter's capacitor in pu (base UNom)
Types.AngleTheta0Start value of phase shift between the converter's rotating frame and the grid rotating frame in rad
Types.ActivePowerPuPFilter0PuStart value of active power generated at the converter's capacitor in pu (base SNom) (generator convention)
Types.ReactivePowerPuQFilter0PuStart value of reactive power generated at the converter's capacitor in pu (base SNom) (generator convention)
Types.PerUnitDeltaVVId0Start value of d-axis virtual impedance output in pu (base UNom)
Types.PerUnitDeltaVVIq0Start value of q-axis virtual impedance output in pu (base UNom)
Types.VoltageModulePuUFilterRef0PuStart value of voltage module reference at the converter's capacitor in pu (base UNom)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputPFilterPuActive power generated at the converter's capacitor in pu (base SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputQFilterPuReactive power generated at the converter's capacitor in pu (base SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputidPccPud-axis current in the grid in pu (base UNom, SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputiqPccPuq-axis current in the grid in pu (base UNom, SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputPRefPuActive power reference at the converter's capacitor in pu (base SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputQRefPuReactive power reference at the converter's capacitor in pu (base SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputomegaRefPuGrid frequency in pu (base omegaNom)
Modelica.Blocks.Interfaces.RealInputUFilterRefPuVoltage module reference at the converter's capacitor in pu (base UNom)
Modelica.Blocks.Interfaces.RealInputDeltaVVIdd-axis virtual impedance output in pu (base UNom)
Modelica.Blocks.Interfaces.RealInputDeltaVVIqq-axis virtual impedance output in pu (base UNom)
Modelica.Blocks.Interfaces.RealOutputomegaPuConverter's frequency in pu (base omegaNom)
Modelica.Blocks.Interfaces.RealOutputthetaPhase shift between the converter's rotating frame and the grid rotating frame in rad
Modelica.Blocks.Interfaces.RealOutputudFilterRefPud-axis voltage reference at the converter's capacitor in pu (base UNom)
Modelica.Blocks.Interfaces.RealOutputuqFilterRefPuq-axis voltage reference at the converter's capacitor in pu (base UNom)

Components

TypeNameDefaultDescription
Modelica.Blocks.Math.Feedbackfeedback1
Modelica.Blocks.Math.Gaingain
Modelica.Blocks.Continuous.FirstOrderfirstOrder
Modelica.Blocks.Math.Addadd1
Modelica.Blocks.Math.Feedbackfeedback2
Modelica.Blocks.Continuous.Integratorintegrator
Modelica.Blocks.Continuous.FirstOrderfirstOrder1
Modelica.Blocks.Math.Gaingain1
Modelica.Blocks.Math.Gaingain2
Modelica.Blocks.Continuous.FirstOrderfirstOrder2
Modelica.Blocks.Continuous.FirstOrderfirstOrder3
Modelica.Blocks.Math.Feedbackfeedback3
Modelica.Blocks.Math.Gaingain3
Modelica.Blocks.Math.Addadd2
Modelica.Blocks.Math.Feedbackfeedback4
Modelica.Blocks.Math.Feedbackfeedback5
Modelica.Blocks.Math.Feedbackfeedback7
Modelica.Blocks.Sources.ConstantomegaSetPu