Buildings.Utilities.Math.Examples
Collection of models that illustrate model use and test models
Information
This package contains examples for the use of models that can be found in Buildings.Utilities.Math.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
Average | Test model for average function |
BesselJ0 | Test model for besselJ0 function |
BesselJ1 | Test model for besselJ1 function |
BesselY0 | Test model for besselY0 function |
BesselY1 | Test model for besselY1 function |
Bicubic | Test model for bicubic function |
Binomial | Test model for binomial function |
Biquadratic | Test model for biquadratic function |
BooleanReplicator | Test model for boolean replicator |
ExponentialIntegralE1 | Test model for exponentialIntegralE1 function |
Factorial | Test model for factorial function |
FallingFactorial | Test model for falling factorial function |
IntegerReplicator | Test model for integer replicator |
IntegratorWithReset | Test model for integrator with reset |
Interpolate | Example model of the Interpolate block |
InverseXRegularized | Test model for inverseXRegularized function |
Polynomial | Test model for ploynominal function |
PowerLinearized | Test model for powerLinearized function |
QuadraticLinear | Test model for quadraticLinear function |
RegNonZeroPower | Test model for regNonZeroPower function |
SmoothBlocks | Test model for smooth min and smooth max functions |
SmoothExponential | Test model for smoothExponential function |
SmoothHeaviside | Test model for smoothHeavisidefunction |
SmoothLimit | Test model for smooth limit |
SmoothMin | Test model for smooth minimum |
Splice | Test model for splice |
VectorFunctions | Test model for functions that take a vector as argument |
Buildings.Utilities.Math.Examples.Average
Test model for average function
Information
This model tests the implementation of Buildings.Utilities.Math.Average.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.BesselJ0
Test model for besselJ0 function
Information
This model tests the implementation of Buildings.Utilities.Math.BesselJ0.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.BesselJ1
Test model for besselJ1 function
Information
This model tests the implementation of Buildings.Utilities.Math.BesselJ1.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.BesselY0
Test model for besselY0 function
Information
This model tests the implementation of Buildings.Utilities.Math.BesselY0.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.BesselY1
Test model for besselY1 function
Information
This model tests the implementation of Buildings.Utilities.Math.BesselY1.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.Bicubic
Test model for bicubic function
Information
This model tests the implementation of Buildings.Utilities.Math.Bicubic.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.Binomial
Test model for binomial function
Information
This model tests the implementation of Buildings.Utilities.Math.Binomial.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.Biquadratic
Test model for biquadratic function
Information
This model tests the implementation of Buildings.Utilities.Math.Biquadratic.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.BooleanReplicator
Test model for boolean replicator
Information
This model tests the implementation of Buildings.Utilities.Math.BooleanReplicator.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.ExponentialIntegralE1
Test model for exponentialIntegralE1 function
Information
This model tests the implementation of Buildings.Utilities.Math.ExponentialIntegralE1.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.Factorial
Test model for factorial function
Information
This model tests the implementation of Buildings.Utilities.Math.Factorial.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.FallingFactorial
Test model for falling factorial function
Information
This model tests the implementation of Buildings.Utilities.Math.FallingFactorial.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.IntegerReplicator
Test model for integer replicator
Information
This model tests the implementation of Buildings.Utilities.Math.IntegerReplicator.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.IntegratorWithReset
Test model for integrator with reset
Information
This model tests the implementation of Buildings.Utilities.Math.IntegratorWithReset with and without reset, and with different start values and reset values.
The integrator intWitRes1
is triggered by a sample trigger
which becomes true at t=0, while intWitRes2
is triggered
by a boolean pulse with is true at t=0.
Hence, intWitRes1
starts with y(0)=y_reset
while
intWitRes2
starts with y(0)=y_start
.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.Interpolate
Example model of the Interpolate block
Information
This example is the same as Buildings.Utilities.Math.Functions.Examples.Interpolate except that the block is used in place of the function.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Real | table[:, :] | [-50, -0.08709; -25, -0.0615... | Table of mass flow rate in kg/s (second column) as a function of pressure difference in Pa (first column) |
Real | xd[:] | table[:, 1] | x-axis support points |
Real | yd[size(xd, 1)] | table[:, 2] | y-axis support points |
Real | d[size(xd, 1)] | Buildings.Utilities.Math.Fun... | Derivatives at the support points |
Modelica definition
Buildings.Utilities.Math.Examples.InverseXRegularized
Test model for inverseXRegularized function
Information
This model tests the implementation of Buildings.Utilities.Math.InverseXRegularized.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.Polynomial
Test model for ploynominal function
Information
This model tests the implementation of Buildings.Utilities.Math.Polynomial.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.PowerLinearized
Test model for powerLinearized function
Information
This model tests the implementation of Buildings.Utilities.Math.PowerLinearized.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.QuadraticLinear
Test model for quadraticLinear function
Information
This model tests the implementation of Buildings.Utilities.Math.QuadraticLinear.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.RegNonZeroPower
Test model for regNonZeroPower function
Information
This model tests the implementation of Buildings.Utilities.Math.RegNonZeroPower.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.SmoothBlocks
Test model for smooth min and smooth max functions
Information
This model tests the implementation of blocks that approximate non-differentiable functions by smooth functions.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.SmoothExponential
Test model for smoothExponential function
Information
This model tests the implementation of Buildings.Utilities.Math.SmoothExponential.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.SmoothHeaviside
Test model for smoothHeavisidefunction
Information
This model tests the implementation of Buildings.Utilities.Math.SmoothHeaviside.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.SmoothLimit
Test model for smooth limit
Information
This model tests the implementation of Buildings.Utilities.Math.SmoothLimit.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.SmoothMin
Test model for smooth minimum
Information
This model tests the implementation of Buildings.Utilities.Math.SmoothMin.
This model also illustrates that the output can be larger than
the minimum of the two input signals. Smaller values for deltaX
will reduce this effect. Therefore do not use this function when the minimum
output value should be respected.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.Splice
Test model for splice
Information
This model tests the implementation of Buildings.Utilities.Math.Splice
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Utilities.Math.Examples.VectorFunctions
Test model for functions that take a vector as argument
Information
This model tests the implementation of functions that take a vector as an argument.
Extends from Modelica.Icons.Example (Icon for runnable examples).