Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#3795 closed defect (fixed)

A large number of event iterations is not necessarily an error

Reported by: Francesco Casella Owned by: Lennart Ochel
Priority: critical Milestone:
Component: Run-time Version:
Keywords: Cc:

Description

Consider the model ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_320. This model describes a cascade of events where the opening of a circuit breaker triggers the opening of the next one, iteratively, until all breakers are open. This is a very common situation in algebraic network models, e.g. when simulating voltage collapse scenarios. If the network is large, there can be very many such events.

Unfortunately, after 200 iterations the runtime gives up with the following error message:

ERROR: Too many event iterations. System is inconsistent. Simulation terminate.

Process crashed.

First of all, the process shouldn't crash, but rather exit gracefully :)

Besides that, this system should go though 320 event iterations, which are perfectly legitimate and intended in this case.

I understand that in most cases 200 iterations means that the process is never going to converge. In fact, maybe this is even a too large default (Dymola gives up after just 20). However, there might be useful cases where this limit has to be increased substantially.

Please add a flag to do so.

Change History (5)

comment:1 by anonymous, 9 years ago

furthermore the English: Simulation terminated or Simulation terminates, not simulation terminate.

comment:2 by Lennart Ochel, 9 years ago

Owner: changed from somebody to Lennart Ochel
Status: newaccepted

comment:3 by Lennart Ochel, 9 years ago

This will be improved with PR572.

comment:4 by Lennart Ochel, 9 years ago

Resolution: fixed
Status: acceptedclosed

comment:5 by Martin Sjölund, 7 years ago

Milestone: 1.10.0

Milestone deleted

Note: See TracTickets for help on using tickets.