¿ªÔÆÌåÓýOn 25/02/2025 08:53, eewiz via
groups.io wrote:
In general, it is usually impossible to prove the non-existence of something. Hardly a phenomenal waste of processor power. Linear interpolation between two points is a trivially simple operation. The .MEAS already finds the last data point before, and the first data point after the target is reached. Interpolation means you always get a more accurate answer even when not using very small values of maximum timestep, with very little overhead. This is obviously not true. The end result of using FALL=1 is to print out the interpolated value. The reason why you found that apparently two points at the same time had two different voltages is due the printed precision of the time points. The time points are printed in single precision in the logfile. You can get double precision by adding .option measdgt=15. This is true whether or not you also use .option numdgt=15. For example, to find the first falling value of 0, I added: .MEAS T1 when V(test)=0 fall=1 ..when analysing a 0.999Hz sine wave with .TRAN 1.1. By default the logfile was: LTspice 24.0.12 for Windows After adding .option measdgt=15: LTspice 24.0.12 for WindowsNote: this option is sticky. It remains active for the session (until you close and restart LTspice), even if it is removed. Whether this is intended or not is not known. AFAIK, it is not documented. --
Regards, Tony` |