Optimization study of a hybrid powertrain