MATLAB Answers

Moist Air Modeling error: Solver was unable to reduce the step size

7 views (last 30 days)
Guanwei Zeng
Guanwei Zeng on 29 Mar 2021
Answered: Juan Sagarduy on 8 Apr 2021 at 16:32
Hi, I'm developing a hydrogen tank in which the hydrogen is removed according to the Fuel Rate(input port1).
The model is successfully compiled, but at time 217s the running stopped with warnings as follow
Here's the widow of Solver Profiler
Although I increased the number of consecutive min steps, it didn't work
I'm not familiar with the moist air system, coould anyone please tell me how to solve this problem?
Thanks in advance

Accepted Answer

Juan Sagarduy
Juan Sagarduy on 8 Apr 2021 at 16:32
Hello Guangwei
I think the model may have some issues. It looks like you are filling/emptying the chamber. This leads in the end to very high pressure or vacuum, which sets the model into an assertion.
One of the ports is not physically connected, it has just the property block attached. Try out modifying the model.
Br Juan

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by