Profit optimization of energy supply of electric drive vehicles