Simulation ends too soon

Holger

I cannot get a simulation mentioned in the old topic below to run past 240mS. I wanted to confirm the BRT22H opto-triac model worked with ngspice.

The model has 6 pins even though only 4 are active. NC is used for unused pins. Does this confuse ngspice?

.SUBCKT BRT22H A C NC MT2 NC MT1

I’m trying to confirm multiple Thyristor types (SCR, Triac, Diac, Sidac, opto-triac) that work in ngspice for a new library for Qucs-S.


Triac Opto.zip (14.1 KB)

You should be able to now.