modelREPCa
Extends from Dynawo.Electrical.Controls.WECC.Parameters.REPC.ParamsREPC.
Information
This block contains the generic WECC PV plant level control model according to (in case page cannot be found, copy link in browser): https://www.wecc.biz/Reliability/WECC%20Solar%20Plant%20Dynamic%20Modeling%20Guidelines.pdf
Plant level active and reactive power/voltage control. Reactive power or voltage control dependent on RefFlag. Frequency dependent active power control is enabled or disabled with FreqFlag. With voltage control (RefFlag = true), voltage at remote bus can be controlled if VCompFlag is true. Therefore, RcPu and XcPu shall be defined as per real impedance between inverter terminal and regulated bus. If measurements from the regulated bus are available, VcompFlag should be set to false and the measurements from regulated bus shall be connected with the input measurement signals (PRegPu, QRegPu, uPu, iPu).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.ApparentPowerModule | SNom (from ParamsREPC) | Nominal apparent power in MVA | |
| Types.PerUnit | RcPu | Line drop compensation resistance if VCompFlag is true in pu (base SnRef, UNom) | |
| Types.PerUnit | XcPu | Line drop compensation reactance if VCompFlag is true in pu (base SnRef, UNom) | |
| Types.ComplexCurrentPu | iControl0Pu | Initial complex current to be controlled by the PPC coming either from the external bus or from the model's output terminal (receptor convention) (base UNom, SnRef) | |
| Types.ActivePowerPu | PControl0Pu | Initial active power at the point controlled by the PPC (either model's output terminal or external PCC) (base SNom) (generator convention) | |
| Types.ActivePowerPu | PConv0Pu | Start value of active power at converter terminal in pu (generator convention) (base SNom) | |
| Types.ReactivePowerPu | QControl0Pu | Initial reactive power at the point controlled by the PPC (either model's output terminal or external PCC) (base SNom, generator convention) | |
| Types.ReactivePowerPu | QConv0Pu | Start value of reactive power at converter terminal in pu (generator convention) (base SNom) | |
| Types.ComplexVoltagePu | uControl0Pu | Initial complex voltage to be controlled by the PPC coming either from the external bus or from the model's output terminal (base UNom) | |
| Types.VoltageModulePu | URef0Pu | ComplexMath.'abs'(uControl0Pu) + (if VCompFlag then 0 else Kc*QControl0Pu) | Start value of voltage setpoint for plant level control, calculated depending on VCompFlag, in pu (base UNom) |
| Plant Control | |||
| Boolean | FreqFlag (from ParamsREPC) | Governor response disable (0) or enable (1) | |
| Boolean | RefFlag (from ParamsREPC) | Plant level reactive power (0) or voltage control (1) | |
| Boolean | VCompFlag (from ParamsREPC) | Reactive droop (0) or line drop compensation (1) if RefFlag true | |
| Types.PerUnit | DbdPu (from ParamsREPC) | Reactive power (RefFlag = 0) or voltage (RefFlag = 1) deadband in pu (base SNom or UNom) (typical: 0..0.1) | |
| Types.PerUnit | DDn (from ParamsREPC) | Down regulation droop (typical: 20..33.3) | |
| Types.PerUnit | DUp (from ParamsREPC) | Up regulation droop (typical: 0) | |
| Types.PerUnit | EMaxPu (from ParamsREPC) | Maximum Volt/VAR error in pu (base UNom or SNom) | |
| Types.PerUnit | EMinPu (from ParamsREPC) | Minimum Volt/VAR error in pu (base UNom or SNom) | |
| Types.PerUnit | FDbd1Pu (from ParamsREPC) | Overfrequency deadband for governor response in pu (base omegaNom) (typical: 0.004) | |
| Types.PerUnit | FDbd2Pu (from ParamsREPC) | Underfrequency deadband for governor response in pu (base omegaNom)^ (typical: 0.004) | |
| Types.PerUnit | FEMaxPu (from ParamsREPC) | Maximum frequency error in droop regulator in pu (base omegaNom) | |
| Types.PerUnit | FEMinPu (from ParamsREPC) | Minimum frequency error in droop regulator in pu (base omegaNom) | |
| Types.PerUnit | Kc (from ParamsREPC) | Reactive droop when VCompFlag = 0 | |
| Types.PerUnit | Ki (from ParamsREPC) | Volt/VAR regulator integral gain | |
| Types.PerUnit | Kig (from ParamsREPC) | Droop regulator integral gain | |
| Types.PerUnit | Kp (from ParamsREPC) | Volt/VAR regulator proportional gain | |
| Types.PerUnit | Kpg (from ParamsREPC) | Droop regulator proportional gain | |
| Types.ActivePowerPu | PMaxREPCPu (from ParamsREPC) | Maximum plant level active power command in REPC in pu (base SNom) | |
| Types.ActivePowerPu | PMinREPCPu (from ParamsREPC) | Minimum plant level active power command in REPC in pu (base SNom) | |
| Types.ReactivePowerPu | QMaxREPCPu (from ParamsREPC) | Maximum plant level reactive power command in REPC in pu (base SNom) | |
| Types.ReactivePowerPu | QMinREPCPu (from ParamsREPC) | Minimum plant level reactive power command in REPC in pu (base SNom) | |
| Types.Time | tFilterPC (from ParamsREPC) | Voltage and reactive power filter time constant in s (typical: 0.01..0.02) | |
| Types.Time | tFt (from ParamsREPC) | Plant controller Q output lead time constant in s | |
| Types.Time | tFv (from ParamsREPC) | Plant controller Q output lag time constant in s (typical: 0.15..5) | |
| Types.Time | tLag (from ParamsREPC) | Plant controller P output lag time constant in s(typical: 0.15..5) | |
| Types.Time | tpREPC (from ParamsREPC) | Active power filter time constant in REPC in s (typical: 0.01..0.02) | |
| Types.VoltageModulePu | VFrz (from ParamsREPC) | Voltage for freezing Volt/VAR regulator integrator (typical: 0..0.9) | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | PRefPu | Active power setpoint at regulated bus in pu (generator convention) (base SNom) | |
| Modelica.Blocks.Interfaces.RealInput | QRefPu | Reactive power setpoint at regulated bus in pu (generator convention) (base SNom) | |
| Modelica.Blocks.Interfaces.RealInput | PRegPu | Active power at regulated bus in pu (generator convention) (base SNom) | |
| Modelica.Blocks.Interfaces.RealInput | QRegPu | Reactive power at regulated bus in pu (generator convention) (base SNom) | |
| Modelica.Blocks.Interfaces.RealInput | URefPu | Voltage setpoint for plant level control in pu (base UNom) | |
| Modelica.ComplexBlocks.Interfaces.ComplexInput | uPu | Complex voltage at regulated bus in pu (base UNom) | |
| Modelica.ComplexBlocks.Interfaces.ComplexInput | iPu | Complex current at PPC regulated bus in pu (generator convention) (base SnRef, UNom) | |
| Modelica.Blocks.Interfaces.RealInput | omegaPu | Frequency at regulated bus in pu (base omegaNom) | |
| Modelica.Blocks.Interfaces.RealOutput | PConvRefPu | Active power setpoint at converter terminal in pu (generator convention) (base SNom) | |
| Modelica.Blocks.Interfaces.RealOutput | QConvRefPu | Reactive power setpoint at converter terminal in pu (generator convention) (base SNom) | |
| Modelica.Blocks.Interfaces.BooleanOutput | freeze | Boolean to freeze the regulation |