Skip to content

Validation 8 — A traction motor and its inverter against measured losses

Time: ~10 minutes. Suite: examples/validation/yasa_p400/. Gated by: tests/validation/test_yasa_p400.py.

aeolus1d draws a traction motor's electrical power from an efficiency map over torque and speed (aeolus1d.emotor.MappedEMotor), and adds the inverter's loss from a conduction-and-switching law (emotor.Inverter). This page tests both against a motor whose losses were measured, the motor's and the inverter's separately, at four DC-link voltages and through four drive cycles. It is item 9 of the benchmark survey, and the electrified workflow's second measured reference after the cell of Validation 7.

Where the data is

Allca-Pekarovic, Kollmeyer, Forsyth & Emadi, "Yasa P400 Electric Traction Machine Characterization and Efficiency Data", Borealis, doi:10.5683/SP3/58VUNX (2024), CC BY 4.0, with the paper in IEEE Trans. Ind. Appl., doi:10.1109/TIA.2023.3343315. One 4.9 MB workbook, fetched on demand into the suite's gitignored data/. The repository holds what we fitted to it and the errors that gave. In a clone only.

The problem

A YASA P400HC axial-flux motor ran on a dynamometer with a power analyser between the battery, the inverter and the motor. It measured, at each steady operating point, the DC power, the AC power and the shaft power, and so the inverter loss \(P_\mathrm{dc} - P_\mathrm{ac}\) and the motor loss \(P_\mathrm{ac} - P_\mathrm{mech}\) apart. There are 99-156 points per voltage, up to 347 N m and 7000 rpm, at 250, 400, 550 and 700 V, all motoring. Then the UDDS, HWFET, LA92 and US06 cycles were driven at 700 V and logged once a second.

The inverter law reads

\[ P_\mathrm{inv} = 2\,(V_{ce0} I + R_\mathrm{on} I^2) + 6 f_\mathrm{sw} E_\mathrm{sw} \frac{I}{I_\mathrm{ref}} \frac{V_\mathrm{dc}}{V_\mathrm{ref}}, \]

conduction in two devices and switching in six, the switching loss linear in the DC voltage. \(I\) is the phase current, here the analyser's RMS current averaged over the three phases. \(f_\mathrm{sw}\), \(I_\mathrm{ref}\) and \(V_\mathrm{ref}\) are fixed at 10 kHz, 200 A and 400 V, and \(V_{ce0}\), \(R_\mathrm{on}\) and \(E_\mathrm{sw}\) are fitted, none negative.

Why two voltages. At one voltage the threshold term \(2 V_{ce0} I\) and the switching term are both proportional to \(I\), and no fit can tell them apart. Fitted at 400 V alone, the switching energy comes out zero and 700 V is predicted 748 W RMS off. So the inverter is fitted to the 250 and 400 V sweeps, and 550 V, 700 V and the cycles are predictions.

The motor map is built from the 700 V motoring points: the efficiency \(P_\mathrm{mech}/(P_\mathrm{mech} + P_\mathrm{loss})\) on a 10 N m by 250 rpm grid, interpolated linearly between the measured points and filled outward from the nearest. There is no generating point, so the map has no generating side, and regeneration reads the motoring map, which is what MappedEMotor does when eff_grid_gen is not given.

Run it

python examples/validation/yasa_p400/run_validation.py --fetch

downloads the workbook once and prints every number below, in about 20 s. --identify refits model_parameters.py first. Reading the workbook needs openpyxl.

Results

The inverter's loss at 550 and 700 V predicted from 250 and 400 V, a stretch of the UDDS cycle, and the motor's cycle loss energy

Left: the inverter loss against the phase current, fitted on 250 and 400 V (grey) and predicted at 550 and 700 V. Middle: three hundred seconds of the UDDS at 700 V, the inverter's measured and predicted loss, and what the analyser reads at zero current. Right: the error of the motor's loss energy over each cycle, in total and split into motoring and regenerating.

The inverter in steady state (measured 2026-11-13). Fitted on 250 and 400 V: \(V_{ce0}\) = 0.83 V, \(R_\mathrm{on}\) = 8.1 mΩ, \(E_\mathrm{sw}\) = 13.9 mJ. Model minus measured, over every point of each sweep:

DC link RMS mean largest loss at the median point
250 V (fitted) 45 W -3 W 117 W 749 W
400 V (fitted) 39 W +20 W 126 W 710 W
550 V 131 W +11 W 583 W 772 W
700 V 247 W -51 W 942 W 1002 W

The losses reach 6.5 kW at 700 V. The largest errors are at the highest currents, where the measured loss rises faster than the law's: a per-voltage fit's \(I^2\) coefficient grows from 14.6 to 27.1 mW/A² from 250 to 700 V, a coupling of current and voltage the law does not have. An unconstrained fit over all four sweeps with the switching term's voltage exponent left free puts it at 1.5, and barely improves on the exponent 1: 92 against 95 W RMS.

The inverter on the cycles. At a phase current below 3 A the analyser reads the inverter loss as -88 W (UDDS), -132 W (HWFET), -105 W (LA92) and -112 W (US06). That is not a loss: the inverter loss is a difference of two powers of up to 170 kW, and this is the analyser's zero. It makes the measured energy over a cycle unusable as a reference, since HWFET's whole measured inverter energy is 22.5 Wh and 100 W over its 765 s is 21 Wh. So the cycles are compared second by second, in bands of phase current, as measured and net of that zero:

Cycle 3-40 A, mean net 40-100 A, mean net 100-400 A, mean net
UDDS +105 W +17 +80 W -7 +29 W -59
HWFET +133 W +1 +106 W -26 +48 W -84
LA92 +124 W +20 +99 W -6 +18 W -87
US06 +131 W +19 +114 W +3 -2 W -113

Below 100 A the law, fitted in steady state, follows the cycles to within 26 W once the analyser's zero is allowed for. Above 100 A it reads 59-113 W low, 3-8 % of the 1.2-2 kW lost there, the same high-current shortfall as in steady state.

The motor. Loss energy over each cycle, model against measured:

Cycle total motoring regenerating
UDDS 222.8 / 203.1 Wh, +9.7 % -1.6 % +51.8 %
HWFET 249.0 / 245.3 Wh, +1.5 % -0.5 % +27.0 %
LA92 328.4 / 297.9 Wh, +10.3 % -1.4 % +45.8 %
US06 274.1 / 271.6 Wh, +0.9 % -8.7 % +52.5 %

A map built from steady points predicts a transient cycle's motoring loss to within 2 % on three cycles and 9 % on the hardest. The whole error of the total is regeneration, which the motoring map overstates by 27-52 %: at the same torque and speed this machine loses less generating than motoring. The authors' own PMSM model, tabulated in the workbook, reads the UDDS 9.4 % high, for comparison. A user with generating data should give it as eff_grid_gen; without it, aeolus1d's default overstates regenerative loss, and that is now a documented limitation.

Not covered: the generating side of the map (the sweeps have none), the motor map's own dependence on the DC voltage (the cycles are at the map's 700 V), temperature, and the authors' own PMSM model, which the workbook also holds.

Reproduce the figure

python scripts/validation_figures.py yasa_p400

It needs the workbook fetched and draws from the committed parameters and pass_criteria.toml.