SimScape Tank (G-TL) - Liquid below inlet height error

4 views (last 30 days)
Hi How would I work around this error?
An error occurred while running the simulation and the simulation was terminated
Caused by:
['tank_ex1/Solver Configuration']: At time 22.274715, one or more assertions are triggered. See causes for specific information.
Liquid level fell below inlet height The assertion comes from:
Block path: tank_ex1/Tank (G-TL)
Assert location:
o (location information is protected)

Answers (1)

Yifeng Tang
Yifeng Tang on 12 Jan 2023
This error is saying your liquid level is too low. Since it happened after the simulation has run for 22 secs, either too much liquid has left the tank, or you don't have enough liquid to start with. Either way, you can turn on Simscape logging and use Simscape result explorer to examine the results and see if they make sense.


Find more on Thermal Liquid Library in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by