Package Modelica.​Mechanics.​MultiBody.​Frames.​Internal
Internal definitions that may be removed or changed (do not use)

Information

Package with classes that are used within package Frames. The classes in this package should not be directly used by a user.

Extends from Modelica.​Icons.​InternalPackage (Icon for an internal package (indicating that the package should not be directly utilized by user)).

Package Contents

NameDescription
maxWithoutEventMaximum of the input arguments, without event and function can be differentiated
maxWithoutEvent_dFirst derivative of function maxWithoutEvent(..)
maxWithoutEvent_ddFirst derivative of function maxWithoutEvent_d(..)
QuaternionBase[4] 
resolve1_derDerivative of function Frames.resolve1(..)
resolve2_derDerivative of function Frames.resolve2(..)
resolveRelative_derDerivative of function Frames.resolveRelative(..)
TransformationMatrix[3,3] 

Type Modelica.​Mechanics.​MultiBody.​Frames.​Internal.​TransformationMatrix

Extends from Real.

Attributes

NameValue
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Type Modelica.​Mechanics.​MultiBody.​Frames.​Internal.​QuaternionBase

Extends from Real.

Attributes

NameValue
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Function Modelica.​Mechanics.​MultiBody.​Frames.​Internal.​maxWithoutEvent
Maximum of the input arguments, without event and function can be differentiated

Information

Syntax

y = Internal.maxWithoutEvent(u1, u2)

Description

Function maxWithoutEvent returns the maximum of its two input arguments. This functions is used instead of the Modelica built-in function "max" or an if-statement with "noEvent(..)", in order that the function can be differentiated by providing the first and second derivatives with additional functions. Note, from a strict mathematical point of view the derivatives will be wrong, since Dirac impulses would occur in the derivatives. For the special cases as used in the MultiBody library, this is irrelevant and therefore the usage of the function is correct.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
Realu1 
Realu2 

Outputs

TypeNameDescription
Realy 

Function Modelica.​Mechanics.​MultiBody.​Frames.​Internal.​maxWithoutEvent_d
First derivative of function maxWithoutEvent(..)

Information

This is a derivative of function maxWithoutEvent.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
Realu1 
Realu2 
Realu1_d 
Realu2_d 

Outputs

TypeNameDescription
Realy_d 

Function Modelica.​Mechanics.​MultiBody.​Frames.​Internal.​maxWithoutEvent_dd
First derivative of function maxWithoutEvent_d(..)

Information

This is a derivative of function maxWithoutEvent_d, i.e. a second derivative of function maxWithoutEvent.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
Realu1 
Realu2 
Realu1_d 
Realu2_d 
Realu1_dd 
Realu2_dd 

Outputs

TypeNameDescription
Realy_dd 

Function Modelica.​Mechanics.​MultiBody.​Frames.​Internal.​resolve1_der
Derivative of function Frames.resolve1(..)

Information

This is a derivative of function resolve1.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
OrientationROrientation object to rotate frame 1 into frame 2
Realv2[3]Vector resolved in frame 2
Realv2_der[3]= der(v2)

Outputs

TypeNameDescription
Realv1_der[3]Derivative of vector v resolved in frame 1

Function Modelica.​Mechanics.​MultiBody.​Frames.​Internal.​resolve2_der
Derivative of function Frames.resolve2(..)

Information

This is a derivative of function resolve2.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
OrientationROrientation object to rotate frame 1 into frame 2
Realv1[3]Vector resolved in frame 1
Realv1_der[3]= der(v1)

Outputs

TypeNameDescription
Realv2_der[3]Derivative of vector v resolved in frame 2

Function Modelica.​Mechanics.​MultiBody.​Frames.​Internal.​resolveRelative_der
Derivative of function Frames.resolveRelative(..)

Information

This is a derivative of function resolveRelative.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
Realv1[3]Vector in frame 1
OrientationR1Orientation object to rotate frame 0 into frame 1
OrientationR2Orientation object to rotate frame 0 into frame 2
Realv1_der[3]= der(v1)

Outputs

TypeNameDescription
Realv2_der[3]Derivative of vector v resolved in frame 2