ToPolar
Converts a space phasor to polar coordinates
![]()
Library
Modelica/Electrical/Machines/SpacePhasors/Blocks
Description
Converts a space phasor from rectangular coordinates to polar coordinates.Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_n | n | Number of inputs (= number of outputs) | Scalar | |
mo_small | small | 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 |
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 |