modelDQToThreePhase

Transforms dq to three-phase

Extends from Modelica.Blocks.Interfaces.MO (Multiple Output continuous control block).

Information

Transforms dq currents or voltages to three-phase currents or voltages.

The desired d- and q-components of the space phasor in rotor fixed coordinate system are given by inputs d and q. Using the given rotor position (input phi), the correct three-phase values (output y[3]) are calculated. They can be used to feed a current source which in turn feeds an induction machine.

Inputs d and q can be given either as peak values (useRMS=false) or as RMS (useRMS=true). The correction by factor √2 is done automatically.

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
IntegerpNumber of pole pairs
BooleanuseRMStrueIf true, inputs dq are multiplied by sqrt(2)
Integernout (from MO)1Number of outputs

Connectors

TypeNameDefaultDescription
RealOutput[nout]y (from MO)Connector of Real output signals
Modelica.Blocks.Interfaces.RealInputdd-component
Modelica.Blocks.Interfaces.RealInputqq-component
Modelica.Blocks.Interfaces.RealInputphiRotor angle

Components

TypeNameDefaultDescription
Modelica.Blocks.Math.GaintoPeak_d
Modelica.Blocks.Math.GaintoPeak_q
Modelica.Blocks.Math.GaintoGamma
Machines.SpacePhasors.Blocks.Rotatorrotator
Modelica.Blocks.Sources.Constanti0
Machines.SpacePhasors.Blocks.FromSpacePhasorfromSpacePhasor