modelWeibullVariableGeneration
Test model for real variable generation function
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This model tests the implementation of Buildings.Occupants.BaseClasses.weibullVariableGeneration.
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 | lambda | 10 | Time step length |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k | 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.