using the lookup slope function
Posted: Wed May 31, 2006 5:28 pm
Hi
I use the lookup slope function (an example is joined in a simplistic model) to force the result of a function lookup (extrapolate or not) to be equal to zero outside of the boundaries of the lookup. It seems to work all right (see the model joined). But I use it in a model with subscripts where I optimize, and where I want the results outside of the boundaries to be equal to zero. The optimization does not work correctly with the formulation with the slope lookup , but if I replace the function with a standard lookup, it works. Seeing the model joined, is the formulation of the equation correct?
Or is the optimizer not able to find its way, because outside of the boundaries, the results are staying equal to zero?
Regards.
JJ
I use the lookup slope function (an example is joined in a simplistic model) to force the result of a function lookup (extrapolate or not) to be equal to zero outside of the boundaries of the lookup. It seems to work all right (see the model joined). But I use it in a model with subscripts where I optimize, and where I want the results outside of the boundaries to be equal to zero. The optimization does not work correctly with the formulation with the slope lookup , but if I replace the function with a standard lookup, it works. Seeing the model joined, is the formulation of the equation correct?
Or is the optimizer not able to find its way, because outside of the boundaries, the results are staying equal to zero?
Regards.
JJ