modelPLL

Phase locked loop for angle detection (IEC N°61400-27-1)

Parameters

TypeNameDefaultDescription
Types.TimetSIntegration time step in s
PLL
Types.TimetPllPLL first order filter time constant in s
Types.VoltageModulePuUPll1PuVoltage below which the angle of the voltage is filtered and possibly also frozen, in pu (base UNom)
Types.VoltageModulePuUPll2PuVoltage below which the angle of the voltage is frozen, in pu (base UNom) (UPll2Pu < UPll1Pu typically) UPll2 should be very low to avoid numerical problems when voltage is close to zero and then angle is not numerically valid
Operating point
Types.VoltageModulePuU0PuInitial voltage amplitude at grid terminal in pu (base UNom)
Types.AngleUPhase0Initial voltage angle at grid terminal in rad

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputthetaPhase shift between the converter and grid rotating frames in rad
Modelica.Blocks.Interfaces.RealInputUWTPuVoltage amplitude at grid terminal in pu (base UNom)
Modelica.Blocks.Interfaces.RealOutputthetaPllPhase shift after phase locked loop in rad

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.Switchswitch
Dynawo.NonElectrical.Blocks.Continuous.AbsLimRateLimFirstOrderFreezeabsLimRateLimFirstOrderFreeze
Modelica.Blocks.Logical.LessThresholdlessThreshold
Modelica.Blocks.Logical.LessThresholdlessThreshold1
Dynawo.NonElectrical.Blocks.NonLinear.FixedBooleanDelayfixedBooleanDelay1
Dynawo.NonElectrical.Blocks.NonLinear.FixedBooleanDelayfixedBooleanDelay