WOLFRAM SYSTEMMODELER

Densities

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

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Examples.NoiseExamples.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

clock

Type: Clock

const

Type: Constant

add

Type: Add

normalDensity

Type: NormalDensity

weibullDensity

Type: WeibullDensity