Hamiltonian-Differential Flatness Control Laws for Battery/Ultracapacitor for Hybrid Electric Vehicle Applications