Skip to main content

Toolbox for Flow Assurance engineers

Project description

Documentation Status Binder

Pyfas

Pyfas is a python toolbox for flow assurance engineers.

Wrappers

At this moment in time the toolbox contains wrappers for:

  • OLGA
  • Unisim Design
  • GAP
  • Pipesim (via OpenLink, for all the versions <= 2012.4)

Olga is the standard de facto for the dynamic simulations of multiphase systems (single pipelines or complex network) in the oil and gas indistry. The simulator has text input and output files; with pyfas you can expose Olga results to python (both trends and profiles) or dump all the results to excel/csv for your post-precessing.

UnisimDesign is mainly a process simulator but can be used also to simulate pipelines or networks in particular providing some external components. Differently from Olga Unisim (unfortunately) does not use text input or output files, the only way to communicate with the software is via a COM interface using pywin32. Pyfas does not pretend to exposes all the possible functionalities of Unisim, only a very limited subset is available at the moment.

PipeSim is a steady state simulator for both single branches or networks

Utilities

  • Tab files processing
  • Surge volume calculation
  • PIRead functionality

Tab files are look-up tables with specific thermodynamic properties at given pressure and temperature intervals used for flash calculations by dynamic simulators. These files are generated by thermodynamic simulators (like PTVTsim) and it is good practice to have a look on this information before a dynamic simulation. With pyfas it is possible to generate 3d plots of all the properties and examine more in detail critical ones.

The surge volume calculation utility returns the surge volume given a drain rate and a liquid flowrate time series. Not more than a simple discrete integration.

With PIRead it is possible to retrieve PI values from a PI server.

A live demo should be available here below (no installation required)

Binder

Installation

pip install pyfas

Examples and documentation

Documentation Status

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyfas-0.4.3-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

Details for the file pyfas-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: pyfas-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 44.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for pyfas-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b11fd01e82c3994e3f1bef0a132cf81ae03fa608a4ae1674d20679480852e8e9
MD5 2fb1323bb2de43814f0caf7e9d5bd54e
BLAKE2b-256 cd5fe3b09e1929f3dddb21c5895123bd90228692d6533e4f5337c014a4b56ae5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page