MODEL PREDICTIVE CONTROL ALGORITHM FOR A CLASS OF HYBRID SYSTEM