axfluxmdo.validation¶
axfluxmdo.validation.sim2real ¶
Simulation-to-analytical residual analysis.
Compares a GetDP open-circuit gap-field solution against the Phase-1 load line and fundamental, and extracts an effective Carter factor from a slotless/slotted solution pair.
compare_open_circuit ¶
compare_open_circuit(motor: AxialFluxMotor, solution: GapFieldSolution, *, magnet_temp_c: float) -> OpenCircuitComparison
Residuals between the analytical layer and an FEA gap-field solution.
magnet_temp_c is a required keyword: the caller must state the magnet
temperature the analytical side is evaluated at (65 °C corresponds to the
default operating point).
Source code in src/axfluxmdo/validation/sim2real.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | |
measured_carter_factor ¶
measured_carter_factor(slotless: GapFieldSolution, slotted: GapFieldSolution, motor: AxialFluxMotor) -> float
Effective Carter factor extracted from a slotless/slotted FEA pair.
Inverting the load line with BOTH solutions cancels the common fringing bias: with B_sl/B_st the under-magnet means,
k_C = ((B_sl/B_st) * (t_m + mu_r*g) - t_m) / (mu_r * g)
Closure property: airgap_flux_density(..., carter_factor=k_C) then
reproduces the slotted FEA mean (up to the shared fringing bias).
Source code in src/axfluxmdo/validation/sim2real.py
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |