blockRandomRealSource

Extends from Modelica_DeviceDrivers.Utilities.Icons.BaseIcon (Base icon for blocks providing access to external devices).

Information

Uses the rand()function from the C standard library for creating pseudo-random numbers. The computers real-time clock is used to obtain seed values for the sequence of pseudo-random numbers.

Parameters

TypeNameDefaultDescription
Integern1Dimension of output vector
Modelica.Units.SI.PeriodsampleTime0.01Sample time of random number generation

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutput[n]y

Components

TypeNameDefaultDescription
Real[n]minValuefill(0, n)Minimum value of random output
Real[n]maxValuefill(1, n)Maximum value of random output