meter Class Reference

Inheritance diagram for meter:

node node powerflow_object powerflow_object List of all members.

Detailed Description

Definition at line 17 of file meter.h.

Public Types

enum  { UNKNOWN = 0, SINGLEPHASE = 1, POLYPHASE = 2 }
enum  { NOMINAL, UNDERVOLT, OVERVOLT }
enum  { MT_ONEPHASE = 0, MT_THREEPHASE = 1 }

Public Member Functions

int create (void)
int init (OBJECT *parent)
int isa (char *classname)
 meter (MODULE *mod)
TIMESTAMP postsync (TIMESTAMP t0)
TIMESTAMP presync (TIMESTAMP t0, TIMESTAMP t1)
TIMESTAMP sync (TIMESTAMP t0, TIMESTAMP t1)
TIMESTAMP sync (TIMESTAMP t0)

Public Attributes

complex demand
double demand
double energy
complex i1
complex i2
complex i3
complex line1_admittance
complex line1_current
complex line1_power
complex line2_admittance
complex line2_current
complex line2_power
complex line3_admittance
complex line3_current
complex line3_power
complex meterkWh
double nominal_voltage
complex phaseA_I
complex phaseAtoB_V
complex phaseB_I
complex phaseBtoC_V
complex phaseC_I
complex phaseCtoA_V
double power
complex v12
complex v13
complex v23

Static Public Attributes

static meterdefaults
static meterdefaults = NULL
static CLASSoclass
static CLASSoclass = NULL
static CLASSpclass
static CLASSpclass = NULL

Protected Attributes

TIMESTAMP last_t


Member Enumeration Documentation

anonymous enum

Enumerator:
UNKNOWN 
SINGLEPHASE 
POLYPHASE 

Definition at line 23 of file meter.h.

anonymous enum

Enumerator:
NOMINAL 
UNDERVOLT 
OVERVOLT 

Definition at line 24 of file meter.h.

anonymous enum

Enumerator:
MT_ONEPHASE 
MT_THREEPHASE 

Definition at line 11 of file meter.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