https://open-source-silicon.dev logo
#analog-design
Title
# analog-design
p

promach

01/27/2021, 1:15 AM
@User I added
.option RSHUNT 1e20
, but ngpice log still shows singular matrix at the same exact circuit node location (Net17).
t

Tim Edwards

01/27/2021, 1:16 AM
In that case you will need to find out what's going on around Net17. In my experience, a persistent singular matrix error points to a bad circuit description in some way.
p

promach

01/27/2021, 1:18 AM
bad circuit description ?
s

Stefan Schippers

01/27/2021, 1:32 PM
@promach , i have tried adding a
.options rshunt=1e11
(and even lower values) this seems to be ignored for the operating point calculation. Adding 1e11 resistors to GND in the schematic attached to the floating nodes removes the singularity.
p

promach

01/27/2021, 1:33 PM
@Stefan Schippers See the ngspice forum thread : https://sourceforge.net/p/ngspice/discussion/133842/thread/e27767b336/
s

Stefan Schippers

01/27/2021, 1:37 PM
@promach @Tim Edwards the very strange fact is that on a small test circuit with 2 series capacitors the .options rshunt=1e11 is effective. I thought that, yet another bug....
p

promach

01/27/2021, 1:48 PM
@Tim Edwards @Stefan Schippers but
.option rshunt=1e11
still give me singular matrix