Control of a hybrid propulsion system for a city bus