Different well parametrizations used in pywellfast and pythermonomics
Project description
PyWellGeo
PyWellGeo is a Python library for advanced well trajectory modeling, well data handling, and geothermal engineering workflows.
It provides tools for representing, analyzing, and visualizing complex well architectures, including multi-branch wells, and supports a variety of input formats and engineering calculations.
Features
- Flexible well trajectory modeling (vertical, deviated, multi-branch)
- Well data utilities (water properties, constants, DC1D well models)
- Well tree structures for advanced branching and perforation logic
- Geometric transformations (azimuth/dip, vector math)
- Integration with geothermal techno-economic workflows
Reference in the literature
The PyWellGeo has been used in:
Barros, E.G.D.; Szklarz, S.P.; Khoshnevis Gargar, N.; Wollenweber, J.; van Wees, J.D. Optimization of Well Locations and Trajectories: Comparing Sub-Vertical, Sub-Horizontal and Multi-Lateral Well Concepts for Marginal Geothermal Reservoir in The Netherlands. Energies 2025, 18, 627. DOI
Installation
Install the latest version using pip:
pip install pywellgeo
Or install from source:
git clone https://github.com/TNO/pywellgeo.git
cd pywellgeo
pip install .
Usage Examples
Load and Work with a Well Trajectory
from pywellgeo.welltrajectory.trajectory import Trajectory
# Create a trajectory from survey data or parameters
traj = Trajectory.from_xyz(
x=[0, 100, 200],
y=[0, 0, 0],
z=[0, -500, -1000]
)
print(traj.length())
print(traj.get_md_tvd())
Use Well Data Utilities
from pywellgeo.well_data.names_constants import Constants
print(Constants.GRAVITY)
Perform Azimuth/Dip Transformations
from pywellgeo.transformations.azim_dip import AzimDip
azim, dip = AzimDip.vector_to_azim_dip([1, 1, -1])
print(f"Azimuth: {azim}, Dip: {dip}")
Documentation
Full documentation is available at:
GitHub
License
GNU General Public License v3 (GPLv3)
Contact information
Stephan de Hoop (stephan.dehoop@tno.nl)
Acknowledgements
This study has been performed as part of the RESULT project (Enhancing REServoirs in Urban deveLopmenT: smart wells and reservoir development). RESULT has been subsidized through the ERANET Cofund GEOTHERMICA (EC Project no. 731117), by the Ministry of Economic Affairs and Climate Policy (the Netherlands), Rannis (Iceland) and GSI (Ireland).
For more examples and API details, see the online documentation.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pywellgeo-0.1.1.tar.gz.
File metadata
- Download URL: pywellgeo-0.1.1.tar.gz
- Upload date:
- Size: 72.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ead30558607c297352660e0db674cee4e89124fbfb5d75affd94c6492c602ea0
|
|
| MD5 |
f876419d2151d7c2cbf477dba5ce07a2
|
|
| BLAKE2b-256 |
7d97709623402d1a70427d7ae611374d93f0d3b1e95886f8128c6402274804d4
|
File details
Details for the file pywellgeo-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pywellgeo-0.1.1-py3-none-any.whl
- Upload date:
- Size: 65.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2acba86d8f89cfec949a61b6949c1a0998e2ed5f06937dc6e5ad43508662477
|
|
| MD5 |
7f768293c1b3627fdf445e7e8f28deb6
|
|
| BLAKE2b-256 |
2251b2b3812b78fc440e4617ba60467880d56eca31abc62d6fc4478ae6547160
|