eventgen Class Reference
[Reliability analysis module]

The event generation object synthesizing reliability events for a target group of object in a GridLAB-D model. More...

List of all members.

Public Attributes

char256 controlled_switch
 Name of a switch to manually fault/un-fault.
double fail_dist_params [2]
 Parameters for failure_dist.
enumeration failure_dist
 failure distribution
char256 fault_type
 type of fault to induce
int faults_in_prog
 Number of faults currently induced by this event_gen object.
char1024 manual_fault_list
 List for manual faulting.
double max_outage_length_dbl
 Maximum length of time an outage may be - published before casting.
int max_simult_faults
 Number of simultaneous faults this event_gen object can induce.
double rest_dist_params [2]
 Parameters for restore_dist.
enumeration restore_dist
 restoration distribution
int switch_state
 Current state (1=closed, 0=open) for the controlled switch.
char1024 target_group
 object group aggregation
RELEVANTSTRUCT Unhandled_Events
 unhandled event linked list
int UnreliableObjCount
 Size of UnreliableObjs.
OBJEVENTDETAILS * UnreliableObjs
 Array of found objects in system and parameters of their failure.



static eventgendefaults = NULL
 a pointer to the default values used when creating new objects
static CLASS * oclass = NULL
 a pointer to the CLASS definition in GridLAB-D's core
int add_unhandled_event (OBJECT *obj_to_fault, char *event_type, TIMESTAMP fail_time, TIMESTAMP rest_length, int implemented_fault, bool fault_state)
 Function to add unhandled event into the structure.

Detailed Description

The event generation object synthesizing reliability events for a target group of object in a GridLAB-D model.

The following parameters are used to generate events

The current implementation generates events with an exponential distribution.

Definition at line 63 of file eventgen.h.


The documentation for this class was generated from the following files:

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