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

TypeNameDefaultDescription
IntegerlocalSeed10Local seed to be used to generate the initial state of the random number generator
IntegerglobalSeed30129Global seed to be combined with the local seed
Reallambda10Time step length

Components

TypeNameDefaultDescription
RealkTime-varying real number as input
RealyOutput

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.