Skip to main content

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 pip install well-routing.

Development

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

Install with pygraphviz

Mac

Typically pygraph application is installed using brew on mac. brew install pygraph.

uv sync --all-extras \
    --config-settings=--global-option=build_ext \
    --config-settings=--global-option="-I$(brew --prefix graphviz)/include" \
    --config-settings=--global-option="-L$(brew --prefix graphviz)/lib"

Windows

See install documentation at https://pygraphviz.github.io/documentation/stable/install.html#manual-download.

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.3.0.tar.gz (11.8 kB 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.3.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: well_routing-0.3.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.7 Darwin/25.6.0

File hashes

Hashes for well_routing-0.3.0.tar.gz
Algorithm Hash digest
SHA256 de42db8f4c8200a9c7236982df2d0ab556b32b0b377d437ce6961def810f9b81
MD5 613dd21384323a3e0c74608613abc8d7
BLAKE2b-256 9a8531549cbb52671b952d004ce463008d4ab1850349e3451018c7be19512bc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: well_routing-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.7 Darwin/25.6.0

File hashes

Hashes for well_routing-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96d200862f20871046ffbfc07734e4833f406424fa69dd33bb775eb338968cdc
MD5 a47c8e9ba4f9339b42f4a30c97039272
BLAKE2b-256 f663f3af6775a1a20193e102240f4a6883ed608995ced75d5f3090ccefc79d5a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.7

2 files

0.2.6

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page