From d7e9c6fab6b575c7bf72f801280dfbba89473934 Mon Sep 17 00:00:00 2001 From: titusquah <46580668+titusquah@users.noreply.github.com> Date: Fri, 29 May 2020 15:57:29 -0600 Subject: [PATCH 01/52] started project --- data/xmls/elementz.xml | 942 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 942 insertions(+) create mode 100644 data/xmls/elementz.xml diff --git a/data/xmls/elementz.xml b/data/xmls/elementz.xml new file mode 100644 index 0000000..eb2a2c2 --- /dev/null +++ b/data/xmls/elementz.xml @@ -0,0 +1,942 @@ + + + + + + The standard entropy (1/2 H2gas) was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and Chemical Reference + Data, Monograph 9, p. 1310. G_0 = -19.48112E6 J kmol-1 + + + + + + + The standard entropy (1/2 D2 gas) was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1040. + + + + + + + There is no reference state thermodynamic data tabulated + for this element. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1361. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1493. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 361. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 177. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 550. + + + + + + + The standard entropy (1/2 N2 gas) was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1621. + + + + + + + The standard entropy (1/2 O2 gas) was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1745. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1099. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1695. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1637. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1529. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 59. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1881. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1817. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1859. + + + + + + + The standard entropy (1/2 Cl2 gas) was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 811. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 175. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1465. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 703. + + + + + + + No reference state data for this element in the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1907. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1917. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 959. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1571. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1221. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 943. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1697. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1005. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1935. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1253. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1995), Thermodynamic Properties of + Minerals and Related Substances, USGS Bulletin + 2131, p. 88. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1995), Thermodynamic Properties of + Minerals and Related Substances, USGS Bulletin + 2131, p. 69. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1995), Thermodynamic Properties of + Minerals and Related Substances, USGS Bulletin + 2131, p. 107 + + + + + + + The standard entropy (1/2 Br2 gas) was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 470. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1491. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1849. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1891. + + + + + + + No reference state data found for Y. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1943. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1675. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1577. + + + + + + + The standard entropy was taken from the OECD-NEA + handbook (Guillaumont et al., 2003) "UPDATE ON THE + CHEMICAL THERMODYNAMICS OF URANIUM, NEPTUNIUM, + PLUTONIUM, AMERICIUM AND TECHNETIUM", Table 7-1, + p. 127. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 92. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 90. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 84. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1995), Thermodynamic Properties of + Minerals and Related Substances, USGS Bulletin + 2131, p. 67. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1995), Thermodynamic Properties of + Minerals and Related Substances, USGS Bulletin + 2131, p. 79. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 64. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1995), Thermodynamic Properties of + Minerals and Related Substances, USGS Bulletin + 2131, p. 109. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1995), Thermodynamic Properties of + Minerals and Related Substances, USGS Bulletin + 2131, p. 106. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1995), Thermodynamic Properties of + Minerals and Related Substances, USGS Bulletin + 2131, p. 111. + + + + + + + The standard entropy (1/2 I2) was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1413. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1933. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 977. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 319. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 68. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1995), Thermodynamic Properties of + Minerals and Related Substances, USGS Bulletin + 2131, p. 80. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 85. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 77. + + + + + + + There is no handbook standard state thermodynamic data for + this element. There are estimates for stability constants + of aqueous and solid species in Spahiu and Bruno (1995), + A Selected Thermodynamic Database for REE to be Used in + HLNW Performance Assessment Exercises. SKB Technical + Report 95-35. Stockholm, Sweden: Swedish Nuclear Fuel and + Waste Management Company. The compilation of Konings + et al. list an estimated standard entropy value for Pm + of 158.0 J/K/mol at 298.15 K but with a non-zero enthalpy of + formation which is not indicative of a reference state + form for this element. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 100. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 52. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 55. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 104. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 50. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 62. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 51. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 109. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 115. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 70. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1363. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1899. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1925. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 89. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 81. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1979), Thermodynamic Properties of + Minerals and Related Substances at 298.15 K + and 1 bar (10^5 Pascals) Pressure abd at Higher + Temperatures, USGS Bulletin 1452, p. 65. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1995), Thermodynamic Properties of + Minerals and Related Substances, USGS Bulletin + 2131, p. 103. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1995), Thermodynamic Properties of + Minerals and Related Substances, USGS Bulletin + 2131, p. 70. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1373. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1907. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1835. + + + + + + + The standard entropy was taken from Robie and + Hemingway (1995), Thermodynamic Properties of + Minerals and Related Substances, USGS Bulletin + 2131, p. 74. + + + + + + + No standard state thermodynamic data for this element. + + + + + + + No standard state thermodynamic data for this element. + + + + + + + The standard entropy was taken from the NIST-JANAF + Handbook (Chase 1998), Journal of Physical and + Chemical Reference Data, Monograph 9, p. 1857. + + + + + + + No standard state thermodynamic data for this element. + + + + + + + No standard state thermodynamic data for this element. + + + + + + + No standard state thermodynamic data for this element. + + + + + + + The standard entropy was taken from the OECD-NEA + handbook (Guillaumont et al., 2003) "UPDATE ON THE + CHEMICAL THERMODYNAMICS OF URANIUM, NEPTUNIUM, + PLUTONIUM, AMERICIUM AND TECHNETIUM", Table 8-1, + p. 145. + + + + + + + No standard state thermodynamic data for this element. + + + + + + + The standard entropy was taken from the OECD-NEA + handbook (Guillaumont et al., 2003) "UPDATE ON THE + CHEMICAL THERMODYNAMICS OF URANIUM, NEPTUNIUM, + PLUTONIUM, AMERICIUM AND TECHNETIUM", Table 3-1, + p. 45. + + + + + + + The standard entropy was taken from the OECD-NEA + handbook (Guillaumont et al., 2003) "UPDATE ON THE + CHEMICAL THERMODYNAMICS OF URANIUM, NEPTUNIUM, + PLUTONIUM, AMERICIUM AND TECHNETIUM", Table 4-1, + p. 81. + + + + + + + The standard entropy was taken from the OECD-NEA + handbook (Guillaumont et al., 2003) "UPDATE ON THE + CHEMICAL THERMODYNAMICS OF URANIUM, NEPTUNIUM, + PLUTONIUM, AMERICIUM AND TECHNETIUM", Table 5-1, + p. 99. + + + + + + + The entropy is zero so as not to overcount. The 1/2 H2(g) entropy + is handled elsewhere. + + + + + + + + The entropy is zero so as to make the 'dummy' dodecane phase inert. + This phase is used in TBP equilibrium problems as an 'inert' diluent. + The atomicWt is that reported for dodecane. + + + + + + From c29be6afc6a22e27b481bd9b5ef9904238cb3f92 Mon Sep 17 00:00:00 2001 From: titusquah <46580668+titusquah@users.noreply.github.com> Date: Fri, 29 May 2020 16:05:38 -0600 Subject: [PATCH 02/52] started project --- data/csvs/exp_data.csv | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 data/csvs/exp_data.csv diff --git a/data/csvs/exp_data.csv b/data/csvs/exp_data.csv new file mode 100644 index 0000000..13b95e4 --- /dev/null +++ b/data/csvs/exp_data.csv @@ -0,0 +1,6 @@ +HI(m),REeq(m),D(m),ZI(m),Zeq,Heq,REI +0.01,0.0239,1.0921,1,0.92169643,0.08830357,0.05000119 +0.01,0.0683,0.4641,1,0.90490591,0.10509409,0.09999803 +0.01,0.117,0.2821,1,0.9009829,0.1090171,0.1500057 +0.01,0.168,0.1905,1,0.903988,0.106012,0.200004 +0.01,0.2637,0.1377,1,0.89106553,0.11893447,0.30001149 From 3c0ccc6b303233fd166f47dcb7c1797776a6567a Mon Sep 17 00:00:00 2001 From: titusquah <46580668+titusquah@users.noreply.github.com> Date: Fri, 29 May 2020 16:10:41 -0600 Subject: [PATCH 03/52] added idea xml and iml files --- .idea/dictionaries/Titus.xml | 7 + .../inspectionProfiles/profiles_settings.xml | 6 + .idea/workspace.xml | 171 ++++++++++++ data/xmls/twophase.xml | 256 ++++++++++++++++++ methods.py | 25 ++ tests/test1.py | 0 6 files changed, 465 insertions(+) create mode 100644 .idea/dictionaries/Titus.xml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/workspace.xml create mode 100644 data/xmls/twophase.xml create mode 100644 methods.py create mode 100644 tests/test1.py diff --git a/.idea/dictionaries/Titus.xml b/.idea/dictionaries/Titus.xml new file mode 100644 index 0000000..2a0a69c --- /dev/null +++ b/.idea/dictionaries/Titus.xml @@ -0,0 +1,7 @@ + + + + kmol + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..4bc89dc --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +