An electrical power converter comprising: a first direct current line connected to a first direct current source; a second direct current line connected to a second direct current source; a negative electrode bus line; an alternating current line for driving an alternating current motor; first controllable semiconductor switches (104a/104b, 105a/105b, 106a/106b) that connect conduction in both direction between the first direct current line and the alternating current line, second controllable semiconductor switches (101a/101b, 102a/102b, 103a/103b) that connect conduction in both direction between the second direct current line and the alternating current line, third controllable semiconductor switches (107a, 108a, 109a) that connect conduction between the alternating current line and the negative electrode bus line, motor torque control means for generating current command values (id*, iq*) for the alternating current motor and compensating voltage command values (vd_0*, vq_0*) that correspond to charge target values from the first direct current source to the second direct current source based on a source power command value (pb*) that commands the charge amount from the first direct current source to the second direct current source, a motor torque command value (Te*) and a motor rotation speed (ω); motor voltage control means for determining motor voltage command values (vd*, vq*) according to the current command values (id*, iq*); distributed voltage command value calculation means for generating command values (vd_a, vq_a or Vu_a, Vv_a, Vw_a, Vu_b, Vv_b, Vw_b) of distributed voltage that are supplied from the first direct current source and the second direct current source, based on a power distributed target value (rto_a) that corresponds respectively to the first direct current source and the second direct current source and the motor voltage command values (vd*, vq*); voltage command value compensation means for determining compensating distributed voltage command values (Vu_a*, Vv_a*, Vw_a*, Vu_b*, Vv_b*, Vw_b*); and pulse generate means for generating an output voltage at the alternating current output which switches ON/OFF of the first, second and third controllable semiconductor switches according to the compensating distributed command values; characterised in that the voltage command value compensation means is arranged to determine the compensating distributed voltage command values by adding the compensating voltage command values (vd_0* vq_0*) to the distributed voltage command values (vd_a, vq_a or Vu_a, Vv_a, Vw_a, Vu_b, Vv_b, Vw_b). a first direct current line connected to a first direct current source; a second direct current line connected to a second direct current source; a negative electrode bus line; an alternating current line for driving an alternating current motor; first controllable semiconductor switches (104a/104b, 105a/105b, 106a/106b) that connect conduction in both direction between the first direct current line and the alternating current line, second controllable semiconductor switches (101a/101b, 102a/102b, 103a/103b) that connect conduction in both direction between the second direct current line and the alternating current line, third controllable semiconductor switches (107a, 108a, 109a) that connect conduction between the alternating current line and the negative electrode bus line, motor torque control means for generating current command values (id*, iq*) for the alternating current motor and compensating voltage command values (vd_0*, vq_0*) that correspond to charge target values from the first direct current source to the second direct current source based on a source power command value (pb*) that commands the charge amount from the first direct current source to the second direct current source, a motor torque command value (Te*) and a motor rotation speed (ω); motor voltage control means for determining motor voltage command values (vd*, vq*) according to the current command values (id*, iq*); distributed voltage command value calculation means for generating command values (vd_a, vq_a or Vu_a, Vv_a, Vw_a, Vu_b, Vv_b, Vw_b) of distributed voltage that are supplied from the first direct current source and the second direct current source, based on a power distributed target value (rto_a) that corresponds respectively to the first direct current source and the second direct current source and the motor voltage command values (vd*, vq*); voltage command value compensation means for determining compensating distributed voltage command values (Vu_a*, Vv_a*, Vw_a*, Vu_b*, Vv_b*, Vw_b*); and pulse generate means for generating an output voltage at the alternating current output which switches ON/OFF of the first, second and third controllable semiconductor switches according to the compensating distributed command values; characterised in that the voltage command value compensation means is arranged to determine the compensating distributed voltage command values by adding the compensating voltage command values (vd_0* vq_0*) to the distributed voltage command values (vd_a, vq_a or Vu_a, Vv_a, Vw_a, Vu_b, Vv_b, Vw_b).