WOLFRAM SYSTEM MODELER

Densities

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

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Examples.Noise.Densities"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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:

Outputs (3)

uniformDensity_y

Default Value: uniformDensity.y

Type: Real

normalDensity_y

Default Value: normalDensity.y

Type: Real

weibullDensity_y

Default Value: weibullDensity.y

Type: Real

Components (6)

uniformDensity

Type: UniformDensity

Description: Calculates the density of a uniform distribution

clock

Type: ContinuousClock

Description: Generate current time signal

const

Type: Constant

Description: Generate constant signal of type Real

add

Type: Add

Description: Output the sum of the two inputs

normalDensity

Type: NormalDensity

Description: Calculates the density of a normal distribution

weibullDensity

Type: WeibullDensity

Description: Calculates the density of a Weibull distribution

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