A nonlinear model predictive control solution for a hybrid dynamic system: NASA life support system | IEEE Conference Publication | IEEE Xplore