Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

on the using of MassWithStopAndFriction and hard stops

on the using of MassWithStopAndFriction and hard stops

Hi!
I have a question about hard stops in Modelica.Mechanics.Translational.Components.MassWithStopAndFriction.
As I can understand mass should not move outside interval (smin, smax)
But it actually does in my example that I include here:

model ActuatorMechanics
  Modelica.Mechanics.Translational.Sources.Force force;
  Modelica.Mechanics.Translational.Components.MassWithStopAndFriction mass(m=1,F_prop=0,F_Coulomb=10, smax=0.1, smin=0, L=0.01);
  Modelica.Mechanics.Translational.Components.Spring spring(c=1000);
  Modelica.Mechanics.Translational.Components.Fixed fixed;
  Modelica.Mechanics.Translational.Sensors.PositionSensor sens_pos;
equation
  connect(force.flange, mass.flange_a);
  connect(mass.flange_b, spring.flange_a);
  connect(spring.flange_b, fixed.flange);
  connect(sens_pos.flange, mass.flange_a);
  force.f = 100;
end ActuatorMechanics;

Am I doing something wrong?

There are 0 guests and 0 other users also viewing this topic
You are here: