modelbaseMachine
Base machine for PSAT models
Extends from OpenIPSL.Electrical.Essentials.pfComponent (Partial model containing all the parameters for entering power flow data).
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 |
| Machine parameters | |||
| Types.ApparentPower | Sn | Power rating | |
| Types.Voltage | Vn | Voltage rating | |
| Types.PerUnit | ra | Armature resistance | |
| Types.PerUnit | x1d | d-axis transient reactance | |
| Types.Time | M | Mechanical starting time, 2H [Ws/VA] | |
| Real | D | Damping coefficient | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| OpenIPSL.Interfaces.PwPin | p | ||
| Modelica.Blocks.Interfaces.RealOutput | delta | Rotor angle | |
| Modelica.Blocks.Interfaces.RealOutput | w | Rotor speed [pu] | |
| Modelica.Blocks.Interfaces.RealOutput | v | Generator terminal voltage [pu] | |
| Modelica.Blocks.Interfaces.RealOutput | P | Active power [pu] | |
| Modelica.Blocks.Interfaces.RealOutput | Q | Reactive power [pu] | |
| Modelica.Blocks.Interfaces.RealInput | vf | Field voltage [pu] | |
| Modelica.Blocks.Interfaces.RealOutput | vf0 | Initial field voltage [pu] | |
| Modelica.Blocks.Interfaces.RealOutput | pm0 | Initial mechanical power [pu] | |
| Modelica.Blocks.Interfaces.RealInput | pm | Mechanical power [pu] |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| OpenIPSL.Electrical.SystemBase | SysData (from pfComponent) | Must add this line in all models | |
| Types.Angle | anglev | Bus voltage angle | |
| Types.PerUnit | vd | d-axis voltage | |
| Types.PerUnit | vq | q-axis voltage | |
| Types.PerUnit | id | d-axis current | |
| Types.PerUnit | iq | q-axis current |