reliability/eventgen.h File Reference

Id
eventgen.h 4738 2014-07-03 00:55:39Z dchassin

Copyright (C) 2008 Battelle Memorial Institute More...

Go to the source code of this file.

Classes

class  eventgen
 The event generation object synthesizing reliability events for a target group of object in a GridLAB-D model. More...
struct  s_relevantstruct
 Object Event Details - contains. More...



enum  DISTTYPE {
  UNIFORM = 0, NORMAL = 1, LOGNORMAL = 2, BERNOULLI = 3,
  PARETO = 4, EXPONENTIAL = 5, RAYLEIGH = 6, WEIBULL = 7,
  GAMMA = 8, BETA = 9, TRIANGLE = 10, NONE = 11
}
typedef struct s_relevantstruct RELEVANTSTRUCT
 Object Event Details - contains.
EXPORT int add_event (OBJECT *event_obj, 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

Id
eventgen.h 4738 2014-07-03 00:55:39Z dchassin

Copyright (C) 2008 Battelle Memorial Institute

Definition in file eventgen.h.


Enumeration Type Documentation

enum DISTTYPE
Enumerator:
UNIFORM 

uniform distribution; double minimum_value, double maximum_value

NORMAL 

normal distribution; double arithmetic_mean, double arithmetic_stdev

LOGNORMAL 

log-normal distribution; double geometric_mean, double geometric_stdev

BERNOULLI 

Bernoulli distribution; double probability_of_observing_1.

PARETO 

Pareto distribution; double minimum_value, double gamma_scale.

EXPONENTIAL 

exponential distribution; double coefficient, double k_scale

RAYLEIGH 

Rayleigh distribution; double sigma.

WEIBULL 

Weibull distribution; double lambda, double k.

GAMMA 

Gamma distribution; double alpha, double beta.

BETA 

Beta distribution; double alpha, double beta.

TRIANGLE 

Triangle distribution; double a, double b.

NONE 

No distribution - flag for manual mode.

Definition at line 20 of file eventgen.h.


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