diff --git a/README.md b/README.md index 1f98c06..855ead2 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ GasCompressibility-py is a Python library for calculating the gas compressibility factor, $Z$, based on real gas law. It is designed with practical oil field application in mind, in which the required inputs ($T$, $P$, and $\gamma_{g}$) can be readily obtained from the surface facility. +If you like this package, please consider giving a star :star: on the top right corner! + ## 0. Documentation Have you ever had an experience of finding the package that piques your interest, only to give up a few moments later after finding out that it has an insane learning curve because the documentation sucks? Worry not. **The package comes with extensive documentation support.** If you have any questions or looking for tutorials, just skim through this README introduction or check out the [official documentation](https://aegis4048.github.io/GasCompressibility-py/theories.html). diff --git a/docs/_modules/piper.html b/docs/_modules/piper.html index f272f75..a30ff9f 100644 --- a/docs/_modules/piper.html +++ b/docs/_modules/piper.html @@ -366,9 +366,9 @@

Source code for piper

         self.K = None
         """Stewart-Burkhardt-VOO parameter K, (°R/psia^0.5)"""
         self.Tr = None
-        """pseudo-reduced temperature, Tr (°R)"""
+        """pseudo-reduced temperature, Tr (dimensionless)"""
         self.Pr = None
-        """pseudo-reduced pressure, Pr (psia)"""
+        """pseudo-reduced pressure, Pr (dimensionless)"""
 
         self.ps_props = {
             'Tpc': None,
@@ -542,7 +542,7 @@ 

Source code for piper

 
 
[docs] def calc_Tr(self, T=None, sg=None, Tpc=None, H2S=None, CO2=None, N2=None, J=None, K=None, ignore_conflict=False): """ - Calculates pseudo-reduced temperature, Tr (°R) + Calculates pseudo-reduced temperature, Tr (dimensionless) Parameters ---------- @@ -566,7 +566,7 @@

Source code for piper

         Returns
         -------
         float
-            pseudo-reduced temperature, Tr (°R)
+            pseudo-reduced temperature, Tr (dimensionless)
 
         """
         self._set_first_caller_attributes(inspect.stack()[0][3], locals())
@@ -579,7 +579,7 @@ 

Source code for piper

     """pseudo-reduced pressure (psi)"""
 
[docs] def calc_Pr(self, P=None, sg=None, Tpc=None, Ppc=None, H2S=None, CO2=None, N2=None, J=None, K=None, ignore_conflict=False): """ - Calculates pseudo-reduced pressure, Pr (psia) + Calculates pseudo-reduced pressure, Pr (dimensionless) Parameters ---------- @@ -603,7 +603,7 @@

Source code for piper

         Returns
         -------
         float
-            pseudo-reduced pressure, Pr (psia)
+            pseudo-reduced pressure, Pr (dimensionless)
         """
 
         self._set_first_caller_attributes(inspect.stack()[0][3], locals())
diff --git a/docs/_modules/sutton.html b/docs/_modules/sutton.html
index 10ca8c0..ac771eb 100644
--- a/docs/_modules/sutton.html
+++ b/docs/_modules/sutton.html
@@ -362,9 +362,9 @@ 

Source code for sutton

         self.Ppc_corrected = None
         """corrected pseudo-critical pressure, P'pc (psia)"""
         self.Tr = None
-        """pseudo-reduced temperature, Tr (°R)"""
+        """pseudo-reduced temperature, Tr (dimensionless)"""
         self.Pr = None
-        """pseudo-reduced pressure, Pr (psia)"""
+        """pseudo-reduced pressure, Pr (dimensionless)"""
 
         self.ps_props = {
             'Tpc': None,
@@ -551,7 +551,7 @@ 

Source code for sutton

 
 
[docs] def calc_Tr(self, T=None, Tpc_corrected=None, sg=None, Tpc=None, e_correction=None, H2S=None, CO2=None, ignore_conflict=False): """ - Calculates pseudo-reduced temperature, Tr (°R) + Calculates pseudo-reduced temperature, Tr (dimensionless) Parameters ---------- @@ -575,7 +575,7 @@

Source code for sutton

         Returns
         -------
         float
-            pseudo-reduced temperature, Tr (°R)
+            pseudo-reduced temperature, Tr (dimensionless)
         """
         self._set_first_caller_attributes(inspect.stack()[0][3], locals())
         self._initialize_T(T)
@@ -587,7 +587,7 @@ 

Source code for sutton

     """pseudo-reduced pressure (psi)"""
 
[docs] def calc_Pr(self, P=None, Ppc_corrected=None, sg=None, Tpc=None, Ppc=None, e_correction=None, Tpc_corrected=None, H2S=None, CO2=None, ignore_conflict=False): """ - Calculates pseudo-reduced pressure, Pr (psia) + Calculates pseudo-reduced pressure, Pr (dimensionless) Parameters ---------- @@ -615,7 +615,7 @@

Source code for sutton

         Returns
         -------
         float
-            pseudo-reduced pressure, Pr (psia)
+            pseudo-reduced pressure, Pr (dimensionless)
         """
         self._set_first_caller_attributes(inspect.stack()[0][3], locals())
         self._initialize_P(P)
diff --git a/docs/_modules/z_helper.html b/docs/_modules/z_helper.html
index 7eeac2c..76e8bed 100644
--- a/docs/_modules/z_helper.html
+++ b/docs/_modules/z_helper.html
@@ -505,9 +505,9 @@ 

Source code for z_helper

     N2 : float
         mole fraction of N2 (dimensionless). Available only when ``pmodel='piper'`` (default)
     Pr : float
-        pseudo-reduced pressure, Pr (psia)
+        pseudo-reduced pressure, Pr (dimensionless)
     Tr : float
-        pseudo-reduced temperature, Tr (°R)
+        pseudo-reduced temperature, Tr (dimensionless)
     pmodel : str
         choice of a pseudo-critical model.
         Check :ref:`Theories 1: Pseudo-Critical Property Models <theories:1. Pseudo-Critical Property Models>` for more information.
diff --git a/docs/build/doctrees/calc_z.doctree b/docs/build/doctrees/calc_z.doctree
index a1c9079..48a0a84 100644
Binary files a/docs/build/doctrees/calc_z.doctree and b/docs/build/doctrees/calc_z.doctree differ
diff --git a/docs/build/doctrees/environment.pickle b/docs/build/doctrees/environment.pickle
index f5a13dd..939569b 100644
Binary files a/docs/build/doctrees/environment.pickle and b/docs/build/doctrees/environment.pickle differ
diff --git a/docs/build/doctrees/functions/piper.Piper.calc_Pr.doctree b/docs/build/doctrees/functions/piper.Piper.calc_Pr.doctree
index 88e6789..b346339 100644
Binary files a/docs/build/doctrees/functions/piper.Piper.calc_Pr.doctree and b/docs/build/doctrees/functions/piper.Piper.calc_Pr.doctree differ
diff --git a/docs/build/doctrees/functions/piper.Piper.calc_Tr.doctree b/docs/build/doctrees/functions/piper.Piper.calc_Tr.doctree
index 726fb71..0f66b98 100644
Binary files a/docs/build/doctrees/functions/piper.Piper.calc_Tr.doctree and b/docs/build/doctrees/functions/piper.Piper.calc_Tr.doctree differ
diff --git a/docs/build/doctrees/functions/sutton.Sutton.calc_Pr.doctree b/docs/build/doctrees/functions/sutton.Sutton.calc_Pr.doctree
index b51116c..5aa252f 100644
Binary files a/docs/build/doctrees/functions/sutton.Sutton.calc_Pr.doctree and b/docs/build/doctrees/functions/sutton.Sutton.calc_Pr.doctree differ
diff --git a/docs/build/doctrees/functions/sutton.Sutton.calc_Tr.doctree b/docs/build/doctrees/functions/sutton.Sutton.calc_Tr.doctree
index 5b85c33..e7852e7 100644
Binary files a/docs/build/doctrees/functions/sutton.Sutton.calc_Tr.doctree and b/docs/build/doctrees/functions/sutton.Sutton.calc_Tr.doctree differ
diff --git a/docs/build/doctrees/piper.doctree b/docs/build/doctrees/piper.doctree
index d3d4b3b..65cd030 100644
Binary files a/docs/build/doctrees/piper.doctree and b/docs/build/doctrees/piper.doctree differ
diff --git a/docs/build/doctrees/sutton.doctree b/docs/build/doctrees/sutton.doctree
index f76d9b0..a0c67e6 100644
Binary files a/docs/build/doctrees/sutton.doctree and b/docs/build/doctrees/sutton.doctree differ
diff --git a/docs/build/html/_modules/piper.html b/docs/build/html/_modules/piper.html
index f272f75..a30ff9f 100644
--- a/docs/build/html/_modules/piper.html
+++ b/docs/build/html/_modules/piper.html
@@ -366,9 +366,9 @@ 

Source code for piper

         self.K = None
         """Stewart-Burkhardt-VOO parameter K, (°R/psia^0.5)"""
         self.Tr = None
-        """pseudo-reduced temperature, Tr (°R)"""
+        """pseudo-reduced temperature, Tr (dimensionless)"""
         self.Pr = None
-        """pseudo-reduced pressure, Pr (psia)"""
+        """pseudo-reduced pressure, Pr (dimensionless)"""
 
         self.ps_props = {
             'Tpc': None,
@@ -542,7 +542,7 @@ 

Source code for piper

 
 
[docs] def calc_Tr(self, T=None, sg=None, Tpc=None, H2S=None, CO2=None, N2=None, J=None, K=None, ignore_conflict=False): """ - Calculates pseudo-reduced temperature, Tr (°R) + Calculates pseudo-reduced temperature, Tr (dimensionless) Parameters ---------- @@ -566,7 +566,7 @@

Source code for piper

         Returns
         -------
         float
-            pseudo-reduced temperature, Tr (°R)
+            pseudo-reduced temperature, Tr (dimensionless)
 
         """
         self._set_first_caller_attributes(inspect.stack()[0][3], locals())
@@ -579,7 +579,7 @@ 

Source code for piper

     """pseudo-reduced pressure (psi)"""
 
[docs] def calc_Pr(self, P=None, sg=None, Tpc=None, Ppc=None, H2S=None, CO2=None, N2=None, J=None, K=None, ignore_conflict=False): """ - Calculates pseudo-reduced pressure, Pr (psia) + Calculates pseudo-reduced pressure, Pr (dimensionless) Parameters ---------- @@ -603,7 +603,7 @@

Source code for piper

         Returns
         -------
         float
-            pseudo-reduced pressure, Pr (psia)
+            pseudo-reduced pressure, Pr (dimensionless)
         """
 
         self._set_first_caller_attributes(inspect.stack()[0][3], locals())
diff --git a/docs/build/html/_modules/sutton.html b/docs/build/html/_modules/sutton.html
index 10ca8c0..ac771eb 100644
--- a/docs/build/html/_modules/sutton.html
+++ b/docs/build/html/_modules/sutton.html
@@ -362,9 +362,9 @@ 

Source code for sutton

         self.Ppc_corrected = None
         """corrected pseudo-critical pressure, P'pc (psia)"""
         self.Tr = None
-        """pseudo-reduced temperature, Tr (°R)"""
+        """pseudo-reduced temperature, Tr (dimensionless)"""
         self.Pr = None
-        """pseudo-reduced pressure, Pr (psia)"""
+        """pseudo-reduced pressure, Pr (dimensionless)"""
 
         self.ps_props = {
             'Tpc': None,
@@ -551,7 +551,7 @@ 

Source code for sutton

 
 
[docs] def calc_Tr(self, T=None, Tpc_corrected=None, sg=None, Tpc=None, e_correction=None, H2S=None, CO2=None, ignore_conflict=False): """ - Calculates pseudo-reduced temperature, Tr (°R) + Calculates pseudo-reduced temperature, Tr (dimensionless) Parameters ---------- @@ -575,7 +575,7 @@

Source code for sutton

         Returns
         -------
         float
-            pseudo-reduced temperature, Tr (°R)
+            pseudo-reduced temperature, Tr (dimensionless)
         """
         self._set_first_caller_attributes(inspect.stack()[0][3], locals())
         self._initialize_T(T)
@@ -587,7 +587,7 @@ 

Source code for sutton

     """pseudo-reduced pressure (psi)"""
 
[docs] def calc_Pr(self, P=None, Ppc_corrected=None, sg=None, Tpc=None, Ppc=None, e_correction=None, Tpc_corrected=None, H2S=None, CO2=None, ignore_conflict=False): """ - Calculates pseudo-reduced pressure, Pr (psia) + Calculates pseudo-reduced pressure, Pr (dimensionless) Parameters ---------- @@ -615,7 +615,7 @@

Source code for sutton

         Returns
         -------
         float
-            pseudo-reduced pressure, Pr (psia)
+            pseudo-reduced pressure, Pr (dimensionless)
         """
         self._set_first_caller_attributes(inspect.stack()[0][3], locals())
         self._initialize_P(P)
diff --git a/docs/build/html/_modules/z_helper.html b/docs/build/html/_modules/z_helper.html
index 7eeac2c..76e8bed 100644
--- a/docs/build/html/_modules/z_helper.html
+++ b/docs/build/html/_modules/z_helper.html
@@ -505,9 +505,9 @@ 

Source code for z_helper

     N2 : float
         mole fraction of N2 (dimensionless). Available only when ``pmodel='piper'`` (default)
     Pr : float
-        pseudo-reduced pressure, Pr (psia)
+        pseudo-reduced pressure, Pr (dimensionless)
     Tr : float
-        pseudo-reduced temperature, Tr (°R)
+        pseudo-reduced temperature, Tr (dimensionless)
     pmodel : str
         choice of a pseudo-critical model.
         Check :ref:`Theories 1: Pseudo-Critical Property Models <theories:1. Pseudo-Critical Property Models>` for more information.
diff --git a/docs/build/html/calc_z.html b/docs/build/html/calc_z.html
index e4e52ae..1fd81cb 100644
--- a/docs/build/html/calc_z.html
+++ b/docs/build/html/calc_z.html
@@ -399,8 +399,8 @@ 

gascompressibility.calc_zfloat) – mole fraction of H2S (dimensionless)

  • CO2 (float) – mole fraction of CO2 (dimensionless)

  • N2 (float) – mole fraction of N2 (dimensionless). Available only when pmodel='piper' (default)

  • -
  • Pr (float) – pseudo-reduced pressure, Pr (psia)

  • -
  • Tr (float) – pseudo-reduced temperature, Tr (°R)

  • +
  • Pr (float) – pseudo-reduced pressure, Pr (dimensionless)

  • +
  • Tr (float) – pseudo-reduced temperature, Tr (dimensionless)

  • pmodel (str) –

    choice of a pseudo-critical model. Check Theories 1: Pseudo-Critical Property Models for more information. Accepted inputs: 'sutton' | 'piper'

    diff --git a/docs/build/html/functions/piper.Piper.calc_Pr.html b/docs/build/html/functions/piper.Piper.calc_Pr.html index 41c526f..5a166a9 100644 --- a/docs/build/html/functions/piper.Piper.calc_Pr.html +++ b/docs/build/html/functions/piper.Piper.calc_Pr.html @@ -369,7 +369,7 @@
    Piper.calc_Pr(P=None, sg=None, Tpc=None, Ppc=None, H2S=None, CO2=None, N2=None, J=None, K=None, ignore_conflict=False)[source]#
    -

    Calculates pseudo-reduced pressure, Pr (psia)

    +

    Calculates pseudo-reduced pressure, Pr (dimensionless)

    Parameters:
      @@ -384,7 +384,7 @@
    Returns:
    -

    pseudo-reduced pressure, Pr (psia)

    +

    pseudo-reduced pressure, Pr (dimensionless)

    Return type:

    float

    diff --git a/docs/build/html/functions/piper.Piper.calc_Tr.html b/docs/build/html/functions/piper.Piper.calc_Tr.html index 9b71bcf..735c874 100644 --- a/docs/build/html/functions/piper.Piper.calc_Tr.html +++ b/docs/build/html/functions/piper.Piper.calc_Tr.html @@ -369,7 +369,7 @@
    Piper.calc_Tr(T=None, sg=None, Tpc=None, H2S=None, CO2=None, N2=None, J=None, K=None, ignore_conflict=False)[source]#
    -

    Calculates pseudo-reduced temperature, Tr (°R)

    +

    Calculates pseudo-reduced temperature, Tr (dimensionless)

    Parameters:
      @@ -384,7 +384,7 @@
    Returns:
    -

    pseudo-reduced temperature, Tr (°R)

    +

    pseudo-reduced temperature, Tr (dimensionless)

    Return type:

    float

    diff --git a/docs/build/html/functions/sutton.Sutton.calc_Pr.html b/docs/build/html/functions/sutton.Sutton.calc_Pr.html index 3baba45..4e1089c 100644 --- a/docs/build/html/functions/sutton.Sutton.calc_Pr.html +++ b/docs/build/html/functions/sutton.Sutton.calc_Pr.html @@ -369,7 +369,7 @@
    Sutton.calc_Pr(P=None, Ppc_corrected=None, sg=None, Tpc=None, Ppc=None, e_correction=None, Tpc_corrected=None, H2S=None, CO2=None, ignore_conflict=False)[source]#
    -

    Calculates pseudo-reduced pressure, Pr (psia)

    +

    Calculates pseudo-reduced pressure, Pr (dimensionless)

    Parameters:
      @@ -386,7 +386,7 @@
    Returns:
    -

    pseudo-reduced pressure, Pr (psia)

    +

    pseudo-reduced pressure, Pr (dimensionless)

    Return type:

    float

    diff --git a/docs/build/html/functions/sutton.Sutton.calc_Tr.html b/docs/build/html/functions/sutton.Sutton.calc_Tr.html index 1a73a03..efc3219 100644 --- a/docs/build/html/functions/sutton.Sutton.calc_Tr.html +++ b/docs/build/html/functions/sutton.Sutton.calc_Tr.html @@ -369,7 +369,7 @@
    Sutton.calc_Tr(T=None, Tpc_corrected=None, sg=None, Tpc=None, e_correction=None, H2S=None, CO2=None, ignore_conflict=False)[source]#
    -

    Calculates pseudo-reduced temperature, Tr (°R)

    +

    Calculates pseudo-reduced temperature, Tr (dimensionless)

    Parameters:
      @@ -384,7 +384,7 @@
    Returns:
    -

    pseudo-reduced temperature, Tr (°R)

    +

    pseudo-reduced temperature, Tr (dimensionless)

    Return type:

    float

    diff --git a/docs/build/html/piper.html b/docs/build/html/piper.html index e208bcd..8ebe102 100644 --- a/docs/build/html/piper.html +++ b/docs/build/html/piper.html @@ -495,10 +495,10 @@

    Methods

    calc_Tr

    -

    Calculates pseudo-reduced temperature, Tr (°R)

    +

    Calculates pseudo-reduced temperature, Tr (dimensionless)

    calc_Pr

    -

    Calculates pseudo-reduced pressure, Pr (psia)

    +

    Calculates pseudo-reduced pressure, Pr (dimensionless)

    @@ -545,10 +545,10 @@

    Attributes

    Tr

    -

    pseudo-reduced temperature, Tr (°R)

    +

    pseudo-reduced temperature, Tr (dimensionless)

    Pr

    -

    pseudo-reduced pressure, Pr (psia)

    +

    pseudo-reduced pressure, Pr (dimensionless)

    ps_props

    dictionary of pseudo-critical properties.

    diff --git a/docs/build/html/searchindex.js b/docs/build/html/searchindex.js index 41bfece..8217308 100644 --- a/docs/build/html/searchindex.js +++ b/docs/build/html/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["calc_z", "discussion", "functions/piper.Piper.calc_J", "functions/piper.Piper.calc_K", "functions/piper.Piper.calc_Ppc", "functions/piper.Piper.calc_Pr", "functions/piper.Piper.calc_Tpc", "functions/piper.Piper.calc_Tr", "functions/sutton.Sutton.calc_Ppc", "functions/sutton.Sutton.calc_Ppc_corrected", "functions/sutton.Sutton.calc_Pr", "functions/sutton.Sutton.calc_Tpc", "functions/sutton.Sutton.calc_Tpc_corrected", "functions/sutton.Sutton.calc_Tr", "functions/sutton.Sutton.calc_e_correction", "index", "modules", "piper", "pseudocritical", "quickstart", "sutton", "theories"], "filenames": ["calc_z.rst", "discussion.rst", "functions\\piper.Piper.calc_J.rst", "functions\\piper.Piper.calc_K.rst", "functions\\piper.Piper.calc_Ppc.rst", "functions\\piper.Piper.calc_Pr.rst", "functions\\piper.Piper.calc_Tpc.rst", "functions\\piper.Piper.calc_Tr.rst", "functions\\sutton.Sutton.calc_Ppc.rst", "functions\\sutton.Sutton.calc_Ppc_corrected.rst", "functions\\sutton.Sutton.calc_Pr.rst", "functions\\sutton.Sutton.calc_Tpc.rst", "functions\\sutton.Sutton.calc_Tpc_corrected.rst", "functions\\sutton.Sutton.calc_Tr.rst", "functions\\sutton.Sutton.calc_e_correction.rst", "index.rst", "modules.rst", "piper.rst", "pseudocritical.rst", "quickstart.rst", "sutton.rst", "theories.rst"], "titles": ["gascompressibility.calc_z", "Discussion Forum", "calc_J", "calc_K", "calc_Ppc", "calc_Pr", "calc_Tpc", "calc_Tr", "calc_Ppc", "calc_Ppc_corrected", "calc_Pr", "calc_Tpc", "calc_Tpc_corrected", "calc_Tr", "calc_e_correction", "GasCompressibility-py", "API Reference", "gascompressibility.pseudocritical.Piper", "Pseudo-Critical Models", "gascompressibility.quickstart", "gascompressibility.pseudocritical.Sutton", "Theories"], "terms": {"sg": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "none": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 19, 20], "p": [0, 5, 9, 10, 15, 17, 20, 21], "t": [0, 1, 7, 9, 10, 12, 13, 15, 17, 19, 20, 21], "h2": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 20, 21], "co2": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 20, 21], "n2": [0, 2, 3, 4, 5, 6, 7, 15, 17, 21], "pr": [0, 5, 10, 15, 17, 19, 20, 21], "tr": [0, 7, 13, 15, 17, 20, 21], "pmodel": [0, 15, 21], "piper": [0, 2, 3, 4, 5, 6, 7, 15], "zmodel": [0, 15, 19, 21], "dak": [0, 15, 19], "guess": [0, 19, 21], "newton_kwarg": 0, "smart_guess": [0, 19], "ps_prop": [0, 15, 17, 20], "fals": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 19, 21], "ignore_conflict": [0, 4, 5, 6, 7, 9, 10, 12, 13], "kwarg": [0, 19], "sourc": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 19, 20, 21], "calcul": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 20, 21], "ga": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "compress": [0, 15, 17, 20, 21], "factor": [0, 9, 10, 12, 13, 14, 15, 17, 19, 20], "z": [0, 15, 19], "basic": [0, 1, 15, 19, 21], "most": [0, 15, 21], "common": [0, 15], "usag": [0, 19, 21], "import": [0, 1, 15, 17, 19, 20, 21], "gc": [0, 15, 19, 21], "0": [0, 3, 4, 5, 6, 7, 15, 17, 19, 20, 21], "7": [0, 17, 19, 20, 21], "75": [0, 15, 17, 20, 21], "2010": [0, 15, 17, 20], "7366562810878984": [0, 15], "In": [0, 15, 19, 21], "presenc": [0, 15, 21], "signific": [0, 15, 21], "non": [0, 15, 21], "hydrocarbon": [0, 15, 21], "impur": [0, 15, 21], "1": [0, 17, 19, 20], "07": [0, 15, 17, 20, 21], "05": [0, 15, 17, 19, 20, 21], "7765149771306533": [0, 15], "when": [0, 15, 19, 21], "pseudo": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 20], "critic": [0, 4, 6, 8, 9, 10, 11, 12, 13, 15, 16, 17, 20], "properti": [0, 15, 17, 20], "ar": [0, 1, 15, 21], "known": [0, 15], "5": [0, 3, 4, 5, 6, 7, 17, 19], "859314380561347": [0, 15], "pick": [0, 15], "correl": [0, 15, 17, 19, 20], "model": [0, 16, 17, 19, 20], "your": [0, 1, 15], "choic": [0, 15, 19], "kareem": [0, 15, 19], "sutton": [0, 8, 9, 10, 11, 12, 13, 14, 15], "7150183342641309": [0, 15], "return": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 19, 21], "all": [0, 15, 17, 20, 21], "associ": [0, 15, 17, 20], "comput": [0, 15, 17, 20, 21], "true": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 19, 21], "tpc": [0, 4, 5, 6, 7, 9, 10, 11, 12, 13, 15, 17, 20], "371": [0, 15, 17], "4335560823552": [0, 15, 17], "ppc": [0, 4, 5, 8, 9, 10, 15, 17, 20], "660": [0, 15, 17], "6569792741872": [0, 15, 17], "j": [0, 2, 4, 5, 6, 7, 15, 17, 21], "56221847": [0, 15, 17], "k": [0, 3, 4, 5, 6, 7, 15, 17, 19, 21], "14": [0, 15, 17, 21], "450840999999999": [0, 15, 17], "4394768357478496": [0, 15], "3": [0, 17, 19, 20], "0646766226921294": [0, 15, 17], "paramet": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 19, 21], "float": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 19], "specif": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "graviti": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "dimensionless": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 20, 21], "pressur": [0, 4, 5, 8, 9, 10, 15, 17, 20, 21], "psig": [0, 5, 10], "temperatur": [0, 4, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 20, 21], "f": [0, 7, 13, 15, 21], "mole": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 21], "fraction": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 20, 21], "avail": 0, "onli": [0, 21], "default": [0, 15, 21], "reduc": [0, 5, 7, 10, 13, 15, 17, 20, 21], "psia": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 17, 20, 21], "r": [0, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 20, 21], "str": [0, 15, 19, 21], "check": [0, 15, 19, 21], "theori": [0, 15, 19], "more": [0, 15, 17, 19, 20, 21], "inform": [0, 15, 19], "accept": [0, 19], "input": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 19, 21], "2": [0, 17, 19, 20], "hall_yarborough": [0, 19, 21], "londono": [0, 15, 19], "initi": [0, 17, 20, 21], "valu": [0, 15, 19, 21], "us": [0, 15, 17, 19, 20], "iter": [0, 21], "converg": [0, 21], "NOT": [0, 19, 21], "recommend": [0, 15, 19, 21], "manual": [0, 21], "set": [0, 4, 5, 6, 7, 9, 10, 12, 13, 19, 21], "thi": [0, 1, 4, 5, 6, 7, 9, 10, 12, 13, 15, 17, 19, 20, 21], "unless": [0, 21], "p_r": [0, 15, 19, 21], "exce": 0, "15": [0, 15, 19, 21], "If": [0, 1, 15, 21], "so": [0, 21], "appli": [0, 21], "which": [0, 15, 21], "good": [0, 15, 21], "estim": [0, 15, 21], "high": [0, 15, 20, 21], "scenario": [0, 19], "otherwis": 0, "built": [0, 19, 21], "take": [0, 21], "over": [0, 21], "automat": 0, "provid": [0, 1, 19, 21], "s": [0, 1, 15, 17, 20, 21], "fast": [0, 15, 21], "accur": [0, 21], "dict": [0, 15, 19, 21], "dictonari": 0, "keyword": [0, 4, 5, 6, 7, 9, 10, 12, 13], "argument": [0, 4, 5, 6, 7, 9, 10, 12, 13], "scipi": [0, 15, 21], "optim": [0, 21], "newton": [0, 21], "method": [0, 1, 15, 21], "maxit": 0, "10000": 0, "bool": [0, 4, 5, 6, 7, 9, 10, 12, 13, 19], "prevent": [0, 21], "rare": [0, 21], "corner": [0, 15, 21], "case": [0, 21], "where": [0, 21], "fail": [0, 21], "solut": [0, 21], "improv": [0, 15, 21], "speed": [0, 15, 21], "It": [0, 1, 15, 17, 19, 20, 21], "smart": [0, 21], "explicit": [0, 15, 21], "like": [0, 1, 15, 17, 19, 20, 21], "For": [0, 1, 15, 21], "turn": [0, 21], "off": [0, 19, 21], "fix": 0, "shown": 0, "work": 0, "well": [0, 21], "6": [0, 19], "caveat": [0, 19], "dictionari": [0, 1, 19], "dure": [0, 17, 20], "overrid": [0, 4, 5, 6, 7, 9, 10, 12, 13], "variabl": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 17, 20], "option": [0, 19], "allow": [0, 15], "direct": [0, 1, 17, 20, 21], "from": [0, 15, 17, 20, 21], "instead": 0, "consid": [0, 21], "below": [0, 15, 21], "code": [0, 1, 15, 21], "exampl": [0, 15, 21], "663": [0, 20], "e_correct": [0, 9, 10, 12, 13, 20], "21": [0, 20, 21], "377": [0, 20], "59": [0, 20], "7720015496503527": 0, "aren": 0, "defin": [0, 21], "function": [0, 1, 21], "thei": [0, 21], "can": [0, 1, 15, 17, 19, 20, 21], "pass": 0, "calc_pr": [0, 15, 17, 20, 21], "calc_tr": [0, 15, 17, 20, 21], "you": [0, 1, 15, 17, 20, 21], "alreadi": 0, "know": [0, 15, 21], "would": 0, "type": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "do": [1, 15], "have": [1, 15, 17, 20, 21], "ani": [1, 15, 21], "question": [1, 15], "comment": 1, "suggest": 1, "featur": [1, 21], "request": 1, "feel": 1, "free": 1, "leav": 1, "here": [1, 15], "each": [1, 15, 19], "page": [1, 15], "document": [1, 21], "support": [1, 15, 17, 20, 21], "capabl": 1, "via": 1, "disqu": 1, "encount": 1, "challeng": 1, "applic": [1, 15, 21], "rememb": 1, "might": 1, "other": [1, 21], "face": 1, "same": [1, 15, 21], "issu": [1, 21], "post": 1, "publicli": 1, "could": 1, "potenti": 1, "help": [1, 15], "go": [1, 15, 21], "through": [1, 21], "exact": [1, 21], "problem": 1, "i": [1, 15], "my": [1, 21], "best": 1, "answer": [1, 21], "assist": 1, "As": 1, "petroleum": [1, 15, 17, 21], "engin": [1, 15, 21], "understand": 1, "mani": 1, "profession": 1, "oil": [1, 15, 21], "industri": [1, 15, 21], "veri": [1, 21], "familiar": 1, "python": [1, 15, 21], "re": 1, "struggl": 1, "instal": 1, "unsur": 1, "about": [1, 15], "program": [1, 15], "concept": 1, "class": [1, 17, 20], "attribut": 1, "object": [1, 17, 19, 20], "pleas": 1, "don": [1, 15, 19, 21], "hesit": 1, "ask": [1, 15], "thing": 1, "stupid": 1, "user": [1, 15], "packag": [1, 15, 21], "mai": [1, 15, 21], "strong": 1, "background": 1, "just": 1, "stackoverflow": 1, "valuabl": 1, "insight": 1, "similar": 1, "privat": 1, "inquiri": 1, "involv": 1, "special": 1, "requir": [1, 17, 20, 21], "confidenti": 1, "them": [1, 21], "aegis4048": [1, 15], "gmail": [1, 15], "com": [1, 15], "stewart": [2, 3, 15, 17, 21], "burkhardt": [2, 3, 15, 17, 21], "voo": [2, 3, 15, 17, 21], "sbv": [2, 3, 4, 5, 6, 7, 21], "tpc_correct": [9, 10, 13, 20], "correct": [9, 10, 12, 13, 14, 15, 17, 20, 21], "pc": [9, 10, 12, 13, 17, 20, 21], "acid": [9, 10, 12, 13, 14, 15, 17, 20, 21], "gase": [9, 10, 12, 13, 14, 15, 17, 20, 21], "\u03b5": [9, 10, 12, 13, 14, 20], "ppc_correct": [10, 20], "librari": [15, 21], "base": [15, 17, 20], "real": [15, 21], "law": 15, "design": 15, "practic": [15, 21], "field": [15, 21], "mind": 15, "gamma_": [15, 21], "g": [15, 21], "readili": 15, "obtain": [15, 21], "surfac": 15, "facil": 15, "The": [15, 17, 19, 20, 21], "under": [15, 19], "mit": 15, "licens": 15, "restrict": [15, 21], "whatsoev": 15, "host": 15, "pypi": 15, "remot": 15, "pip": 15, "command": 15, "To": 15, "download": 15, "recent": 15, "version": [15, 21], "upgrad": 15, "chemic": 15, "who": [15, 19], "doesn": [15, 21], "what": 15, "read": 15, "matplotlib": [15, 19, 21], "pyplot": [15, 21], "plt": [15, 21], "result": [15, 19, 21], "fig": [15, 19, 21], "ax": [15, 19, 21], "prmin": [15, 19, 21], "prmax": [15, 19, 21], "show": 15, "quick": [15, 19], "calc_z": [15, 16, 19, 21], "addition": [15, 21], "pseudocrit": [15, 21], "7950877932259734": 15, "calc_ppc": [15, 17, 20], "724": 15, "3779622618493": 15, "37": [15, 21], "7951185167800987": 15, "1985": [15, 20], "make": [15, 21], "h_2": [15, 17, 20, 21], "co_2": [15, 17, 20, 21], "1993": [15, 17], "n_2": [15, 21], "along": [15, 21], "1975": 15, "wide": [15, 21], "past": [15, 21], "40": [15, 21], "year": [15, 21], "wrong": [15, 21], "hall": 15, "yarborough": 15, "1973": 15, "Not": [15, 21], "2005": 15, "math": [15, 21], "exactli": [15, 21], "regress": [15, 21], "coeffici": [15, 21], "fit": [15, 21], "4x": [15, 21], "data": [15, 21], "point": [15, 21], "2016": 15, "shorter": [15, 21], "sure": 15, "need": [15, 21], "worri": 15, "than": [15, 21], "enough": [15, 21], "life": [15, 21], "howev": [15, 21], "big": [15, 21], "concern": [15, 21], "should": 15, "tabl": [15, 21], "summar": [15, 21], "t_r": [15, 19, 21], "accord": [15, 21], "own": [15, 21], "origin": [15, 21], "paper": [15, 17, 20, 21], "30": [15, 19, 21], "20": [15, 21], "someth": [15, 21], "normal": [15, 21], "we": [15, 21], "given": [15, 21], "mixtur": [15, 21], "figur": [15, 19, 21], "correspond": [15, 21], "assum": [15, 21], "green": [15, 21], "line": [15, 21], "extrem": [15, 19, 21], "condit": [15, 21], "19": [15, 20, 21], "000": [15, 21], "800": [15, 21], "11": [15, 19, 21], "500": [15, 21], "numpi": [15, 21], "np": [15, 21], "pmin": [15, 21], "pmax": [15, 21], "25000": [15, 21], "ps": [15, 21], "linspac": [15, 21], "100": [15, 21], "arrai": [15, 19, 21], "round": [15, 21], "tmin": [15, 21], "459": [15, 21], "tmax": [15, 21], "1500": [15, 21], "ts": [15, 21], "arang": [15, 21], "append": [15, 21], "axi": [15, 19, 21], "subplot": [15, 21], "figsiz": [15, 19, 21], "enumer": [15, 21], "plot": [15, 19, 21], "label": [15, 19, 21], "text": [15, 19, 21], "max": [15, 21], "color": [15, 19, 21], "get_color": [15, 21], "set_bbox": [15, 21], "facecolor": [15, 19, 21], "white": [15, 21], "alpha": [15, 19, 21], "edgecolor": [15, 21], "pad": [15, 21], "06": [15, 21], "p_": [15, 17, 20, 21], "approxim": [15, 21], "fontsiz": [15, 19, 21], "transform": [15, 19, 21], "transax": [15, 19, 21], "bbox": [15, 21], "set_ylabel": [15, 19, 21], "set_xlabel": [15, 19, 21], "ymax": [15, 21], "60": [15, 21], "hline": [15, 21], "y": [15, 19, 21], "xmin": [15, 21], "xmax": [15, 21], "linestyl": [15, 19, 21], "linewidth": [15, 19, 21], "31": [15, 21], "16": [15, 21], "fill_between": [15, 21], "x": [15, 19, 21], "y1": [15, 21], "y2": [15, 21], "interpol": [15, 21], "zorder": [15, 21], "99": [15, 21], "els": [15, 21], "t_": [15, 17, 20, 21], "ymin": [15, 21], "set_ylim": [15, 19, 21], "minorticks_on": [15, 21], "grid": [15, 19, 21], "visibl": [15, 21], "minor": [15, 21], "spine": [15, 21], "top": [15, 19, 21], "set_vis": [15, 21], "right": [15, 19, 21], "def": [15, 21], "setbold": [15, 21], "txt": [15, 21], "join": [15, 21], "bf": [15, 21], "item": [15, 21], "split": [15, 21], "bold_txt": [15, 21], "plain_txt": [15, 21], "suptitl": [15, 21], "verticalalign": [15, 21], "horizontalalign": [15, 21], "left": [15, 19, 21], "yloc": [15, 21], "annot": [15, 19, 21], "xy": [15, 21], "01": [15, 21], "xycoord": [15, 21], "xytext": [15, 21], "02": [15, 21], "arrowprop": [15, 21], "arrowstyl": [15, 21], "lw": [15, 21], "95": [15, 21], "ha": [15, 21], "va": [15, 19, 21], "center": [15, 21], "grei": [15, 21], "tight_layout": [15, 19, 21], "doe": [15, 21], "mean": [15, 17, 20, 21], "probabl": 15, "minim": 15, "knowledg": 15, "open": 15, "hassl": 15, "offer": 15, "some": [15, 21], "profici": 15, "yet": 15, "anaconda": 15, "run": [15, 17, 20], "file": 15, "filenam": 15, "look": [15, 19], "anaconda3": 15, "2023": 15, "03": 15, "window": 15, "x86_64": 15, "ex": 15, "select": 15, "destin": 15, "folder": 15, "By": 15, "its": [15, 17, 20, 21], "c": [15, 21], "programdata": 15, "want": [15, 21], "add": 15, "codna": 15, "environt": 15, "path": 15, "ye": 15, "sai": 15, "trust": 15, "me": 15, "easier": 15, "onc": [15, 17, 20], "finish": 15, "search": 15, "tab": 15, "bottom": 15, "screen": 15, "cmd": 15, "launch": 15, "done": [15, 21], "correctli": 15, "next": 15, "current": [15, 21], "directori": 15, "erickim": 15, "see": 15, "again": 15, "click": 15, "prompt": 15, "still": 15, "dive": 15, "pain": 15, "troubleshoot": 15, "friend": 15, "follow": [15, 17, 19, 20, 21], "press": 15, "enter": 15, "congrat": 15, "jupyt": 15, "notebook": 15, "try": [15, 19], "molecular": [15, 20, 21], "weight": [15, 20, 21], "reservoir": [15, 20, 21], "spe": [15, 17, 20, 21], "14265": [15, 20, 21], "link": [15, 17, 20, 21], "l": [15, 17, 21], "d": [15, 17, 21], "mccain": [15, 17, 21], "jr": [15, 17, 21], "w": [15, 17, 21], "corredor": [15, 17, 21], "h": [15, 17, 21], "natur": [15, 17, 20, 21], "occur": [15, 17, 21], "26668": [15, 17, 21], "dranchuk": [15, 21], "m": [15, 21], "abou": [15, 21], "kassem": [15, 21], "equat": [15, 21], "state": [15, 21], "journal": [15, 21], "canadian": [15, 21], "technolog": [15, 21], "kai": [15, 21], "b": [15, 21], "densiti": [15, 21], "vapor": [15, 21], "chemistri": [15, 21], "1936": [15, 21], "wichert": [15, 20, 21], "e": [15, 20, 21], "sour": [15, 20, 21], "meng": [15, 20, 21], "thesi": [15, 20, 21], "univers": [15, 20, 21], "calgari": [15, 20, 21], "alberta": [15, 20, 21], "1970": [15, 20, 21], "predict": [15, 21], "present": [15, 21], "aich": [15, 21], "meet": [15, 21], "kansa": [15, 21], "citi": [15, 21], "mo": [15, 21], "18": [15, 21], "1959": [15, 21], "A": [15, 21], "new": [15, 21], "archer": [15, 21], "blasingam": [15, 21], "simplifi": [15, 21], "viscos": [15, 21], "valid": [15, 21], "behavior": [15, 21], "larg": [15, 21], "scale": [15, 21], "databas": [15, 21], "75721": [15, 21], "iwalewa": 15, "marhoun": 15, "al": 15, "linear": [15, 21], "isotherm": [15, 21], "explor": [15, 21], "product": [15, 21], "elsharkawi": [15, 21], "aladwani": [15, 21], "alostad": [15, 21], "n": [15, 21], "uncertainti": [15, 21], "impact": [15, 21], "inflow": [15, 21], "perform": [15, 21], "forecast": [15, 21], "scienc": [15, 21], "2015": [15, 21], "condens": [15, 21], "empir": [15, 21], "74369": [15, 21], "2002": [15, 21], "12": [15, 19, 21], "contain": [15, 21], "variou": [15, 21], "amount": [15, 21], "2020": [15, 21], "eric": 15, "soobin": 15, "kim": 15, "compressor": 15, "compani": 15, "flogistix": 15, "primari": 15, "contact": 15, "websit": 15, "pythonicexcurs": 15, "2021": 15, "index": 15, "http": 15, "org": 15, "project": 15, "gascompress": [16, 21], "quickstart": [16, 21], "gamma_g": [17, 20, 21], "instanc": [17, 20], "instanti": [17, 20], "first": [17, 20], "obj": [17, 20], "updat": [17, 20], "process": [17, 20, 21], "access": [17, 20], "form": [17, 20, 21], "2000": [17, 20], "7143160585360255": 17, "instantia": [17, 20], "an": [17, 20, 21], "retriev": [17, 19, 20], "_": [17, 20, 21], "359": 17, "4649612886111": 17, "742": 17, "249596786689": 17, "48429121800104624": 17, "13": [17, 21], "194154915384328": 17, "730": 17, "6830493485268": 17, "calc_tpc": [17, 20], "357": 17, "31032650971184": 17, "calc_j": 17, "48900864311590075": 17, "calc_k": 17, "218465793646919": 17, "770968892470151": 17, "496374328788025": 17, "8": [19, 21], "title_bold": 19, "title_plain": 19, "title_underline_loc": 19, "93": 19, "disable_tr_annot": [19, 21], "gener": 19, "tool": 19, "those": [19, 21], "wish": 19, "write": 19, "full": 19, "blown": 19, "script": 19, "against": 19, "rang": 19, "tweak": 19, "4": 19, "91": 19, "bold": 19, "titl": 19, "plain": 19, "custim": 19, "set_xlim": 19, "minorticks_off": 19, "08": 19, "custom": 19, "axvspan": 19, "9": [19, 21], "efefef": 19, "axvlin": 19, "anoth": 19, "10": [19, 21], "rotat": 19, "270": 19, "savefig": 19, "output": 19, "png": 19, "bbox_inch": 19, "tight": 19, "dpi": 19, "200": 19, "failur": 19, "bad": 19, "minimum": 19, "maximum": 19, "tupl": 19, "size": 19, "string": 19, "portion": 19, "vertic": 19, "locat": 19, "horizont": 19, "bar": 19, "adjust": 19, "between": 19, "underlin": 19, "displai": 19, "py": [19, 21], "simul": 19, "structur": 19, "29": [19, 21], "9367": 19, "9030": 19, "8675": 19, "1807": 19, "kei": 19, "pair": 19, "pr_105": 19, "z_105": 19, "pr_110": 19, "z_110": 19, "aziz": [20, 21], "052524774343535": 20, "2869999999999": 20, "2070266223893724": 20, "277806029218723": 20, "356": 20, "31219397078127": 20, "628": 20, "2143047814683": 20, "calc_e_correct": 20, "34753439832438": 20, "calc_ppc_correct": 20, "630": 20, "8358627422825": 20, "calc_tpc_correct": 20, "358": 20, "2424656016756": 20, "2095511995759147": 20, "4924807953797739": 20, "goal": 21, "exist": 21, "numer": 21, "repres": 21, "famou": 21, "stand": 21, "katz": 21, "sk": 21, "chart": 21, "word": 21, "one": 21, "hi": 21, "come": 21, "handi": 21, "rel": 21, "easi": 21, "lab": 21, "sampl": 21, "analysi": 21, "section": 21, "explain": 21, "behind": 21, "subsequ": 21, "represent": 21, "abu": 21, "deriv": 21, "visual": 21, "inspect": 21, "divid": 21, "frac": 21, "express": 21, "averag": 21, "p_c": 21, "t_c": 21, "individu": 21, "compon": 21, "sum": 21, "x_": 21, "c_": 21, "too": 21, "inconveni": 21, "becaus": 21, "time": 21, "consum": 21, "furthermor": 21, "isn": 21, "heavi": 21, "end": 21, "often": 21, "lump": 21, "up": 21, "togeth": 21, "report": 21, "imposs": 21, "heavier": 21, "introduc": 21, "unknown": 21, "composit": 21, "756": 21, "131": 21, "gamma": 21, "169": 21, "349": 21, "74": 21, "abov": 21, "57": 21, "68": 21, "he": 21, "also": 21, "epsilon": 21, "120": 21, "concentr": 21, "54": 21, "space": 21, "mol": 21, "73": 21, "absolut": 21, "error": 21, "418": 21, "were": 21, "289": 21, "adapt": 21, "nitrogen": 21, "begin": 21, "align": 21, "11582": 21, "45820": 21, "90348": 21, "66026": 21, "70729": 21, "099397": 21, "8216": 21, "06534": 21, "sqrt": 21, "42113": 21, "91249": 21, "17": 21, "438": 21, "2191": 21, "steward": 21, "51": 21, "67": 21, "crrelat": 21, "304": 21, "896": 21, "implement": 21, "limit": 21, "develop": 21, "therefor": 21, "synthet": 21, "deal": 21, "necessari": 21, "h_": 21, "5005661019949397": 21, "5483056093175225": 21, "There": 21, "two": 21, "kind": 21, "implicit": 21, "vs": 21, "find": 21, "root": 21, "view": 21, "These": 21, "computation": 21, "much": 21, "expens": 21, "significantli": 21, "cost": 21, "start": 21, "unnecessari": 21, "tend": 21, "smaller": 21, "less": 21, "befor": 21, "a_": 21, "rho_": 21, "exp": 21, "27p_": 21, "zt_": 21, "3265": 21, "0700": 21, "5339": 21, "01569": 21, "05165": 21, "5475": 21, "7361": 21, "1844": 21, "1056": 21, "6134": 21, "7210": 21, "test": 21, "leq": 21, "468": 21, "1995": 21, "5006": 21, "7730934971021096": 21, "06125te": 21, "76t": 21, "58t": 21, "90": 21, "7t": 21, "242": 21, "2t": 21, "42": 21, "4t": 21, "82t": 21, "receiv": 21, "great": 21, "77140002684377": 21, "differ": 21, "further": 21, "eleven": 21, "5960": 21, "3024696": 21, "046964": 21, "1078916": 21, "7694186": 21, "1965439": 21, "6527819": 21, "118884": 21, "3951957": 21, "09313593": 21, "8483081": 21, "7880011": 21, "mention": 21, "logic": 21, "sinc": 21, "underli": 21, "412": 21, "7752626795793716": 21, "dp_": 21, "te": 21, "tp_": 21, "317842": 21, "382216": 21, "76835": 21, "2905": 21, "00000218363": 21, "00469257": 21, "0962541": 21, "16672": 21, "96691": 21, "063069": 21, "966847": 21, "0581": 21, "27": 21, "0246": 21, "23": 21, "207": 21, "783": 21, "488": 21, "161": 21, "176": 21, "88453": 21, "05921": 21, "5346": 21, "4379": 21, "outsid": 21, "coverag": 21, "author": 21, "7667583024871576": 21, "reli": 21, "share": 21, "depend": 21, "qualiti": 21, "sometim": 21, "final": 21, "6001600275325583": 21, "44138121739974145": 21, "despit": 21, "compar": 21, "sit": 21, "around": 21, "44": 21, "44245159219674585": 21, "42052851684415665": 21, "discrep": 21, "happen": 21, "offici": 21, "guarante": 21, "been": 21, "found": 21, "consequ": 21, "verifi": 21, "fortun": 21, "observ": 21, "abl": 21, "activ": 21, "44138121739974157": 21, "demonstr": 21, "advantag": 21, "faster": 21, "close": 21, "far": 21, "did": 21, "short": 21, "But": 21, "four": 21, "combin": 21, "shed": 21, "light": 21, "determin": 21, "dictat": 21, "yield": 21, "highest": 21, "974": 21, "long": 21, "geq": 21, "957": 21, "unfortun": 21, "evalu": 21, "includ": 21, "avoid": 21, "3rd": 21, "parti": 21, "himself": 21}, "objects": {"piper": [[17, 0, 1, "", "Piper"]], "piper.Piper": [[2, 1, 1, "", "calc_J"], [3, 1, 1, "", "calc_K"], [4, 1, 1, "", "calc_Ppc"], [5, 1, 1, "", "calc_Pr"], [6, 1, 1, "", "calc_Tpc"], [7, 1, 1, "", "calc_Tr"]], "sutton": [[20, 0, 1, "", "Sutton"]], "sutton.Sutton": [[8, 1, 1, "", "calc_Ppc"], [9, 1, 1, "", "calc_Ppc_corrected"], [10, 1, 1, "", "calc_Pr"], [11, 1, 1, "", "calc_Tpc"], [12, 1, 1, "", "calc_Tpc_corrected"], [13, 1, 1, "", "calc_Tr"], [14, 1, 1, "", "calc_e_correction"]], "z_helper": [[0, 2, 1, "", "calc_z"], [19, 2, 1, "", "quickstart"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:function"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "function", "Python function"]}, "titleterms": {"gascompress": [0, 15, 17, 19, 20], "calc_z": 0, "discuss": 1, "forum": 1, "calc_j": 2, "calc_k": 3, "calc_ppc": [4, 8], "calc_pr": [5, 10], "calc_tpc": [6, 11], "calc_tr": [7, 13], "calc_ppc_correct": 9, "calc_tpc_correct": 12, "calc_e_correct": 14, "py": 15, "1": [15, 21], "instal": 15, "2": [15, 21], "quickstart": [15, 19], "3": [15, 21], "usag": [15, 17, 20], "4": [15, 21], "model": [15, 18, 21], "implement": 15, "5": [15, 21], "work": [15, 21], "rang": [15, 21], "6": [15, 21], "tip": 15, "7": 15, "refer": [15, 16, 17, 20, 21], "8": 15, "requir": 15, "9": 15, "author": 15, "10": 15, "cite": 15, "As": 15, "api": 16, "pseudocrit": [17, 20], "piper": [17, 21], "basic": [17, 20], "exampl": [17, 20], "method": [17, 20], "attribut": [17, 20], "pseudo": [18, 21], "critic": [18, 21], "sutton": [20, 21], "theori": 21, "properti": 21, "1985": 21, "et": 21, "al": 21, "1993": 21, "caveat": 21, "z": 21, "factor": 21, "correl": 21, "dak": 21, "1975": 21, "hall": 21, "yarborough": 21, "1973": 21, "londono": 21, "2005": 21, "kareem": 21, "iwalewa": 21, "marhoun": 21, "2016": 21, "output": 21, "comparison": 21, "about": 21, "smart_guess": 21, "what": 21, "should": 21, "i": 21, "us": 21, "compat": 21, "note": 21, "brief": 21, "Of": 21, "each": 21}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "sphinx.ext.intersphinx": 1, "sphinx": 56}}) \ No newline at end of file +Search.setIndex({"docnames": ["calc_z", "discussion", "functions/piper.Piper.calc_J", "functions/piper.Piper.calc_K", "functions/piper.Piper.calc_Ppc", "functions/piper.Piper.calc_Pr", "functions/piper.Piper.calc_Tpc", "functions/piper.Piper.calc_Tr", "functions/sutton.Sutton.calc_Ppc", "functions/sutton.Sutton.calc_Ppc_corrected", "functions/sutton.Sutton.calc_Pr", "functions/sutton.Sutton.calc_Tpc", "functions/sutton.Sutton.calc_Tpc_corrected", "functions/sutton.Sutton.calc_Tr", "functions/sutton.Sutton.calc_e_correction", "index", "modules", "piper", "pseudocritical", "quickstart", "sutton", "theories"], "filenames": ["calc_z.rst", "discussion.rst", "functions\\piper.Piper.calc_J.rst", "functions\\piper.Piper.calc_K.rst", "functions\\piper.Piper.calc_Ppc.rst", "functions\\piper.Piper.calc_Pr.rst", "functions\\piper.Piper.calc_Tpc.rst", "functions\\piper.Piper.calc_Tr.rst", "functions\\sutton.Sutton.calc_Ppc.rst", "functions\\sutton.Sutton.calc_Ppc_corrected.rst", "functions\\sutton.Sutton.calc_Pr.rst", "functions\\sutton.Sutton.calc_Tpc.rst", "functions\\sutton.Sutton.calc_Tpc_corrected.rst", "functions\\sutton.Sutton.calc_Tr.rst", "functions\\sutton.Sutton.calc_e_correction.rst", "index.rst", "modules.rst", "piper.rst", "pseudocritical.rst", "quickstart.rst", "sutton.rst", "theories.rst"], "titles": ["gascompressibility.calc_z", "Discussion Forum", "calc_J", "calc_K", "calc_Ppc", "calc_Pr", "calc_Tpc", "calc_Tr", "calc_Ppc", "calc_Ppc_corrected", "calc_Pr", "calc_Tpc", "calc_Tpc_corrected", "calc_Tr", "calc_e_correction", "GasCompressibility-py", "API Reference", "gascompressibility.pseudocritical.Piper", "Pseudo-Critical Models", "gascompressibility.quickstart", "gascompressibility.pseudocritical.Sutton", "Theories"], "terms": {"sg": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "none": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 19, 20], "p": [0, 5, 9, 10, 15, 17, 20, 21], "t": [0, 1, 7, 9, 10, 12, 13, 15, 17, 19, 20, 21], "h2": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 20, 21], "co2": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 20, 21], "n2": [0, 2, 3, 4, 5, 6, 7, 15, 17, 21], "pr": [0, 5, 10, 15, 17, 19, 20, 21], "tr": [0, 7, 13, 15, 17, 20, 21], "pmodel": [0, 15, 21], "piper": [0, 2, 3, 4, 5, 6, 7, 15], "zmodel": [0, 15, 19, 21], "dak": [0, 15, 19], "guess": [0, 19, 21], "newton_kwarg": 0, "smart_guess": [0, 19], "ps_prop": [0, 15, 17, 20], "fals": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 19, 21], "ignore_conflict": [0, 4, 5, 6, 7, 9, 10, 12, 13], "kwarg": [0, 19], "sourc": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 19, 20, 21], "calcul": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 20, 21], "ga": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "compress": [0, 15, 17, 20, 21], "factor": [0, 9, 10, 12, 13, 14, 15, 17, 19, 20], "z": [0, 15, 19], "basic": [0, 1, 15, 19, 21], "most": [0, 15, 21], "common": [0, 15], "usag": [0, 19, 21], "import": [0, 1, 15, 17, 19, 20, 21], "gc": [0, 15, 19, 21], "0": [0, 3, 4, 5, 6, 7, 15, 17, 19, 20, 21], "7": [0, 17, 19, 20, 21], "75": [0, 15, 17, 20, 21], "2010": [0, 15, 17, 20], "7366562810878984": [0, 15], "In": [0, 15, 19, 21], "presenc": [0, 15, 21], "signific": [0, 15, 21], "non": [0, 15, 21], "hydrocarbon": [0, 15, 21], "impur": [0, 15, 21], "1": [0, 17, 19, 20], "07": [0, 15, 17, 20, 21], "05": [0, 15, 17, 19, 20, 21], "7765149771306533": [0, 15], "when": [0, 15, 19, 21], "pseudo": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 20], "critic": [0, 4, 6, 8, 9, 10, 11, 12, 13, 15, 16, 17, 20], "properti": [0, 15, 17, 20], "ar": [0, 1, 15, 21], "known": [0, 15], "5": [0, 3, 4, 5, 6, 7, 17, 19], "859314380561347": [0, 15], "pick": [0, 15], "correl": [0, 15, 17, 19, 20], "model": [0, 16, 17, 19, 20], "your": [0, 1, 15], "choic": [0, 15, 19], "kareem": [0, 15, 19], "sutton": [0, 8, 9, 10, 11, 12, 13, 14, 15], "7150183342641309": [0, 15], "return": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 19, 21], "all": [0, 15, 17, 20, 21], "associ": [0, 15, 17, 20], "comput": [0, 15, 17, 20, 21], "true": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 19, 21], "tpc": [0, 4, 5, 6, 7, 9, 10, 11, 12, 13, 15, 17, 20], "371": [0, 15, 17], "4335560823552": [0, 15, 17], "ppc": [0, 4, 5, 8, 9, 10, 15, 17, 20], "660": [0, 15, 17], "6569792741872": [0, 15, 17], "j": [0, 2, 4, 5, 6, 7, 15, 17, 21], "56221847": [0, 15, 17], "k": [0, 3, 4, 5, 6, 7, 15, 17, 19, 21], "14": [0, 15, 17, 21], "450840999999999": [0, 15, 17], "4394768357478496": [0, 15], "3": [0, 17, 19, 20], "0646766226921294": [0, 15, 17], "paramet": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 19, 21], "float": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 19], "specif": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "graviti": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "dimensionless": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 20, 21], "pressur": [0, 4, 5, 8, 9, 10, 15, 17, 20, 21], "psig": [0, 5, 10], "temperatur": [0, 4, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 20, 21], "f": [0, 7, 13, 15, 21], "mole": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 21], "fraction": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 20, 21], "avail": 0, "onli": [0, 21], "default": [0, 15, 21], "reduc": [0, 5, 7, 10, 13, 15, 17, 20, 21], "str": [0, 15, 19, 21], "check": [0, 15, 19, 21], "theori": [0, 15, 19], "more": [0, 15, 17, 19, 20, 21], "inform": [0, 15, 19], "accept": [0, 19], "input": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 19, 21], "2": [0, 17, 19, 20], "hall_yarborough": [0, 19, 21], "londono": [0, 15, 19], "initi": [0, 17, 20, 21], "valu": [0, 15, 19, 21], "us": [0, 15, 17, 19, 20], "iter": [0, 21], "converg": [0, 21], "NOT": [0, 19, 21], "recommend": [0, 15, 19, 21], "manual": [0, 21], "set": [0, 4, 5, 6, 7, 9, 10, 12, 13, 19, 21], "thi": [0, 1, 4, 5, 6, 7, 9, 10, 12, 13, 15, 17, 19, 20, 21], "unless": [0, 21], "p_r": [0, 15, 19, 21], "exce": 0, "15": [0, 15, 19, 21], "If": [0, 1, 15, 21], "so": [0, 21], "appli": [0, 21], "which": [0, 15, 21], "good": [0, 15, 21], "estim": [0, 15, 21], "high": [0, 15, 20, 21], "scenario": [0, 19], "otherwis": 0, "built": [0, 19, 21], "take": [0, 21], "over": [0, 21], "automat": 0, "provid": [0, 1, 19, 21], "s": [0, 1, 15, 17, 20, 21], "fast": [0, 15, 21], "accur": [0, 21], "dict": [0, 15, 19, 21], "dictonari": 0, "keyword": [0, 4, 5, 6, 7, 9, 10, 12, 13], "argument": [0, 4, 5, 6, 7, 9, 10, 12, 13], "scipi": [0, 15, 21], "optim": [0, 21], "newton": [0, 21], "method": [0, 1, 15, 21], "maxit": 0, "10000": 0, "bool": [0, 4, 5, 6, 7, 9, 10, 12, 13, 19], "prevent": [0, 21], "rare": [0, 21], "corner": [0, 15, 21], "case": [0, 21], "where": [0, 21], "fail": [0, 21], "solut": [0, 21], "improv": [0, 15, 21], "speed": [0, 15, 21], "It": [0, 1, 15, 17, 19, 20, 21], "smart": [0, 21], "explicit": [0, 15, 21], "like": [0, 1, 15, 17, 19, 20, 21], "For": [0, 1, 15, 21], "turn": [0, 21], "off": [0, 19, 21], "fix": 0, "shown": 0, "work": 0, "well": [0, 21], "6": [0, 19], "caveat": [0, 19], "dictionari": [0, 1, 19], "dure": [0, 17, 20], "overrid": [0, 4, 5, 6, 7, 9, 10, 12, 13], "variabl": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 17, 20], "option": [0, 19], "allow": [0, 15], "direct": [0, 1, 17, 20, 21], "from": [0, 15, 17, 20, 21], "instead": 0, "consid": [0, 21], "below": [0, 15, 21], "code": [0, 1, 15, 21], "exampl": [0, 15, 21], "663": [0, 20], "e_correct": [0, 9, 10, 12, 13, 20], "21": [0, 20, 21], "377": [0, 20], "59": [0, 20], "7720015496503527": 0, "aren": 0, "defin": [0, 21], "function": [0, 1, 21], "thei": [0, 21], "can": [0, 1, 15, 17, 19, 20, 21], "pass": 0, "calc_pr": [0, 15, 17, 20, 21], "calc_tr": [0, 15, 17, 20, 21], "you": [0, 1, 15, 17, 20, 21], "alreadi": 0, "know": [0, 15, 21], "would": 0, "type": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "do": [1, 15], "have": [1, 15, 17, 20, 21], "ani": [1, 15, 21], "question": [1, 15], "comment": 1, "suggest": 1, "featur": [1, 21], "request": 1, "feel": 1, "free": 1, "leav": 1, "here": [1, 15], "each": [1, 15, 19], "page": [1, 15], "document": [1, 21], "support": [1, 15, 17, 20, 21], "capabl": 1, "via": 1, "disqu": 1, "encount": 1, "challeng": 1, "applic": [1, 15, 21], "rememb": 1, "might": 1, "other": [1, 21], "face": 1, "same": [1, 15, 21], "issu": [1, 21], "post": 1, "publicli": 1, "could": 1, "potenti": 1, "help": [1, 15], "go": [1, 15, 21], "through": [1, 21], "exact": [1, 21], "problem": 1, "i": [1, 15], "my": [1, 21], "best": 1, "answer": [1, 21], "assist": 1, "As": 1, "petroleum": [1, 15, 17, 21], "engin": [1, 15, 21], "understand": 1, "mani": 1, "profession": 1, "oil": [1, 15, 21], "industri": [1, 15, 21], "veri": [1, 21], "familiar": 1, "python": [1, 15, 21], "re": 1, "struggl": 1, "instal": 1, "unsur": 1, "about": [1, 15], "program": [1, 15], "concept": 1, "class": [1, 17, 20], "attribut": 1, "object": [1, 17, 19, 20], "pleas": 1, "don": [1, 15, 19, 21], "hesit": 1, "ask": [1, 15], "thing": 1, "stupid": 1, "user": [1, 15], "packag": [1, 15, 21], "mai": [1, 15, 21], "strong": 1, "background": 1, "just": 1, "stackoverflow": 1, "valuabl": 1, "insight": 1, "similar": 1, "privat": 1, "inquiri": 1, "involv": 1, "special": 1, "requir": [1, 17, 20, 21], "confidenti": 1, "them": [1, 21], "aegis4048": [1, 15], "gmail": [1, 15], "com": [1, 15], "stewart": [2, 3, 15, 17, 21], "burkhardt": [2, 3, 15, 17, 21], "voo": [2, 3, 15, 17, 21], "r": [2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 20, 21], "psia": [2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 17, 20, 21], "sbv": [2, 3, 4, 5, 6, 7, 21], "tpc_correct": [9, 10, 13, 20], "correct": [9, 10, 12, 13, 14, 15, 17, 20, 21], "pc": [9, 10, 12, 13, 17, 20, 21], "acid": [9, 10, 12, 13, 14, 15, 17, 20, 21], "gase": [9, 10, 12, 13, 14, 15, 17, 20, 21], "\u03b5": [9, 10, 12, 13, 14, 20], "ppc_correct": [10, 20], "librari": [15, 21], "base": [15, 17, 20], "real": [15, 21], "law": 15, "design": 15, "practic": [15, 21], "field": [15, 21], "mind": 15, "gamma_": [15, 21], "g": [15, 21], "readili": 15, "obtain": [15, 21], "surfac": 15, "facil": 15, "The": [15, 17, 19, 20, 21], "under": [15, 19], "mit": 15, "licens": 15, "restrict": [15, 21], "whatsoev": 15, "host": 15, "pypi": 15, "remot": 15, "pip": 15, "command": 15, "To": 15, "download": 15, "recent": 15, "version": [15, 21], "upgrad": 15, "chemic": 15, "who": [15, 19], "doesn": [15, 21], "what": 15, "read": 15, "matplotlib": [15, 19, 21], "pyplot": [15, 21], "plt": [15, 21], "result": [15, 19, 21], "fig": [15, 19, 21], "ax": [15, 19, 21], "prmin": [15, 19, 21], "prmax": [15, 19, 21], "show": 15, "quick": [15, 19], "calc_z": [15, 16, 19, 21], "addition": [15, 21], "pseudocrit": [15, 21], "7950877932259734": 15, "calc_ppc": [15, 17, 20], "724": 15, "3779622618493": 15, "37": [15, 21], "7951185167800987": 15, "1985": [15, 20], "make": [15, 21], "h_2": [15, 17, 20, 21], "co_2": [15, 17, 20, 21], "1993": [15, 17], "n_2": [15, 21], "along": [15, 21], "1975": 15, "wide": [15, 21], "past": [15, 21], "40": [15, 21], "year": [15, 21], "wrong": [15, 21], "hall": 15, "yarborough": 15, "1973": 15, "Not": [15, 21], "2005": 15, "math": [15, 21], "exactli": [15, 21], "regress": [15, 21], "coeffici": [15, 21], "fit": [15, 21], "4x": [15, 21], "data": [15, 21], "point": [15, 21], "2016": 15, "shorter": [15, 21], "sure": 15, "need": [15, 21], "worri": 15, "than": [15, 21], "enough": [15, 21], "life": [15, 21], "howev": [15, 21], "big": [15, 21], "concern": [15, 21], "should": 15, "tabl": [15, 21], "summar": [15, 21], "t_r": [15, 19, 21], "accord": [15, 21], "own": [15, 21], "origin": [15, 21], "paper": [15, 17, 20, 21], "30": [15, 19, 21], "20": [15, 21], "someth": [15, 21], "normal": [15, 21], "we": [15, 21], "given": [15, 21], "mixtur": [15, 21], "figur": [15, 19, 21], "correspond": [15, 21], "assum": [15, 21], "green": [15, 21], "line": [15, 21], "extrem": [15, 19, 21], "condit": [15, 21], "19": [15, 20, 21], "000": [15, 21], "800": [15, 21], "11": [15, 19, 21], "500": [15, 21], "numpi": [15, 21], "np": [15, 21], "pmin": [15, 21], "pmax": [15, 21], "25000": [15, 21], "ps": [15, 21], "linspac": [15, 21], "100": [15, 21], "arrai": [15, 19, 21], "round": [15, 21], "tmin": [15, 21], "459": [15, 21], "tmax": [15, 21], "1500": [15, 21], "ts": [15, 21], "arang": [15, 21], "append": [15, 21], "axi": [15, 19, 21], "subplot": [15, 21], "figsiz": [15, 19, 21], "enumer": [15, 21], "plot": [15, 19, 21], "label": [15, 19, 21], "text": [15, 19, 21], "max": [15, 21], "color": [15, 19, 21], "get_color": [15, 21], "set_bbox": [15, 21], "facecolor": [15, 19, 21], "white": [15, 21], "alpha": [15, 19, 21], "edgecolor": [15, 21], "pad": [15, 21], "06": [15, 21], "p_": [15, 17, 20, 21], "approxim": [15, 21], "fontsiz": [15, 19, 21], "transform": [15, 19, 21], "transax": [15, 19, 21], "bbox": [15, 21], "set_ylabel": [15, 19, 21], "set_xlabel": [15, 19, 21], "ymax": [15, 21], "60": [15, 21], "hline": [15, 21], "y": [15, 19, 21], "xmin": [15, 21], "xmax": [15, 21], "linestyl": [15, 19, 21], "linewidth": [15, 19, 21], "31": [15, 21], "16": [15, 21], "fill_between": [15, 21], "x": [15, 19, 21], "y1": [15, 21], "y2": [15, 21], "interpol": [15, 21], "zorder": [15, 21], "99": [15, 21], "els": [15, 21], "t_": [15, 17, 20, 21], "ymin": [15, 21], "set_ylim": [15, 19, 21], "minorticks_on": [15, 21], "grid": [15, 19, 21], "visibl": [15, 21], "minor": [15, 21], "spine": [15, 21], "top": [15, 19, 21], "set_vis": [15, 21], "right": [15, 19, 21], "def": [15, 21], "setbold": [15, 21], "txt": [15, 21], "join": [15, 21], "bf": [15, 21], "item": [15, 21], "split": [15, 21], "bold_txt": [15, 21], "plain_txt": [15, 21], "suptitl": [15, 21], "verticalalign": [15, 21], "horizontalalign": [15, 21], "left": [15, 19, 21], "yloc": [15, 21], "annot": [15, 19, 21], "xy": [15, 21], "01": [15, 21], "xycoord": [15, 21], "xytext": [15, 21], "02": [15, 21], "arrowprop": [15, 21], "arrowstyl": [15, 21], "lw": [15, 21], "95": [15, 21], "ha": [15, 21], "va": [15, 19, 21], "center": [15, 21], "grei": [15, 21], "tight_layout": [15, 19, 21], "doe": [15, 21], "mean": [15, 17, 20, 21], "probabl": 15, "minim": 15, "knowledg": 15, "open": 15, "hassl": 15, "offer": 15, "some": [15, 21], "profici": 15, "yet": 15, "anaconda": 15, "run": [15, 17, 20], "file": 15, "filenam": 15, "look": [15, 19], "anaconda3": 15, "2023": 15, "03": 15, "window": 15, "x86_64": 15, "ex": 15, "select": 15, "destin": 15, "folder": 15, "By": 15, "its": [15, 17, 20, 21], "c": [15, 21], "programdata": 15, "want": [15, 21], "add": 15, "codna": 15, "environt": 15, "path": 15, "ye": 15, "sai": 15, "trust": 15, "me": 15, "easier": 15, "onc": [15, 17, 20], "finish": 15, "search": 15, "tab": 15, "bottom": 15, "screen": 15, "cmd": 15, "launch": 15, "done": [15, 21], "correctli": 15, "next": 15, "current": [15, 21], "directori": 15, "erickim": 15, "see": 15, "again": 15, "click": 15, "prompt": 15, "still": 15, "dive": 15, "pain": 15, "troubleshoot": 15, "friend": 15, "follow": [15, 17, 19, 20, 21], "press": 15, "enter": 15, "congrat": 15, "jupyt": 15, "notebook": 15, "try": [15, 19], "molecular": [15, 20, 21], "weight": [15, 20, 21], "reservoir": [15, 20, 21], "spe": [15, 17, 20, 21], "14265": [15, 20, 21], "link": [15, 17, 20, 21], "l": [15, 17, 21], "d": [15, 17, 21], "mccain": [15, 17, 21], "jr": [15, 17, 21], "w": [15, 17, 21], "corredor": [15, 17, 21], "h": [15, 17, 21], "natur": [15, 17, 20, 21], "occur": [15, 17, 21], "26668": [15, 17, 21], "dranchuk": [15, 21], "m": [15, 21], "abou": [15, 21], "kassem": [15, 21], "equat": [15, 21], "state": [15, 21], "journal": [15, 21], "canadian": [15, 21], "technolog": [15, 21], "kai": [15, 21], "b": [15, 21], "densiti": [15, 21], "vapor": [15, 21], "chemistri": [15, 21], "1936": [15, 21], "wichert": [15, 20, 21], "e": [15, 20, 21], "sour": [15, 20, 21], "meng": [15, 20, 21], "thesi": [15, 20, 21], "univers": [15, 20, 21], "calgari": [15, 20, 21], "alberta": [15, 20, 21], "1970": [15, 20, 21], "predict": [15, 21], "present": [15, 21], "aich": [15, 21], "meet": [15, 21], "kansa": [15, 21], "citi": [15, 21], "mo": [15, 21], "18": [15, 21], "1959": [15, 21], "A": [15, 21], "new": [15, 21], "archer": [15, 21], "blasingam": [15, 21], "simplifi": [15, 21], "viscos": [15, 21], "valid": [15, 21], "behavior": [15, 21], "larg": [15, 21], "scale": [15, 21], "databas": [15, 21], "75721": [15, 21], "iwalewa": 15, "marhoun": 15, "al": 15, "linear": [15, 21], "isotherm": [15, 21], "explor": [15, 21], "product": [15, 21], "elsharkawi": [15, 21], "aladwani": [15, 21], "alostad": [15, 21], "n": [15, 21], "uncertainti": [15, 21], "impact": [15, 21], "inflow": [15, 21], "perform": [15, 21], "forecast": [15, 21], "scienc": [15, 21], "2015": [15, 21], "condens": [15, 21], "empir": [15, 21], "74369": [15, 21], "2002": [15, 21], "12": [15, 19, 21], "contain": [15, 21], "variou": [15, 21], "amount": [15, 21], "2020": [15, 21], "eric": 15, "soobin": 15, "kim": 15, "compressor": 15, "compani": 15, "flogistix": 15, "primari": 15, "contact": 15, "websit": 15, "pythonicexcurs": 15, "2021": 15, "index": 15, "http": 15, "org": 15, "project": 15, "gascompress": [16, 21], "quickstart": [16, 21], "gamma_g": [17, 20, 21], "instanc": [17, 20], "instanti": [17, 20], "first": [17, 20], "obj": [17, 20], "updat": [17, 20], "process": [17, 20, 21], "access": [17, 20], "form": [17, 20, 21], "2000": [17, 20], "7143160585360255": 17, "instantia": [17, 20], "an": [17, 20, 21], "retriev": [17, 19, 20], "_": [17, 20, 21], "359": 17, "4649612886111": 17, "742": 17, "249596786689": 17, "48429121800104624": 17, "13": [17, 21], "194154915384328": 17, "730": 17, "6830493485268": 17, "calc_tpc": [17, 20], "357": 17, "31032650971184": 17, "calc_j": 17, "48900864311590075": 17, "calc_k": 17, "218465793646919": 17, "770968892470151": 17, "496374328788025": 17, "8": [19, 21], "title_bold": 19, "title_plain": 19, "title_underline_loc": 19, "93": 19, "disable_tr_annot": [19, 21], "gener": 19, "tool": 19, "those": [19, 21], "wish": 19, "write": 19, "full": 19, "blown": 19, "script": 19, "against": 19, "rang": 19, "tweak": 19, "4": 19, "91": 19, "bold": 19, "titl": 19, "plain": 19, "custim": 19, "set_xlim": 19, "minorticks_off": 19, "08": 19, "custom": 19, "axvspan": 19, "9": [19, 21], "efefef": 19, "axvlin": 19, "anoth": 19, "10": [19, 21], "rotat": 19, "270": 19, "savefig": 19, "output": 19, "png": 19, "bbox_inch": 19, "tight": 19, "dpi": 19, "200": 19, "failur": 19, "bad": 19, "minimum": 19, "maximum": 19, "tupl": 19, "size": 19, "string": 19, "portion": 19, "vertic": 19, "locat": 19, "horizont": 19, "bar": 19, "adjust": 19, "between": 19, "underlin": 19, "displai": 19, "py": [19, 21], "simul": 19, "structur": 19, "29": [19, 21], "9367": 19, "9030": 19, "8675": 19, "1807": 19, "kei": 19, "pair": 19, "pr_105": 19, "z_105": 19, "pr_110": 19, "z_110": 19, "aziz": [20, 21], "052524774343535": 20, "2869999999999": 20, "2070266223893724": 20, "277806029218723": 20, "356": 20, "31219397078127": 20, "628": 20, "2143047814683": 20, "calc_e_correct": 20, "34753439832438": 20, "calc_ppc_correct": 20, "630": 20, "8358627422825": 20, "calc_tpc_correct": 20, "358": 20, "2424656016756": 20, "2095511995759147": 20, "4924807953797739": 20, "goal": 21, "exist": 21, "numer": 21, "repres": 21, "famou": 21, "stand": 21, "katz": 21, "sk": 21, "chart": 21, "word": 21, "one": 21, "hi": 21, "come": 21, "handi": 21, "rel": 21, "easi": 21, "lab": 21, "sampl": 21, "analysi": 21, "section": 21, "explain": 21, "behind": 21, "subsequ": 21, "represent": 21, "abu": 21, "deriv": 21, "visual": 21, "inspect": 21, "divid": 21, "frac": 21, "express": 21, "averag": 21, "p_c": 21, "t_c": 21, "individu": 21, "compon": 21, "sum": 21, "x_": 21, "c_": 21, "too": 21, "inconveni": 21, "becaus": 21, "time": 21, "consum": 21, "furthermor": 21, "isn": 21, "heavi": 21, "end": 21, "often": 21, "lump": 21, "up": 21, "togeth": 21, "report": 21, "imposs": 21, "heavier": 21, "introduc": 21, "unknown": 21, "composit": 21, "756": 21, "131": 21, "gamma": 21, "169": 21, "349": 21, "74": 21, "abov": 21, "57": 21, "68": 21, "he": 21, "also": 21, "epsilon": 21, "120": 21, "concentr": 21, "54": 21, "space": 21, "mol": 21, "73": 21, "absolut": 21, "error": 21, "418": 21, "were": 21, "289": 21, "adapt": 21, "nitrogen": 21, "begin": 21, "align": 21, "11582": 21, "45820": 21, "90348": 21, "66026": 21, "70729": 21, "099397": 21, "8216": 21, "06534": 21, "sqrt": 21, "42113": 21, "91249": 21, "17": 21, "438": 21, "2191": 21, "steward": 21, "51": 21, "67": 21, "crrelat": 21, "304": 21, "896": 21, "implement": 21, "limit": 21, "develop": 21, "therefor": 21, "synthet": 21, "deal": 21, "necessari": 21, "h_": 21, "5005661019949397": 21, "5483056093175225": 21, "There": 21, "two": 21, "kind": 21, "implicit": 21, "vs": 21, "find": 21, "root": 21, "view": 21, "These": 21, "computation": 21, "much": 21, "expens": 21, "significantli": 21, "cost": 21, "start": 21, "unnecessari": 21, "tend": 21, "smaller": 21, "less": 21, "befor": 21, "a_": 21, "rho_": 21, "exp": 21, "27p_": 21, "zt_": 21, "3265": 21, "0700": 21, "5339": 21, "01569": 21, "05165": 21, "5475": 21, "7361": 21, "1844": 21, "1056": 21, "6134": 21, "7210": 21, "test": 21, "leq": 21, "468": 21, "1995": 21, "5006": 21, "7730934971021096": 21, "06125te": 21, "76t": 21, "58t": 21, "90": 21, "7t": 21, "242": 21, "2t": 21, "42": 21, "4t": 21, "82t": 21, "receiv": 21, "great": 21, "77140002684377": 21, "differ": 21, "further": 21, "eleven": 21, "5960": 21, "3024696": 21, "046964": 21, "1078916": 21, "7694186": 21, "1965439": 21, "6527819": 21, "118884": 21, "3951957": 21, "09313593": 21, "8483081": 21, "7880011": 21, "mention": 21, "logic": 21, "sinc": 21, "underli": 21, "412": 21, "7752626795793716": 21, "dp_": 21, "te": 21, "tp_": 21, "317842": 21, "382216": 21, "76835": 21, "2905": 21, "00000218363": 21, "00469257": 21, "0962541": 21, "16672": 21, "96691": 21, "063069": 21, "966847": 21, "0581": 21, "27": 21, "0246": 21, "23": 21, "207": 21, "783": 21, "488": 21, "161": 21, "176": 21, "88453": 21, "05921": 21, "5346": 21, "4379": 21, "outsid": 21, "coverag": 21, "author": 21, "7667583024871576": 21, "reli": 21, "share": 21, "depend": 21, "qualiti": 21, "sometim": 21, "final": 21, "6001600275325583": 21, "44138121739974145": 21, "despit": 21, "compar": 21, "sit": 21, "around": 21, "44": 21, "44245159219674585": 21, "42052851684415665": 21, "discrep": 21, "happen": 21, "offici": 21, "guarante": 21, "been": 21, "found": 21, "consequ": 21, "verifi": 21, "fortun": 21, "observ": 21, "abl": 21, "activ": 21, "44138121739974157": 21, "demonstr": 21, "advantag": 21, "faster": 21, "close": 21, "far": 21, "did": 21, "short": 21, "But": 21, "four": 21, "combin": 21, "shed": 21, "light": 21, "determin": 21, "dictat": 21, "yield": 21, "highest": 21, "974": 21, "long": 21, "geq": 21, "957": 21, "unfortun": 21, "evalu": 21, "includ": 21, "avoid": 21, "3rd": 21, "parti": 21, "himself": 21}, "objects": {"piper": [[17, 0, 1, "", "Piper"]], "piper.Piper": [[2, 1, 1, "", "calc_J"], [3, 1, 1, "", "calc_K"], [4, 1, 1, "", "calc_Ppc"], [5, 1, 1, "", "calc_Pr"], [6, 1, 1, "", "calc_Tpc"], [7, 1, 1, "", "calc_Tr"]], "sutton": [[20, 0, 1, "", "Sutton"]], "sutton.Sutton": [[8, 1, 1, "", "calc_Ppc"], [9, 1, 1, "", "calc_Ppc_corrected"], [10, 1, 1, "", "calc_Pr"], [11, 1, 1, "", "calc_Tpc"], [12, 1, 1, "", "calc_Tpc_corrected"], [13, 1, 1, "", "calc_Tr"], [14, 1, 1, "", "calc_e_correction"]], "z_helper": [[0, 2, 1, "", "calc_z"], [19, 2, 1, "", "quickstart"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:function"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "function", "Python function"]}, "titleterms": {"gascompress": [0, 15, 17, 19, 20], "calc_z": 0, "discuss": 1, "forum": 1, "calc_j": 2, "calc_k": 3, "calc_ppc": [4, 8], "calc_pr": [5, 10], "calc_tpc": [6, 11], "calc_tr": [7, 13], "calc_ppc_correct": 9, "calc_tpc_correct": 12, "calc_e_correct": 14, "py": 15, "1": [15, 21], "instal": 15, "2": [15, 21], "quickstart": [15, 19], "3": [15, 21], "usag": [15, 17, 20], "4": [15, 21], "model": [15, 18, 21], "implement": 15, "5": [15, 21], "work": [15, 21], "rang": [15, 21], "6": [15, 21], "tip": 15, "7": 15, "refer": [15, 16, 17, 20, 21], "8": 15, "requir": 15, "9": 15, "author": 15, "10": 15, "cite": 15, "As": 15, "api": 16, "pseudocrit": [17, 20], "piper": [17, 21], "basic": [17, 20], "exampl": [17, 20], "method": [17, 20], "attribut": [17, 20], "pseudo": [18, 21], "critic": [18, 21], "sutton": [20, 21], "theori": 21, "properti": 21, "1985": 21, "et": 21, "al": 21, "1993": 21, "caveat": 21, "z": 21, "factor": 21, "correl": 21, "dak": 21, "1975": 21, "hall": 21, "yarborough": 21, "1973": 21, "londono": 21, "2005": 21, "kareem": 21, "iwalewa": 21, "marhoun": 21, "2016": 21, "output": 21, "comparison": 21, "about": 21, "smart_guess": 21, "what": 21, "should": 21, "i": 21, "us": 21, "compat": 21, "note": 21, "brief": 21, "Of": 21, "each": 21}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "sphinx.ext.intersphinx": 1, "sphinx": 56}}) \ No newline at end of file diff --git a/docs/build/html/sutton.html b/docs/build/html/sutton.html index 1cbb4c8..70df7c8 100644 --- a/docs/build/html/sutton.html +++ b/docs/build/html/sutton.html @@ -507,10 +507,10 @@

    Methods

    calc_Tr

    -

    Calculates pseudo-reduced temperature, Tr (°R)

    +

    Calculates pseudo-reduced temperature, Tr (dimensionless)

    calc_Pr

    -

    Calculates pseudo-reduced pressure, Pr (psia)

    +

    Calculates pseudo-reduced pressure, Pr (dimensionless)

    @@ -554,10 +554,10 @@

    Attributes

    Tr

    -

    pseudo-reduced temperature, Tr (°R)

    +

    pseudo-reduced temperature, Tr (dimensionless)

    Pr

    -

    pseudo-reduced pressure, Pr (psia)

    +

    pseudo-reduced pressure, Pr (dimensionless)

    ps_props

    dictionary of pseudo-critical properties.

    diff --git a/docs/calc_z.html b/docs/calc_z.html index e4e52ae..1fd81cb 100644 --- a/docs/calc_z.html +++ b/docs/calc_z.html @@ -399,8 +399,8 @@

    gascompressibility.calc_zfloat) – mole fraction of H2S (dimensionless)

  • CO2 (float) – mole fraction of CO2 (dimensionless)

  • N2 (float) – mole fraction of N2 (dimensionless). Available only when pmodel='piper' (default)

  • -
  • Pr (float) – pseudo-reduced pressure, Pr (psia)

  • -
  • Tr (float) – pseudo-reduced temperature, Tr (°R)

  • +
  • Pr (float) – pseudo-reduced pressure, Pr (dimensionless)

  • +
  • Tr (float) – pseudo-reduced temperature, Tr (dimensionless)

  • pmodel (str) –

    choice of a pseudo-critical model. Check Theories 1: Pseudo-Critical Property Models for more information. Accepted inputs: 'sutton' | 'piper'

    diff --git a/docs/doc-publish-script.py b/docs/doc-publish-script.py index 75c1bfb..e8d94f8 100644 --- a/docs/doc-publish-script.py +++ b/docs/doc-publish-script.py @@ -7,6 +7,4 @@ # run this script before publishing to documentation page -# git rm --cached GasCompressibiltiy-py-docs -r -# git submodule add https://github.com/aegis4048/GasCompressibiltiy-py-docs.git GasCompressibiltiy-py-docs diff --git a/docs/functions/piper.Piper.calc_Pr.html b/docs/functions/piper.Piper.calc_Pr.html index 41c526f..5a166a9 100644 --- a/docs/functions/piper.Piper.calc_Pr.html +++ b/docs/functions/piper.Piper.calc_Pr.html @@ -369,7 +369,7 @@
    Piper.calc_Pr(P=None, sg=None, Tpc=None, Ppc=None, H2S=None, CO2=None, N2=None, J=None, K=None, ignore_conflict=False)[source]#
    -

    Calculates pseudo-reduced pressure, Pr (psia)

    +

    Calculates pseudo-reduced pressure, Pr (dimensionless)

    Parameters:
      @@ -384,7 +384,7 @@
    Returns:
    -

    pseudo-reduced pressure, Pr (psia)

    +

    pseudo-reduced pressure, Pr (dimensionless)

    Return type:

    float

    diff --git a/docs/functions/piper.Piper.calc_Tr.html b/docs/functions/piper.Piper.calc_Tr.html index 9b71bcf..735c874 100644 --- a/docs/functions/piper.Piper.calc_Tr.html +++ b/docs/functions/piper.Piper.calc_Tr.html @@ -369,7 +369,7 @@
    Piper.calc_Tr(T=None, sg=None, Tpc=None, H2S=None, CO2=None, N2=None, J=None, K=None, ignore_conflict=False)[source]#
    -

    Calculates pseudo-reduced temperature, Tr (°R)

    +

    Calculates pseudo-reduced temperature, Tr (dimensionless)

    Parameters:
      @@ -384,7 +384,7 @@
    Returns:
    -

    pseudo-reduced temperature, Tr (°R)

    +

    pseudo-reduced temperature, Tr (dimensionless)

    Return type:

    float

    diff --git a/docs/functions/sutton.Sutton.calc_Pr.html b/docs/functions/sutton.Sutton.calc_Pr.html index 3baba45..4e1089c 100644 --- a/docs/functions/sutton.Sutton.calc_Pr.html +++ b/docs/functions/sutton.Sutton.calc_Pr.html @@ -369,7 +369,7 @@
    Sutton.calc_Pr(P=None, Ppc_corrected=None, sg=None, Tpc=None, Ppc=None, e_correction=None, Tpc_corrected=None, H2S=None, CO2=None, ignore_conflict=False)[source]#
    -

    Calculates pseudo-reduced pressure, Pr (psia)

    +

    Calculates pseudo-reduced pressure, Pr (dimensionless)

    Parameters:
      @@ -386,7 +386,7 @@
    Returns:
    -

    pseudo-reduced pressure, Pr (psia)

    +

    pseudo-reduced pressure, Pr (dimensionless)

    Return type:

    float

    diff --git a/docs/functions/sutton.Sutton.calc_Tr.html b/docs/functions/sutton.Sutton.calc_Tr.html index 1a73a03..efc3219 100644 --- a/docs/functions/sutton.Sutton.calc_Tr.html +++ b/docs/functions/sutton.Sutton.calc_Tr.html @@ -369,7 +369,7 @@
    Sutton.calc_Tr(T=None, Tpc_corrected=None, sg=None, Tpc=None, e_correction=None, H2S=None, CO2=None, ignore_conflict=False)[source]#
    -

    Calculates pseudo-reduced temperature, Tr (°R)

    +

    Calculates pseudo-reduced temperature, Tr (dimensionless)

    Parameters:
      @@ -384,7 +384,7 @@
    Returns:
    -

    pseudo-reduced temperature, Tr (°R)

    +

    pseudo-reduced temperature, Tr (dimensionless)

    Return type:

    float

    diff --git a/docs/piper.html b/docs/piper.html index e208bcd..8ebe102 100644 --- a/docs/piper.html +++ b/docs/piper.html @@ -495,10 +495,10 @@

    Methods

    calc_Tr

    -

    Calculates pseudo-reduced temperature, Tr (°R)

    +

    Calculates pseudo-reduced temperature, Tr (dimensionless)

    calc_Pr

    -

    Calculates pseudo-reduced pressure, Pr (psia)

    +

    Calculates pseudo-reduced pressure, Pr (dimensionless)

    @@ -545,10 +545,10 @@

    Attributes

    Tr

    -

    pseudo-reduced temperature, Tr (°R)

    +

    pseudo-reduced temperature, Tr (dimensionless)

    Pr

    -

    pseudo-reduced pressure, Pr (psia)

    +

    pseudo-reduced pressure, Pr (dimensionless)

    ps_props

    dictionary of pseudo-critical properties.

    diff --git a/docs/searchindex.js b/docs/searchindex.js index 41bfece..8217308 100644 --- a/docs/searchindex.js +++ b/docs/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["calc_z", "discussion", "functions/piper.Piper.calc_J", "functions/piper.Piper.calc_K", "functions/piper.Piper.calc_Ppc", "functions/piper.Piper.calc_Pr", "functions/piper.Piper.calc_Tpc", "functions/piper.Piper.calc_Tr", "functions/sutton.Sutton.calc_Ppc", "functions/sutton.Sutton.calc_Ppc_corrected", "functions/sutton.Sutton.calc_Pr", "functions/sutton.Sutton.calc_Tpc", "functions/sutton.Sutton.calc_Tpc_corrected", "functions/sutton.Sutton.calc_Tr", "functions/sutton.Sutton.calc_e_correction", "index", "modules", "piper", "pseudocritical", "quickstart", "sutton", "theories"], "filenames": ["calc_z.rst", "discussion.rst", "functions\\piper.Piper.calc_J.rst", "functions\\piper.Piper.calc_K.rst", "functions\\piper.Piper.calc_Ppc.rst", "functions\\piper.Piper.calc_Pr.rst", "functions\\piper.Piper.calc_Tpc.rst", "functions\\piper.Piper.calc_Tr.rst", "functions\\sutton.Sutton.calc_Ppc.rst", "functions\\sutton.Sutton.calc_Ppc_corrected.rst", "functions\\sutton.Sutton.calc_Pr.rst", "functions\\sutton.Sutton.calc_Tpc.rst", "functions\\sutton.Sutton.calc_Tpc_corrected.rst", "functions\\sutton.Sutton.calc_Tr.rst", "functions\\sutton.Sutton.calc_e_correction.rst", "index.rst", "modules.rst", "piper.rst", "pseudocritical.rst", "quickstart.rst", "sutton.rst", "theories.rst"], "titles": ["gascompressibility.calc_z", "Discussion Forum", "calc_J", "calc_K", "calc_Ppc", "calc_Pr", "calc_Tpc", "calc_Tr", "calc_Ppc", "calc_Ppc_corrected", "calc_Pr", "calc_Tpc", "calc_Tpc_corrected", "calc_Tr", "calc_e_correction", "GasCompressibility-py", "API Reference", "gascompressibility.pseudocritical.Piper", "Pseudo-Critical Models", "gascompressibility.quickstart", "gascompressibility.pseudocritical.Sutton", "Theories"], "terms": {"sg": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "none": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 19, 20], "p": [0, 5, 9, 10, 15, 17, 20, 21], "t": [0, 1, 7, 9, 10, 12, 13, 15, 17, 19, 20, 21], "h2": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 20, 21], "co2": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 20, 21], "n2": [0, 2, 3, 4, 5, 6, 7, 15, 17, 21], "pr": [0, 5, 10, 15, 17, 19, 20, 21], "tr": [0, 7, 13, 15, 17, 20, 21], "pmodel": [0, 15, 21], "piper": [0, 2, 3, 4, 5, 6, 7, 15], "zmodel": [0, 15, 19, 21], "dak": [0, 15, 19], "guess": [0, 19, 21], "newton_kwarg": 0, "smart_guess": [0, 19], "ps_prop": [0, 15, 17, 20], "fals": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 19, 21], "ignore_conflict": [0, 4, 5, 6, 7, 9, 10, 12, 13], "kwarg": [0, 19], "sourc": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 19, 20, 21], "calcul": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 20, 21], "ga": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "compress": [0, 15, 17, 20, 21], "factor": [0, 9, 10, 12, 13, 14, 15, 17, 19, 20], "z": [0, 15, 19], "basic": [0, 1, 15, 19, 21], "most": [0, 15, 21], "common": [0, 15], "usag": [0, 19, 21], "import": [0, 1, 15, 17, 19, 20, 21], "gc": [0, 15, 19, 21], "0": [0, 3, 4, 5, 6, 7, 15, 17, 19, 20, 21], "7": [0, 17, 19, 20, 21], "75": [0, 15, 17, 20, 21], "2010": [0, 15, 17, 20], "7366562810878984": [0, 15], "In": [0, 15, 19, 21], "presenc": [0, 15, 21], "signific": [0, 15, 21], "non": [0, 15, 21], "hydrocarbon": [0, 15, 21], "impur": [0, 15, 21], "1": [0, 17, 19, 20], "07": [0, 15, 17, 20, 21], "05": [0, 15, 17, 19, 20, 21], "7765149771306533": [0, 15], "when": [0, 15, 19, 21], "pseudo": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 20], "critic": [0, 4, 6, 8, 9, 10, 11, 12, 13, 15, 16, 17, 20], "properti": [0, 15, 17, 20], "ar": [0, 1, 15, 21], "known": [0, 15], "5": [0, 3, 4, 5, 6, 7, 17, 19], "859314380561347": [0, 15], "pick": [0, 15], "correl": [0, 15, 17, 19, 20], "model": [0, 16, 17, 19, 20], "your": [0, 1, 15], "choic": [0, 15, 19], "kareem": [0, 15, 19], "sutton": [0, 8, 9, 10, 11, 12, 13, 14, 15], "7150183342641309": [0, 15], "return": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 19, 21], "all": [0, 15, 17, 20, 21], "associ": [0, 15, 17, 20], "comput": [0, 15, 17, 20, 21], "true": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 19, 21], "tpc": [0, 4, 5, 6, 7, 9, 10, 11, 12, 13, 15, 17, 20], "371": [0, 15, 17], "4335560823552": [0, 15, 17], "ppc": [0, 4, 5, 8, 9, 10, 15, 17, 20], "660": [0, 15, 17], "6569792741872": [0, 15, 17], "j": [0, 2, 4, 5, 6, 7, 15, 17, 21], "56221847": [0, 15, 17], "k": [0, 3, 4, 5, 6, 7, 15, 17, 19, 21], "14": [0, 15, 17, 21], "450840999999999": [0, 15, 17], "4394768357478496": [0, 15], "3": [0, 17, 19, 20], "0646766226921294": [0, 15, 17], "paramet": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 19, 21], "float": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 19], "specif": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "graviti": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "dimensionless": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 20, 21], "pressur": [0, 4, 5, 8, 9, 10, 15, 17, 20, 21], "psig": [0, 5, 10], "temperatur": [0, 4, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 20, 21], "f": [0, 7, 13, 15, 21], "mole": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 21], "fraction": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 20, 21], "avail": 0, "onli": [0, 21], "default": [0, 15, 21], "reduc": [0, 5, 7, 10, 13, 15, 17, 20, 21], "psia": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 17, 20, 21], "r": [0, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 20, 21], "str": [0, 15, 19, 21], "check": [0, 15, 19, 21], "theori": [0, 15, 19], "more": [0, 15, 17, 19, 20, 21], "inform": [0, 15, 19], "accept": [0, 19], "input": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 19, 21], "2": [0, 17, 19, 20], "hall_yarborough": [0, 19, 21], "londono": [0, 15, 19], "initi": [0, 17, 20, 21], "valu": [0, 15, 19, 21], "us": [0, 15, 17, 19, 20], "iter": [0, 21], "converg": [0, 21], "NOT": [0, 19, 21], "recommend": [0, 15, 19, 21], "manual": [0, 21], "set": [0, 4, 5, 6, 7, 9, 10, 12, 13, 19, 21], "thi": [0, 1, 4, 5, 6, 7, 9, 10, 12, 13, 15, 17, 19, 20, 21], "unless": [0, 21], "p_r": [0, 15, 19, 21], "exce": 0, "15": [0, 15, 19, 21], "If": [0, 1, 15, 21], "so": [0, 21], "appli": [0, 21], "which": [0, 15, 21], "good": [0, 15, 21], "estim": [0, 15, 21], "high": [0, 15, 20, 21], "scenario": [0, 19], "otherwis": 0, "built": [0, 19, 21], "take": [0, 21], "over": [0, 21], "automat": 0, "provid": [0, 1, 19, 21], "s": [0, 1, 15, 17, 20, 21], "fast": [0, 15, 21], "accur": [0, 21], "dict": [0, 15, 19, 21], "dictonari": 0, "keyword": [0, 4, 5, 6, 7, 9, 10, 12, 13], "argument": [0, 4, 5, 6, 7, 9, 10, 12, 13], "scipi": [0, 15, 21], "optim": [0, 21], "newton": [0, 21], "method": [0, 1, 15, 21], "maxit": 0, "10000": 0, "bool": [0, 4, 5, 6, 7, 9, 10, 12, 13, 19], "prevent": [0, 21], "rare": [0, 21], "corner": [0, 15, 21], "case": [0, 21], "where": [0, 21], "fail": [0, 21], "solut": [0, 21], "improv": [0, 15, 21], "speed": [0, 15, 21], "It": [0, 1, 15, 17, 19, 20, 21], "smart": [0, 21], "explicit": [0, 15, 21], "like": [0, 1, 15, 17, 19, 20, 21], "For": [0, 1, 15, 21], "turn": [0, 21], "off": [0, 19, 21], "fix": 0, "shown": 0, "work": 0, "well": [0, 21], "6": [0, 19], "caveat": [0, 19], "dictionari": [0, 1, 19], "dure": [0, 17, 20], "overrid": [0, 4, 5, 6, 7, 9, 10, 12, 13], "variabl": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 17, 20], "option": [0, 19], "allow": [0, 15], "direct": [0, 1, 17, 20, 21], "from": [0, 15, 17, 20, 21], "instead": 0, "consid": [0, 21], "below": [0, 15, 21], "code": [0, 1, 15, 21], "exampl": [0, 15, 21], "663": [0, 20], "e_correct": [0, 9, 10, 12, 13, 20], "21": [0, 20, 21], "377": [0, 20], "59": [0, 20], "7720015496503527": 0, "aren": 0, "defin": [0, 21], "function": [0, 1, 21], "thei": [0, 21], "can": [0, 1, 15, 17, 19, 20, 21], "pass": 0, "calc_pr": [0, 15, 17, 20, 21], "calc_tr": [0, 15, 17, 20, 21], "you": [0, 1, 15, 17, 20, 21], "alreadi": 0, "know": [0, 15, 21], "would": 0, "type": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "do": [1, 15], "have": [1, 15, 17, 20, 21], "ani": [1, 15, 21], "question": [1, 15], "comment": 1, "suggest": 1, "featur": [1, 21], "request": 1, "feel": 1, "free": 1, "leav": 1, "here": [1, 15], "each": [1, 15, 19], "page": [1, 15], "document": [1, 21], "support": [1, 15, 17, 20, 21], "capabl": 1, "via": 1, "disqu": 1, "encount": 1, "challeng": 1, "applic": [1, 15, 21], "rememb": 1, "might": 1, "other": [1, 21], "face": 1, "same": [1, 15, 21], "issu": [1, 21], "post": 1, "publicli": 1, "could": 1, "potenti": 1, "help": [1, 15], "go": [1, 15, 21], "through": [1, 21], "exact": [1, 21], "problem": 1, "i": [1, 15], "my": [1, 21], "best": 1, "answer": [1, 21], "assist": 1, "As": 1, "petroleum": [1, 15, 17, 21], "engin": [1, 15, 21], "understand": 1, "mani": 1, "profession": 1, "oil": [1, 15, 21], "industri": [1, 15, 21], "veri": [1, 21], "familiar": 1, "python": [1, 15, 21], "re": 1, "struggl": 1, "instal": 1, "unsur": 1, "about": [1, 15], "program": [1, 15], "concept": 1, "class": [1, 17, 20], "attribut": 1, "object": [1, 17, 19, 20], "pleas": 1, "don": [1, 15, 19, 21], "hesit": 1, "ask": [1, 15], "thing": 1, "stupid": 1, "user": [1, 15], "packag": [1, 15, 21], "mai": [1, 15, 21], "strong": 1, "background": 1, "just": 1, "stackoverflow": 1, "valuabl": 1, "insight": 1, "similar": 1, "privat": 1, "inquiri": 1, "involv": 1, "special": 1, "requir": [1, 17, 20, 21], "confidenti": 1, "them": [1, 21], "aegis4048": [1, 15], "gmail": [1, 15], "com": [1, 15], "stewart": [2, 3, 15, 17, 21], "burkhardt": [2, 3, 15, 17, 21], "voo": [2, 3, 15, 17, 21], "sbv": [2, 3, 4, 5, 6, 7, 21], "tpc_correct": [9, 10, 13, 20], "correct": [9, 10, 12, 13, 14, 15, 17, 20, 21], "pc": [9, 10, 12, 13, 17, 20, 21], "acid": [9, 10, 12, 13, 14, 15, 17, 20, 21], "gase": [9, 10, 12, 13, 14, 15, 17, 20, 21], "\u03b5": [9, 10, 12, 13, 14, 20], "ppc_correct": [10, 20], "librari": [15, 21], "base": [15, 17, 20], "real": [15, 21], "law": 15, "design": 15, "practic": [15, 21], "field": [15, 21], "mind": 15, "gamma_": [15, 21], "g": [15, 21], "readili": 15, "obtain": [15, 21], "surfac": 15, "facil": 15, "The": [15, 17, 19, 20, 21], "under": [15, 19], "mit": 15, "licens": 15, "restrict": [15, 21], "whatsoev": 15, "host": 15, "pypi": 15, "remot": 15, "pip": 15, "command": 15, "To": 15, "download": 15, "recent": 15, "version": [15, 21], "upgrad": 15, "chemic": 15, "who": [15, 19], "doesn": [15, 21], "what": 15, "read": 15, "matplotlib": [15, 19, 21], "pyplot": [15, 21], "plt": [15, 21], "result": [15, 19, 21], "fig": [15, 19, 21], "ax": [15, 19, 21], "prmin": [15, 19, 21], "prmax": [15, 19, 21], "show": 15, "quick": [15, 19], "calc_z": [15, 16, 19, 21], "addition": [15, 21], "pseudocrit": [15, 21], "7950877932259734": 15, "calc_ppc": [15, 17, 20], "724": 15, "3779622618493": 15, "37": [15, 21], "7951185167800987": 15, "1985": [15, 20], "make": [15, 21], "h_2": [15, 17, 20, 21], "co_2": [15, 17, 20, 21], "1993": [15, 17], "n_2": [15, 21], "along": [15, 21], "1975": 15, "wide": [15, 21], "past": [15, 21], "40": [15, 21], "year": [15, 21], "wrong": [15, 21], "hall": 15, "yarborough": 15, "1973": 15, "Not": [15, 21], "2005": 15, "math": [15, 21], "exactli": [15, 21], "regress": [15, 21], "coeffici": [15, 21], "fit": [15, 21], "4x": [15, 21], "data": [15, 21], "point": [15, 21], "2016": 15, "shorter": [15, 21], "sure": 15, "need": [15, 21], "worri": 15, "than": [15, 21], "enough": [15, 21], "life": [15, 21], "howev": [15, 21], "big": [15, 21], "concern": [15, 21], "should": 15, "tabl": [15, 21], "summar": [15, 21], "t_r": [15, 19, 21], "accord": [15, 21], "own": [15, 21], "origin": [15, 21], "paper": [15, 17, 20, 21], "30": [15, 19, 21], "20": [15, 21], "someth": [15, 21], "normal": [15, 21], "we": [15, 21], "given": [15, 21], "mixtur": [15, 21], "figur": [15, 19, 21], "correspond": [15, 21], "assum": [15, 21], "green": [15, 21], "line": [15, 21], "extrem": [15, 19, 21], "condit": [15, 21], "19": [15, 20, 21], "000": [15, 21], "800": [15, 21], "11": [15, 19, 21], "500": [15, 21], "numpi": [15, 21], "np": [15, 21], "pmin": [15, 21], "pmax": [15, 21], "25000": [15, 21], "ps": [15, 21], "linspac": [15, 21], "100": [15, 21], "arrai": [15, 19, 21], "round": [15, 21], "tmin": [15, 21], "459": [15, 21], "tmax": [15, 21], "1500": [15, 21], "ts": [15, 21], "arang": [15, 21], "append": [15, 21], "axi": [15, 19, 21], "subplot": [15, 21], "figsiz": [15, 19, 21], "enumer": [15, 21], "plot": [15, 19, 21], "label": [15, 19, 21], "text": [15, 19, 21], "max": [15, 21], "color": [15, 19, 21], "get_color": [15, 21], "set_bbox": [15, 21], "facecolor": [15, 19, 21], "white": [15, 21], "alpha": [15, 19, 21], "edgecolor": [15, 21], "pad": [15, 21], "06": [15, 21], "p_": [15, 17, 20, 21], "approxim": [15, 21], "fontsiz": [15, 19, 21], "transform": [15, 19, 21], "transax": [15, 19, 21], "bbox": [15, 21], "set_ylabel": [15, 19, 21], "set_xlabel": [15, 19, 21], "ymax": [15, 21], "60": [15, 21], "hline": [15, 21], "y": [15, 19, 21], "xmin": [15, 21], "xmax": [15, 21], "linestyl": [15, 19, 21], "linewidth": [15, 19, 21], "31": [15, 21], "16": [15, 21], "fill_between": [15, 21], "x": [15, 19, 21], "y1": [15, 21], "y2": [15, 21], "interpol": [15, 21], "zorder": [15, 21], "99": [15, 21], "els": [15, 21], "t_": [15, 17, 20, 21], "ymin": [15, 21], "set_ylim": [15, 19, 21], "minorticks_on": [15, 21], "grid": [15, 19, 21], "visibl": [15, 21], "minor": [15, 21], "spine": [15, 21], "top": [15, 19, 21], "set_vis": [15, 21], "right": [15, 19, 21], "def": [15, 21], "setbold": [15, 21], "txt": [15, 21], "join": [15, 21], "bf": [15, 21], "item": [15, 21], "split": [15, 21], "bold_txt": [15, 21], "plain_txt": [15, 21], "suptitl": [15, 21], "verticalalign": [15, 21], "horizontalalign": [15, 21], "left": [15, 19, 21], "yloc": [15, 21], "annot": [15, 19, 21], "xy": [15, 21], "01": [15, 21], "xycoord": [15, 21], "xytext": [15, 21], "02": [15, 21], "arrowprop": [15, 21], "arrowstyl": [15, 21], "lw": [15, 21], "95": [15, 21], "ha": [15, 21], "va": [15, 19, 21], "center": [15, 21], "grei": [15, 21], "tight_layout": [15, 19, 21], "doe": [15, 21], "mean": [15, 17, 20, 21], "probabl": 15, "minim": 15, "knowledg": 15, "open": 15, "hassl": 15, "offer": 15, "some": [15, 21], "profici": 15, "yet": 15, "anaconda": 15, "run": [15, 17, 20], "file": 15, "filenam": 15, "look": [15, 19], "anaconda3": 15, "2023": 15, "03": 15, "window": 15, "x86_64": 15, "ex": 15, "select": 15, "destin": 15, "folder": 15, "By": 15, "its": [15, 17, 20, 21], "c": [15, 21], "programdata": 15, "want": [15, 21], "add": 15, "codna": 15, "environt": 15, "path": 15, "ye": 15, "sai": 15, "trust": 15, "me": 15, "easier": 15, "onc": [15, 17, 20], "finish": 15, "search": 15, "tab": 15, "bottom": 15, "screen": 15, "cmd": 15, "launch": 15, "done": [15, 21], "correctli": 15, "next": 15, "current": [15, 21], "directori": 15, "erickim": 15, "see": 15, "again": 15, "click": 15, "prompt": 15, "still": 15, "dive": 15, "pain": 15, "troubleshoot": 15, "friend": 15, "follow": [15, 17, 19, 20, 21], "press": 15, "enter": 15, "congrat": 15, "jupyt": 15, "notebook": 15, "try": [15, 19], "molecular": [15, 20, 21], "weight": [15, 20, 21], "reservoir": [15, 20, 21], "spe": [15, 17, 20, 21], "14265": [15, 20, 21], "link": [15, 17, 20, 21], "l": [15, 17, 21], "d": [15, 17, 21], "mccain": [15, 17, 21], "jr": [15, 17, 21], "w": [15, 17, 21], "corredor": [15, 17, 21], "h": [15, 17, 21], "natur": [15, 17, 20, 21], "occur": [15, 17, 21], "26668": [15, 17, 21], "dranchuk": [15, 21], "m": [15, 21], "abou": [15, 21], "kassem": [15, 21], "equat": [15, 21], "state": [15, 21], "journal": [15, 21], "canadian": [15, 21], "technolog": [15, 21], "kai": [15, 21], "b": [15, 21], "densiti": [15, 21], "vapor": [15, 21], "chemistri": [15, 21], "1936": [15, 21], "wichert": [15, 20, 21], "e": [15, 20, 21], "sour": [15, 20, 21], "meng": [15, 20, 21], "thesi": [15, 20, 21], "univers": [15, 20, 21], "calgari": [15, 20, 21], "alberta": [15, 20, 21], "1970": [15, 20, 21], "predict": [15, 21], "present": [15, 21], "aich": [15, 21], "meet": [15, 21], "kansa": [15, 21], "citi": [15, 21], "mo": [15, 21], "18": [15, 21], "1959": [15, 21], "A": [15, 21], "new": [15, 21], "archer": [15, 21], "blasingam": [15, 21], "simplifi": [15, 21], "viscos": [15, 21], "valid": [15, 21], "behavior": [15, 21], "larg": [15, 21], "scale": [15, 21], "databas": [15, 21], "75721": [15, 21], "iwalewa": 15, "marhoun": 15, "al": 15, "linear": [15, 21], "isotherm": [15, 21], "explor": [15, 21], "product": [15, 21], "elsharkawi": [15, 21], "aladwani": [15, 21], "alostad": [15, 21], "n": [15, 21], "uncertainti": [15, 21], "impact": [15, 21], "inflow": [15, 21], "perform": [15, 21], "forecast": [15, 21], "scienc": [15, 21], "2015": [15, 21], "condens": [15, 21], "empir": [15, 21], "74369": [15, 21], "2002": [15, 21], "12": [15, 19, 21], "contain": [15, 21], "variou": [15, 21], "amount": [15, 21], "2020": [15, 21], "eric": 15, "soobin": 15, "kim": 15, "compressor": 15, "compani": 15, "flogistix": 15, "primari": 15, "contact": 15, "websit": 15, "pythonicexcurs": 15, "2021": 15, "index": 15, "http": 15, "org": 15, "project": 15, "gascompress": [16, 21], "quickstart": [16, 21], "gamma_g": [17, 20, 21], "instanc": [17, 20], "instanti": [17, 20], "first": [17, 20], "obj": [17, 20], "updat": [17, 20], "process": [17, 20, 21], "access": [17, 20], "form": [17, 20, 21], "2000": [17, 20], "7143160585360255": 17, "instantia": [17, 20], "an": [17, 20, 21], "retriev": [17, 19, 20], "_": [17, 20, 21], "359": 17, "4649612886111": 17, "742": 17, "249596786689": 17, "48429121800104624": 17, "13": [17, 21], "194154915384328": 17, "730": 17, "6830493485268": 17, "calc_tpc": [17, 20], "357": 17, "31032650971184": 17, "calc_j": 17, "48900864311590075": 17, "calc_k": 17, "218465793646919": 17, "770968892470151": 17, "496374328788025": 17, "8": [19, 21], "title_bold": 19, "title_plain": 19, "title_underline_loc": 19, "93": 19, "disable_tr_annot": [19, 21], "gener": 19, "tool": 19, "those": [19, 21], "wish": 19, "write": 19, "full": 19, "blown": 19, "script": 19, "against": 19, "rang": 19, "tweak": 19, "4": 19, "91": 19, "bold": 19, "titl": 19, "plain": 19, "custim": 19, "set_xlim": 19, "minorticks_off": 19, "08": 19, "custom": 19, "axvspan": 19, "9": [19, 21], "efefef": 19, "axvlin": 19, "anoth": 19, "10": [19, 21], "rotat": 19, "270": 19, "savefig": 19, "output": 19, "png": 19, "bbox_inch": 19, "tight": 19, "dpi": 19, "200": 19, "failur": 19, "bad": 19, "minimum": 19, "maximum": 19, "tupl": 19, "size": 19, "string": 19, "portion": 19, "vertic": 19, "locat": 19, "horizont": 19, "bar": 19, "adjust": 19, "between": 19, "underlin": 19, "displai": 19, "py": [19, 21], "simul": 19, "structur": 19, "29": [19, 21], "9367": 19, "9030": 19, "8675": 19, "1807": 19, "kei": 19, "pair": 19, "pr_105": 19, "z_105": 19, "pr_110": 19, "z_110": 19, "aziz": [20, 21], "052524774343535": 20, "2869999999999": 20, "2070266223893724": 20, "277806029218723": 20, "356": 20, "31219397078127": 20, "628": 20, "2143047814683": 20, "calc_e_correct": 20, "34753439832438": 20, "calc_ppc_correct": 20, "630": 20, "8358627422825": 20, "calc_tpc_correct": 20, "358": 20, "2424656016756": 20, "2095511995759147": 20, "4924807953797739": 20, "goal": 21, "exist": 21, "numer": 21, "repres": 21, "famou": 21, "stand": 21, "katz": 21, "sk": 21, "chart": 21, "word": 21, "one": 21, "hi": 21, "come": 21, "handi": 21, "rel": 21, "easi": 21, "lab": 21, "sampl": 21, "analysi": 21, "section": 21, "explain": 21, "behind": 21, "subsequ": 21, "represent": 21, "abu": 21, "deriv": 21, "visual": 21, "inspect": 21, "divid": 21, "frac": 21, "express": 21, "averag": 21, "p_c": 21, "t_c": 21, "individu": 21, "compon": 21, "sum": 21, "x_": 21, "c_": 21, "too": 21, "inconveni": 21, "becaus": 21, "time": 21, "consum": 21, "furthermor": 21, "isn": 21, "heavi": 21, "end": 21, "often": 21, "lump": 21, "up": 21, "togeth": 21, "report": 21, "imposs": 21, "heavier": 21, "introduc": 21, "unknown": 21, "composit": 21, "756": 21, "131": 21, "gamma": 21, "169": 21, "349": 21, "74": 21, "abov": 21, "57": 21, "68": 21, "he": 21, "also": 21, "epsilon": 21, "120": 21, "concentr": 21, "54": 21, "space": 21, "mol": 21, "73": 21, "absolut": 21, "error": 21, "418": 21, "were": 21, "289": 21, "adapt": 21, "nitrogen": 21, "begin": 21, "align": 21, "11582": 21, "45820": 21, "90348": 21, "66026": 21, "70729": 21, "099397": 21, "8216": 21, "06534": 21, "sqrt": 21, "42113": 21, "91249": 21, "17": 21, "438": 21, "2191": 21, "steward": 21, "51": 21, "67": 21, "crrelat": 21, "304": 21, "896": 21, "implement": 21, "limit": 21, "develop": 21, "therefor": 21, "synthet": 21, "deal": 21, "necessari": 21, "h_": 21, "5005661019949397": 21, "5483056093175225": 21, "There": 21, "two": 21, "kind": 21, "implicit": 21, "vs": 21, "find": 21, "root": 21, "view": 21, "These": 21, "computation": 21, "much": 21, "expens": 21, "significantli": 21, "cost": 21, "start": 21, "unnecessari": 21, "tend": 21, "smaller": 21, "less": 21, "befor": 21, "a_": 21, "rho_": 21, "exp": 21, "27p_": 21, "zt_": 21, "3265": 21, "0700": 21, "5339": 21, "01569": 21, "05165": 21, "5475": 21, "7361": 21, "1844": 21, "1056": 21, "6134": 21, "7210": 21, "test": 21, "leq": 21, "468": 21, "1995": 21, "5006": 21, "7730934971021096": 21, "06125te": 21, "76t": 21, "58t": 21, "90": 21, "7t": 21, "242": 21, "2t": 21, "42": 21, "4t": 21, "82t": 21, "receiv": 21, "great": 21, "77140002684377": 21, "differ": 21, "further": 21, "eleven": 21, "5960": 21, "3024696": 21, "046964": 21, "1078916": 21, "7694186": 21, "1965439": 21, "6527819": 21, "118884": 21, "3951957": 21, "09313593": 21, "8483081": 21, "7880011": 21, "mention": 21, "logic": 21, "sinc": 21, "underli": 21, "412": 21, "7752626795793716": 21, "dp_": 21, "te": 21, "tp_": 21, "317842": 21, "382216": 21, "76835": 21, "2905": 21, "00000218363": 21, "00469257": 21, "0962541": 21, "16672": 21, "96691": 21, "063069": 21, "966847": 21, "0581": 21, "27": 21, "0246": 21, "23": 21, "207": 21, "783": 21, "488": 21, "161": 21, "176": 21, "88453": 21, "05921": 21, "5346": 21, "4379": 21, "outsid": 21, "coverag": 21, "author": 21, "7667583024871576": 21, "reli": 21, "share": 21, "depend": 21, "qualiti": 21, "sometim": 21, "final": 21, "6001600275325583": 21, "44138121739974145": 21, "despit": 21, "compar": 21, "sit": 21, "around": 21, "44": 21, "44245159219674585": 21, "42052851684415665": 21, "discrep": 21, "happen": 21, "offici": 21, "guarante": 21, "been": 21, "found": 21, "consequ": 21, "verifi": 21, "fortun": 21, "observ": 21, "abl": 21, "activ": 21, "44138121739974157": 21, "demonstr": 21, "advantag": 21, "faster": 21, "close": 21, "far": 21, "did": 21, "short": 21, "But": 21, "four": 21, "combin": 21, "shed": 21, "light": 21, "determin": 21, "dictat": 21, "yield": 21, "highest": 21, "974": 21, "long": 21, "geq": 21, "957": 21, "unfortun": 21, "evalu": 21, "includ": 21, "avoid": 21, "3rd": 21, "parti": 21, "himself": 21}, "objects": {"piper": [[17, 0, 1, "", "Piper"]], "piper.Piper": [[2, 1, 1, "", "calc_J"], [3, 1, 1, "", "calc_K"], [4, 1, 1, "", "calc_Ppc"], [5, 1, 1, "", "calc_Pr"], [6, 1, 1, "", "calc_Tpc"], [7, 1, 1, "", "calc_Tr"]], "sutton": [[20, 0, 1, "", "Sutton"]], "sutton.Sutton": [[8, 1, 1, "", "calc_Ppc"], [9, 1, 1, "", "calc_Ppc_corrected"], [10, 1, 1, "", "calc_Pr"], [11, 1, 1, "", "calc_Tpc"], [12, 1, 1, "", "calc_Tpc_corrected"], [13, 1, 1, "", "calc_Tr"], [14, 1, 1, "", "calc_e_correction"]], "z_helper": [[0, 2, 1, "", "calc_z"], [19, 2, 1, "", "quickstart"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:function"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "function", "Python function"]}, "titleterms": {"gascompress": [0, 15, 17, 19, 20], "calc_z": 0, "discuss": 1, "forum": 1, "calc_j": 2, "calc_k": 3, "calc_ppc": [4, 8], "calc_pr": [5, 10], "calc_tpc": [6, 11], "calc_tr": [7, 13], "calc_ppc_correct": 9, "calc_tpc_correct": 12, "calc_e_correct": 14, "py": 15, "1": [15, 21], "instal": 15, "2": [15, 21], "quickstart": [15, 19], "3": [15, 21], "usag": [15, 17, 20], "4": [15, 21], "model": [15, 18, 21], "implement": 15, "5": [15, 21], "work": [15, 21], "rang": [15, 21], "6": [15, 21], "tip": 15, "7": 15, "refer": [15, 16, 17, 20, 21], "8": 15, "requir": 15, "9": 15, "author": 15, "10": 15, "cite": 15, "As": 15, "api": 16, "pseudocrit": [17, 20], "piper": [17, 21], "basic": [17, 20], "exampl": [17, 20], "method": [17, 20], "attribut": [17, 20], "pseudo": [18, 21], "critic": [18, 21], "sutton": [20, 21], "theori": 21, "properti": 21, "1985": 21, "et": 21, "al": 21, "1993": 21, "caveat": 21, "z": 21, "factor": 21, "correl": 21, "dak": 21, "1975": 21, "hall": 21, "yarborough": 21, "1973": 21, "londono": 21, "2005": 21, "kareem": 21, "iwalewa": 21, "marhoun": 21, "2016": 21, "output": 21, "comparison": 21, "about": 21, "smart_guess": 21, "what": 21, "should": 21, "i": 21, "us": 21, "compat": 21, "note": 21, "brief": 21, "Of": 21, "each": 21}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "sphinx.ext.intersphinx": 1, "sphinx": 56}}) \ No newline at end of file +Search.setIndex({"docnames": ["calc_z", "discussion", "functions/piper.Piper.calc_J", "functions/piper.Piper.calc_K", "functions/piper.Piper.calc_Ppc", "functions/piper.Piper.calc_Pr", "functions/piper.Piper.calc_Tpc", "functions/piper.Piper.calc_Tr", "functions/sutton.Sutton.calc_Ppc", "functions/sutton.Sutton.calc_Ppc_corrected", "functions/sutton.Sutton.calc_Pr", "functions/sutton.Sutton.calc_Tpc", "functions/sutton.Sutton.calc_Tpc_corrected", "functions/sutton.Sutton.calc_Tr", "functions/sutton.Sutton.calc_e_correction", "index", "modules", "piper", "pseudocritical", "quickstart", "sutton", "theories"], "filenames": ["calc_z.rst", "discussion.rst", "functions\\piper.Piper.calc_J.rst", "functions\\piper.Piper.calc_K.rst", "functions\\piper.Piper.calc_Ppc.rst", "functions\\piper.Piper.calc_Pr.rst", "functions\\piper.Piper.calc_Tpc.rst", "functions\\piper.Piper.calc_Tr.rst", "functions\\sutton.Sutton.calc_Ppc.rst", "functions\\sutton.Sutton.calc_Ppc_corrected.rst", "functions\\sutton.Sutton.calc_Pr.rst", "functions\\sutton.Sutton.calc_Tpc.rst", "functions\\sutton.Sutton.calc_Tpc_corrected.rst", "functions\\sutton.Sutton.calc_Tr.rst", "functions\\sutton.Sutton.calc_e_correction.rst", "index.rst", "modules.rst", "piper.rst", "pseudocritical.rst", "quickstart.rst", "sutton.rst", "theories.rst"], "titles": ["gascompressibility.calc_z", "Discussion Forum", "calc_J", "calc_K", "calc_Ppc", "calc_Pr", "calc_Tpc", "calc_Tr", "calc_Ppc", "calc_Ppc_corrected", "calc_Pr", "calc_Tpc", "calc_Tpc_corrected", "calc_Tr", "calc_e_correction", "GasCompressibility-py", "API Reference", "gascompressibility.pseudocritical.Piper", "Pseudo-Critical Models", "gascompressibility.quickstart", "gascompressibility.pseudocritical.Sutton", "Theories"], "terms": {"sg": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "none": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 19, 20], "p": [0, 5, 9, 10, 15, 17, 20, 21], "t": [0, 1, 7, 9, 10, 12, 13, 15, 17, 19, 20, 21], "h2": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 20, 21], "co2": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 20, 21], "n2": [0, 2, 3, 4, 5, 6, 7, 15, 17, 21], "pr": [0, 5, 10, 15, 17, 19, 20, 21], "tr": [0, 7, 13, 15, 17, 20, 21], "pmodel": [0, 15, 21], "piper": [0, 2, 3, 4, 5, 6, 7, 15], "zmodel": [0, 15, 19, 21], "dak": [0, 15, 19], "guess": [0, 19, 21], "newton_kwarg": 0, "smart_guess": [0, 19], "ps_prop": [0, 15, 17, 20], "fals": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 19, 21], "ignore_conflict": [0, 4, 5, 6, 7, 9, 10, 12, 13], "kwarg": [0, 19], "sourc": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 19, 20, 21], "calcul": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 20, 21], "ga": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "compress": [0, 15, 17, 20, 21], "factor": [0, 9, 10, 12, 13, 14, 15, 17, 19, 20], "z": [0, 15, 19], "basic": [0, 1, 15, 19, 21], "most": [0, 15, 21], "common": [0, 15], "usag": [0, 19, 21], "import": [0, 1, 15, 17, 19, 20, 21], "gc": [0, 15, 19, 21], "0": [0, 3, 4, 5, 6, 7, 15, 17, 19, 20, 21], "7": [0, 17, 19, 20, 21], "75": [0, 15, 17, 20, 21], "2010": [0, 15, 17, 20], "7366562810878984": [0, 15], "In": [0, 15, 19, 21], "presenc": [0, 15, 21], "signific": [0, 15, 21], "non": [0, 15, 21], "hydrocarbon": [0, 15, 21], "impur": [0, 15, 21], "1": [0, 17, 19, 20], "07": [0, 15, 17, 20, 21], "05": [0, 15, 17, 19, 20, 21], "7765149771306533": [0, 15], "when": [0, 15, 19, 21], "pseudo": [0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 20], "critic": [0, 4, 6, 8, 9, 10, 11, 12, 13, 15, 16, 17, 20], "properti": [0, 15, 17, 20], "ar": [0, 1, 15, 21], "known": [0, 15], "5": [0, 3, 4, 5, 6, 7, 17, 19], "859314380561347": [0, 15], "pick": [0, 15], "correl": [0, 15, 17, 19, 20], "model": [0, 16, 17, 19, 20], "your": [0, 1, 15], "choic": [0, 15, 19], "kareem": [0, 15, 19], "sutton": [0, 8, 9, 10, 11, 12, 13, 14, 15], "7150183342641309": [0, 15], "return": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 19, 21], "all": [0, 15, 17, 20, 21], "associ": [0, 15, 17, 20], "comput": [0, 15, 17, 20, 21], "true": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 19, 21], "tpc": [0, 4, 5, 6, 7, 9, 10, 11, 12, 13, 15, 17, 20], "371": [0, 15, 17], "4335560823552": [0, 15, 17], "ppc": [0, 4, 5, 8, 9, 10, 15, 17, 20], "660": [0, 15, 17], "6569792741872": [0, 15, 17], "j": [0, 2, 4, 5, 6, 7, 15, 17, 21], "56221847": [0, 15, 17], "k": [0, 3, 4, 5, 6, 7, 15, 17, 19, 21], "14": [0, 15, 17, 21], "450840999999999": [0, 15, 17], "4394768357478496": [0, 15], "3": [0, 17, 19, 20], "0646766226921294": [0, 15, 17], "paramet": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 19, 21], "float": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 19], "specif": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "graviti": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 20, 21], "dimensionless": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 20, 21], "pressur": [0, 4, 5, 8, 9, 10, 15, 17, 20, 21], "psig": [0, 5, 10], "temperatur": [0, 4, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 20, 21], "f": [0, 7, 13, 15, 21], "mole": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 21], "fraction": [0, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 20, 21], "avail": 0, "onli": [0, 21], "default": [0, 15, 21], "reduc": [0, 5, 7, 10, 13, 15, 17, 20, 21], "str": [0, 15, 19, 21], "check": [0, 15, 19, 21], "theori": [0, 15, 19], "more": [0, 15, 17, 19, 20, 21], "inform": [0, 15, 19], "accept": [0, 19], "input": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 19, 21], "2": [0, 17, 19, 20], "hall_yarborough": [0, 19, 21], "londono": [0, 15, 19], "initi": [0, 17, 20, 21], "valu": [0, 15, 19, 21], "us": [0, 15, 17, 19, 20], "iter": [0, 21], "converg": [0, 21], "NOT": [0, 19, 21], "recommend": [0, 15, 19, 21], "manual": [0, 21], "set": [0, 4, 5, 6, 7, 9, 10, 12, 13, 19, 21], "thi": [0, 1, 4, 5, 6, 7, 9, 10, 12, 13, 15, 17, 19, 20, 21], "unless": [0, 21], "p_r": [0, 15, 19, 21], "exce": 0, "15": [0, 15, 19, 21], "If": [0, 1, 15, 21], "so": [0, 21], "appli": [0, 21], "which": [0, 15, 21], "good": [0, 15, 21], "estim": [0, 15, 21], "high": [0, 15, 20, 21], "scenario": [0, 19], "otherwis": 0, "built": [0, 19, 21], "take": [0, 21], "over": [0, 21], "automat": 0, "provid": [0, 1, 19, 21], "s": [0, 1, 15, 17, 20, 21], "fast": [0, 15, 21], "accur": [0, 21], "dict": [0, 15, 19, 21], "dictonari": 0, "keyword": [0, 4, 5, 6, 7, 9, 10, 12, 13], "argument": [0, 4, 5, 6, 7, 9, 10, 12, 13], "scipi": [0, 15, 21], "optim": [0, 21], "newton": [0, 21], "method": [0, 1, 15, 21], "maxit": 0, "10000": 0, "bool": [0, 4, 5, 6, 7, 9, 10, 12, 13, 19], "prevent": [0, 21], "rare": [0, 21], "corner": [0, 15, 21], "case": [0, 21], "where": [0, 21], "fail": [0, 21], "solut": [0, 21], "improv": [0, 15, 21], "speed": [0, 15, 21], "It": [0, 1, 15, 17, 19, 20, 21], "smart": [0, 21], "explicit": [0, 15, 21], "like": [0, 1, 15, 17, 19, 20, 21], "For": [0, 1, 15, 21], "turn": [0, 21], "off": [0, 19, 21], "fix": 0, "shown": 0, "work": 0, "well": [0, 21], "6": [0, 19], "caveat": [0, 19], "dictionari": [0, 1, 19], "dure": [0, 17, 20], "overrid": [0, 4, 5, 6, 7, 9, 10, 12, 13], "variabl": [0, 4, 5, 6, 7, 9, 10, 12, 13, 15, 17, 20], "option": [0, 19], "allow": [0, 15], "direct": [0, 1, 17, 20, 21], "from": [0, 15, 17, 20, 21], "instead": 0, "consid": [0, 21], "below": [0, 15, 21], "code": [0, 1, 15, 21], "exampl": [0, 15, 21], "663": [0, 20], "e_correct": [0, 9, 10, 12, 13, 20], "21": [0, 20, 21], "377": [0, 20], "59": [0, 20], "7720015496503527": 0, "aren": 0, "defin": [0, 21], "function": [0, 1, 21], "thei": [0, 21], "can": [0, 1, 15, 17, 19, 20, 21], "pass": 0, "calc_pr": [0, 15, 17, 20, 21], "calc_tr": [0, 15, 17, 20, 21], "you": [0, 1, 15, 17, 20, 21], "alreadi": 0, "know": [0, 15, 21], "would": 0, "type": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "do": [1, 15], "have": [1, 15, 17, 20, 21], "ani": [1, 15, 21], "question": [1, 15], "comment": 1, "suggest": 1, "featur": [1, 21], "request": 1, "feel": 1, "free": 1, "leav": 1, "here": [1, 15], "each": [1, 15, 19], "page": [1, 15], "document": [1, 21], "support": [1, 15, 17, 20, 21], "capabl": 1, "via": 1, "disqu": 1, "encount": 1, "challeng": 1, "applic": [1, 15, 21], "rememb": 1, "might": 1, "other": [1, 21], "face": 1, "same": [1, 15, 21], "issu": [1, 21], "post": 1, "publicli": 1, "could": 1, "potenti": 1, "help": [1, 15], "go": [1, 15, 21], "through": [1, 21], "exact": [1, 21], "problem": 1, "i": [1, 15], "my": [1, 21], "best": 1, "answer": [1, 21], "assist": 1, "As": 1, "petroleum": [1, 15, 17, 21], "engin": [1, 15, 21], "understand": 1, "mani": 1, "profession": 1, "oil": [1, 15, 21], "industri": [1, 15, 21], "veri": [1, 21], "familiar": 1, "python": [1, 15, 21], "re": 1, "struggl": 1, "instal": 1, "unsur": 1, "about": [1, 15], "program": [1, 15], "concept": 1, "class": [1, 17, 20], "attribut": 1, "object": [1, 17, 19, 20], "pleas": 1, "don": [1, 15, 19, 21], "hesit": 1, "ask": [1, 15], "thing": 1, "stupid": 1, "user": [1, 15], "packag": [1, 15, 21], "mai": [1, 15, 21], "strong": 1, "background": 1, "just": 1, "stackoverflow": 1, "valuabl": 1, "insight": 1, "similar": 1, "privat": 1, "inquiri": 1, "involv": 1, "special": 1, "requir": [1, 17, 20, 21], "confidenti": 1, "them": [1, 21], "aegis4048": [1, 15], "gmail": [1, 15], "com": [1, 15], "stewart": [2, 3, 15, 17, 21], "burkhardt": [2, 3, 15, 17, 21], "voo": [2, 3, 15, 17, 21], "r": [2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 20, 21], "psia": [2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 17, 20, 21], "sbv": [2, 3, 4, 5, 6, 7, 21], "tpc_correct": [9, 10, 13, 20], "correct": [9, 10, 12, 13, 14, 15, 17, 20, 21], "pc": [9, 10, 12, 13, 17, 20, 21], "acid": [9, 10, 12, 13, 14, 15, 17, 20, 21], "gase": [9, 10, 12, 13, 14, 15, 17, 20, 21], "\u03b5": [9, 10, 12, 13, 14, 20], "ppc_correct": [10, 20], "librari": [15, 21], "base": [15, 17, 20], "real": [15, 21], "law": 15, "design": 15, "practic": [15, 21], "field": [15, 21], "mind": 15, "gamma_": [15, 21], "g": [15, 21], "readili": 15, "obtain": [15, 21], "surfac": 15, "facil": 15, "The": [15, 17, 19, 20, 21], "under": [15, 19], "mit": 15, "licens": 15, "restrict": [15, 21], "whatsoev": 15, "host": 15, "pypi": 15, "remot": 15, "pip": 15, "command": 15, "To": 15, "download": 15, "recent": 15, "version": [15, 21], "upgrad": 15, "chemic": 15, "who": [15, 19], "doesn": [15, 21], "what": 15, "read": 15, "matplotlib": [15, 19, 21], "pyplot": [15, 21], "plt": [15, 21], "result": [15, 19, 21], "fig": [15, 19, 21], "ax": [15, 19, 21], "prmin": [15, 19, 21], "prmax": [15, 19, 21], "show": 15, "quick": [15, 19], "calc_z": [15, 16, 19, 21], "addition": [15, 21], "pseudocrit": [15, 21], "7950877932259734": 15, "calc_ppc": [15, 17, 20], "724": 15, "3779622618493": 15, "37": [15, 21], "7951185167800987": 15, "1985": [15, 20], "make": [15, 21], "h_2": [15, 17, 20, 21], "co_2": [15, 17, 20, 21], "1993": [15, 17], "n_2": [15, 21], "along": [15, 21], "1975": 15, "wide": [15, 21], "past": [15, 21], "40": [15, 21], "year": [15, 21], "wrong": [15, 21], "hall": 15, "yarborough": 15, "1973": 15, "Not": [15, 21], "2005": 15, "math": [15, 21], "exactli": [15, 21], "regress": [15, 21], "coeffici": [15, 21], "fit": [15, 21], "4x": [15, 21], "data": [15, 21], "point": [15, 21], "2016": 15, "shorter": [15, 21], "sure": 15, "need": [15, 21], "worri": 15, "than": [15, 21], "enough": [15, 21], "life": [15, 21], "howev": [15, 21], "big": [15, 21], "concern": [15, 21], "should": 15, "tabl": [15, 21], "summar": [15, 21], "t_r": [15, 19, 21], "accord": [15, 21], "own": [15, 21], "origin": [15, 21], "paper": [15, 17, 20, 21], "30": [15, 19, 21], "20": [15, 21], "someth": [15, 21], "normal": [15, 21], "we": [15, 21], "given": [15, 21], "mixtur": [15, 21], "figur": [15, 19, 21], "correspond": [15, 21], "assum": [15, 21], "green": [15, 21], "line": [15, 21], "extrem": [15, 19, 21], "condit": [15, 21], "19": [15, 20, 21], "000": [15, 21], "800": [15, 21], "11": [15, 19, 21], "500": [15, 21], "numpi": [15, 21], "np": [15, 21], "pmin": [15, 21], "pmax": [15, 21], "25000": [15, 21], "ps": [15, 21], "linspac": [15, 21], "100": [15, 21], "arrai": [15, 19, 21], "round": [15, 21], "tmin": [15, 21], "459": [15, 21], "tmax": [15, 21], "1500": [15, 21], "ts": [15, 21], "arang": [15, 21], "append": [15, 21], "axi": [15, 19, 21], "subplot": [15, 21], "figsiz": [15, 19, 21], "enumer": [15, 21], "plot": [15, 19, 21], "label": [15, 19, 21], "text": [15, 19, 21], "max": [15, 21], "color": [15, 19, 21], "get_color": [15, 21], "set_bbox": [15, 21], "facecolor": [15, 19, 21], "white": [15, 21], "alpha": [15, 19, 21], "edgecolor": [15, 21], "pad": [15, 21], "06": [15, 21], "p_": [15, 17, 20, 21], "approxim": [15, 21], "fontsiz": [15, 19, 21], "transform": [15, 19, 21], "transax": [15, 19, 21], "bbox": [15, 21], "set_ylabel": [15, 19, 21], "set_xlabel": [15, 19, 21], "ymax": [15, 21], "60": [15, 21], "hline": [15, 21], "y": [15, 19, 21], "xmin": [15, 21], "xmax": [15, 21], "linestyl": [15, 19, 21], "linewidth": [15, 19, 21], "31": [15, 21], "16": [15, 21], "fill_between": [15, 21], "x": [15, 19, 21], "y1": [15, 21], "y2": [15, 21], "interpol": [15, 21], "zorder": [15, 21], "99": [15, 21], "els": [15, 21], "t_": [15, 17, 20, 21], "ymin": [15, 21], "set_ylim": [15, 19, 21], "minorticks_on": [15, 21], "grid": [15, 19, 21], "visibl": [15, 21], "minor": [15, 21], "spine": [15, 21], "top": [15, 19, 21], "set_vis": [15, 21], "right": [15, 19, 21], "def": [15, 21], "setbold": [15, 21], "txt": [15, 21], "join": [15, 21], "bf": [15, 21], "item": [15, 21], "split": [15, 21], "bold_txt": [15, 21], "plain_txt": [15, 21], "suptitl": [15, 21], "verticalalign": [15, 21], "horizontalalign": [15, 21], "left": [15, 19, 21], "yloc": [15, 21], "annot": [15, 19, 21], "xy": [15, 21], "01": [15, 21], "xycoord": [15, 21], "xytext": [15, 21], "02": [15, 21], "arrowprop": [15, 21], "arrowstyl": [15, 21], "lw": [15, 21], "95": [15, 21], "ha": [15, 21], "va": [15, 19, 21], "center": [15, 21], "grei": [15, 21], "tight_layout": [15, 19, 21], "doe": [15, 21], "mean": [15, 17, 20, 21], "probabl": 15, "minim": 15, "knowledg": 15, "open": 15, "hassl": 15, "offer": 15, "some": [15, 21], "profici": 15, "yet": 15, "anaconda": 15, "run": [15, 17, 20], "file": 15, "filenam": 15, "look": [15, 19], "anaconda3": 15, "2023": 15, "03": 15, "window": 15, "x86_64": 15, "ex": 15, "select": 15, "destin": 15, "folder": 15, "By": 15, "its": [15, 17, 20, 21], "c": [15, 21], "programdata": 15, "want": [15, 21], "add": 15, "codna": 15, "environt": 15, "path": 15, "ye": 15, "sai": 15, "trust": 15, "me": 15, "easier": 15, "onc": [15, 17, 20], "finish": 15, "search": 15, "tab": 15, "bottom": 15, "screen": 15, "cmd": 15, "launch": 15, "done": [15, 21], "correctli": 15, "next": 15, "current": [15, 21], "directori": 15, "erickim": 15, "see": 15, "again": 15, "click": 15, "prompt": 15, "still": 15, "dive": 15, "pain": 15, "troubleshoot": 15, "friend": 15, "follow": [15, 17, 19, 20, 21], "press": 15, "enter": 15, "congrat": 15, "jupyt": 15, "notebook": 15, "try": [15, 19], "molecular": [15, 20, 21], "weight": [15, 20, 21], "reservoir": [15, 20, 21], "spe": [15, 17, 20, 21], "14265": [15, 20, 21], "link": [15, 17, 20, 21], "l": [15, 17, 21], "d": [15, 17, 21], "mccain": [15, 17, 21], "jr": [15, 17, 21], "w": [15, 17, 21], "corredor": [15, 17, 21], "h": [15, 17, 21], "natur": [15, 17, 20, 21], "occur": [15, 17, 21], "26668": [15, 17, 21], "dranchuk": [15, 21], "m": [15, 21], "abou": [15, 21], "kassem": [15, 21], "equat": [15, 21], "state": [15, 21], "journal": [15, 21], "canadian": [15, 21], "technolog": [15, 21], "kai": [15, 21], "b": [15, 21], "densiti": [15, 21], "vapor": [15, 21], "chemistri": [15, 21], "1936": [15, 21], "wichert": [15, 20, 21], "e": [15, 20, 21], "sour": [15, 20, 21], "meng": [15, 20, 21], "thesi": [15, 20, 21], "univers": [15, 20, 21], "calgari": [15, 20, 21], "alberta": [15, 20, 21], "1970": [15, 20, 21], "predict": [15, 21], "present": [15, 21], "aich": [15, 21], "meet": [15, 21], "kansa": [15, 21], "citi": [15, 21], "mo": [15, 21], "18": [15, 21], "1959": [15, 21], "A": [15, 21], "new": [15, 21], "archer": [15, 21], "blasingam": [15, 21], "simplifi": [15, 21], "viscos": [15, 21], "valid": [15, 21], "behavior": [15, 21], "larg": [15, 21], "scale": [15, 21], "databas": [15, 21], "75721": [15, 21], "iwalewa": 15, "marhoun": 15, "al": 15, "linear": [15, 21], "isotherm": [15, 21], "explor": [15, 21], "product": [15, 21], "elsharkawi": [15, 21], "aladwani": [15, 21], "alostad": [15, 21], "n": [15, 21], "uncertainti": [15, 21], "impact": [15, 21], "inflow": [15, 21], "perform": [15, 21], "forecast": [15, 21], "scienc": [15, 21], "2015": [15, 21], "condens": [15, 21], "empir": [15, 21], "74369": [15, 21], "2002": [15, 21], "12": [15, 19, 21], "contain": [15, 21], "variou": [15, 21], "amount": [15, 21], "2020": [15, 21], "eric": 15, "soobin": 15, "kim": 15, "compressor": 15, "compani": 15, "flogistix": 15, "primari": 15, "contact": 15, "websit": 15, "pythonicexcurs": 15, "2021": 15, "index": 15, "http": 15, "org": 15, "project": 15, "gascompress": [16, 21], "quickstart": [16, 21], "gamma_g": [17, 20, 21], "instanc": [17, 20], "instanti": [17, 20], "first": [17, 20], "obj": [17, 20], "updat": [17, 20], "process": [17, 20, 21], "access": [17, 20], "form": [17, 20, 21], "2000": [17, 20], "7143160585360255": 17, "instantia": [17, 20], "an": [17, 20, 21], "retriev": [17, 19, 20], "_": [17, 20, 21], "359": 17, "4649612886111": 17, "742": 17, "249596786689": 17, "48429121800104624": 17, "13": [17, 21], "194154915384328": 17, "730": 17, "6830493485268": 17, "calc_tpc": [17, 20], "357": 17, "31032650971184": 17, "calc_j": 17, "48900864311590075": 17, "calc_k": 17, "218465793646919": 17, "770968892470151": 17, "496374328788025": 17, "8": [19, 21], "title_bold": 19, "title_plain": 19, "title_underline_loc": 19, "93": 19, "disable_tr_annot": [19, 21], "gener": 19, "tool": 19, "those": [19, 21], "wish": 19, "write": 19, "full": 19, "blown": 19, "script": 19, "against": 19, "rang": 19, "tweak": 19, "4": 19, "91": 19, "bold": 19, "titl": 19, "plain": 19, "custim": 19, "set_xlim": 19, "minorticks_off": 19, "08": 19, "custom": 19, "axvspan": 19, "9": [19, 21], "efefef": 19, "axvlin": 19, "anoth": 19, "10": [19, 21], "rotat": 19, "270": 19, "savefig": 19, "output": 19, "png": 19, "bbox_inch": 19, "tight": 19, "dpi": 19, "200": 19, "failur": 19, "bad": 19, "minimum": 19, "maximum": 19, "tupl": 19, "size": 19, "string": 19, "portion": 19, "vertic": 19, "locat": 19, "horizont": 19, "bar": 19, "adjust": 19, "between": 19, "underlin": 19, "displai": 19, "py": [19, 21], "simul": 19, "structur": 19, "29": [19, 21], "9367": 19, "9030": 19, "8675": 19, "1807": 19, "kei": 19, "pair": 19, "pr_105": 19, "z_105": 19, "pr_110": 19, "z_110": 19, "aziz": [20, 21], "052524774343535": 20, "2869999999999": 20, "2070266223893724": 20, "277806029218723": 20, "356": 20, "31219397078127": 20, "628": 20, "2143047814683": 20, "calc_e_correct": 20, "34753439832438": 20, "calc_ppc_correct": 20, "630": 20, "8358627422825": 20, "calc_tpc_correct": 20, "358": 20, "2424656016756": 20, "2095511995759147": 20, "4924807953797739": 20, "goal": 21, "exist": 21, "numer": 21, "repres": 21, "famou": 21, "stand": 21, "katz": 21, "sk": 21, "chart": 21, "word": 21, "one": 21, "hi": 21, "come": 21, "handi": 21, "rel": 21, "easi": 21, "lab": 21, "sampl": 21, "analysi": 21, "section": 21, "explain": 21, "behind": 21, "subsequ": 21, "represent": 21, "abu": 21, "deriv": 21, "visual": 21, "inspect": 21, "divid": 21, "frac": 21, "express": 21, "averag": 21, "p_c": 21, "t_c": 21, "individu": 21, "compon": 21, "sum": 21, "x_": 21, "c_": 21, "too": 21, "inconveni": 21, "becaus": 21, "time": 21, "consum": 21, "furthermor": 21, "isn": 21, "heavi": 21, "end": 21, "often": 21, "lump": 21, "up": 21, "togeth": 21, "report": 21, "imposs": 21, "heavier": 21, "introduc": 21, "unknown": 21, "composit": 21, "756": 21, "131": 21, "gamma": 21, "169": 21, "349": 21, "74": 21, "abov": 21, "57": 21, "68": 21, "he": 21, "also": 21, "epsilon": 21, "120": 21, "concentr": 21, "54": 21, "space": 21, "mol": 21, "73": 21, "absolut": 21, "error": 21, "418": 21, "were": 21, "289": 21, "adapt": 21, "nitrogen": 21, "begin": 21, "align": 21, "11582": 21, "45820": 21, "90348": 21, "66026": 21, "70729": 21, "099397": 21, "8216": 21, "06534": 21, "sqrt": 21, "42113": 21, "91249": 21, "17": 21, "438": 21, "2191": 21, "steward": 21, "51": 21, "67": 21, "crrelat": 21, "304": 21, "896": 21, "implement": 21, "limit": 21, "develop": 21, "therefor": 21, "synthet": 21, "deal": 21, "necessari": 21, "h_": 21, "5005661019949397": 21, "5483056093175225": 21, "There": 21, "two": 21, "kind": 21, "implicit": 21, "vs": 21, "find": 21, "root": 21, "view": 21, "These": 21, "computation": 21, "much": 21, "expens": 21, "significantli": 21, "cost": 21, "start": 21, "unnecessari": 21, "tend": 21, "smaller": 21, "less": 21, "befor": 21, "a_": 21, "rho_": 21, "exp": 21, "27p_": 21, "zt_": 21, "3265": 21, "0700": 21, "5339": 21, "01569": 21, "05165": 21, "5475": 21, "7361": 21, "1844": 21, "1056": 21, "6134": 21, "7210": 21, "test": 21, "leq": 21, "468": 21, "1995": 21, "5006": 21, "7730934971021096": 21, "06125te": 21, "76t": 21, "58t": 21, "90": 21, "7t": 21, "242": 21, "2t": 21, "42": 21, "4t": 21, "82t": 21, "receiv": 21, "great": 21, "77140002684377": 21, "differ": 21, "further": 21, "eleven": 21, "5960": 21, "3024696": 21, "046964": 21, "1078916": 21, "7694186": 21, "1965439": 21, "6527819": 21, "118884": 21, "3951957": 21, "09313593": 21, "8483081": 21, "7880011": 21, "mention": 21, "logic": 21, "sinc": 21, "underli": 21, "412": 21, "7752626795793716": 21, "dp_": 21, "te": 21, "tp_": 21, "317842": 21, "382216": 21, "76835": 21, "2905": 21, "00000218363": 21, "00469257": 21, "0962541": 21, "16672": 21, "96691": 21, "063069": 21, "966847": 21, "0581": 21, "27": 21, "0246": 21, "23": 21, "207": 21, "783": 21, "488": 21, "161": 21, "176": 21, "88453": 21, "05921": 21, "5346": 21, "4379": 21, "outsid": 21, "coverag": 21, "author": 21, "7667583024871576": 21, "reli": 21, "share": 21, "depend": 21, "qualiti": 21, "sometim": 21, "final": 21, "6001600275325583": 21, "44138121739974145": 21, "despit": 21, "compar": 21, "sit": 21, "around": 21, "44": 21, "44245159219674585": 21, "42052851684415665": 21, "discrep": 21, "happen": 21, "offici": 21, "guarante": 21, "been": 21, "found": 21, "consequ": 21, "verifi": 21, "fortun": 21, "observ": 21, "abl": 21, "activ": 21, "44138121739974157": 21, "demonstr": 21, "advantag": 21, "faster": 21, "close": 21, "far": 21, "did": 21, "short": 21, "But": 21, "four": 21, "combin": 21, "shed": 21, "light": 21, "determin": 21, "dictat": 21, "yield": 21, "highest": 21, "974": 21, "long": 21, "geq": 21, "957": 21, "unfortun": 21, "evalu": 21, "includ": 21, "avoid": 21, "3rd": 21, "parti": 21, "himself": 21}, "objects": {"piper": [[17, 0, 1, "", "Piper"]], "piper.Piper": [[2, 1, 1, "", "calc_J"], [3, 1, 1, "", "calc_K"], [4, 1, 1, "", "calc_Ppc"], [5, 1, 1, "", "calc_Pr"], [6, 1, 1, "", "calc_Tpc"], [7, 1, 1, "", "calc_Tr"]], "sutton": [[20, 0, 1, "", "Sutton"]], "sutton.Sutton": [[8, 1, 1, "", "calc_Ppc"], [9, 1, 1, "", "calc_Ppc_corrected"], [10, 1, 1, "", "calc_Pr"], [11, 1, 1, "", "calc_Tpc"], [12, 1, 1, "", "calc_Tpc_corrected"], [13, 1, 1, "", "calc_Tr"], [14, 1, 1, "", "calc_e_correction"]], "z_helper": [[0, 2, 1, "", "calc_z"], [19, 2, 1, "", "quickstart"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:function"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "function", "Python function"]}, "titleterms": {"gascompress": [0, 15, 17, 19, 20], "calc_z": 0, "discuss": 1, "forum": 1, "calc_j": 2, "calc_k": 3, "calc_ppc": [4, 8], "calc_pr": [5, 10], "calc_tpc": [6, 11], "calc_tr": [7, 13], "calc_ppc_correct": 9, "calc_tpc_correct": 12, "calc_e_correct": 14, "py": 15, "1": [15, 21], "instal": 15, "2": [15, 21], "quickstart": [15, 19], "3": [15, 21], "usag": [15, 17, 20], "4": [15, 21], "model": [15, 18, 21], "implement": 15, "5": [15, 21], "work": [15, 21], "rang": [15, 21], "6": [15, 21], "tip": 15, "7": 15, "refer": [15, 16, 17, 20, 21], "8": 15, "requir": 15, "9": 15, "author": 15, "10": 15, "cite": 15, "As": 15, "api": 16, "pseudocrit": [17, 20], "piper": [17, 21], "basic": [17, 20], "exampl": [17, 20], "method": [17, 20], "attribut": [17, 20], "pseudo": [18, 21], "critic": [18, 21], "sutton": [20, 21], "theori": 21, "properti": 21, "1985": 21, "et": 21, "al": 21, "1993": 21, "caveat": 21, "z": 21, "factor": 21, "correl": 21, "dak": 21, "1975": 21, "hall": 21, "yarborough": 21, "1973": 21, "londono": 21, "2005": 21, "kareem": 21, "iwalewa": 21, "marhoun": 21, "2016": 21, "output": 21, "comparison": 21, "about": 21, "smart_guess": 21, "what": 21, "should": 21, "i": 21, "us": 21, "compat": 21, "note": 21, "brief": 21, "Of": 21, "each": 21}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "sphinx.ext.intersphinx": 1, "sphinx": 56}}) \ No newline at end of file diff --git a/docs/sutton.html b/docs/sutton.html index 1cbb4c8..70df7c8 100644 --- a/docs/sutton.html +++ b/docs/sutton.html @@ -507,10 +507,10 @@

    Methods

    calc_Tr

    -

    Calculates pseudo-reduced temperature, Tr (°R)

    +

    Calculates pseudo-reduced temperature, Tr (dimensionless)

    calc_Pr

    -

    Calculates pseudo-reduced pressure, Pr (psia)

    +

    Calculates pseudo-reduced pressure, Pr (dimensionless)

    @@ -554,10 +554,10 @@

    Attributes

    Tr

    -

    pseudo-reduced temperature, Tr (°R)

    +

    pseudo-reduced temperature, Tr (dimensionless)

    Pr

    -

    pseudo-reduced pressure, Pr (psia)

    +

    pseudo-reduced pressure, Pr (dimensionless)

    ps_props

    dictionary of pseudo-critical properties.

    diff --git a/gascompressibility/pseudocritical/piper.py b/gascompressibility/pseudocritical/piper.py index 76f46d3..edbc2f5 100644 --- a/gascompressibility/pseudocritical/piper.py +++ b/gascompressibility/pseudocritical/piper.py @@ -48,9 +48,9 @@ def __init__(self): self.K = None """Stewart-Burkhardt-VOO parameter K, (°R/psia^0.5)""" self.Tr = None - """pseudo-reduced temperature, Tr (°R)""" + """pseudo-reduced temperature, Tr (dimensionless)""" self.Pr = None - """pseudo-reduced pressure, Pr (psia)""" + """pseudo-reduced pressure, Pr (dimensionless)""" self.ps_props = { 'Tpc': None, @@ -224,7 +224,7 @@ def calc_Ppc(self, sg=None, H2S=None, CO2=None, N2=None, J=None, K=None, Tpc=Non def calc_Tr(self, T=None, sg=None, Tpc=None, H2S=None, CO2=None, N2=None, J=None, K=None, ignore_conflict=False): """ - Calculates pseudo-reduced temperature, Tr (°R) + Calculates pseudo-reduced temperature, Tr (dimensionless) Parameters ---------- @@ -248,7 +248,7 @@ def calc_Tr(self, T=None, sg=None, Tpc=None, H2S=None, CO2=None, N2=None, J=None Returns ------- float - pseudo-reduced temperature, Tr (°R) + pseudo-reduced temperature, Tr (dimensionless) """ self._set_first_caller_attributes(inspect.stack()[0][3], locals()) @@ -261,7 +261,7 @@ def calc_Tr(self, T=None, sg=None, Tpc=None, H2S=None, CO2=None, N2=None, J=None """pseudo-reduced pressure (psi)""" def calc_Pr(self, P=None, sg=None, Tpc=None, Ppc=None, H2S=None, CO2=None, N2=None, J=None, K=None, ignore_conflict=False): """ - Calculates pseudo-reduced pressure, Pr (psia) + Calculates pseudo-reduced pressure, Pr (dimensionless) Parameters ---------- @@ -285,7 +285,7 @@ def calc_Pr(self, P=None, sg=None, Tpc=None, Ppc=None, H2S=None, CO2=None, N2=No Returns ------- float - pseudo-reduced pressure, Pr (psia) + pseudo-reduced pressure, Pr (dimensionless) """ self._set_first_caller_attributes(inspect.stack()[0][3], locals()) diff --git a/gascompressibility/pseudocritical/sutton.py b/gascompressibility/pseudocritical/sutton.py index 228a584..35f7a3c 100644 --- a/gascompressibility/pseudocritical/sutton.py +++ b/gascompressibility/pseudocritical/sutton.py @@ -44,9 +44,9 @@ def __init__(self): self.Ppc_corrected = None """corrected pseudo-critical pressure, P'pc (psia)""" self.Tr = None - """pseudo-reduced temperature, Tr (°R)""" + """pseudo-reduced temperature, Tr (dimensionless)""" self.Pr = None - """pseudo-reduced pressure, Pr (psia)""" + """pseudo-reduced pressure, Pr (dimensionless)""" self.ps_props = { 'Tpc': None, @@ -233,7 +233,7 @@ def calc_Ppc_corrected(self, sg=None, Tpc=None, Ppc=None, e_correction=None, Tpc def calc_Tr(self, T=None, Tpc_corrected=None, sg=None, Tpc=None, e_correction=None, H2S=None, CO2=None, ignore_conflict=False): """ - Calculates pseudo-reduced temperature, Tr (°R) + Calculates pseudo-reduced temperature, Tr (dimensionless) Parameters ---------- @@ -257,7 +257,7 @@ def calc_Tr(self, T=None, Tpc_corrected=None, sg=None, Tpc=None, e_correction=No Returns ------- float - pseudo-reduced temperature, Tr (°R) + pseudo-reduced temperature, Tr (dimensionless) """ self._set_first_caller_attributes(inspect.stack()[0][3], locals()) self._initialize_T(T) @@ -269,7 +269,7 @@ def calc_Tr(self, T=None, Tpc_corrected=None, sg=None, Tpc=None, e_correction=No """pseudo-reduced pressure (psi)""" def calc_Pr(self, P=None, Ppc_corrected=None, sg=None, Tpc=None, Ppc=None, e_correction=None, Tpc_corrected=None, H2S=None, CO2=None, ignore_conflict=False): """ - Calculates pseudo-reduced pressure, Pr (psia) + Calculates pseudo-reduced pressure, Pr (dimensionless) Parameters ---------- @@ -297,7 +297,7 @@ def calc_Pr(self, P=None, Ppc_corrected=None, sg=None, Tpc=None, Ppc=None, e_cor Returns ------- float - pseudo-reduced pressure, Pr (psia) + pseudo-reduced pressure, Pr (dimensionless) """ self._set_first_caller_attributes(inspect.stack()[0][3], locals()) self._initialize_P(P) diff --git a/gascompressibility/z_correlation/z_helper.py b/gascompressibility/z_correlation/z_helper.py index fe0be4a..a5848b9 100644 --- a/gascompressibility/z_correlation/z_helper.py +++ b/gascompressibility/z_correlation/z_helper.py @@ -187,9 +187,9 @@ def calc_z(sg=None, P=None, T=None, H2S=None, CO2=None, N2=None, Pr=None, Tr=Non N2 : float mole fraction of N2 (dimensionless). Available only when ``pmodel='piper'`` (default) Pr : float - pseudo-reduced pressure, Pr (psia) + pseudo-reduced pressure, Pr (dimensionless) Tr : float - pseudo-reduced temperature, Tr (°R) + pseudo-reduced temperature, Tr (dimensionless) pmodel : str choice of a pseudo-critical model. Check :ref:`Theories 1: Pseudo-Critical Property Models ` for more information.