Integrator output changes while input is zero

Hi everyone,
I have a problem with my model (see attached). As the title says, at one point the output of an integrator block changes although the input is zero. You will find the according integrator block (blue one) in the subsystem 'Differential'. Scope2 shows the output of the intergrator block. When zooming in you will realize, that the signal changes for t > 22 seconds although the input (Scope1) is zero during the same period of time. This fact causes the simulation to slow down from that point on.
Maybe anyone has had that problem before. Thanks a lot in advance! Michael
PS: If you would like to start the simulation, run the script before

댓글 수: 2

Are you positive that it is IDENTICALLY zero? Or is it just fairly small, and it looks like zero?
Hi John,
I checked that by means of a logic operator (compare to zero) and it gives me logical 1 for t > 22 seconds. Should therefore be identically zero.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 General Applications에 대해 자세히 알아보기

질문:

2018년 3월 11일

댓글:

2018년 3월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by