Introducing, the new OpenLab Python client! Programatically 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
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).
Get to know both jupyter notebook 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 this Jupyter notebook, you can then share live simulation code snippets and run and share them with colleagues and classmates in a web browser.
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.
With the OpenLab python client, it is easy to get and inteact 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!