vbic: have to load Vrxf/Itxf with value

This commit is contained in:
dwarning 2024-07-23 14:34:32 +02:00
parent bf020ca173
commit aa9a0a637e
1 changed files with 3 additions and 0 deletions

View File

@ -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;