Package 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 Contents

NameDescription
activePowerCalculate active power of voltage and current input
FromPolarConverts a space phasor from polar coordinates
FromSpacePhasorConversion from space phasor and zero sequence component to multi phase
quasiRMSCalculate quasi-RMS value of input
RotatorRotates space phasor
ToPolarConverts a space phasor to polar coordinates
ToSpacePhasorConversion from multi phase input to space phasor and zero sequence component

Function Modelica.​Electrical.​Machines.​SpacePhasors.​Functions.​ToSpacePhasor
Conversion from multi phase input to space phasor and zero sequence component

Information

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

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

Inputs

TypeNameDescription
Realx[:]Multi phase (voltage or current) input

Outputs

TypeNameDescription
Realy[2]Space phasor
Realy0Zero sequence component (of voltage or current)

Function Modelica.​Electrical.​Machines.​SpacePhasors.​Functions.​FromSpacePhasor
Conversion from space phasor and zero sequence component to multi phase

Information

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

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

Inputs

TypeNameDescription
Realx[2]Space phasor
Realx0Zero sequence component
IntegermNumber of phases

Outputs

TypeNameDescription
Realy[m]Multi phase output

Function 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

TypeNameDescription
Realx[2]Input space phasor
AngleangleInput angle of rotation

Outputs

TypeNameDescription
Realy[2]Output space phasor

Function 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

TypeNameDescription
Realx[2]Real and imaginary part of space phasor

Outputs

TypeNameDescription
RealabsoluteMagnitude of space phasor
AngleangleAngle of space phasor

Function 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

TypeNameDescription
RealabsoluteMagnitude of space phasor
AngleangleAngle of space phasor

Outputs

TypeNameDescription
Realx[2]Real and imaginary part of space phasor

Function 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

TypeNameDescription
Realx[3] 

Outputs

TypeNameDescription
Realy 

Function 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

TypeNameDescription
Voltagev[m]phase voltages
Currenti[m]phase currents

Outputs

TypeNameDescription
PowerpActive power

Generated 2018-12-12 12:10:14 EST by MapleSim.