An inductor's losses worked out after the run (R-E10): what its winding loses
to its AC resistance and its core to the flux's swing, from the reported run's
last period. The circuit itself has the winding's DC resistance (and a constant
core resistor, core_R_ohm, where one is given); these come on top, from two
fields of an inductor:
AC_R_ohm [[f_Hz, R_ohm], ...]: the winding's resistance against frequency
(a datasheet's ACR curve, or a measurement). Each harmonic n of
the winding's current I_n (RMS) loses (R(n f) - DCR) I_n^2 more
than the DCR the circuit has. Between the points R is
interpolated on log-log axes; below the first the excess over DCR
falls as f^2 (eddy and proximity losses at low frequency); above
the last R grows as sqrt(f) (skin effect). The current's AC above
the harmonics taken (HARMONICS) is put at the last one's
resistance.
core_loss {k, alpha, beta, turns, Ae_m2, Ve_m3}: the core material's
Steinmetz fit, P = k f^alpha B^beta in W/m^3 with f in Hz and B
the peak flux density in T (core_k_si converts a datasheet's k
for mW/cm^3, kHz and mT), and the core's turns, effective area
and volume. The loss is the improved generalised Steinmetz
equation's (iGSE) for the flux's own waveform, B from the
winding's voltage less its resistance's drop: one major loop a
period, and no DC-bias or relaxation terms (a ferrite under DC
bias loses more). A transformer's core is one winding's: give
core_loss on one of its windings.
Both go to the part (core_loss_W, AC_winding_loss_W, and their sum added_loss_W,
which the thermal model counts on its footprint) and to the case's loss; the
efficiency counts them as drawn from the source on top of what the run drew
(first order: the run's currents are as they would be with them).