Text this: Modeling of magnetization curves for computer-aided design