Planning Managed Pressure Drilling With Two-Phase Fluid in a Depleted Reservoir