Drilling Library: A Modelica library for the simulation of well construction

Reza Dadfar
Modelon, Sweden

Stéphane Velut
Modelon, Sweden

Per-Ola Larsson
Modelon, Sweden

Mathias Strandberg
Modelon, Sweden

Håkan Runvik
Modelon, Sweden

Johan Wíndahl
Modelon, Sweden

Pål Kittilsen
Equinor, Norway

John-Morten Godhavn
Equinor, Norway

Åsmund Hjulstad
Equinor, Norway

Ladda ner artikelhttp://dx.doi.org/10.3384/ecp18154246

Ingår i: Proceedings of The American Modelica Conference 2018, October 9-10, Somberg Conference Center, Cambridge MA, USA

Linköping Electronic Conference Proceedings 154:26, s. 246-253

Visa mer +

Publicerad: 2019-02-26

ISBN: 978-91-7685-148-7

ISSN: 1650-3686 (tryckt), 1650-3740 (online)


A Modelica library for the simulation of well construction (drilling) is presented in this paper. The library contains most of the components of a drilling system. The simulation model is capable to capture the main dynamics of the well, including the hydraulics, the mud transport, the mechanics of the drill string as well as the drill bit interaction with the bore hole. The library is well suited to simulate the well operation and to support the development of new technologies. The modelling assumptions of the library’s components are first reviewed. Subsequently, an experiment is performed to test the rotational and translational frictions.


Drilling library, fluid-structure interaction, well construction, borehole, surge and swab, mud, Modelica.


Aleksandersen, J., & Vestavik, O. M. (2015). Dual-Drillpipe Method Shows Success in PMCD Wells With Cuttings Return. Journal of Petroleum Technology, 67, 32-35. doi:10.2118/0415-0032-JPT

Bjørkevoll, K. S., Molde, D. O., Rommetveit, R., & Syltoy, S. (2008). MPD operation solved drilling challenges in a severely depleted HP/HT reservoir. IADC/SPE Drilling Conference. doi:10.2118/112739-MS

Cayeux, E., Skadsem, H. J., Daireaux, B., & Holand, R. (2017). Challenges and solutions to the correct interpretation of drilling friction tests. SPE/IADC Drilling Conference and Exhibition. doi:10.2118/184657-MS

Chin, W. C. (2012). Managed pressure drilling: modeling, strategy and planning. Gulf Professional Publishing.

de Wardt, J. (2014). The drilling business model: driver or inhibitor of performance and innovation. IADC/SPE Drilling Conference and Exhibition. doi:https://doi.org/10.2118/167933-MS

Eck-Olsen, J., Pettersen, P.-J., Ronneberg, A., Bjørkevoll, K. S., & Rommetveit, R. (2005). Managing pressures during underbalanced cementing by choking the return flow; innovative design and operational modeling as well as operational lessons. SPE/IADC Drilling Conference. doi:10.2118/92568-MS

Fritzson, P. (2014). Principles of object-oriented modeling and simulation with Modelica 3.3: a cyber-physical approach. John Wiley & Sons.

Gerogiorgis, D. I. (2006). Dynamic oil and gas production optimization via explicit reservoir simulation. Computer Aided Chemical Engineering, 21, 179-184. doi:10.1016/S1570-7946(06)80043-X

Godhavn, J.-M., Hauge, E., Molde, D. O., Kjøsnes, I., Gaassand, S., Fossli, S. B., & Stave, R. (2014). ECD Management Toolbox for Floating Drilling Units. Offshore Technology Conference. doi:10.4043/25292-MS

Johancsik, C. A., Friesen, D. B., & Dawson, R. (1984). Torque and drag in directional wells-prediction and measurement. Journal of Petroleum Technology, 36, 987-992. doi:10.2118/11380-PA

Kaasa, G.-O., Stamnes, Ø. N., Aamo, O. M., & Imsland, L. S. (2012). Simplified hydraulics model used for intelligent estimation of downhole pressure for a managed-pressure drilling control system. SPE Drilling & Completion, 27, 127-138. doi:10.2118/143097-PA

Kvernland, M., Christensen, M. Ø., Borgen, H., Godhavn, J.- M., Aamo, O. M., & Sangesland, S. (2018). Attenuating Heave-Induced Pressure Oscillations using Automated Down-hole Choking. IADC/SPE Drilling Conference and Exhibition. doi:10.2118/189657-MS

Skillingstad, T. (2000). At-bit inclination measurements improves directional drilling efficiency and control. IADC/SPE Drilling Conference. doi:10.2118/59194-MS

Zamora, M., & Power, D. (2002). Making a case for AADE hydraulics and the unified rheological model. AADE 2002 Technology Conference Drilling & Completion Fluids and Waste Management, Houston, USA.

Zamora, M., Roy, S., & Slater, K. (2005). Comparing a basic set of drilling fluid pressure-loss relationships to flow-loop and field data. AADE 2005 National Technical Conference and Exhibition, (ss. 5-7).

Citeringar i Crossref