Object based modelling of hybrid electrical vehicle and power management control