Skip to main content

Calculate well routing based on IOC routing tags

Project description

well-routing

Calculate well routing based on IOC rate distribution models "8002 - Rate distribution", flowline models "8110 - FLOWLINE RATE" and manifold models "8200 - MANIFOLD RATE". Also queries a list of known wells, pipes and separators.

Creates a set of Nodes and Edges and converts them to a directed graph structure for pathfinding and optimization.

Example Usage

The populate.py script demonstrates how to use these classes:

from classes import Graph

start_time = "01-Dec-2025"
stop_time = "05-Dec-2025"
chosen_time = "01-Dec-2025 12:00"

g = Graph.get_asset_graph(
            stid_code=asset, start_time=start_time, stop_time=stop_time
        )
G = g.convert_to_networkx(timestamp=pd.to_datetime(chosen_time))

Installation

Install for use

Install from pypi using bash pip install well-routing.

Development

Clone repository bash git clone https://github.com/equinor/well-routing and install dependencies using uv bash uv sync.

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

well_routing-0.2.0.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

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

well_routing-0.2.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file well_routing-0.2.0.tar.gz.

File metadata

  • Download URL: well_routing-0.2.0.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.1 CPython/3.12.3 Darwin/25.2.0

File hashes

Hashes for well_routing-0.2.0.tar.gz
Algorithm Hash digest
SHA256 805c192309831a0cf60f1dd0bdb8e1d67d520fb402cd39e7f6b2f5980bfcd9dd
MD5 dff7fe60c6d30a4c25d5d254e731fc33
BLAKE2b-256 2b6ae60157d98b966ddf0b8be735094c8b45466cba40aca1af68f8571bbfebe0

See more details on using hashes here.

File details

Details for the file well_routing-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: well_routing-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.1 CPython/3.12.3 Darwin/25.2.0

File hashes

Hashes for well_routing-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d055c0448c75a51cbf9212ba7339d9a1a5200504ba9ff2c5c9b0d526ab31bbc8
MD5 4a160fea8f3fc2faa167bd3c1ca00d06
BLAKE2b-256 4c99aeffc3d05e81a2e0cf1d4e9a6f04f0869b747885d678cb85480c9a451f47

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