Complex numbers
[GridLAB-D Core]


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.


Classes

struct  complex

Defines

#define CNOTATION_DEFAULT   J
#define E   2.71828182845905
#define PI   3.1415926535897932384626433832795

Enumerations

enum  CNOTATION { I = 'i', J = 'j', A = 'd' }


Enumeration Type Documentation

enum CNOTATION

Enumerator:
I 
J 
A 

Definition at line 20 of file complex.h.


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