ImpureGeneratorDemonstrates the usage of the impure random number generator |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This example demonstrates how to use the impureRandom(..) function to generate random values at event instants. Typically, this approach is only used when implementing an own, specialized block that needs a random number generator. Simulation results are shown in the next figure:
impureRandom_y |
Default Value: impureRandom.y Type: Real |
---|
globalSeed |
Type: GlobalSeed |
|
---|---|---|
impureRandom |
Type: ImpureRandom |