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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | m | 3 | Number of phases |
| Integer | p | Number of pole pairs | |
| Boolean | useRMS | true | If true, inputs dq are multiplied by sqrt(2) |
| Integer | nout (from MO) | 1 | Number of outputs |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput[nout] | y (from MO) | Connector of Real output signals | |
| Modelica.Blocks.Interfaces.RealInput | d | d-component | |
| Modelica.Blocks.Interfaces.RealInput | q | q-component | |
| Modelica.Blocks.Interfaces.RealInput | phi | Rotor angle |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Gain | toPeak_d | ||
| Modelica.Blocks.Math.Gain | toPeak_q | ||
| Modelica.Blocks.Math.Gain | toGamma | ||
| Machines.SpacePhasors.Blocks.Rotator | rotator | ||
| Modelica.Blocks.Sources.Constant | i0 | ||
| Machines.SpacePhasors.Blocks.FromSpacePhasor | fromSpacePhasor |