Excluded integration during self-heating as well.

This commit is contained in:
Holger Vogt 2026-06-01 19:48:50 +02:00
parent d029ed02db
commit 72620328a1
1 changed files with 8 additions and 7 deletions

View File

@ -692,14 +692,15 @@ next1:
*(ckt->CKTstate0 + here->DIOsrcapCurrent);
}
}
}
if (selfheat)
{
error = NIintegrate(ckt, &gcTt, &ceqqth, model->DIOcth0, here->DIOqth);
if (error) return(error);
if (ckt->CKTmode & MODEINITTRAN) {
*(ckt->CKTstate1 + here->DIOcqth) =
if (selfheat)
{
error = NIintegrate(ckt, &gcTt, &ceqqth, model->DIOcth0, here->DIOqth);
if (error) return(error);
if (ckt->CKTmode & MODEINITTRAN) {
*(ckt->CKTstate1 + here->DIOcqth) =
*(ckt->CKTstate0 + here->DIOcqth);
}
}
}
}