We demonstrate how to optimize the yield of a simple gas‐phase chemical reactor from first principles using the tools of PDE‑constrained optimization. This repository contains the code behind Hannes ...