modelBaseREPC
Base class for the plant controller of the WECC generic renewable models
Extends from OpenIPSL.Electrical.Essentials.pfComponent (Partial model containing all the parameters for entering power flow data).
Information
The BaseREPC model is the base class that is extended to create the REPCA1 component.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Power flow data | |||
| OpenIPSL.Types.ApparentPower | M_b | 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 | true | Reactive droop (false) or line drop compensation (true) |
| Boolean | refflag | true | Plant-level reactive power (false) or voltage control (true) |
| Boolean | fflag | true | Governor response disable (false) or enable (true) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | Qref | Reactive Power Reference | |
| Modelica.Blocks.Interfaces.RealInput | Plant_pref | Active Power Reference | |
| Modelica.Blocks.Interfaces.RealInput | Freq | Connection Point Frequency | |
| Modelica.Blocks.Interfaces.RealInput | Freq_ref | Plant Controller Frequency Reference | |
| Modelica.Blocks.Interfaces.RealOutput | Qext | Reactive Power output signal | |
| Modelica.Blocks.Interfaces.RealOutput | Pref | Real Power output signal | |
| Modelica.Blocks.Interfaces.RealInput | p0 | Initial Active Power | |
| Modelica.Blocks.Interfaces.RealInput | q0 | Initial Reactive Power | |
| Modelica.Blocks.Interfaces.RealInput | v0 | Initial Terminal Voltage Magnitude | |
| Modelica.Blocks.Interfaces.RealInput | branch_ir | Measured Branch Real Current | |
| Modelica.Blocks.Interfaces.RealInput | branch_ii | Measured Branch Imaginary Current | |
| Modelica.Blocks.Interfaces.RealInput | regulate_vr | Regulated Branch Real Voltage | |
| Modelica.Blocks.Interfaces.RealInput | regulate_vi | Regulated Branch Imaginary Voltage |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| OpenIPSL.Electrical.SystemBase | SysData (from pfComponent) | Must add this line in all models |