MATLAB Answers

Trying to create an electrical circuit

22 views (last 30 days)
Weijie Yin
Weijie Yin on 9 Oct 2011
Hi guys, I am trying to draw a circuit like the one in the picture link. http://img513.imageshack.us/img513/1501/circuita.jpg
I drew up a circuit using simscape and simulink. And it is as follows. http://img28.imageshack.us/img28/8900/circuit2.jpg
However, the error keeps popping up: Nonlinear solver: Linear Algebra error. Failed to solve using iteration matrix. Initial conditions solve failed to converge. Dependency found among topology equations. Check for missing reference node.
I just started using matlab, and would really appreciate any help for this. Thanks in advance.

  0 Comments

Sign in to comment.

Answers (2)

Guy Rouleau
Guy Rouleau on 10 Oct 2011
The error is clear... "Check for missing reference node" means that your circuit does not have a reference. Add this block to ground your circuit:

  0 Comments

Sign in to comment.


Andres RM
Andres RM on 8 Nov 2011
I haven't asked this question but, THANK YOU VERY MUCH. You've just saved my life!
How dificult starting with Simulink is!

  0 Comments

Sign in to comment.

Sign in to answer this question.