FromDQ
Transform rotor fixed space phasor to instantaneous stator quantities
![]()
Library
Electrical/Machines/Utilities
Description
The d and q components of a space phasor u[2] are rotated back to the stator fixed reference system,
using the provided mechanical rotor angle phi. The output are the instantaneous multi phase values y[m].
See also
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_nin | nin | Number of inputs | Scalar | |
mo_nout | nout | Number of outputs | Scalar | |
mo_m | m | Number of phases | Scalar | |
mo_p | p | Number of pole pairs | Scalar |

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_u | u | u | Structure | |
mo_u/fixed | fixed | Cell of vectors | true | |
mo_u/start | start | Cell of vectors | ||
mo_y | y | y | Structure | |
mo_y/fixed | fixed | Cell of vectors | true | |
mo_y/start | start | Cell of vectors | ||
mo_phi | phi | phi | Structure | |
mo_phi/fixed | fixed | Cell of scalars | true | |
mo_phi/start | start | Cell of scalars |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
u | implicit | Connector of Real input signals | input | 1 |
y | implicit | Connector of Real output signals | output | 1 |
phi | implicit | input | 2 |