An Optimization and Analysis Framework for TCO Minimization of Plug-in Hybrid Heavy-duty Electric Vehicles