01-06-2009 06:03 AM
HI. I was running the simulation processes for the circuits that I created in Labview (using SPICE netlist). Some of my simulation is aborted saying that
------ Checking SPICE netlist for netlist2 - 2009-01-06 19:55:30 ------
======= SPICE Netlist check completed, 0 error(s), 0 warning(s) =======
Error Message From Simulation: doAnalyses: Matrix is singular
Error Message From Simulation: ac simulation(s) aborted
what cause this problem actually... Can anyone tell me? It's important for me to improve the program design
01-06-2009 08:52 PM
Hi Rahairi,
I beleive you use Multisim not LabVIEW.
Anyway, I tried building a circuit according to your netlist as shown in attached file.
As you can see, node 2 is floating and make the loop incomplete which results in simulation error as you're facing.
Connecting the load between node 2 and node 0 should solve the problem.
However, I recommend you to create a circuit using Multisim instead of SPICE netlist, since this forum is for supporting Multisim and Ultiboard.
We don't directly support SPICE.
Regards, Kate
01-07-2009 12:14 AM - edited 01-07-2009 12:24 AM
Hi. Thanks for reply.... Actually, I just created the circuits randomly using a program writing in Labview, so I can do the simulation in Multisim. I just want to know what cause the error, so I can improve my Labview program
And your explaination about the node 2 maybe right... I'm going to look into it. Thanks Kate...
07-14-2012 09:11 AM
Sometimes the problem happens when a (dependant or independent) voltage source is parallel to another (dependant or independent) voltage source and the value of voltage sources are not same. For example when an AC voltage source is directly connected to an ideal transformer the error occurs because SPICE use a model of transformer which contains a dependant voltage source. You should connect it via small resistor to the ideal trans.