.FailureModes.NonlinearSolverFailures.NoValidInitialSolution

Information

This model describes a simple hydraulic system with a pump, followed by a valve, which fills a reservoir.

The operating point of the pumpt is determined by a nonlinear system with five unknowns: w_pump, dp_pump, dp_valve, sqrt_dp, and p1. They can be reduced to one by selecting dp_pump as the tearing variable.

At time t=0, this system has two solutions, one with positive w_pump, and the other one with negative w_pump. If the start value of the tearing variable dp_pump is chosen incorrectly, the nonlinear solver will converge to the negative solution. In this case, an assertion that pump flow must be positive is present, so the solution is discarded and an error is reporte.

In order to help the end user fix the problem, it is not enough that the assertion is pointed out, but it should be possible to inspect the discarded value of w_pump and understand where it comes from, as in the case of WrongInitialSolutionSelected.


Generated at 2024-04-18T18:15:58Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos