The event generation object synthesizing reliability events for a target group of object in a GridLAB-D model. More...
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 eventgen * | defaults = 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. |
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
group
is used to identify the characteristics of the target group. See find_mkpgm for details on group
syntax.targets
identifies the target properties that will be changed when an event is generated.values
identifies the values to be written to the target properties when an event is generated.frequency
specifies the frequency with which events are generatedduration
specifies the duration of events when generated.The current implementation generates events with an exponential distribution.
Definition at line 63 of file eventgen.h.