It doesn't matter whether the speed of the treadmill is constant, variable between steps or variable within the step, during the step duration it will have tried to lower you vertically by a certain amount, which will depend on the treadmill speed, but the energy you have expended staying in the...