A new model for the control and prediction of oil drilling operations