modelBasicTransformAbsoluteVector

Transform absolute vector into another frame

Extends from Modelica.Icons.RoundSensor (Icon representing a round measurement device).

Information

This basic sensor transforms an absolute vector r_in, resolved in frame defined by frame_r_in, into another frame specified by frame_r_out. This output vector is provided at the output signal connector r_out.

Via parameters frame_r_in and frame_r_out it is defined in which frame the position vector is resolved:

resolveInFrame =
Types.ResolveInFrameA.
Meaning
world Resolve vector in world frame
frame_a Resolve vector in frame_a
frame_resolve Resolve vector in frame_resolve

In this basic sensor model, the connector frame_resolve is always enabled and must be connected.

Parameters

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Types.ResolveInFrameAframe_r_inModelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_aFrame in which vector r_in is resolved (world, frame_a, or frame_resolve)
Modelica.Mechanics.MultiBody.Types.ResolveInFrameAframe_r_outframe_r_inFrame in which vector r_out (= r_in in other frame) is resolved (world, frame_a, or frame_resolve)

Connectors

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Interfaces.Frame_aframe_aCoordinate system from which absolute kinematic quantities are measured
Modelica.Mechanics.MultiBody.Interfaces.Frame_resolveframe_resolveCoordinate system in which vector is optionally resolved
Blocks.Interfaces.RealInput[3]r_inInput vector resolved in frame defined by frame_r_in
Blocks.Interfaces.RealOutput[3]r_outInput vector r_in resolved in frame defined by frame_r_out