modelCurrentLimitLogicREECB

Current Limit Logic for REECB

Information

The pseudo-code for the current limit logic in the REECB electrical controller detailed below:

if Pqflag = true:
   Ipmax = Imax;
   Ipmin = 0;
   Iqmax = sqrt(Imax^2 - Ipcmd^2);
   Iqmin = -Iqmax;
end

if Pqflag = false:
   Ipmax = sqrt(Imax^2 - Iqcmd^2);
   Ipmin = 0;
   Iqmax = Imax;
   Iqmin = -Iqmax;
end

The modelling of the current limit logic for the REECB electrical controller is based on the following references:

Parameters

TypeNameDefaultDescription
OpenIPSL.Types.PerUnitstart_iiStarting current value from Iqcmd (comes from power flow simulation)
OpenIPSL.Types.PerUnitstart_irStarting current value from Ipcmd (comes from power flow simulation)
OpenIPSL.Types.PerUnitImaxMaximum limit on total converter current

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputIqcmd
Modelica.Blocks.Interfaces.RealInputIpcmd
Modelica.Blocks.Interfaces.RealOutputIqmin
Modelica.Blocks.Interfaces.RealOutputIqmax
Modelica.Blocks.Interfaces.RealOutputIpmin
Modelica.Blocks.Interfaces.RealOutputIpmax
Modelica.Blocks.Interfaces.BooleanInputPqflagPriority to reactive current (false) or active current (true).