I look at the ngspice-30 manual, and and Wxxxx(i.e., CSW) calls for 3 nodes, but how do I connect a voltage source to the controlling port of the switch in schematic. In text, you can specify voltage source directly (as shown in the example in section 3.2.15 on page 82), but how do you do that in eeschema’s schematic?
The below schematic won’t simulate. I got following error message:
Circuit: KiCad schematic
Background thread stopped with timeout = 0
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
Fatal error: w1: unknown controlling source nc_01
doAnalyses: no such parameter on this device
run simulation(s) aborted
===
What version of the library are you using? The symbols you have look like the old pspice library ones. we have better options in the Simulation_Spice lib. (more options and symbols fit the rest of the library style)
However this lib is a newcommer so you might need to manually add it to the library table if you had kicad installed with a version before this lib was added. (use the library manager or reset the lib table to default. See Library management in KiCad version 5)