Translational hard stop causing time derivative errors
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
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.
0 Comments
See Also
Categories
Find more on Troubleshooting 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!