A hybrid system approach to modeling and optimal control of DISC engines