Skip to content

SPICE Command. Edit analysis tab. DC sweep. Nonexisting 2nd source enabled for 2nd sweep.

Description

Steps to reproduce

  1. Create any circuit with only ONE source (for instance, a voltage source).
  2. Go to Inspect/Simulator.
  3. New Analysis Tab: Create a DC sweep on the unique source. For instance from 0 to 10, step 0.1.
  4. Run the analysis (you may plot anything).
  5. In Simulation/Edit Analysis Tab, you can see that the checklist for Source 2 is enabled, when it should be disabled.

KiCad Version 8.0.0 (downloaded on 2024/02/25).

In the simulation, if you enter in "Simulation/Edit Analysis Tab" and the analysis was DC sweep, in the first window ("SPICE Command") the checklist of source 2 is enabled, although my analysis only had sweep in one source (because the circuit only had one source, in this case). I think that, in such case, the checklist of source 2 should be disabled (in fact, confirming without any change gives an error: "A DC source must be specified").

Application:  x64 on x64

Version: 8.0.0, release build

Libraries:
	wxWidgets 3.2.4
	FreeType 2.12.1
	HarfBuzz 8.3.0
	FontConfig 2.14.2

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

	wxWidgets: 3.2.4 (wchar_t,wx containers)
	Boost: 1.83.0
	OCC: 7.7.1
	Curl: 8.5.0-DEV
	ngspice: 42
	Compiler: Visual C++ 1936 without C++ ABI

Build settings:
Edited by Jesus Lucio