stop adding nominal temperature to a temperature difference

This commit is contained in:
Meisam Bahadori 2026-08-03 18:03:27 +02:00 committed by dwarning
parent 5cd19a07dd
commit 5bad670835
5 changed files with 5 additions and 5 deletions

View File

@ -85,7 +85,7 @@ BJTnoise(int mode, int operation, GENmodel*genmodel, CKTcircuit *ckt,
case N_DENS:
if (inst->BJTtempGiven)
dtemp = inst->BJTtemp - ckt->CKTtemp + (model->BJTtnom-CONSTCtoK);
dtemp = inst->BJTtemp - ckt->CKTtemp;
else
dtemp = inst->BJTdtemp;

View File

@ -86,7 +86,7 @@ DIOnoise(int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt,
case N_DENS:
if (inst->DIOtempGiven)
dtemp = inst->DIOtemp - ckt->CKTtemp + (model->DIOnomTemp-CONSTCtoK);
dtemp = inst->DIOtemp - ckt->CKTtemp;
else
dtemp = inst->DIOdtemp;

View File

@ -128,7 +128,7 @@ HICUMnoise (int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt, Ndata
case N_DENS:
if (here->HICUMtempGiven)
dtemp = here->HICUMtemp - ckt->CKTtemp + (model->HICUMtnom-CONSTCtoK);
dtemp = here->HICUMtemp - ckt->CKTtemp;
else
dtemp = here->HICUMdtemp;

View File

@ -90,7 +90,7 @@ RESnoise(int mode, int operation, GENmodel*genmodel, CKTcircuit *ckt,
case N_DENS:
if (inst->REStempGiven)
dtemp = inst->REStemp - ckt->CKTtemp + (model->REStnom-CONSTCtoK);
dtemp = inst->REStemp - ckt->CKTtemp;
else
dtemp = inst->RESdtemp;

View File

@ -95,7 +95,7 @@ VBICnoise (int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt, Ndata *
case N_DENS:
if (inst->VBICtempGiven)
dtemp = inst->VBICtemp - ckt->CKTtemp + (model->VBICtnom-CONSTCtoK);
dtemp = inst->VBICtemp - ckt->CKTtemp;
else
dtemp = inst->VBICdtemp;