In this example, we'll see how software can be used to automate the analysis of operations data to optimize setpoints on controllers in a refinery when switching from production of a light crude blend to heavy crude.