From aa9a0a637e7b6537762e223a4b342947a853b3db Mon Sep 17 00:00:00 2001 From: dwarning Date: Tue, 23 Jul 2024 14:34:32 +0200 Subject: [PATCH] vbic: have to load Vrxf/Itxf with value --- src/spicelib/devices/vbic/vbicload.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/spicelib/devices/vbic/vbicload.c b/src/spicelib/devices/vbic/vbicload.c index 66feaad8e..10052bdca 100644 --- a/src/spicelib/devices/vbic/vbicload.c +++ b/src/spicelib/devices/vbic/vbicload.c @@ -497,6 +497,7 @@ VBICload(GENmodel *inModel, CKTcircuit *ckt) if (here->VBIC_selfheat) Vrth = *(ckt->CKTrhsOld + here->VBICtempNode); if (here->VBIC_excessPhase) { + Vrxf = *(ckt->CKTrhsOld + here->VBICxf2Node); if (ckt->CKTmode & MODEINITTRAN) { *(ckt->CKTstate1 + here->VBICindFlux) = *(ckt->CKTstate0 + here->VBICindFlux); @@ -535,6 +536,8 @@ VBICload(GENmodel *inModel, CKTcircuit *ckt) *(ckt->CKTrhsOld+here->VBICsubsSINode)); if (here->VBIC_selfheat) Vrth = *(ckt->CKTrhsOld + here->VBICtempNode); + if (here->VBIC_excessPhase) + Vrxf = *(ckt->CKTrhsOld + here->VBICxf2Node); ibehat = *(ckt->CKTstate0 + here->VBICibe) + *(ckt->CKTstate0 + here->VBICibe_Vbei)*delvbei;