Text this: Speed curve analysis-based determination of additional resistance to train motion from undercarriage generators