Real-Time Optimal Control of a Plug-in Hybrid Electric Vehicle Using Trip Information