blockPolarToRectangular
Convert polar coordinates to rectangular coordinates
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
The input values of this block are the polar components uabs and uarg of a phasor.
This block calculates the components y_re and y_im of the rectangular representation of this phasor.
y_re = u_abs * cos( u_arg ) y_im = u_abs * sin( u_arg )
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u_abs | Length of polar representation | |
| Modelica.Blocks.Interfaces.RealInput | u_arg | Angle of polar representation | |
| Modelica.Blocks.Interfaces.RealOutput | y_re | Real part of rectangular representation | |
| Modelica.Blocks.Interfaces.RealOutput | y_im | Imaginary part of rectangular representation |