Browse Source

Tnom is not a instance parameter

pre-master-46
dwarning 7 years ago
committed by Holger Vogt
parent
commit
ef79942782
  1. 1
      src/spicelib/devices/vbic/vbicdefs.h
  2. 2
      src/spicelib/devices/vbic/vbicload.c
  3. 1
      src/spicelib/devices/vbic/vbictemp.c

1
src/spicelib/devices/vbic/vbicdefs.h

@ -68,7 +68,6 @@ typedef struct sVBICinstance {
double VBICm; /* multiply factor for the vbic */
double VBICtVcrit;
double VBICttnom; /* temperature adjusted model parameters per instance */
double VBICtextCollResist;
double VBICtintCollResist;
double VBICtepiSatVoltage;

2
src/spicelib/devices/vbic/vbicload.c

@ -101,7 +101,7 @@ VBICload(GENmodel *inModel, CKTcircuit *ckt)
/*
* dc model paramters
*/
p[0] = here->VBICttnom;
p[0] = model->VBICtnom;
p[1] = here->VBICtextCollResist;
p[2] = here->VBICtintCollResist;
p[3] = here->VBICtepiSatVoltage;

1
src/spicelib/devices/vbic/vbictemp.c

@ -153,7 +153,6 @@ VBICtemp(GENmodel *inModel, CKTcircuit *ckt)
iret = vbic_4T_it_cf_t(p,pnom,&TAMB);
here->VBICttnom = p[0];
here->VBICtextCollResist = p[1];
here->VBICtintCollResist = p[2];
here->VBICtepiSatVoltage = p[3];

Loading…
Cancel
Save