Text this: Hybrid Systems, Optimal Control and Hybrid Vehicles