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:
- 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. - 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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useSupport (from PartialElementaryOneFlangeAndSupport2) | false | = true, if support flange enabled, otherwise implicitly grounded |
| Boolean | exact | false | Is true/false for exact treatment/filtering of the input signal, respectively |
| SI.Frequency | f_crit | 50 | If exact=false, critical frequency of filter to filter input signal |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Flange_b | flange (from PartialElementaryOneFlangeAndSupport2) | Flange of component | |
| Support | support (from PartialElementaryOneFlangeAndSupport2) | Support/housing of component | |
| Modelica.Blocks.Interfaces.RealInput | s_ref | Reference position of flange as input signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Length | s (from PartialElementaryOneFlangeAndSupport2) | Distance between flange and support (= flange.s - support.s) | |
| SI.Velocity | v | If exact=false, absolute velocity of flange else dummy | |
| SI.Acceleration | a | If exact=false, absolute acceleration of flange else dummy |