DQToThreePhase
Transforms dq to three-phase
Library
Modelica/Electrical/Machines/Utilities
Description
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
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_m | m | Number of phases | Scalar | |
mo_p | p | Number of pole pairs | Scalar | |
mo_useRMS | useRMS | If true, inputs dq are multiplied by sqrt(2) | Scalar | true |
mo_nout | nout | Number of outputs | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | ||
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
y | implicit | Connector of Real output signals | output | 1 |
d | implicit | d-component | input | 1 |
q | implicit | q-component | input | 2 |
phi | implicit | Rotor angle | input | 3 |