Text this: Design of a battery-ultracapacitor hybrid energy-storage system with power flow control for an electric vehicle