complex_output_format - Control the output representation of complex numbers

## Synopsis

host% gridlabd -D complex_output_format=DEFAULT
host% gridlabd --define complex_format=RECT
#set complex_output_format=POLAR_DEG


Valid options for the argument are:

Value Description Math Representation Output Text
DEFAULT Output is dictated by the complex variable itself (and relevant flag) - pre-4.3 behavior Varies Varies
RECT Output is in rectangular format $x+yj$ 0.8660+0.5j
POLAR_DEG Output is in polar format, with angle expressed in degrees $\left|x+yj\right|\angle(\textrm{atand}\left(\frac{y}{x}\right))$ 1.0+30.0d
POLAR_RAD Output is in polar format, with angle expressed in radians $\left|x+yj\right|\angle(\textrm{atan}\left(\frac{y}{x}\right))$ 1.0+0.5236r

## Description

The complex_output_format global variable controls the representation formatting used for the output of complex numbers (as opposed to complex_format which controls the digits/precision).