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.1.0.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.1.0-py3-none-any.whl (65.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pywellgeo-0.1.0.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.1.0.tar.gz
Algorithm Hash digest
SHA256 bfc3746534c13320cf7dd6883f12dffe60c385ab1d765ea071b2211a8e1c0452
MD5 4b57a17ddfbc4b71f4bafd02651e863f
BLAKE2b-256 47c9d6a7a8fe1d0865036e6e1388af75aafda5e4b6266ab8176812fc55813f45

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywellgeo-0.1.0-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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54cbf408c38ec2c04a78e925f7d8896a980c601f34c0edb4b8f19bf6e568f4fd
MD5 70f5dea484d97cd8adc25791835b3eeb
BLAKE2b-256 c2f6f6036507dced0e797319a318adf69a872029fcb0f673ad0f5c06e7bc9fce

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