Opened 9 years ago

Last modified 7 years ago

#3440 closed defect

Mixed system detection — at Version 2

Reported by: Niklas Worschech Owned by: somebody
Priority: critical Milestone: Future
Component: Backend Version: trunk
Keywords: mixed system Cc: Nils Menager, Lennart Ochel, Willi Braun, Volker Waurich

Description (last modified by Niklas Worschech)

Using the MSL mass with stop and friction with a force (see example below), Dymola detects a mixed system, which is handled as nonlinear system in OpenModelica. When looking at the equations, there is one linear equation, which depends on a boolean variable. Is there a mixed system detection and handling in OpenModelica?

model TestModel

Modelica.Mechanics.Translational.Components.MassWithStopAndFriction
massWithStopAndFriction(m=1);
Modelica.Mechanics.Translational.Sources.Force force;
Modelica.Blocks.Sources.Sine sine;

equation

connect(force.flange, massWithStopAndFriction.flange_a);
connect(sine.y, force.f);

end TestModel;

Change History (2)

comment:1 by Adrian Pop, 9 years ago

Cc: Lennart Ochel Willi Braun added

comment:2 by Niklas Worschech, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.