Circuit: KiCad schematic
Background thread stopped with timeout = 0
Doing analysis at TEMP = 27,000000 and TNOM = 27,000000
Fatal error: tp1: transmission line z0 must be given
doAnalyses: no such parameter on this device
run simulation(s) aborted
I’ve been struggling with this for several hours and can’t find anything on google
I also noticed that when I try to add a probe from the spice simulator level, you cannot add this probe in the diagram
In this case, it is complaining that TP1, which it thinks is a transmission line, does not have the appropriate parameters for a transmission line given (namely, your testpoint/transmission line does not specify a characteristic impedance z0).
The solution to your issue is to tell kicad that TP1 should be ignored for simulation, so ngspice will not attempt to simulate it. It doesn’t make sense to simulate a testpoint anyway – I’m not sure where that symbol is from but the testpoint symbols in the standard library are intended to represent physical testpoints on a pcb. In 5.99, the way to accomplish this is to go to the symbol properties -> Spice model… -> check “Disable symbol for simulation”. I don’t remember offhand the way to do this in 5.1 but I’m sure it’s similar.
In general, you’ll need to specify a spice model for every symbol in the schematic, or disable it for simulation if it’s irrelevant.
With regard to your question about adding a probe from the simulator, it sounds like you’re coming from a spice simulator that lets you add probes as persistent symbols in the schematic (Multisim?). As far as I know, you can’t do that with kicad/ngspice. You’ll need to either add the symbols each time you launch the simulator. You can also save your simulator setup as a workbook and restore it later – not sure what the limitations are with this as I haven’t played with it much.
Circuit: KiCad schematic
Doing analysis at TEMP = 27,000000 and TNOM = 27,000000
Warning: v1: no DC value, transient time 0 value used
Reference value : 1,00000e+02
No. of Data Rows : 41
can you still tell me why it doesn’t show square signal?