Skip to main content

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

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


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

pywellgeo-0.0.2.tar.gz (71.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pywellgeo-0.0.2-py3-none-any.whl (65.2 kB view details)

Uploaded Python 3

File details

Details for the file pywellgeo-0.0.2.tar.gz.

File metadata

  • Download URL: pywellgeo-0.0.2.tar.gz
  • Upload date:
  • Size: 71.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for pywellgeo-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a4c40954b4209c06f5ec3a7ee9b9d59cfe97510009b52a3f30a03dfc294918d0
MD5 c689ebf2b9a303aa32221e43c0006d2c
BLAKE2b-256 681675b9500e72f1547a8bf2c0095b34b8e027c5a38d82b369c5690b09e087e2

See more details on using hashes here.

File details

Details for the file pywellgeo-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pywellgeo-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 65.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for pywellgeo-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f4406faf05a97aa94e3391e366665622df5a09fb1ff772aaf16435ebba56853c
MD5 a14f9a710e9a56a55ef606420f2d707d
BLAKE2b-256 fadc4312e0f91b41074103369c923df3cf8228795f067bfbe85247f45af5beaa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page