From 113275d3be42596a29aeb837b22145088773ac3c Mon Sep 17 00:00:00 2001 From: dwarning Date: Mon, 1 Jul 2024 16:51:15 +0200 Subject: [PATCH] vbic: save Vrth into state vector --- src/spicelib/devices/vbic/vbicload.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/spicelib/devices/vbic/vbicload.c b/src/spicelib/devices/vbic/vbicload.c index 23457b32a..07f33b4e2 100644 --- a/src/spicelib/devices/vbic/vbicload.c +++ b/src/spicelib/devices/vbic/vbicload.c @@ -855,6 +855,7 @@ VBICload(GENmodel *inModel, CKTcircuit *ckt) } } + *(ckt->CKTstate0 + here->VBICvrth) = Vrth; *(ckt->CKTstate0 + here->VBICvbei) = Vbei; *(ckt->CKTstate0 + here->VBICvbex) = Vbex; *(ckt->CKTstate0 + here->VBICvbci) = Vbci;