modelOnePortACdqPU
Base class for one-port AC components with p.u. Park's transformation
Extends from OnePortAC (Base class for AC components with one port).
Information
This model provides a base class for all one-port AC components that use Park's transformation with per-unit currents and voltages.
Parameters
| Type | Name | Default | Description |
| Types.Voltage | UNom (from OnePortAC) | | Nominal/rated line-to-line voltage |
| Types.ApparentPower | SNom (from OnePortAC) | | Nominal/rated apparent power |
| Boolean | portVariablesPhases (from OnePortAC) | false | Compute voltage and current phases for monitoring purposes only |
| Boolean | portVariablesPu (from OnePortAC) | true | Add per-unit variables to model |
| Boolean | generatorConvention (from OnePortAC) | false | Add currents with generator convention (i > 0 when exiting the device) to model |
| LocalInitializationOption | localInit (from OnePortAC) | LocalInitializationOption.none | Initialize the component locally in steady state from port start values |
| SI.Angle | thetaStart | UPhaseStart | Start value of rotation between machine rotor frame and port phasor frame |
| Types.PerUnit | udPuStart | | Start value of udPu |
| Types.PerUnit | uqPuStart | | Start value of uqPu |
| Types.PerUnit | idPuStart | | Start value of idPu |
| Types.PerUnit | iqPuStart | | Start value of iqPu |
| Initialization |
| Types.Voltage | UStart (from OnePortAC) | UNom | Start value of phase-to-phase voltage phasor, absolute value |
| Types.Angle | UPhaseStart (from OnePortAC) | 0 | Start value of phase-to-phase voltage phasor, phase angle |
| Types.ActivePower | PStart (from OnePortAC) | SNom | Start value of active power flowing into the port |
| Types.ReactivePower | QStart (from OnePortAC) | 0 | Start value of reactive power flowing into the port |
Components
| Type | Name | Default | Description |
| PortAC | port (from OnePortAC) | | AC port of node |
| Electrical.System | systemPowerGrids (from OnePortAC) | | Reference to system object |
| Types.PerUnit | udPu | | Voltage of direct axis in p.u. |
| Types.PerUnit | uqPu | | Voltage of quadrature axis in p.u. |
| Types.PerUnit | idPu | | Current of direct axis in p.u. |
| Types.PerUnit | iqPu | | Current of quadrature axis in p.u. |
| Types.Angle | theta | | Rotation between machine rotor frame and port phasor frame |