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 Content

Name Description
Modelica.Blocks.Examples.NoiseExamples.Utilities.UniformDensity UniformDensity Calculates the density of a uniform distribution
Modelica.Blocks.Examples.NoiseExamples.Utilities.NormalDensity NormalDensity Calculates the density of a normal distribution
Modelica.Blocks.Examples.NoiseExamples.Utilities.WeibullDensity WeibullDensity Calculates the density of a Weibull distribution
Modelica.Blocks.Examples.NoiseExamples.Utilities.ImpureRandom ImpureRandom Block generating random numbers with the impure random number generator
Modelica.Blocks.Examples.NoiseExamples.Utilities.Parts Parts Parts for use in the ActuatorWithNoise examples

Modelica.Blocks.Examples.NoiseExamples.Utilities.UniformDensity 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

NameDescription
u_minLower limit of u
u_maxUpper limit of u

Connectors

NameDescription
uReal input signal
yDensity of the input signal according to the uniform probability density function

Modelica.Blocks.Examples.NoiseExamples.Utilities.NormalDensity 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

NameDescription
muExpectation (mean) value of the normal distribution
sigmaStandard deviation of the normal distribution

Connectors

NameDescription
uReal input signal
yDensity of the input signal according to the normal probability density function

Modelica.Blocks.Examples.NoiseExamples.Utilities.WeibullDensity 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

NameDescription
lambdaScale parameter of the Weibull distribution
kShape parameter of the Weibull distribution

Connectors

NameDescription
uReal input signal
yDensity of the input signal according to the Weibull probability density function

Modelica.Blocks.Examples.NoiseExamples.Utilities.ImpureRandom 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

NameDescription
samplePeriodSample period for random number generation [s]

Connectors

NameDescription
yConnector of Real output signal
Automatically generated Thu Dec 19 17:19:50 2019.