Thank you all for you fast response, but what I am looking for is a real time algorithm to solve the Jiles-Atherton equation. In other words, given the voltage across the inductor V(t) at time t I want to be able to calculate the H(t)-M(t) at time t. Best Alejandro