Giter Site home page Giter Site logo

dilshad-geol / calculate-archie-water-saturations-after-fine-tuning-electrical-properties-to-pickett-and-buckles-pl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from philliec459/calculate-archie-water-saturations-after-fine-tuning-electrical-properties-to-pickett-and-buckles-pl

0.0 0.0 0.0 5.88 MB

Calculate Archie Water Saturations after Fine-Tuning Electrical Properties to Pickett and Buckles Plots using Python’s Panel Library

License: MIT License

Python 3.75% Lasso 4.53% HTML 0.02% Jupyter Notebook 91.70%

calculate-archie-water-saturations-after-fine-tuning-electrical-properties-to-pickett-and-buckles-pl's Introduction

Calculate-Archie-Water-Saturations-after-Fine-Tuning-Electrical-Properties-to-Pickett-and-Buckles-Pl

Calculate Archie Water Saturations after Fine-Tuning Electrical Properties to Pickett and Buckles Plots using Python’s Panel Library.

While experimenting with interactive python tools for our next GitHub repository, we came upon a python library called panel. Panel appears to provide the type of interaction that we need for our petrophysical analysis. This simple example represents work in progress, but we have placed this python tool in this GitHub repository for others to try use and hopefully improve upon what we have so far.

In the animated example below, we are calculating Archie water saturations from a Costa Field well. The panel tool shown below calculates a new water saturation as you vary the electrical properties (a, m and n) or Rw. The tool provides instantaneous results that are seen from from the changes in the saturation lines in the Pickett plot as well as the changes in BVW seen in the depth plot.

Panel provides the type of interactivity that allows the user to fine-tune their analysis using both the Pickett and Buckles plots. The Pickett plot is fundamental to our calculation of water saturations from conventional logs, and this tool allows you to build a better understanding of your data to develop a better feel for the sensitivity of each parameter used in the Archie water saturation calculation (a, m, n and Rw).

In this example well, the interval at the bottom of the depth plot appears to be wet. However, is this interval at 100% Sw or does it contain some residual oil? We do not have residual fluid saturations from core to allow us to make that determination, so we have made the assumption that this intervals is 100% water saturated for now.

In this example we adjust the m and Rw to give us 100% water saturations from logs for this lower interval. You can then adjust n to give you the expected BVW from the Buckles plot. We have added an Archie 'a' tortuosity parameter slider too for you to experiment with.

You can run this application by launching the Jupyter Notebool (*.ipynb file) and then running the entire file, or you can run the python .py file using the panel Editor + Server method with the following command line:

panel serve interactive_Sw_Pickett_Buclkes_DepthPlot_ver4.py --show --autoreload

There is also another way to run a .py file and that is the traditional method:

python pickett_real-time.py

With the help from Marc at Panel we were able to solve this problem. This method was necessary for implementation in Geolog.

def app():
    return pn.Row(pn.Column(button,  logo, text, pane[0], width=400, sizing_mode="fixed"), 

pn.layout.VSpacer(width=10),pane[1])

pn.serve({"localhost:": app}, port=5006)

We also added a button to kill the process:

from bokeh.models.widgets import Button
import sys

def button_callback():
    sys.exit()  # Stop the server
# Button to stop the server
button = Button(label="Stop", button_type="success")
button.on_click(button_callback)

From Craig Phillips GitHub repositories: (https://github.com/Philliec459)

Panel_log


calculate-archie-water-saturations-after-fine-tuning-electrical-properties-to-pickett-and-buckles-pl's People

Contributors

philliec459 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.