modelREPCA1
Renewable energy plant controller model A
Extends from BaseClasses.BaseREPC (Base class for the plant controller of the WECC generic renewable models).
Information
The REPCA1 module is used to represent the renewable energy plant controller. It takes as input voltage and reactive power to then generate volt/var control at the plant level. It also generates frequency and active power output to emulate active power control. TThe REPCA1 module provides active reactive power command references to the electrical controller components (REECA1, REECB1, and REECCU1).
The modelling of such devices is based, mainly, on the following reference:
- Siemens: "PSS®E Model Library" [PSSE-MODELS],
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | Tfltr | 0.02 | Voltage or reactive power measurement filter time constant |
| Real | Kp | 18 | Reactive power PI control proportional gain |
| Real | Ki | 5 | Reactive power PI control integral gain |
| Modelica.Units.SI.Time | Tft | 0 | Lead time constant |
| Modelica.Units.SI.Time | Tfv | 0.075 | Lag time constant |
| OpenIPSL.Types.PerUnit | Vfrz | 0 | Voltage below which State s2 is frozen |
| OpenIPSL.Types.PerUnit | Rc | 0.0025 | Line drop compensation resistance |
| OpenIPSL.Types.PerUnit | Xc | 0.0025 | Line drop compensation reactance |
| Real | Kc | 0.02 | Reactive current compensation gain |
| OpenIPSL.Types.PerUnit | emax | 0.1 | Upper limit on deadband output |
| OpenIPSL.Types.PerUnit | emin | -0.1 | Lower limit on deadband output |
| OpenIPSL.Types.PerUnit | dbd1 | 0 | Lower threshold for reactive power control deadband (<=0) |
| OpenIPSL.Types.PerUnit | dbd2 | 0 | Upper threshold for reactive power control deadband (>=0) |
| OpenIPSL.Types.PerUnit | Qmax | 0.4360 | Upper limit on output of V/Q control |
| OpenIPSL.Types.PerUnit | Qmin | -0.4360 | Lower limit on output of V/Q control |
| Real | Kpg | 0.1 | Proportional gain for power control |
| Real | Kig | 0.05 | Proportional gain for power control |
| Modelica.Units.SI.Time | Tp | 0.25 | Real power measurement filter time constant |
| OpenIPSL.Types.PerUnit | fdbd1 | 0 | Deadband for frequency control, lower threshold (<=0) |
| OpenIPSL.Types.PerUnit | fdbd2 | 0 | Deadband for frequency control, upper threshold (>=0) |
| OpenIPSL.Types.PerUnit | femax | 999 | Frequency error upper limit |
| OpenIPSL.Types.PerUnit | femin | -999 | Frequency error lower limit |
| OpenIPSL.Types.PerUnit | Pmax | 999 | Upper limit on power reference |
| OpenIPSL.Types.PerUnit | Pmin | -999 | Lower limit on power reference |
| Modelica.Units.SI.Time | Tg | 0.1 | Power Controller lag time constant |
| OpenIPSL.Types.PerUnit | Ddn | 20 | Reciprocal of droop for over-frequency conditions |
| OpenIPSL.Types.PerUnit | Dup | 0 | Reciprocal of droop for under-frequency conditions |
| Real | Vref | v_0 | Regulated bus initial voltage |
| Power flow data | |||
| OpenIPSL.Types.ApparentPower | M_b (from BaseREPC) | SysData.S_b | Machine base power |
| Types.ApparentPower | S_b (from pfComponent) | SysData.S_b | System base power |
| Types.Voltage | V_b (from pfComponent) | 400e3 | Base voltage of the bus |
| Types.Frequency | fn (from pfComponent) | SysData.fn | System frequency |
| Types.ActivePower | P_0 (from pfComponent) | 1e6 | Initial active power |
| Types.ReactivePower | Q_0 (from pfComponent) | 0 | Initial reactive power |
| Types.PerUnit | v_0 (from pfComponent) | 1 | Initial voltage magnitude |
| Types.Angle | angle_0 (from pfComponent) | 0 | Initial voltage angle |
| Boolean | displayPF (from pfComponent) | false | Display power flow: |
| Parameter mask | |||
| Boolean | enableS_b (from pfComponent) | false | Enable S_b in parameter list |
| Boolean | enableV_b (from pfComponent) | false | Enable V_b in parameter list |
| Boolean | enablefn (from pfComponent) | false | Enable fn in parameter list |
| Boolean | enableP_0 (from pfComponent) | false | Enable P_0 in parameter list |
| Boolean | enableQ_0 (from pfComponent) | false | Enable Q_0 in parameter list |
| Boolean | enablev_0 (from pfComponent) | false | Enable v_0 in parameter list |
| Boolean | enableangle_0 (from pfComponent) | false | Enable angle_0 in parameter list |
| Boolean | enabledisplayPF (from pfComponent) | false | Enable displayPF in parameter list |
| Control | |||
| Boolean | vcflag (from BaseREPC) | true | Reactive droop (false) or line drop compensation (true) |
| Boolean | refflag (from BaseREPC) | true | Plant-level reactive power (false) or voltage control (true) |
| Boolean | fflag (from BaseREPC) | true | Governor response disable (false) or enable (true) |