DensitiesDemonstrates how to compute distribution densities (= Probability Density Function) |
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:
uniformDensity_y |
Default Value: uniformDensity.y Type: Real |
---|---|
normalDensity_y |
Default Value: normalDensity.y Type: Real |
weibullDensity_y |
Default Value: weibullDensity.y Type: Real |
uniformDensity |
Type: UniformDensity |
|
---|---|---|
clock |
Type: ContinuousClock |
|
const |
Type: Constant |
|
add |
Type: Add |
|
normalDensity |
Type: NormalDensity |
|
weibullDensity |
Type: WeibullDensity |