remove unused conductance variables

This commit is contained in:
dwarning 2019-03-21 10:54:52 +01:00 committed by Holger Vogt
parent f42c513381
commit 360a3985e8
2 changed files with 0 additions and 26 deletions

View File

@ -447,11 +447,6 @@ typedef struct sVBICmodel { /* model structure for a vbic */
double VBICrevVersion;
double VBICrefVersion;
double VBICcollectorConduct; /* collector conductance */
double VBICbaseConduct; /* base conductance */
double VBICemitterConduct; /* emitter conductance */
double VBICsubstrateConduct; /* substrate conductance */
double VBICvbeMax; /* maximum voltage over B-E junction */
double VBICvbcMax; /* maximum voltage over B-C junction */
double VBICvceMax; /* maximum voltage over C-E branch */

View File

@ -34,27 +34,6 @@ VBICtemp(GENmodel *inModel, CKTcircuit *ckt)
if(!model->VBICtnomGiven) model->VBICtnom = ckt->CKTnomTemp - CONSTCtoK;
if(model->VBICextCollResistGiven && model->VBICextCollResist != 0.0) {
model->VBICcollectorConduct = 1.0 / model->VBICextCollResist;
} else {
model->VBICcollectorConduct = 0.0;
}
if(model->VBICextBaseResistGiven && model->VBICextBaseResist != 0.0) {
model->VBICbaseConduct = 1.0 / model->VBICextBaseResist;
} else {
model->VBICbaseConduct = 0.0;
}
if(model->VBICemitterResistGiven && model->VBICemitterResist != 0.0) {
model->VBICemitterConduct = 1.0 / model->VBICemitterResist;
} else {
model->VBICemitterConduct = 0.0;
}
if(model->VBICsubstrateResistGiven && model->VBICsubstrateResist != 0.0) {
model->VBICsubstrateConduct = 1.0 / model->VBICsubstrateResist;
} else {
model->VBICsubstrateConduct = 0.0;
}
if(model->VBICtempExpRBGiven && !model->VBICtempExpRBIGiven) {
model->VBICtempExpRBI = model->VBICtempExpRB;
}