Tuning of E-bikes with a Bafang motor