Function cmb_random_weibull
Defined in File cmb_random.h
Function Documentation
-
static inline double cmb_random_weibull(const double shape, const double scale)
Weibull distribution on
[0, oo)with parametersshapeandscale, whereshape > 0andscale > 0.Generalizes the exponential distribution, typically used for component lifetimes and similar durations. Failure rates increase with time for
shape < 1, decrease with time forshape > 1. Equal to exponential (memoryless, constant failure rate) with meanscalewhenshape = 1.0. Looks similar to a normal distribution forshapearound 4.Also used for wind speed simulation, often with
shapearound 2 andscalesomewhere around 5 to 15.