blockPhasorToAlphaBeta
Rotation of input signal-vector
Extends from Partials.MIMO.
Information
Transforms phasor u to amplitudes {alpha, beta}.
i.e. rotates phasor in polar representation by angle theta and transforms to Euclidean {y[1], y[2]} coordinates.
Input u:
u[1] absolute value u[2] argument, phase
Output y:
y = sqrt(2/3)*u[1]*{cos(u[2] + theta), sin(u[2] + theta)} amplitudes alpha, beta
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nin (from MIMO) | 1 | dim of input signal-vector |
| Integer | nout (from MIMO) | 1 | dim of output signal-vector |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput[nin] | u (from MIMO) | input signal-vector | |
| Modelica.Blocks.Interfaces.RealOutput[nout] | y (from MIMO) | output signal vector | |
| Modelica.Blocks.Interfaces.RealInput | theta | rotation angle |