modelbaseVoltageSource
Base model for voltage sources behind an impedance
Extends from OpenIPSL.Electrical.Essentials.pfComponent (Partial model containing all the parameters for entering power flow data).
Information
This partial model is used to develop variants of a voltage source with an internal voltage source and internal impedance whose magnitude and angle. The initial values of the internal voltage source magnitude and angle are calculated based on the impedance and power flow data. It is based on [Du2021], with the difference that the internal impedance includes a resistance and not only a reactance.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Power flow data | |||
| 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 |
| Voltage Source parameters | |||
| OpenIPSL.Types.ApparentPower | M_b | SysData.S_b | Voltage Source base power rating (MVA) |
| OpenIPSL.Types.PerUnit | R_a | 1e-3 | Internal source resistance, pu, system base |
| OpenIPSL.Types.PerUnit | X_d | 0.2 | Internal source d-axis reactance, pu, system base |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| OpenIPSL.Interfaces.PwPin_p | p | Instantiation of graphical component PwPin_p | |
| RealOutput | Emag | Internal voltage magnitude | |
| RealOutput | Edelta | Internal voltage angle | |
| RealOutput | Emag0 | Initial value of the internal voltage source magnitude | |
| RealOutput | Eang0 | Initial value of the internal voltage angle |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| OpenIPSL.Electrical.SystemBase | SysData | ||
| OpenIPSL.Types.PerUnit | V | Bus voltage magnitude | |
| OpenIPSL.Types.Angle | anglev | Bus voltage angle | |
| OpenIPSL.Types.PerUnit | P | Active power (system base) | |
| OpenIPSL.Types.PerUnit | Q | Reactive power (system base) | |
| OpenIPSL.Types.Angle | delta | Internal voltage source angle | |
| OpenIPSL.Types.PerUnit | E | Internal voltage source magnitude |