Modeling and Numerical Implementation of Managed-Pressure-Drilling Systems for the Assessment of Pressure-Control Systems