Package Modelica.​Blocks.​Examples.​NoiseExamples.​Utilities
Library of utility models used in the examples

Information

This package contains utility models that are used for the examples.

Extends from Modelica.​Icons.​UtilitiesPackage (Icon for utility packages).

Package Contents

NameDescription
ImpureRandomBlock generating random numbers with the impure random number generator
NormalDensityCalculates the density of a normal distribution
PartsParts for use in the ActuatorWithNoise examples
UniformDensityCalculates the density of a uniform distribution
WeibullDensityCalculates the density of a Weibull distribution

Block Modelica.​Blocks.​Examples.​NoiseExamples.​Utilities.​UniformDensity
Calculates the density of a uniform distribution

Information

This block determines the probability density y of a uniform distribution for the given input signal u (for details of this density function see Math.Distributions.Uniform.density).

This block is demonstrated in the example Examples.NoiseExamples.Densities .

Extends from Modelica.​Blocks.​Icons.​Block (Basic graphical layout of input/output block).

Parameters

TypeNameDefaultDescription
Realu_min Lower limit of u
Realu_max Upper limit of u

Connectors

TypeNameDescription
input RealInputuReal input signal
output RealOutputyDensity of the input signal according to the uniform probability density function

Block Modelica.​Blocks.​Examples.​NoiseExamples.​Utilities.​NormalDensity
Calculates the density of a normal distribution

Information

This block determines the probability density y of a normal distribution for the given input signal u (for details of this density function see Math.Distributions.Normal.density).

This block is demonstrated in the example Examples.NoiseExamples.Densities .

Extends from Modelica.​Blocks.​Icons.​Block (Basic graphical layout of input/output block).

Parameters

TypeNameDefaultDescription
Realmu Expectation (mean) value of the normal distribution
Realsigma Standard deviation of the normal distribution

Connectors

TypeNameDescription
input RealInputuReal input signal
output RealOutputyDensity of the input signal according to the normal probability density function

Block Modelica.​Blocks.​Examples.​NoiseExamples.​Utilities.​WeibullDensity
Calculates the density of a Weibull distribution

Information

This block determines the probability density y of a Weibull distribution for the given input signal u (for details of this density function see Math.Distributions.Weibull.density).

This block is demonstrated in the example Examples.NoiseExamples.Densities .

Extends from Modelica.​Blocks.​Icons.​Block (Basic graphical layout of input/output block).

Parameters

TypeNameDefaultDescription
Reallambda Scale parameter of the Weibull distribution
Realk Shape parameter of the Weibull distribution

Connectors

TypeNameDescription
input RealInputuReal input signal
output RealOutputyDensity of the input signal according to the Weibull probability density function

Block Modelica.​Blocks.​Examples.​NoiseExamples.​Utilities.​ImpureRandom
Block generating random numbers with the impure random number generator

Information

This block demonstrates how to implement a block using the impure random number generator. This block is used in the example Examples.NoiseExamples.ImpureGenerator.

Extends from Modelica.​Blocks.​Interfaces.​SO (Single Output continuous control block).

Parameters

TypeNameDefaultDescription
PeriodsamplePeriod Sample period for random number generation

Connectors

TypeNameDescription
output RealOutputyConnector of Real output signal