electric and plug-in hybrid vehicle networks optimization and control