Skip to main content

Petres: lightweight Python library for reservoir grid modeling and visualization

Project description

Banner

Lightweight Python Library for Reservoir Grid Modeling and Simulation

DocumentationInstallationQuick Start

License Python Version Documentation

Introduction

Petres is a lightweight, open-source Python library for reservoir grid modeling, providing a fully programmatic approach to constructing Corner-Point grid models.

For complete documentation, see the Petres documentation.

Stability Notice
Petres is currently in early development. The API is not yet stable and may change without notice.

Why Petres?

  • Open Access: Free alternative for engineers and students without access to expensive commercial softwares.

  • Scriptable Modeling: Avoid UI complexity and work with code-driven workflows.

  • Fully Customizable: Integrate your own code alongside built-in methods.

  • AI Integration: Use the Python ecosystem to apply AI and Machine Learning techniques.

Features

  • Grid Generation: Construct Corner-Point, Rectilinear, and Regular grids.
    Apply boundary polygons to deactivate cells outside the target region.

  • Structural Modeling: Generate horizon and zone surfaces from well tops to support grid construction.

  • Property Modeling: Assign petrophysical properties to grid cells using stochastic or deterministic methods, derived attributes, or interpolation from well data.

  • Import & Export Grids: Handle Eclipse grids (SLB reservoir simulator) using the .GRDECL file format. Visualize and export modeled Corner-Point grids.

  • Visualization: Interactive 2D and 3D rendering of Corner-Point grids, structural zones, horizons, and spatial property distributions.

Getting Started

To get started with Petres, refer to the Installation Guide and the Quickstart Tutorial.

Technical Architecture

Component Implementation
Grid Operations High-performance, vectorized array computations using NumPy
2D Plotting Visualization via Matplotlib
3D Visualization Interactive rendering and mesh handling via PyVista
Kriging Interpolation Ordinary and Universal Kriging via PyKrige
RBF Interpolation Multi-dimensional Radial Basis Function interpolation via SciPy
IDW Interpolation In-house implementation of Inverse Distance Weighting

Contact

For questions or collaboration, please contact jamalbaylit@gmail.com or connect via LinkedIn.

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

petres-0.1.0.tar.gz (5.9 MB view details)

Uploaded Source

Built Distribution

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

petres-0.1.0-py3-none-any.whl (138.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: petres-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for petres-0.1.0.tar.gz
Algorithm Hash digest
SHA256 10fec58afc2716af2159fae6feea461172c3de1750c8baa4b103faff81686bad
MD5 6c5c0a3e7eea240db503d9885715acc5
BLAKE2b-256 5c5632fa704a7c3668ed2ae8b363caefc8a641a145fc9edd423df424b0b3d208

See more details on using hashes here.

Provenance

The following attestation bundles were made for petres-0.1.0.tar.gz:

Publisher: pypi.yml on jamalbaylit/petres

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: petres-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 138.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for petres-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81429194d18b90167638a7221f2cb78a4ac7bfbe591d5b3a8cfc400e3e1a1f9f
MD5 78170319914ac2d5499d0e34d0bc2ec5
BLAKE2b-256 5af08f48fdf1a40637f8484d28b2d34761f7fc91e6779d72bb6eb7ca14e79890

See more details on using hashes here.

Provenance

The following attestation bundles were made for petres-0.1.0-py3-none-any.whl:

Publisher: pypi.yml on jamalbaylit/petres

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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