Mult-cell average

Submit feature suggestions for future versions of TunerPro here.

Moderators: Mangus, robertisaar, dex

Post Reply
tightmopedman9
Posts: 8
Joined: Fri Nov 01, 2013 10:19 pm

Mult-cell average

Post by tightmopedman9 »

When using history tables in TunerPro only one cell value is updated per frame. It does not do a multi-cell average. For example if you have a history table setup as such:
Image

If you have the following inputs:
RPM = 1190
Load = 1.35
AFR = 14.7

It will only average the value into cell 1290x1.49, since 1190 is closer to 1290 than 1050, and 1.35 is closer to 1.49 than 1.01. This is only one cell, even though the value has effects on 3 other cells, 1050x1.01, 1050x1.49 and 1290x1.01, albeit at decreased weights.


I created a program in MatLab that reads in a .csv of the log values and creates a table that gives a proportionate weight to each of the affected cells and does an average. This is a much more accurate way of doing things.

I'm working on getting it into an executable now, so I can't redistribute it (unless you have MatLab). I can send the source code if you wan't to put this in a TunerPro update.
Post Reply