cap current have to be divided by m
This commit is contained in:
parent
723009f092
commit
03f46612e0
|
|
@ -80,7 +80,7 @@ CAPload(GENmodel *inModel, CKTcircuit *ckt)
|
|||
/* mhx: to access I(Cx) */
|
||||
if (here->CAPbrptr != NULL) {
|
||||
*(ckt->CKTrhs + here->CAPbrEq) = *(ckt->CKTstate0 + here->CAPccap);
|
||||
*(here->CAPbrptr) += 1.0;
|
||||
*(here->CAPbrptr) += 1.0/m;
|
||||
}
|
||||
} else
|
||||
*(ckt->CKTstate0+here->CAPqcap) = here->CAPcapac * vcap;
|
||||
|
|
|
|||
Loading…
Reference in New Issue