.Modelica.Mechanics.Translational.Examples.Utilities.GenerateStribeckFrictionTable

Information

Returns a table with the friction characteristic table[nTable,2] = [0, f1; ....; v_max, fn], where the first column is the velocity v in the range 0..v_max and the second column is the friction force according to the Stribeck curve:

  F_Coulomb + F_prop*v + F_Stribeck*exp(-fexp*v);

Interface

function GenerateStribeckFrictionTable
  extends Modelica.Icons.Function;
  input Real F_prop(final unit = "N.s/m", final min = 0) "Velocity dependent friction coefficient";
  input Modelica.SIunits.Force F_Coulomb "Constant friction: Coulomb force";
  input Modelica.SIunits.Force F_Stribeck "Stribeck effect";
  input Real fexp(final unit = "s/m", final min = 0) "Exponential decay";
  input Real v_max "Generate table from v=0 ... v_max";
  input Integer nTable(min = 2) = 100 "Number of table points";
  output Real table[nTable, 2] "Friction table";
end GenerateStribeckFrictionTable;

Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39