Opened 8 years ago

Last modified 8 years ago

#4304 closed discussion

assert in initial section — at Version 1

Reported by: Volker Waurich Owned by: Martin Sjölund
Priority: low Milestone: 1.12.0
Component: Backend Version:
Keywords: Cc: Martin Sjölund, Adrian Pop, Lennart Ochel, Willi Braun

Description (last modified by Volker Waurich)

Hi,

In OpenHydraulics.Components.Cylinders.DoubleActingCylinder
You will find:

initial equation 
  assert(cylinderChamberHead.s_rel>=0,"Initial position is smaller than zero");

I suppose that this means to evaluate the assert in the initial system only. Is this valid Modelica? Shall we support this? Currently, this assert hinders some tests to simulate to stopTime.

Change History (1)

comment:1 by Volker Waurich, 8 years ago

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