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:
- Siemens: "PSS®E Model Library" [PSSE-MODELS],
- WECC: "Solar Photovoltaic Power Plant Modeling and Validation Guideline" [WECCPhotovoltaic].
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| OpenIPSL.Types.PerUnit | start_ii | Starting current value from Iqcmd (comes from power flow simulation) | |
| OpenIPSL.Types.PerUnit | start_ir | Starting current value from Ipcmd (comes from power flow simulation) | |
| OpenIPSL.Types.PerUnit | Imax | Maximum limit on total converter current |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | Iqcmd | ||
| Modelica.Blocks.Interfaces.RealInput | Ipcmd | ||
| Modelica.Blocks.Interfaces.RealOutput | Iqmin | ||
| Modelica.Blocks.Interfaces.RealOutput | Iqmax | ||
| Modelica.Blocks.Interfaces.RealOutput | Ipmin | ||
| Modelica.Blocks.Interfaces.RealOutput | Ipmax | ||
| Modelica.Blocks.Interfaces.BooleanInput | Pqflag | Priority to reactive current (false) or active current (true). |