Git Product home page Git Product logo

gamma_dist's Introduction

gamma_dist

Fitting Whitson's Gamma Distribution to C10+ PVT sample composition

The algorithm is based on Curtis Whitson's work primarily extracted from Phase Behavior SPE Monograph (Volume 20) by Whitson and Brule.

Additional information sources are numerous papers on Gamma distribution which can be found at Whitson's website https://whitson.com/publications/ The paper I found to be particularly useful was the 2019 paper by Bilal Younus, Curtis Whitson et al "Field-Wide Equation of State Model Development". This paper can also be found at the download section of Whitson's website.

Note, this Gamma distribution fitting code assumes C10 as the starting component.

The script takes as input a .csv file with the following columns (column names are in square brakets):

  • 1st column [SCN]: SCN identifiers (e.g., C10, C11, C12 etc.);
  • 2nd column [mfi_lab]: mole fraction of component as per full composition;
  • 3rd column [wfi_lab]: weight fraction of component as per full composition.
  • Average sample molecular weight is entered in the main section of the code.

gamma_dist's People

Contributors

dimmol avatar

Watchers

 avatar

Forkers

alexandracely

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.