Skip to main content

The one-stop python toolkit for Flow Assurance workflows

Project description

Pontem Analytics Logo

Welcome to pypontem

GitHub release License Python Version

pypontem is a Python-based library designed for postprocessing simulation outputs generated by OLGA, a leading transient multiphase flow simulator. It helps flow assurance engineers efficiently extract, organize, and analyze simulation data.

Table of Contents

Key Features

  • Metadata Extraction – Retrieve simulation metadata (e.g., version, title, author).
  • Branch Analysis – Identify branch names and extract elevation profiles.
  • Variable Search – Search variable catalogs based on name, location, or pipeline section.
  • Trend Data Extraction – Extract time-series data from TPL files.
  • Profile Data Extraction – Extract spatial profile data from PPL files.
  • Unit Conversion – Seamless and robust handling of unit transformations.

Installation

pypontem requires Python 3.12.3. Follow these steps to install:

# Create a new Conda environment
conda create -n pypontem_env python=3.12.3 jupyter 

# Activate the environment
conda activate pypontem_env

# Install the package
pip install pypontem

Usage Example

Once installed, you can start using pypontem as follows:

from pypontem.tpl.tplparser import tplParser

# Load a sample OLGA simulation file
tpl = tplParser(r'example_tpl.tpl')

# Extract metadata from a tpl file
metadata = tpl.metadata
print(metadata)

For a detailed walkthrough, check the official documentation.

Contributing

We welcome contributions! Follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes and commit them.
  4. Submit a pull request for review.

Authors

  • Pontem Analytics

Further Resources

License

This project is licensed under the MIT License.

Contact & Support

For support, feature requests, or bug reports, open an issue in the GitHub repository

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

pypontem-1.0.8.tar.gz (8.5 MB view details)

Uploaded Source

Built Distribution

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

pypontem-1.0.8-py3-none-any.whl (29.7 kB view details)

Uploaded Python 3

File details

Details for the file pypontem-1.0.8.tar.gz.

File metadata

  • Download URL: pypontem-1.0.8.tar.gz
  • Upload date:
  • Size: 8.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for pypontem-1.0.8.tar.gz
Algorithm Hash digest
SHA256 e6a113085486da7808b76361515cec9919396970fbbb11ebe9e5d603908f8d46
MD5 53ed3786f40df11c7657bc9c2da9682b
BLAKE2b-256 eb5f3b4d467ab4c0785b5e8f6f08706c1f1cb36686c630e63c181c424a34a2f9

See more details on using hashes here.

File details

Details for the file pypontem-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: pypontem-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 29.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for pypontem-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a0c7dd441950674e112e924d96b079461dd41d671614afb6161130c3420d8c3d
MD5 39b8de4ef90bf3c23426812b22b4580c
BLAKE2b-256 50020e46fe06b23f3b041f79e6a2849ad57ce7584acb7ec8f0ea6f2a33169f56

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