Simulation and experimental study of the dynamics of arsenic clustering and precipitation including ramp-up and ramp-down conditions