Opened 4 years ago
Closed 4 years ago
#6121 closed defect (duplicate)
The Heat Exchanger model in the standard library is not simulating
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | OMEdit | Version: | v1.16.0-dev |
Keywords: | HeatExchangerSimulation | Cc: |
Description
Hi Team,
I am getting the following error when solving the HeatExchangerSimulation example in Modelica.Fluid.Examples.HeatExchanger package while running in version v1.16.0-dev-613-g77246831b3 (64-bit), while the same example is simulating in version V1.14
The error is:
While solving non-linear system an assertion failed during initialization.
While solving non-linear system an assertion failed during initialization.
nonlinear system 3391 fails: at t=0
proper start-values for some of the following iteration variables might help
Solving non-linear system 3391 failed at time=0.
For more information please use -lv LOG_NLS.
simulation terminated by an assertion at initialization
Simulation process failed. Exited with code -1.
Duplicate of #5768, please refer to that.
The reason why it worked in 1.14.0 was that homotopy was not used by default in that version, while it is in 1.16.0. This mostly had a positive effect, but there are some models where the simplified model is broken. Regarding the Modelica Standard library, it was mostly developed and tested using Dymola, which doesn't use homotopy by default on the first attempt, and only uses it if the solver fails, so many of these issues were not catched earlier.