PINNeAPPle Request a quote

Electromagnetics

Two solvers agree to 0.19%, and both disagree with the paper

The Prius motor solved by our own FEM and by GetDP, an independent code, at 12 rotor positions. Both arrive at the same torque. Against the published benchmark, both drift the same distance.

When two codes written by different people, on different meshes, arrive at the same torque, the result has earned some credibility. When both drift from the published number by the same amount, the question moves: the problem is no longer the code, it is the model.

The case

The geometry is the 2010 Prius motor, one of the most used open benchmarks in electrical machines. Our FEM solves the field in 2D; GetDP, an independent finite-element solver, solves the same problem on the same geometry. That is 12 rotor positions and 960 points along the air gap.

|B| field and flux lines in the quarter machine of the Prius motor
The |B| field and the flux lines in the quarter machine, with the rotor at the maximum-torque-per-ampere position (250 A).

The numbers

Maximum torque difference between the two: 1.09 N·m, or 0.19% at the peak, with an RMS of 0.81 N·m. Back-EMF at 1000 rpm matches at 87.60 V against 87.64 V in the fundamental, and total harmonic distortion sits at 9.35% against 9.04%. Cogging ripple is where they differ most: 1.35 N·m against 1.05 N·m.

Torque across the 12 rotor positions, both solvers and the difference
Torque across the 12 rotor positions in both implementations, with the difference below. Where the curve is steepest, the relative difference is largest.

Against the published benchmark

Here the result is uncomfortable. Against the paper's curve, the RMS is 13.3 N·m for our FEM and 12.9 N·m for GetDP. Both drift from the paper by the same order, not from each other: the deviation belongs to the model, not the implementation, and that is what lets the discussion be about assumptions instead of a bug hunt.

What else runs in this example

Beyond the machine, the example covers six problems with exact solutions solved by a PINN: parallel-plate capacitor, Poisson with charge, dipole, infinite wire, plane wave and the TM mode of a cavity. Each one carries the analytical solution next to the network, which is the cheapest way to find out whether the method is implemented correctly before applying it to something without a known answer.

Why publish the deviation

A number that agrees with the paper hides which part of the model is wrong. Two numbers that agree with each other and disagree with the paper say exactly where to look.

0.19%maximum torque difference against GetDP, over 12 rotor positions
What was not proven: This is 2D magnetostatics: end effects, skew and losses are not in this comparison. Agreement between the two solvers measures numerical consistency, not accuracy against a test, and the roughly 13 N·m deviation from the published benchmark shows up equally in both, which points to a difference of model (geometry, materials, the 2D assumption), not to an implementation error.

Let's build your solution

Your engineering challenge could be our next project.

Talk to our team about Physics AI consulting or explore PINNeAPPle Studio for modeling and verification workflows.

Talk to an engineer