Translational hard stop causing time derivative errors

3 Ansichten (letzte 30 Tage)
Luke
Luke am 1 Jun. 2023
Beantwortet: Alan am 15 Sep. 2023
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.

Antworten (1)

Alan
Alan am 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.

Kategorien

Mehr zu Troubleshooting finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by