Comprehensive powertrain modeling for heavy-duty applications: A study of plug-in hybrid electric bus