View Single Post
Unread 02-27-2003, 10:40 AM   #48
gmat
Thermophile
 
gmat's Avatar
 
Join Date: Mar 2001
Location: France
Posts: 1,221
Default

Quote:
Originally posted by deeppow

Unit testing is most likely already being due where for example one would make sure the interpolators do what they should.
That's what i'm doing right now, a small app that will allow anyone to put a XML file and see the interpolated results on a graphical chart.
Currently i have implemented two polynomial interpolation methods, that seem to produce very similar polynoms, with differences in the order of 1.10^-16. I think the choice will be made on performance as the algorithms involved are totally different (Lagrange and Neville).

Quote:
Originally posted by deeppow

Component testing should be fairly straight forward in the simulator should be able to reproduce the behavior of the various components, rads for example, based on driving the input and air flow.
Actually once the interpolated data is correct, the sim will base it's figures on that. No 'modelling' behind the scenes, just a big polynomial solver (i'll begin with Newton's method - we'll see later if we need something more powerful).

(note) setting up a thread for interpolation methods could be useful, if anyone besides me has any knowledge about that. I'd be glad if someone provided me with an algorithm for a Bernstein one-dimensional method (also called B-Spline by some ppl, though i thought it was Bezier)
gmat is offline   Reply With Quote