circuit simulation using ngspice

this is my circuit *test ckt

v1 0 1 dc 0 ac 1

a1 1 2 s1

a2 2 3 s2

a3 2 0 s3

.model s1 s_xfer(gain=1 int_ic=[0 0 0] + num_coeff=[4 6 1] + den_coeff=[0 2 0])

.model s3 s_xfer(gain=1 int_ic=[0 0] + num_coeff=[12 1] + den_coeff=[3 0])

.model s2 s_xfer(gain=1 int_ic=[0 0 0 0 0] + num_coeff=[16 66 40 18 8] + den_coeff=[4 16 6 4 1])

.ac oct 0.2 .2 2

.nodeset v(1)=0 v(2)=0 v(3)=0

.end

I am plotting bode plot . But unable to simulate the circuit . getting error "singular matrix error" massage. Am i ok with the circuit? What are the basic thing i will tack care about??

thank you.

by abhay0701
October 19, 2012

Post a Reply

Please sign in or create an account to comment.

Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.