Defines | |
| #define | gl_pseudorandomvalue (*callback->random.pseudo) |
| Obtain an arbitrary random value using RANDOMTYPE. | |
| #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_pseudorandomvalue (*callback->random.pseudo) |
Obtain an arbitrary random value using RANDOMTYPE.
Definition at line 714 of file gridlabd.h.
| #define gl_random_bernoulli (*callback->random.bernoulli) |
Generate a Bernoulli distributed random number.
Definition at line 734 of file gridlabd.h.
| #define gl_random_exponential (*callback->random.exponential) |
Generate an examponentially distributed random number.
Definition at line 749 of file gridlabd.h.
| #define gl_random_lognormal (*callback->random.lognormal) |
Generate a log normal distributed random number.
Definition at line 729 of file gridlabd.h.
| #define gl_random_normal (*callback->random.normal) |
Generate a normal distributed random number.
Definition at line 724 of file gridlabd.h.
Referenced by import_cdf(), house::init(), battery::init(), and fuse::sync().
| #define gl_random_pareto (*callback->random.pareto) |
Generate a Pareto distributed random number.
Definition at line 739 of file gridlabd.h.
| #define gl_random_sampled (*callback->random.sampled) |
Generate a random number drawn uniformly from a sample.
Definition at line 744 of file gridlabd.h.
| #define gl_random_uniform (*callback->random.uniform) |
Generate a uniformly distributed random number.
Definition at line 719 of file gridlabd.h.
Referenced by waterheater::init(), house_e::init(), house::init(), metrics::start_event(), dryer::update_state(), and clotheswasher::update_state().
| #define gl_randomtype (*callback->random.type) |
Determine the distribution type to be used from its name.
Definition at line 704 of file gridlabd.h.
Referenced by comm::init().
| #define gl_randomvalue (*callback->random.value) |
Obtain an arbitrary random value using RANDOMTYPE.
Definition at line 709 of file gridlabd.h.