Opened 8 years ago
Last modified 8 years ago
#4304 closed discussion
assert in initial section — at Initial Version
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
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, the assert terminates the simulation at 197s.
Note:
See TracTickets
for help on using tickets.