modelDensities

Demonstrates how to compute distribution densities (= Probability Density Function)

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example demonstrates how to compute the probability density functions (pdfs) of various distributions. In the following diagram simulations results for the uniform, normal, and Weibull distribution are shown. The outputs of the blocks are the pdfs that are plotted over one of the inputs:

Components

TypeNameDefaultDescription
RealuniformDensity_yuniformDensity.y
RealnormalDensity_ynormalDensity.y
RealweibullDensity_yweibullDensity.y
Utilities.UniformDensityuniformDensity
Modelica.Blocks.Sources.ContinuousClockclock
Modelica.Blocks.Sources.Constantconst
Modelica.Blocks.Math.Addadd
Utilities.NormalDensitynormalDensity
Utilities.WeibullDensityweibullDensity

Revisions

Date Description
June 22, 2015
DLR logo Initial version implemented by A. Klöckner, F. v.d. Linden, D. Zimmer, M. Otter.
DLR Institute of System Dynamics and Control