Re: Using 'E' as the extrapolation character in table_model

From: Geoffrey Coram <Geoffrey.Coram@analog.com>
Date: Fri Apr 29 2011 - 08:02:50 PDT

I would say it should be treated similar to a math error --
the simulator should not use any value that is returned.
The simulator should then get a chance to shrink the
timestep or whatever it usually does when it gets a math
error from device evaluation.

Dave Miller wrote:
> I have a question that was raised recently from Cary Renzema (refer mantis 3527)
>
> If I use 'E' as the extrapolation character in $table_model() what should the
> behaviour be?
> 'E' means we error, but exactly what sort of error.
>
> Is it a hard error - do we stop simulation right there.
>
> Or do we only raise the error at the end of the time step, and if so what value
> should we return from the table_model. Should it be clamped to the closest
> endpoint, or should we use linear extrapolation.
>
> I guess we should detail what happens when using 'E' to remove the ambiguity.
>
> Anyone have comments on what should happen here?
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Apr 29 08:03:33 2011

This archive was generated by hypermail 2.1.8 : Fri Apr 29 2011 - 08:03:43 PDT