Library of utility models used in the examples
This package contains utility models that are used for the examples.
Extends from Modelica.Icons.UtilitiesPackage (Icon for utility packages).
Name | Description |
---|---|
UniformDensity | Calculates the density of a uniform distribution |
NormalDensity | Calculates the density of a normal distribution |
WeibullDensity | Calculates the density of a Weibull distribution |
ImpureRandom | Block generating random numbers with the impure random number generator |
Parts | Parts for use in the ActuatorWithNoise examples |
Calculates the density of a uniform distribution
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).
Name | Description |
---|---|
u_min | Lower limit of u |
u_max | Upper limit of u |
Name | Description |
---|---|
u | Real input signal |
y | Density of the input signal according to the uniform probability density function |
Calculates the density of a normal distribution
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).
Name | Description |
---|---|
mu | Expectation (mean) value of the normal distribution |
sigma | Standard deviation of the normal distribution |
Name | Description |
---|---|
u | Real input signal |
y | Density of the input signal according to the normal probability density function |
Calculates the density of a Weibull distribution
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).
Name | Description |
---|---|
lambda | Scale parameter of the Weibull distribution |
k | Shape parameter of the Weibull distribution |
Name | Description |
---|---|
u | Real input signal |
y | Density of the input signal according to the Weibull probability density function |
Block generating random numbers with the impure random number generator
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).
Name | Description |
---|---|
samplePeriod | Sample period for random number generation [s] |
Name | Description |
---|---|
y | Connector of Real output signal |