Error in simulink: singularity in solution
Ältere Kommentare anzeigen
Hi all,
Can anyone please try to help me to fix this error "Derivative of state '1' in block xxxxx/STATCOM/Controller/LPF' at time 0.0 is not finite. The simulation will be stopped. 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 adjusted the step size, tolerance values all but doesnt know its significance. Also changed the intial condition value of integrator. The same error is shown with Low Pass Filter also. Please help me to fix it.
Thanks in advance.
1 Kommentar
Bhishan Wadhai
am 4 Mai 2020
Hello ,
I am facing same issue . Kindly know how to resolve it.
Antworten (2)
Athul Prakash
am 8 Aug. 2019
3 Stimmen
Hi Archana,
This error most commonly happens when your solver cannot handle large fluctuations in signals. Try using ODE15s (Stiff/NDF) as your solver.
Go to model configuration parameters(Ctrl+E) > Solver and adjust
Type: Variable-step
Solver: ode15s (stiff/NDF)
This should fix the issue.
Read the Documentation for ODE15s here:
If not, you can also try:
- Adding a delay so that the fluctuation slows down.
- To find out more, try adding Port Value Display to your signal and then step through the model.
Hope it helps.
Muhammad Danish
am 17 Apr. 2024
0 Stimmen
same issue
Kategorien
Mehr zu Multicore Processor Targets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!