Modelica.Electrical.Machines.SpacePhasors.Functions

Functions for space phasor transformation

Information

This package contains space phasor transformation functions for use in calculations:

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).

Package Content

Name Description
Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor ToSpacePhasor Conversion from polyphase input to space phasor and zero sequence component
Modelica.Electrical.Machines.SpacePhasors.Functions.FromSpacePhasor FromSpacePhasor Conversion from space phasor and zero sequence component to polyphase
Modelica.Electrical.Machines.SpacePhasors.Functions.Rotator Rotator Rotates space phasor
Modelica.Electrical.Machines.SpacePhasors.Functions.ToPolar ToPolar Converts a space phasor to polar coordinates
Modelica.Electrical.Machines.SpacePhasors.Functions.FromPolar FromPolar Converts a space phasor from polar coordinates
Modelica.Electrical.Machines.SpacePhasors.Functions.quasiRMS quasiRMS Calculate quasi-RMS value of input
Modelica.Electrical.Machines.SpacePhasors.Functions.activePower activePower Calculate active power of voltage and current input

Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor

Conversion from polyphase input to space phasor and zero sequence component

Information

Transformation of polyphase values (of voltages or currents) to space phasor and zero sequence value.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
x[:]Polyphase (voltage or current) input

Outputs

NameDescription
y[2]Space phasor
y0Zero sequence component (of voltage or current)

Modelica.Electrical.Machines.SpacePhasors.Functions.FromSpacePhasor Modelica.Electrical.Machines.SpacePhasors.Functions.FromSpacePhasor

Conversion from space phasor and zero sequence component to polyphase

Information

Transformation of space phasor and zero sequence value to polyphase values (of voltages or currents).

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
x[2]Space phasor
x0Zero sequence component
mNumber of phases

Outputs

NameDescription
y[m]Polyphase output

Modelica.Electrical.Machines.SpacePhasors.Functions.Rotator Modelica.Electrical.Machines.SpacePhasors.Functions.Rotator

Rotates space phasor

Information

Rotates a space phasor (voltage or current) input 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.
Fig. 1: Original and rotated reference frame of a space phasor

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
x[2]Input space phasor
angleInput angle of rotation [rad]

Outputs

NameDescription
y[2]Output space phasor

Modelica.Electrical.Machines.SpacePhasors.Functions.ToPolar Modelica.Electrical.Machines.SpacePhasors.Functions.ToPolar

Converts a space phasor to polar coordinates

Information

Converts a space phasor from rectangular coordinates to polar coordinates, providing angle=0 for {0,0}.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
x[2]Real and imaginary part of space phasor

Outputs

NameDescription
absoluteMagnitude of space phasor
angleAngle of space phasor [rad]

Modelica.Electrical.Machines.SpacePhasors.Functions.FromPolar Modelica.Electrical.Machines.SpacePhasors.Functions.FromPolar

Converts a space phasor from polar coordinates

Information

Converts a space phasor from polar coordinates to rectangular coordinates.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
absoluteMagnitude of space phasor
angleAngle of space phasor [rad]

Outputs

NameDescription
x[2]Real and imaginary part of space phasor

Modelica.Electrical.Machines.SpacePhasors.Functions.quasiRMS Modelica.Electrical.Machines.SpacePhasors.Functions.quasiRMS

Calculate quasi-RMS value of input

Information

Transformation of m phase values (voltages or currents) to space phasor and calculate length of space phasor / sqrt(2).

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
x[3] 

Outputs

NameDescription
y 

Modelica.Electrical.Machines.SpacePhasors.Functions.activePower Modelica.Electrical.Machines.SpacePhasors.Functions.activePower

Calculate active power of voltage and current input

Information

Transformation of three-phase voltages and currents to space phasors and calculate active power.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
v[m]Phase voltages [V]
i[m]Phase currents [A]

Outputs

NameDescription
pActive power [W]
Automatically generated Thu Oct 1 16:07:42 2020.