add a comment: we should use TNOM, but not a fixed 300.15.

TNOM still has to be added to the ASRC parameters.
This commit is contained in:
Holger Vogt 2021-06-20 16:33:04 +02:00
parent dcde7b590e
commit ddcc6f6097
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ ASRCload(GENmodel *inModel, CKTcircuit *ckt)
for (; model; model = ASRCnextModel(model)) { for (; model; model = ASRCnextModel(model)) {
for (here = ASRCinstances(model); here; here=ASRCnextInstance(here)) { for (here = ASRCinstances(model); here; here=ASRCnextInstance(here)) {
difference = (here->ASRCtemp + here->ASRCdtemp) - 300.15; difference = (here->ASRCtemp + here->ASRCdtemp) - 300.15; /* FIXME: tnmom instead of 300.15 */
factor = 1.0 factor = 1.0
+ here->ASRCtc1 * difference + here->ASRCtc1 * difference
+ here->ASRCtc2 * difference * difference; + here->ASRCtc2 * difference * difference;