Text this: Engine on/off management with consideration of thermal dynamics for HEVs