modelWeibull1DON
Test model for 1D binary variable generation function
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This model tests the implementation of Buildings.Occupants.BaseClasses.weibull1DON.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | localSeed | 10 | Local seed to be used to generate the initial state of the random number generator |
| Integer | globalSeed | 30129 | Global seed to be combined with the local seed |
| Real | u | 0.2 | Parameter defining the Weibull distribution threshold |
| Real | L | 0.1 | Parameter defining the Weibull distribution normalization factor |
| Real | k | 1.0 | Parameter defining the Weibull distribution shape factor |
| Real | dt | 0.2 | Time step length |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | Time-varying real number as input | |
| Real | y | Output |
Revisions
-
December 6, 2024, by Michael Wetter:
Refactored implementation of random number calculations, transfering the local state of the random number generator from one call to the next.
This is for #4069. -
September 5, 2018 by Zhe Wang:
First implementation.