tnom celsius -> kelvin transformation changed

This commit is contained in:
dwarning 2009-12-18 17:29:34 +00:00
parent 823b8e78de
commit 6a7c441e7e
2 changed files with 3 additions and 3 deletions

View File

@ -1468,7 +1468,7 @@ GENmodel *inMod)
break;
case BSIM3_MOD_TNOM :
mod->BSIM3tnom = value->rValue;
mod->BSIM3tnom = value->rValue + CONSTCtoK;
mod->BSIM3tnomGiven = TRUE;
break;
case BSIM3_MOD_CGSO :

View File

@ -723,8 +723,8 @@ IFuid tmpName;
/* unit degree celcius */
if (!model->BSIM3tnomGiven)
model->BSIM3tnom = ckt->CKTnomTemp;
else
model->BSIM3tnom = model->BSIM3tnom + 273.15;
/* else
model->BSIM3tnom = model->BSIM3tnom + 273.15; we make this transform in b3mpar.c in the first run */
if (!model->BSIM3lintnoiGiven)
model->BSIM3lintnoi = 0.0; /* unit m */
if (!model->BSIM3LintGiven)