Problems with model behaviour, hanging-up in a loop.

조회 수: 1 (최근 30일)
Joel
Joel 2015년 2월 21일
댓글: Joel 2015년 2월 25일
Hello everyone,
I am trying to model a rainwater harvesting system using Simscape. Currently I struggle to control my treatment unit. In case the water volume of the treatment's subsequent tank reaches a certain level, I want to pause the treatment. I am doing this by sending a signal to the pressure source advancing the treatment. If the treatment is meant to pause I simply set the implied pressure difference to zero. Now, whenever I hit my threshold and the system is meant to pause, it hangs-up.
I tried to do the sharp change manually. It worked fine. However, I want my system to run automatically.
I tried a lot of different things but to be honest, I don't really know or find the problem. I reckon it is associated with the signal to control the implied pressure, but how?
Any help and/or note is appreciated.
Thank you
Joel

채택된 답변

Javier Gazzarri
Javier Gazzarri 2015년 2월 25일
Hello, Joel,
Would you please attach the model to this thread so I can take a look and try to better understand the issue?
Thanks,
Javier
  댓글 수: 1
Joel
Joel 2015년 2월 25일
Hello Javier,
thanks for your answer. I already solved this issue by using the simulink data memory block instead of linking backwards.
Thanks
Joel

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by