The overall setup can be seen in Figure . An inline DLS device (Litesizer 500, Anton Paar), coupled with a PC using Visual Studio Code as the editor program for Python, facilitated online monitoring of the flow setup. Initially, the automated control code was developed by L.J. Weerarathna. Further development was undertaken to enhance the control of the third pump for adjusting concentrations, as well as the optimization algorithm. The Quartz cuvette was designed with inlet and outlet tubing to enable stop-flow conditions when using the DLS.