Cleaning-in-Place optimisation