modelMatchingControl

Matching control for grid forming converters

Parameters

TypeNameDefaultDescription
Types.PerUnitKMatchingProportional gain of the matching control
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.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.PerUnitUdcSourceRef0PuStart value of DC voltage reference in pu (base UdcNom)
Types.PerUnitUdcSource0PuStart value of DC voltage in pu (base UdcNom)
Types.VoltageModulePuUFilterRef0PuStart value of voltage module reference at the converter's capacitor in pu (base UNom)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputUdcSourceRefPuDC voltage reference in pu (base UdcNom)
Modelica.Blocks.Interfaces.RealInputUdcSourcePuDC voltage in pu (base UdcNom)
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.Math.Addadd1
Modelica.Blocks.Math.Feedbackfeedback2
Modelica.Blocks.Continuous.Integratorintegrator
Modelica.Blocks.Math.Feedbackfeedback5
Modelica.Blocks.Sources.ConstantomegaSetPu
Modelica.Blocks.Math.Gaingain1