Text this: Design of the magnetic hysteresis mathematical model based on Preisach theory