Optimal control of hybrid dynamical systems with the maximum principle: application to a nonlinear chemical process | IEEE Conference Publication | IEEE Xplore