Comparison of Prandtl–Ishlinskii and Preisach modeling for smart devices applications