Simulink error: Initial conditions solve failed to converge

8.4k Views Asked by At

I have the circuit in this figure:

enter image description here

I get the following error: Initial conditions solve failed to converge. Nonlinear solver: Linear Algebra error. Failed to solve using iteration matrix. The model may not give enough information to make it possible to solve for values of some of its variables. Specific advice is given below.

all components and nodal across variables involved Tie variable x to a definite value, for example by connecting an appropriate domain reference block.

I have looked at the other questions on this on MATLAB answers (did not see any on here) and these solutions did not work:

  • Changing the S-PS block to filter input.
  • One question was missing ground but I have that.

Any idea what is wrong?

1

There are 1 best solutions below

0
On

Hi I had the same problem and I managed to solve mine.

I have a Solve Configuration block in the model.

I was able to run my model initially but I ran into the LA convergence issue when I modified my model.

Once I increased the Nonlinear iterations count the solver managed to complete.