add few small-signal parameter

This commit is contained in:
dwarning 2020-07-25 12:31:05 +02:00
parent 5afb2dc8c8
commit 162b174acd
1 changed files with 5 additions and 1 deletions

View File

@ -2580,12 +2580,16 @@ HICUMload(GENmodel *inModel, CKTcircuit *ckt)
here->HICUMqscp_Vrth = Qscp_dT;
here->HICUMicth_dT = Icth_Vrth;
// store all derivatives of charges
/*
* store small-signal parameters
*/
if ( (!(ckt->CKTmode & MODETRANOP))||
(!(ckt->CKTmode & MODEUIC)) ) {
if(ckt->CKTmode & MODEINITSMSIG) {
*(ckt->CKTstate0 + here->HICUMcqrbi) = Qrbi_Vbpbi;
*(ckt->CKTstate0 + here->HICUMcqf) = Qdeix_Vbiei;
*(ckt->CKTstate0 + here->HICUMcqr) = Qr_Vbici;
*(ckt->CKTstate0 + here->HICUMcqjei) = Cjei;
*(ckt->CKTstate0 + here->HICUMcqjci) = Cjci;