Functions for space phasor transformation
Space phasors are defined as vectors of length = 2, the first element representing the real part and the second element representing the imaginary part of the space phasor.
Extends from Modelica.Icons.FunctionsPackage (Icon for packages containing functions).
Name | Description |
---|---|
ToSpacePhasor | Conversion from multi phase input to space phasor and zero sequence component |
FromSpacePhasor | Conversion from space phasor and zero sequence component to multi phase |
Rotator | Rotates space phasor |
ToPolar | Converts a space phasor to polar coordinates |
FromPolar | Converts a space phasor from polar coordinates |
quasiRMS | Calculate quasi-RMS value of input |
activePower | Calculate active power of voltage and current input |
Conversion from multi phase input to space phasor and zero sequence component
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
x[:] | Multi phase (voltage or current) input |
Name | Description |
---|---|
y[2] | Space phasor |
y0 | Zero sequence component (of voltage or current) |
Conversion from space phasor and zero sequence component to multi phase
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
x[2] | Space phasor |
x0 | Zero sequence component |
m | Number of phases |
Name | Description |
---|---|
y[m] | Multi phase output |
Rotates space phasor
u
by the angle
in negative mathematical direction. This block represents the transformation of one space phasor u
from one rotating reference (coordinate) frame into another where the space phasor is y
. The output reference frame leads the input reference frame by angle angle
.
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
x[2] | Input space phasor |
angle | Input angle of rotation [rad] |
Name | Description |
---|---|
y[2] | Output space phasor |
Converts a space phasor to polar coordinates
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
x[2] | Real and imaginary part of space phasor |
Name | Description |
---|---|
absolute | Magnitude of space phasor |
angle | Angle of space phasor [rad] |
Converts a space phasor from polar coordinates
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
absolute | Magnitude of space phasor |
angle | Angle of space phasor [rad] |
Name | Description |
---|---|
x[2] | Real and imaginary part of space phasor |
Calculate quasi-RMS value of input
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
x[3] |
Name | Description |
---|---|
y |
Calculate active power of voltage and current input
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
v[m] | phase voltages [V] |
i[m] | phase currents [A] |
Name | Description |
---|---|
p | Active power [W] |