capacitor Class Reference

Inheritance diagram for capacitor:

node powerflow_object List of all members.

Detailed Description

Definition at line 9 of file capacitor.h.

Public Types

enum  CAPCONTROL { MANUAL = 0, VAR = 1, VOLT = 2, VARVOLT = 3 }
enum  CAPSWITCH { OPEN = 0, CLOSED = 1 }

Public Member Functions

 capacitor (MODULE *mod)
 constructor.
int create (void)
int isa (char *classname)
TIMESTAMP postsync (TIMESTAMP t0)
TIMESTAMP sync (TIMESTAMP t0)

Static Public Attributes

static capacitordefaults = NULL
static CLASSoclass = NULL
static CLASSpclass = NULL

Protected Attributes

complex b_node [3]
CAPCONTROL control
set pt_phase
int32 pt_ratio
complex q_cap [3]
complex q_node [3]
CAPSWITCH switch_state
int32 time_delay
double time_to_change
double var_close
double var_open
double volt_close
double volt_open


Member Enumeration Documentation

enum capacitor::CAPCONTROL

Enumerator:
MANUAL 
VAR 
VOLT 
VARVOLT 

Definition at line 12 of file capacitor.h.

enum capacitor::CAPSWITCH

Enumerator:
OPEN 
CLOSED 

Definition at line 13 of file capacitor.h.


The documentation for this class was generated from the following files:
GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy