Browse Source

selfheating only with rth>0

pre-master-46
dwarning 3 years ago
committed by Holger Vogt
parent
commit
56b5041266
  1. 2
      src/spicelib/devices/vbic/vbicsetup.c

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

@ -469,7 +469,7 @@ VBICsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states)
}
if(model->VBICselftGiven)
if(model->VBICselft == 1)
if((model->VBICselft == 1) && (model->VBICthermalResistGiven) && (model->VBICthermalResist > 0.0))
here->VBIC_selfheat = 1;
else
here->VBIC_selfheat = 0;

Loading…
Cancel
Save