Interactive modelling of magnetisation curves