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 Content

Name Description
Modelica.Mechanics.MultiBody.Frames.Internal.TransformationMatrix TransformationMatrix  
Modelica.Mechanics.MultiBody.Frames.Internal.QuaternionBase QuaternionBase  
Modelica.Mechanics.MultiBody.Frames.Internal.maxWithoutEvent maxWithoutEvent Maximum of the input arguments, without event and function can be differentiated
Modelica.Mechanics.MultiBody.Frames.Internal.maxWithoutEvent_d maxWithoutEvent_d First derivative of function maxWithoutEvent(..)
Modelica.Mechanics.MultiBody.Frames.Internal.maxWithoutEvent_dd maxWithoutEvent_dd First derivative of function maxWithoutEvent_d(..)
Modelica.Mechanics.MultiBody.Frames.Internal.resolve1_der resolve1_der Derivative of function Frames.resolve1(..)
Modelica.Mechanics.MultiBody.Frames.Internal.resolve2_der resolve2_der Derivative of function Frames.resolve2(..)
Modelica.Mechanics.MultiBody.Frames.Internal.resolveRelative_der resolveRelative_der Derivative of function Frames.resolveRelative(..)

Modelica.Mechanics.MultiBody.Frames.Internal.TransformationMatrix

Modelica.Mechanics.MultiBody.Frames.Internal.QuaternionBase

Modelica.Mechanics.MultiBody.Frames.Internal.maxWithoutEvent 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

NameDescription
u1 
u2 

Outputs

NameDescription
y 

Modelica.Mechanics.MultiBody.Frames.Internal.maxWithoutEvent_d 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

NameDescription
u1 
u2 
u1_d 
u2_d 

Outputs

NameDescription
y_d 

Modelica.Mechanics.MultiBody.Frames.Internal.maxWithoutEvent_dd 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

NameDescription
u1 
u2 
u1_d 
u2_d 
u1_dd 
u2_dd 

Outputs

NameDescription
y_dd 

Modelica.Mechanics.MultiBody.Frames.Internal.resolve1_der 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

NameDescription
ROrientation object to rotate frame 1 into frame 2
v2[3]Vector resolved in frame 2
v2_der[3]= der(v2)

Outputs

NameDescription
v1_der[3]Derivative of vector v resolved in frame 1

Modelica.Mechanics.MultiBody.Frames.Internal.resolve2_der 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

NameDescription
ROrientation object to rotate frame 1 into frame 2
v1[3]Vector resolved in frame 1
v1_der[3]= der(v1)

Outputs

NameDescription
v2_der[3]Derivative of vector v resolved in frame 2

Modelica.Mechanics.MultiBody.Frames.Internal.resolveRelative_der 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

NameDescription
v1[3]Vector in frame 1
R1Orientation object to rotate frame 0 into frame 1
R2Orientation object to rotate frame 0 into frame 2
v1_der[3]= der(v1)

Outputs

NameDescription
v2_der[3]Derivative of vector v resolved in frame 2
Automatically generated Thu Oct 1 16:07:53 2020.