Good flow and pressure control is essential for successful Underbalanced Drilling (UBD) operations. This work evaluates the use of Model Predictive Control (MPC) for integrated control of well conditions and the topside separation system during UBD. The downhole well pressure, separator liquid levels, and the separator pressure are controlled by manipulation of the rig pump, the choke, and the ...