Simulation: DC sweep, sweeping 2 sources just shows one graph

When sweeping 2 sources in a DC sweep analysis, I would expect many plots: one plot sweeping source 1 with source 2 fixed to the starting value, one plot with source 2 fixed to its next value, etc.

However, I only see the final source-1 sweep, with source-2 fixed to its final value (see image below)

How can I show the other plots?


In de image above ngspice shows it did evaluate 1313 data points, that is correct (101 points for each seep of source 1, times 13 sweeps for each sweep of source 2).
I would just like to know how I can see the results.

These are my DC Sweep Analysis values:
Source 1: Source=V1; Start Value=0V, Final Value=1V, Increment step=10m
Source 2: Source=R1; Start Value=1, Final Value=4, Increment step=250m

This is with Kicad 8.0, the nightly of 2024-02-29, on Ubuntu 23.10.

1 Like

Thanks for the report. Seems to be a bug in Eeschema.
If you put

.control
set controlswait
print i(R1)
.endc

into a text box on the Eeschema canvas, you will see a printout with ngspice delivering all data, but Eeschema does not plot them.

I will provide a bug report.

Done: DC sweep, sweeping 2 sources just shows a single graph (#17215) · Issues · KiCad / KiCad Source Code / kicad · GitLab

3 Likes

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