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

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputu_absLength of polar representation
Modelica.Blocks.Interfaces.RealInputu_argAngle of polar representation
Modelica.Blocks.Interfaces.RealOutputy_reReal part of rectangular representation
Modelica.Blocks.Interfaces.RealOutputy_imImaginary part of rectangular representation