Clear Filters
Clear Filters

Translational hard stop causing time derivative errors

3 views (last 30 days)
Modeling a custom liquid accumulator connected to a time-varying pressure source. Slx attached. Please advise on appropriate solution changes for successful simulation. Reducing convergence tolerance and adjusting solver did not remedy the issue.
Adding translational hard stop to Translational Mechanical Converters causes time derivative errors when input signal changes rate (@5 seconds). Solution terminates before hard stops ever reached upper or lower bound.
Even when switching to a constant pressure source, adding translational hard stop to Translational Mechanical Converters causes time derivative warnings, although no termination errors.
Model runs with no errors or warnings with translational hard stop removed.

Answers (1)

Alan
Alan on 15 Sep 2023
I understand that you are facing errors while running the simulation after adding the Translational Hard Stop block. I suspect that it has something to do with the negative input signal value at 10s:
On changing the Y-value at T=10s to 0, the model seems to work just fine.

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!