modelPosition

Forced movement of a flange according to a reference position

Extends from Modelica.Mechanics.Translational.Interfaces.PartialElementaryOneFlangeAndSupport2 (Partial model for a component with one translational 1-dim. shaft flange and a support used for textual modeling, i.e., for elementary models).

Information

The input signal s_ref defines the reference position in [m]. Flange flange is forced to move relative to the support connector according to this reference motion. According to parameter exact (default = false), this is done in the following way:

  1. exact=true
    The reference position is treated exactly. This is only possible, if the input signal is defined by an analytical function which can be differentiated at least twice. If this prerequisite is fulfilled, the Modelica translator will differentiate the input signal twice in order to compute the reference acceleration of the flange.
  2. exact=false
    The reference position is filtered and the second derivative of the filtered curve is used to compute the reference acceleration of the flange. This second derivative is not computed by numerical differentiation but by an appropriate realization of the filter. For filtering, a second order Bessel filter is used. The critical frequency (also called cut-off frequency) of the filter is defined via parameter f_crit in [Hz]. This value should be selected in such a way that it is higher as the essential low frequencies in the signal.

The input signal can be provided from one of the signal generator blocks of the block library Modelica.Blocks.Sources.

Parameters

TypeNameDefaultDescription
BooleanuseSupport (from PartialElementaryOneFlangeAndSupport2)false= true, if support flange enabled, otherwise implicitly grounded
BooleanexactfalseIs true/false for exact treatment/filtering of the input signal, respectively
SI.Frequencyf_crit50If exact=false, critical frequency of filter to filter input signal

Connectors

TypeNameDefaultDescription
Flange_bflange (from PartialElementaryOneFlangeAndSupport2)Flange of component
Supportsupport (from PartialElementaryOneFlangeAndSupport2)Support/housing of component
Modelica.Blocks.Interfaces.RealInputs_refReference position of flange as input signal

Components

TypeNameDefaultDescription
SI.Lengths (from PartialElementaryOneFlangeAndSupport2)Distance between flange and support (= flange.s - support.s)
SI.VelocityvIf exact=false, absolute velocity of flange else dummy
SI.AccelerationaIf exact=false, absolute acceleration of flange else dummy