Defines | |
| #define | gl_random_bernoulli (*callback->random.bernoulli) |
| Generate a Bernoulli distributed random number. | |
| #define | gl_random_exponential (*callback->random.exponential) |
| Generate an examponentially distributed random number. | |
| #define | gl_random_lognormal (*callback->random.lognormal) |
| Generate a log normal distributed random number. | |
| #define | gl_random_normal (*callback->random.normal) |
| Generate a normal distributed random number. | |
| #define | gl_random_pareto (*callback->random.pareto) |
| Generate a Pareto distributed random number. | |
| #define | gl_random_sampled (*callback->random.sampled) |
| Generate a random number drawn uniformly from a sample. | |
| #define | gl_random_uniform (*callback->random.uniform) |
| Generate a uniformly distributed random number. | |
| #define | gl_randomtype (*callback->random.type) |
| Determine the distribution type to be used from its name. | |
| #define | gl_randomvalue (*callback->random.value) |
| Obtain an arbitrary random value using RANDOMTYPE. | |
| #define gl_random_bernoulli (*callback->random.bernoulli) |
Generate a Bernoulli distributed random number.
Definition at line 625 of file gridlabd.h.
Referenced by waterheater::create(), and house::sync().
| #define gl_random_exponential (*callback->random.exponential) |
Generate an examponentially distributed random number.
Definition at line 640 of file gridlabd.h.
Referenced by house::sync(), and relay::sync().
| #define gl_random_lognormal (*callback->random.lognormal) |
Generate a log normal distributed random number.
Definition at line 620 of file gridlabd.h.
| #define gl_random_normal (*callback->random.normal) |
Generate a normal distributed random number.
Definition at line 615 of file gridlabd.h.
Referenced by waterheater::create(), lights::create(), import_cdf(), and waterheater::init().
| #define gl_random_pareto (*callback->random.pareto) |
Generate a Pareto distributed random number.
Definition at line 630 of file gridlabd.h.
| #define gl_random_sampled (*callback->random.sampled) |
Generate a random number drawn uniformly from a sample.
Definition at line 635 of file gridlabd.h.
| #define gl_random_uniform (*callback->random.uniform) |
Generate a uniformly distributed random number.
Definition at line 610 of file gridlabd.h.
Referenced by washer::create(), range::create(), plugload::create(), microwave::create(), lights::create(), dishwasher::create(), clotheswasher::create(), waterheater::init(), house::init(), and refrigerator::refrigerator().
| #define gl_randomtype (*callback->random.type) |
Determine the distribution type to be used from its name.
Definition at line 600 of file gridlabd.h.
Referenced by comm::init().
| #define gl_randomvalue (*callback->random.value) |
Obtain an arbitrary random value using RANDOMTYPE.
Definition at line 605 of file gridlabd.h.