PolarToRectangular

Convert polar coordinates to rectangular coordinates

    PolarToRectangular

Library

Modelica/Blocks/Math

Description

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 )

Ports

NameTypeDescriptionIO TypeNumber

u_abs

implicit

Length of polar representation

input

1

u_arg

implicit

Angle of polar representation

input

2

y_re

implicit

Real part of rectangular representation

output

1

y_im

implicit

Imaginary part of rectangular representation

output

2

See Also