0% found this document useful (0 votes)
41 views8 pages

Python Examples

This document provides examples of using Python to analyze oil and gas data. The first example generates thermodynamic properties using Standing's Method. The second example creates contour maps to view petrophysical properties from well data. The third example creates a production monitoring dashboard by reading an Excel file with production parameters. General guidelines for each example include importing libraries, manipulating data, creating plots, and exporting results.

Uploaded by

Dihbash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views8 pages

Python Examples

This document provides examples of using Python to analyze oil and gas data. The first example generates thermodynamic properties using Standing's Method. The second example creates contour maps to view petrophysical properties from well data. The third example creates a production monitoring dashboard by reading an Excel file with production parameters. General guidelines for each example include importing libraries, manipulating data, creating plots, and exporting results.

Uploaded by

Dihbash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

PRACTICAL EXAMPLES

Nashat Jumaah Omar


EXAMPLE #1
First example will be utilizing python to generate thermodynamic
properties of solution gas oil ratio for different pressure ranges using
Standing’s Method.
Main Correlation Expected Result
EXAMPLE #1
Multiple libraries can be used to achieve the desired solution. Here are
some general guideline to achieve the final solution:

1- Define Input Data.


2-Generate lists of pressure and temperature(optional)
3-Create a loop to calculate equations
4-Plot equation.
5-View the plot.
EXAMPLE #2
This example will lead you to create contour maps (will fill options) to
view porosity, permeability, depth, etc
Generated Map

Required file:
Header file that contains
all necessary information
about well locations and
other petrophysical
properties.
EXAMPLE #2

Change Well Shapes Try these color maps


EXAMPLE #2
General Guidelines to achieve the presented solution
1- Import plotting library
2-Import Data Manipulation Library (Pandas)
3-Create Plots.
4-Setup Plots(title, size, axes)
5-Export Plot to PDF.
EXAMPLE #3
This example will help you create production monitoring dashboard by
reading excel sheets.

Required file:
Production file with basic
production parameters
EXAMPLE #3
General Guidelines to achieve the presented solution
1- Import plotting library
2-Import Data Manipulation Library (Pandas)
3-Import Dashboard Library(Streamlit)
4-Create Plots.
5-Create Some Metrics

You might also like