how to simulate magnetic separation plants