A
vehicle control unit (130, 140) arranged to control motion of a heavy-duty vehicle (100) comprising first and second
electric machine, EM, arrangements (EM1, EM2), where the first EM arrangement has different efficiency characteristics compared to the second EM arrangement, wherein the
vehicle control unit (130, 140) is arranged to control the first and the second EM arrangement (EM1, EM2) by transmitting wheel slip requests to respective EM control units, wherein the
control unit (130, 140) is arranged to obtain a desired total longitudinal force (Fx) to be jointly generated by the first and second EM arrangements, wherein the
control unit (130, 140) is arranged to determine a desired first wheel slip (λ1) corresponding to a first longitudinal force (F1) generated by the first EM arrangement, and a desired second wheel slip (λ2) corresponding to a second longitudinal force (F2) generated by the second EM arrangement, where the sum of the first longitudinal force (F1) and the second longitudinal force (F2) is matched to the desired total longitudinal force (Fx), wherein the
control unit (130, 140) is arranged to balance a magnitude of the first wheel slip (λ1) relative to a magnitude of the second wheel slip (λ2) in dependence of the respective efficiency characteristics of the first and the second EM arrangements (EM1, EM2).