From GridLAB-D Wiki
complex_format - Control the formatting of complex numbers
Synopsis
host% gridlabd -D complex_format='%+lg%+lg%c' host% gridlabd --define complex_format='%+lg%+lg%c' #set complex_format=%+lg%+lg%c
Description
The complex_format global variable control the formatting used to convert complex numbers between their in-memory and their string representations.
Caveat
Current the formatting assumes that the conversion is always in the order REAL + IMAGINARY + ANGLE_UNIT. There may be other orders of representation that are desired but they cannot be supported using the current assumptions.
Bugs
If the formatting of complex numbers is not presented in the order %lg %lg %c with appropriate non-conversion parsing characters interspersed, GridLAB-D may crash without warning or remedy.