The following metrics are calculated annual and reported to the report_file
See IEEE Std 1366-2003 IEEE Guide for Electric Power Distribution Reliability Indices for more information on how to compute distribution system reliability indices.
Definition at line 47 of file metrics.h.
Public Member Functions | |
| void | end_event (OBJECT *obj, const char *targets, char *old_values) |
| Restores service after an event. | |
| OBJECT * | start_event (EVENT *pEvent, FINDLIST *objectlist, const char *targets, char *event_values, char *old_values, int size) |
| Initiates an event and records it in the event log. | |
| void metrics::end_event | ( | OBJECT * | obj, | |
| const char * | targets, | |||
| char * | old_values | |||
| ) |
Restores service after an event.
| obj | the object which is to be restored |
| targets | the properties to be restored |
| old_values | the old values to be restored |
Definition at line 267 of file metrics.cpp.
References gl_find_next, gl_find_objects, gl_findlist_copy, gl_free, and gl_object_isa.
| OBJECT * metrics::start_event | ( | EVENT * | pEvent, | |
| FINDLIST * | objectlist, | |||
| const char * | targets, | |||
| char * | event_values, | |||
| char * | old_values, | |||
| int | size | |||
| ) |
Initiates an event and records it in the event log.
| pEvent | a pointer to the EVENT structure that defines this event |
| objectlist | the list of objects to be affected by the event |
| targets | the list of object properties to be modified |
| event_values | the list of values to be used when modifying the properties |
| old_values | storage space for the old values before modification |
| size | the size of the storage space for old values |
Definition at line 199 of file metrics.cpp.
References gl_find_next, gl_findlist_copy, gl_localtime, gl_random_uniform, and gl_strtime.