I’m having an issue where I’m tearing my hair out.
The situation is:
A very simple circuit with a resistor, two diodes (1N4148) and one transistor (BC847).
The issue is, that the BC847 does not confirm to the SPICE pin sequence. It’s pinout is:
ngspice expects C-B-E for a BJT.
Editing the BC847 in EEschema, I choose “Alternate node sequence” and enter 3 1 2.
This gives me ridiculous simulation results.
NOT using alternative node also gives ridiculous results.
I can of course work my way through all nine permutations here, but an explanation would be nicer.
Am I misunderstanding how alternate nodes work? Or have I missed a tick-box or something somewhere? Or is something basically wrong here?
I attach a screenshot and the Newperia SPICE model (which I trust).
Thanks in advance.
bc847.lib (1.4 KB)
KiCAD 6.0.6 on Lubuntu 20.04