Development of an Energy Management Strategy for a Series Hybrid Tractor