OpenLab Python Client

OpenLab Python Client

Introducing, the new OpenLab Python client! Programmatically interact with OpenLab Drilling data or create and control a new simulation with the free OpenLab Python API. You can download the package from our Downloads page here. Or if you have Python 3.4+, simply run the command “pip install openlab” from a command line to download the package. Once downloaded, follow the README instructions provided in the folder to get started. And read more about OpenLab here!

Creating a simulation is made easy

You can create a simple simulation or pass in more advance optional parameters like influx type or time step if a transient model is desired.

Running a simulation is even easier


Machine Learning

Utilize python’s rich library collections to interact with OpenLab as you want. Python shines with machine learning. In fact, the OpenLab Python client has already been utilized in the industry with machine learning (Ambrus and Saadallah 2018).


Jupyter/Teaching aid

Get to know both Jupyter notebooks and the OpenLab python client. The python package comes packaged with a Jupyter notebook section and several tutorials designed to be both a python teaching aid, as well as a guide on how to use the OpenLab python client.

Using these Jupyter notebooks, you can then share live simulation code snippets and run and share them with colleagues and classmates in a web browser.


Process Control

Drilling automation is all about process control. Use the provided PI Controller class or create your own controller to create complex simulations and explore control systems.

Example setup for the PI Controller
The sweep.py example that comes with the python client utilizes the PI controller to maintain bottom hole pressures at different flow rates by automatically adjusting the choke opening

With the OpenLab python client, it is easy to get and interact with results and simulations however you want. Below are just a few more examples of the possibilities:

  • Compare 2 simulations that were run in the browser to isolate differences
  • Run a simulation with outside influence (e.g. drilling data from another program)
  • Much, much more

Try now for free at live.openlab.app!

Who is using OpenLab:

  • University of Stavanger
  • NTNU
  • Aker BP
  • Maersk Drilling
  • Equinor
  • University of Calgary