Translational hard stop causing time derivative errors

1 次查看(过去 30 天)
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.

回答(1 个)

Alan
Alan 2023-9-15
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.

类别

Help CenterFile Exchange 中查找有关 Troubleshooting 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by