correct formula for temperature dependent depletion capacitance (tlevc=1)

This commit is contained in:
dwarning 2015-03-04 06:54:34 +01:00
parent a21770aab9
commit c30373e37e
1 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ DIOtemp(GENmodel *inModel, CKTcircuit *ckt)
} else if (model->DIOtlevc == 1) {
here->DIOtJctPot = model->DIOjunctionPot - model->DIOtpb*(here->DIOtemp-REFTEMP);
here->DIOtJctCap = here->DIOjunctionCap *
(model->DIOcta*(here->DIOtemp-REFTEMP));
(1+model->DIOcta*(here->DIOtemp-REFTEMP));
}
if (model->DIOtlevc == 0) {
@ -146,7 +146,7 @@ DIOtemp(GENmodel *inModel, CKTcircuit *ckt)
} else if (model->DIOtlevc == 1) {
here->DIOtJctSWPot = model->DIOjunctionSWPot - model->DIOtphp*(here->DIOtemp-REFTEMP);
here->DIOtJctSWCap = here->DIOjunctionSWCap *
(model->DIOctp*(here->DIOtemp-REFTEMP));
(1+model->DIOctp*(here->DIOtemp-REFTEMP));
}
here->DIOtSatCur = model->DIOsatCur * here->DIOarea * exp(