
Translational hard stop causing time derivative errors
조회 수: 3 (최근 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.


댓글 수: 0
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Troubleshooting에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!