Simulink Error "Derivative input -47 ..." with integrator block
Mostra commenti meno recenti
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 Commento
Kaustubha Govind
il 11 Set 2013
Risposta accettata
Più risposte (1)
Bettina
il 12 Set 2013
0 voti
Categorie
Scopri di più su MATLAB Function Block Basics in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!