Optimization of refining process by computer simulation.