Complex numbers


Detailed Description

The complex number implementation is specifically designed to use in power systems calculations.

Hence it supports some things that a peculiar to power systems engineering. In particular, the imaginary portion can be identified using i, j or d (for polar coordinates).

Note that the functions are only available to C++ code and only the struct is available to C code.


GridLAB-DTM Version 2.0
An open-source project initiated by the US Department of Energy