Unable to get Current values in simulation


I am using Kicad 8 and ngspice 42. In my circuits, i am still not able to get current values. I usually get these errors.
“Error: vector I(R3) not found!”

Details below:

Application: x86_64 on x86_64
Version: 8.0.0-8.0.0-1~ubuntu22.04.1, release build
wxWidgets 3.2.1
FreeType 2.11.1
HarfBuzz 2.7.4
FontConfig 2.13.1
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.16
Platform: Ubuntu 22.04.3 LTS, 64 bit, Little endian, wxGTK, X11, ubuntu-xorg, x11
Build Info:
Date: Feb 23 2024 14:30:25
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 7.81.0
ngspice: 42
Compiler: GCC 11.4.0 with C++ ABI 1016
Build settings:

Insert tiny resistor (eg: 0.001 ohm) and measure voltage across it.

I am already using Voltage supply with a 0 volt value, then the probe allows for the current. But it gets really difficult for a large circuit.

I played around a bit. Looks like the “Save all curents” check box in Transient Analysis settings tab doesn’t do anything.

However, if I use “.options savecurrents”, I can get currents values now.

1 Like