Fuse
[recloser]

Functions

int fuse::create (void)
 Fully resolved status (ABC) - used for reliability and recalculation detection.
EXPORT int create_fuse (OBJECT **obj, OBJECT *parent)
 REQUIRED: allocate and initialize an object.
int fuse::fuse_state (OBJECT *parent)
 Routine to see if a fuse has been blown Legacy functionality for FBS code.
int fuse::init (OBJECT *parent)
 Object initialization is called once after all object have been created.
EXPORT int isa_fuse (OBJECT *obj, char *classname)
 Allows the core to discover whether obj is a subtype of this class.
TIMESTAMP fuse::sync (TIMESTAMP t0)

Detailed Description

Todo:
fuse do not reclose ever once blown, implement fuse restoration scheme (e.g., scale of hours with circuit outage)

Function Documentation

EXPORT int create_fuse ( 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 1277 of file fuse.cpp.

int fuse::fuse_state ( OBJECT *  parent  )  [inherited]

Routine to see if a fuse has been blown Legacy functionality for FBS code.

Parameters:
parent a pointer to this object's parent
Returns:
1 on success, 0 on error

Definition at line 1257 of file fuse.cpp.

int fuse::init ( OBJECT *  parent  )  [inherited]

Object initialization is called once after all object have been created.

Parameters:
parent a pointer to this object's parent
Returns:
1 on success, 0 on error

Definition at line 126 of file fuse.cpp.

References LS_OPEN.

EXPORT int isa_fuse ( OBJECT *  obj,
char *  classname 
)

Allows the core to discover whether obj is a subtype of this class.

Parameters:
obj a pointer to this object
classname the name of the object the core is testing
Returns:
true (1) if obj is a subtype of this class

Definition at line 1355 of file fuse.cpp.

TIMESTAMP fuse::sync ( TIMESTAMP  t0  )  [inherited]

Todo:
it would be better to model how much damage the fuse incurred (network, low priority) (ticket #128)

Definition at line 312 of file fuse.cpp.


GridLAB-D™ Version 4.1
An open-source smart grid simulator created by PNNL for the US Department of Energy Office of Electricity