I have a sequence of points from GPS and OBD for some vehicles.
Each point has the instantaneous power of the engine $(P)$, the time elapsed from the last points $(T)$ and the distance traveled from the last points $(M)$. For each sequence, I'd like to calculate the efficiency in $\mathrm{kWh/km}$ of the period.
I basically have 3 ideas:
$P_{\mathrm{avg}} \times \frac{\Delta T}{\Delta M}$
$\left(P\times \frac{T}{M}\right)_{\mathrm{avg}}$
$\left(\frac{\Delta P}{2} \times \frac{\Delta T}{\Delta M}\right)_{\mathrm{avg}}$
Idea (1) considers the sequence as a whole. Idea (2) takes the average for each point. Idea (3) does an interpolation between two consecutive points and takes the average at the end.
My question is, which one seems to be better?