A voltage command value of a converter is set by executing the step of
determining a candidate voltage of a system voltage VH as a converter
output voltage in a voltage range from the minimum necessary voltage
corresponding to induction voltage of a motor generator and a maximum
output voltage of the converter; the step of estimating power loss at the
battery, converter, inverter and motor generator, at each candidate
voltage, and calculating total sum of estimated power loss of the overall
system; and the step of setting the voltage command value VH# based on
the candidate voltage that minimizes the total sum of estimated power
losses among the candidate voltages.