modelSpeed

Forced movement of a flange according to a reference speed

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 v_ref defines the reference speed in [m/s]. 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 speed is treated exactly. This is only possible, if the input signal is defined by an analytical function which can be differentiated at least once. If this prerequisite is fulfilled, the Modelica translator will differentiate the input signal once in order to compute the reference acceleration of the flange.
  2. exact=false
    The reference speed is filtered and the first derivative of the filtered curve is used to compute the reference acceleration of the flange. This first derivative is not computed by numerical differentiation but by an appropriate realization of the filter. For filtering, a first order 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.RealInputv_refReference speed of flange as input signal

Components

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