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:
parent
dcde7b590e
commit
ddcc6f6097
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue