Accounting for dynamics in flexible process design: A switchability index. (February 2021)