How to I stop an integrator when steady-state is reached in simulink?

조회 수: 8 (최근 30일)
Marianne Gonzalez
Marianne Gonzalez 2016년 3월 11일
댓글: Ced 2016년 3월 11일
I have modeled the gas pressure buildup of a system with restrictive orifices. When the flow_in is equal to the flow_out, I would like my model to stop integrating at that time and produce a constant steady-state pressure value and a curve to reflect the steady state approach. My pressure curve currently shows an infinite pressure buildup. I've thought about using the switch block or potentially state flow. But I'm still not sure how to go about it.
Thanks!
  댓글 수: 1
Ced
Ced 2016년 3월 11일
If I understand correctly, you have it modelled in a Simulink model?
If your system is truly at steady state, then it should automatically "stop integrating", unless I misunderstood the setting. If your flow_in is equal to flow_out, your derivative should be zero, and thus the integrated value constant.
If not, then it's not at steady state. If there are some physical bounds, then I would implement them by saturating them ( either in the integrator itself, or with a saturation block ).
If you insist on manually stopping the loop, you could just have a switch which leads you through a multiplication with a zero gain.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Continuous에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by