Skip to content

smoothness in interpolation of Modelica.Mechanics.Translational.Components.SupportFriction #4801

Description

@MatthiasBSchaefer

In the component Modelica.Mechanics.Translational.Components.SupportFriction
the smoothness of the interpolation of the given force vs velocity table can be selected according to the enumeration
Modelica.Blocks.Types.Smoothness

In the set of equations in the supportFriction component, the friction force is calculated as

  f = if locked then sa*unitForce else table_signs[2]*(
    if     smoothness == Smoothness.ConstantSegments then getTable1DValueNoDer(tableID, 1, table_signs[1]*v)
    elseif smoothness == Smoothness.LinearSegments   then getTable1DValueNoDer2(tableID, 1, table_signs[1]*v)
    else                                                  getTable1DValue(tableID, 1, table_signs[1]*v));

so, for any other smoothness than Constant- or LinearSegments, the calculation of the force remains the same.

I wonder if this is the desired behavior ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions