It already supports what you need and exposes high level API.
You can specify a range for the number of cells, gear ratio, propeller diameter, and propeller pitch, and Moto Calc will produce a table of predictions for each combination.
Moto Calc will predict weight, current, voltage at the motor terminals, input power, output power, power loss, motor efficiency, motor RPM, power-loading, electrical efficiency, motor RPM, propeller or fan RPM, static thrust, pitch speed, and run time.
" - Trentin Lagrange, CA New life for an old PC "I had an old Pentium IV kicking around that I wanted to put Vista on for the kids.
Instead of finding each driver one by one I used the Driver Tuner exporter and got the whole system set up in about 15 minutes.
Random Access File or (more simply) write to a new file then replace the old file with the new one In psuedo code: Use Random Access file to write into specific place of the file.