modelBaseREGC
Base renewable generator/converter for PSSE models
Extends from OpenIPSL.Electrical.Essentials.pfComponent (Partial model containing all the parameters for entering power flow data).
Information
This component is the base class for the inverter components from the InverterInterface sub-package.
The modelling of such devices is based, mainly, on the following reference:
Siemens: "PSS®E Model Library" [PSSE-MODELS].
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 |
| Input Parameters | |||
| Modelica.Units.SI.Time | Tg | 0.02 | Converter time constant |
| Modelica.Units.SI.TimeAging | rrpwr | 10 | Low Voltage Power Logic (LVPL) ramp rate limit |
| OpenIPSL.Types.PerUnit | Brkpt | 0.9 | LVPL characteristic voltage 2 |
| OpenIPSL.Types.PerUnit | Zerox | 0.5 | LVPL characteristic voltage 1 |
| OpenIPSL.Types.PerUnit | Lvpl1 | 1.22 | LVPL gain |
| OpenIPSL.Types.PerUnit | Volim | 1.2 | Voltage limit for high voltage reactive current management |
| OpenIPSL.Types.PerUnit | lvpnt1 | 0.8 | High voltage point for low voltage active current management |
| OpenIPSL.Types.PerUnit | lvpnt0 | 0.4 | Low voltage point for low voltage active current management |
| OpenIPSL.Types.PerUnit | Iolim | -1.3 | Current limit for high voltage reactive current management (specified as a negative value) |
| Modelica.Units.SI.Time | Tfltr | 0.02 | Voltage filter time constant for low voltage active current management |
| Real | Khv | 0.7 | Overvoltage compensation gain used in the high voltage reactive current management |
| Modelica.Units.SI.TimeAging | Iqrmax | 9999 | Upper limit on rate of change for reactive current |
| Modelica.Units.SI.TimeAging | Iqrmin | -9999 | Lower limit on rate of change for reactive current |
| Controls | |||
| Boolean | Lvplsw | true | Enable (true) or disable (false) low voltage power logic. |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| OpenIPSL.Interfaces.PwPin | p | ||
| Modelica.Blocks.Interfaces.RealInput | Iqcmd | Imaginary Command Current | |
| Modelica.Blocks.Interfaces.RealInput | Ipcmd | Real Command Current | |
| Modelica.Blocks.Interfaces.RealOutput | IQ0 | Initial Reactive Power | |
| Modelica.Blocks.Interfaces.RealOutput | IP0 | Initial Active Power | |
| Modelica.Blocks.Interfaces.RealOutput | V_0 | Initial Terminal Voltage Magnitude | |
| Modelica.Blocks.Interfaces.RealOutput | q_0 | Initial Reactive Power | |
| Modelica.Blocks.Interfaces.RealOutput | p_0 | Initial Active Power | |
| Modelica.Blocks.Interfaces.RealOutput | V_t | Terminal Voltage Magnitude | |
| Modelica.Blocks.Interfaces.RealOutput | Pgen | Active Power injection | |
| Modelica.Blocks.Interfaces.RealOutput | Qgen | Reactive Power injection |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| OpenIPSL.Electrical.SystemBase | SysData (from pfComponent) | Must add this line in all models |