Package Modelica.​Math.​Nonlinear.​Examples.​UtilityFunctions
Utility functions that are used as function arguments to the examples

Information

This package provides utility functions that are used as input arguments to the example functions.

Extends from Modelica.​Icons.​UtilitiesPackage (Icon for utility packages).

Package Contents

NameDescription
fun1y = u^2 - 1
fun2y = 3*u - sin(w*u) - 1
fun3y = p[1] + log(p[2]*u) - m*u
fun4y = sin(u)
fun5y = sin(w*u)
fun6y = sqrt(1/(1 - k^2*sin(u)^2))
fun7y = A*sin(w*u)*q(t)

Function Modelica.​Math.​Nonlinear.​Examples.​UtilityFunctions.​fun1
y = u^2 - 1

Information

This partial function defines the interface of a function with one input and one output Real signal. The scalar functions of Modelica.Math.Nonlinear are derived from this base type by inheritance. This allows to use these functions directly as function arguments to a function, see, .e.g., Math.Nonlinear.Examples.

Extends from Modelica.​Math.​Nonlinear.​Interfaces.​partialScalarFunction (Interface for a function with one input and one output Real signal).

Inputs

TypeNameDescription
RealuIndependent variable

Outputs

TypeNameDescription
RealyDependent variable y=f(u)

Function Modelica.​Math.​Nonlinear.​Examples.​UtilityFunctions.​fun2
y = 3*u - sin(w*u) - 1

Information

This partial function defines the interface of a function with one input and one output Real signal. The scalar functions of Modelica.Math.Nonlinear are derived from this base type by inheritance. This allows to use these functions directly as function arguments to a function, see, .e.g., Math.Nonlinear.Examples.

Extends from Modelica.​Math.​Nonlinear.​Interfaces.​partialScalarFunction (Interface for a function with one input and one output Real signal).

Inputs

TypeNameDescription
RealuIndependent variable
RealwAngular velocity

Outputs

TypeNameDescription
RealyDependent variable y=f(u)

Function Modelica.​Math.​Nonlinear.​Examples.​UtilityFunctions.​fun3
y = p[1] + log(p[2]*u) - m*u

Information

This partial function defines the interface of a function with one input and one output Real signal. The scalar functions of Modelica.Math.Nonlinear are derived from this base type by inheritance. This allows to use these functions directly as function arguments to a function, see, .e.g., Math.Nonlinear.Examples.

Extends from Modelica.​Math.​Nonlinear.​Interfaces.​partialScalarFunction (Interface for a function with one input and one output Real signal).

Inputs

TypeNameDescription
RealuIndependent variable
Realp[2] 
Realm 

Outputs

TypeNameDescription
RealyDependent variable y=f(u)

Function Modelica.​Math.​Nonlinear.​Examples.​UtilityFunctions.​fun4
y = sin(u)

Information

This partial function defines the interface of a function with one input and one output Real signal. The scalar functions of Modelica.Math.Nonlinear are derived from this base type by inheritance. This allows to use these functions directly as function arguments to a function, see, .e.g., Math.Nonlinear.Examples.

Extends from Modelica.​Math.​Nonlinear.​Interfaces.​partialScalarFunction (Interface for a function with one input and one output Real signal).

Inputs

TypeNameDescription
RealuIndependent variable

Outputs

TypeNameDescription
RealyDependent variable y=f(u)

Function Modelica.​Math.​Nonlinear.​Examples.​UtilityFunctions.​fun5
y = sin(w*u)

Information

This partial function defines the interface of a function with one input and one output Real signal. The scalar functions of Modelica.Math.Nonlinear are derived from this base type by inheritance. This allows to use these functions directly as function arguments to a function, see, .e.g., Math.Nonlinear.Examples.

Extends from Modelica.​Math.​Nonlinear.​Interfaces.​partialScalarFunction (Interface for a function with one input and one output Real signal).

Inputs

TypeNameDescription
RealuIndependent variable
RealwAngular velocity

Outputs

TypeNameDescription
RealyDependent variable y=f(u)

Function Modelica.​Math.​Nonlinear.​Examples.​UtilityFunctions.​fun6
y = sqrt(1/(1 - k^2*sin(u)^2))

Information

This partial function defines the interface of a function with one input and one output Real signal. The scalar functions of Modelica.Math.Nonlinear are derived from this base type by inheritance. This allows to use these functions directly as function arguments to a function, see, .e.g., Math.Nonlinear.Examples.

Extends from Modelica.​Math.​Nonlinear.​Interfaces.​partialScalarFunction (Interface for a function with one input and one output Real signal).

Inputs

TypeNameDescription
RealuIndependent variable
RealkModul

Outputs

TypeNameDescription
RealyDependent variable y=f(u)

Function Modelica.​Math.​Nonlinear.​Examples.​UtilityFunctions.​fun7
y = A*sin(w*u)*q(t)

Information

This partial function defines the interface of a function with one input and one output Real signal. The scalar functions of Modelica.Math.Nonlinear are derived from this base type by inheritance. This allows to use these functions directly as function arguments to a function, see, .e.g., Math.Nonlinear.Examples.

Extends from Modelica.​Math.​Nonlinear.​Interfaces.​partialScalarFunction (Interface for a function with one input and one output Real signal).

Inputs

TypeNameDescription
RealuIndependent variable
RealAAmplitude
RealwAngular frequency

Outputs

TypeNameDescription
RealyDependent variable y=f(u)