To meet grand challenges in pharmacology, energy and sustainability, development of efficient chemical processes is essential. The pharmaceutical sector, in particular, has quality issues in manufacturing, resulting in risks of drug shortages and recalls. To achieve high yield while minimizing waste, there is a need for methods to analyze and improve a chemical process.