toddheitmann / PetroPy

A petrophysics python package for geoscience python computing of conventional and unconventional formation evaluation. Reads las files and creates a pandas dataframe of the log data. Includes a basic petrophysical workflow and a simple log viewer based on XML templates.
https://toddheitmann.github.io/PetroPy/
MIT License
177 stars 66 forks source link

Density of Gas #10

Open rayosclx opened 1 year ago

rayosclx commented 1 year ago

In fluid_properties(), case oil_api=0, the cited eq. 1.64 should have M instead of gas_grav. Because M=Magas_grav, and Ma= 28.9625 lbm/lbm-mol, then just replace gas_grav for 28.9625gas_grav. Densities will now make sense. Nice function, saved me a lot of time.