Simulink Error "Derivative input -47 ..." with integrator block
이전 댓글 표시
Hello Everybody,
I hope somebody can help me, because I cannot find a solution to my Problem. In a rather big Simulink Model I am using an Integrator Block. The Integrator Input Signal is give from a Merge Block - I have been plotting this Signal via a scope: the Input Signal is continually Zero!
Additionally I have an external Initial Condition Port - this Port is continually 100.
So the Integrator should normally do nothing - integrate 0 the the Initial value of 100. When I copy this Subsystem to a new file and put the vales manually, it works as it should - and the result is continually 100.
When I try running the model, I get the very confusion error message: Derivative input -47 of 'NameOfBlock' at time 0.08 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
I have already tried to put a Saturation to the Input port - with no results. Also I have tried in the Configuration Parameters - Data Import/Export - Save to Workspace - to plot the States. There I get 56 States and 2 of These becom 1e+16 , is this already Inf? But I cannot define, which state this is.
Why is it, that I get an error message with Input Port Nr. -47 ?!?!
Can anybody give my a tipp, how to locate the error?
I would be very gratefull ...
댓글 수: 1
Kaustubha Govind
2013년 9월 11일
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB Function Block Basics에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!