Skip to main content

Well Temperature Distribution

Project description

Index

Contributors

See the full list of contributors involved in this project.

Introduction

Pwptemp is a small LGPL licensed library for easy calculation of the temperature distribution along the well. Features are added as they are needed; suggestions and contributions of all kinds are very welcome.

To catch up on the latest development and features, see the changelog.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Get pwptemp

  • Users: Wheels for Python from PyPI
    • pip install pwptemp
  • Developers: Source code from github
    • git clone https://github.com/pro-well-plan/pwptemp

Tutorial

You can use the package by creating a new file and by following the instructions provided below.

Basics

  1. Installing the package:

    Option 1: Go to project interpreter settings and search pwptemp.

    Option 2: Go to the terminal and type pip install pwptemp

  2. Import pwptemp:

import pwptemp
  1. Import the dictionary with default values:
tdata = pwptemp.input.tdict(deltaz)
  1. Define wellpath (create a vertical well):
depths = pwptemp.wellpath.get(target_depth, deltaz)
  1. Create a new well instance:
well = pwptemp.input.set_well(tdata, depths)
  1. Calculating temperature distribution:
temp_distribution = pwptemp.main.temp_time(circulation_time, well)

*circulation_time in hours

  1. Plotting Temperature profile:
pwptemp.graph.plot_temp_profile(temp_distribution, well)

Inputs

Around 43 data inputs (such as depths, diameters, temperatures, densities and operation parameters) are involved in pwptemp. However default values are provided in order to only change the parameters that the user wants to load.

Outputs

Pwptemp allows users to count with heat data for different sections of a well and also to calculate the temperature values at certain circulation times (drilling operation).

Temperature of the fluid inside the Drill String (Tdsi)
Temperature of the Drill String Wall (Tds)
Temperature of the fluid inside the Annular (Ta)
Temperature of the Casing (Tcsg)
Temperature of the Riser (Tr)
Temperature of the Surrounding Space (Tsr)
Temperature of the Formation (Tfm)

Diapositiva1

Note 1: Above seabed, casing section is replaced with the riser and surrounding space would be sea water.

Note 2: Beyond the 'undisturbed formation zone' the temperature keeps constant (Tfm).

Distribution Scheme

Contributing

Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

History

Pwptemp was initially written and is maintained by Pro Well Plan AS as a free, simple, easy-to-use way of getting temperature data that can be tailored to our needs, and as contribution to the free software community.

License

This project is licensed under the GNU Lesser General Public License v3.0 - see the LICENSE file for details

for further information contact juan@prowellplan.com

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

pwptemp-0.0.8.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

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

pwptemp-0.0.8-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file pwptemp-0.0.8.tar.gz.

File metadata

  • Download URL: pwptemp-0.0.8.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.4

File hashes

Hashes for pwptemp-0.0.8.tar.gz
Algorithm Hash digest
SHA256 64d2322a9c7f35dda833e169a0d61f142d3a99e4970a4218ed7c4cb72335324a
MD5 583667a6146658fa38d1f4e7184e6ff4
BLAKE2b-256 a8e0f1e6ddb3bcf9228a3526b42eb23c10ea14424b52fd61cb1b85f0e46b7b6f

See more details on using hashes here.

File details

Details for the file pwptemp-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: pwptemp-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.4

File hashes

Hashes for pwptemp-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e9ac107193805e3d043a9dc12e531562ffc33dd04d3f9401ec8f76aeed39c38f
MD5 c393ab0d2e48c16c0fbc1972d87e112e
BLAKE2b-256 5e0ae434669a1f263536f0ff2b30d4756743dd597cbf3518a5dcb43f1c187da8

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