Underground_line
[Line]


Functions

int underground_line::create (void)
EXPORT int create_underground_line (OBJECT **obj, OBJECT *parent)
 REQUIRED: allocate and initialize an object.
int underground_line::init (void)
EXPORT int init_underground_line (OBJECT *obj)
int underground_line::isa (char *classname)
EXPORT int isa_underground_line (OBJECT *obj, char *classname)
EXPORT TIMESTAMP sync_underground_line (OBJECT *obj, TIMESTAMP t0, PASSCONFIG pass)
 underground_line::underground_line (MODULE *mod)

Variables

static underground_lineunderground_line::defaults = NULL
static CLASSunderground_line::oclass = NULL
static CLASSunderground_line::pclass = NULL


Function Documentation

EXPORT int create_underground_line ( OBJECT **  obj,
OBJECT parent 
)

REQUIRED: allocate and initialize an object.

Parameters:
obj a pointer to a pointer of the last object in the list
parent a pointer to the parent of this object
Returns:
1 for a successfully created object, 0 for error

Definition at line 302 of file underground_line.cpp.

References create(), gl_create_object, gl_error, gl_set_parent, OBJECTDATA, and oclass.

int underground_line::init ( void   )  [inherited]

Todo:
implement recalc just like overhead_line (ticket #197)

Reimplemented from link.

Definition at line 59 of file underground_line.cpp.

References A, link::A_mat, link::a_mat, link::B, link::B_mat, link::b_mat, link::c_mat, line::configuration, link::d_mat, gl_object_isa, gl_testmsg, powerflow_object::has_phase(), link::i_abc_in, link::i_abc_out, link::i_n_in, link::i_n_out, link::init(), inverse(), line::length, line_configuration::line_spacing, multiply(), OBJECTDATA, PHASE_A, PHASE_B, PHASE_C, print_matrix(), and subtract().

Referenced by init_underground_line().


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