Unable to read current in SPICE simulation

I’m unable to measure current through a resistor while doing a DC Transfer. Below is two screenshots, one from KiCad and one from LTspice where everything should be identical, but in LTspice I can create an I-V plot.

Is this a bug or am I missing something?

Application: kicad
Version: (5.0.0-rc2-dev-393-gbaef22df9), release build
wxWidgets 3.0.3
libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.60.0
Curl: 7.54.1
Compiler: GCC 7.1.0 with C++ ABI 1011

Build settings:

Attach the file example to help us to check.
And please, I this intend to be a bug/issue, report on https://bugs.launchpad.net/kicad. The development team will check.

Thought I should check here if I was missing something obvious first.
This is the Spice Netlist

.title KiCad schematic
VV1 Net-R1-Pad2 GND dc 10
RR1 GND Net-R1-Pad2 1
.save @vv1[i]
.save @rr1[i]
.save V(GND)
.save V(Net-R1-Pad2)
.dc vv1 0 10 5m

SpiceTest.zip (2.5 KB)

So this is probably a bug then?

Yes, but it has just been fixed. The next nightly should be already able to plot currents in DC sweep analysis.

1 Like

I’m impressed! Thanks :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.