Piecewise linear mu_r(H) interpolation
function mu_rApprox extends Modelica.Icons.Function; input Integer N "Count of nodes"; input SI.MagneticFieldStrength Hk[N] "Field strength coefficients"; input SI.MagneticFluxDensity Bk[N] "Flux density coefficients"; input SI.MagneticFieldStrength H "Field strength in ferromagnetic flux tube element"; output SI.RelativePermeability mu_r "Relative magnetic permeability of ferromagnetic flux tube element"; end mu_rApprox;