PYroMat 2.2.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1010) hide show
  1. PYroMat-2.2.5.dist-info/LICENSE.txt +644 -0
  2. PYroMat-2.2.5.dist-info/METADATA +94 -0
  3. PYroMat-2.2.5.dist-info/RECORD +1010 -0
  4. PYroMat-2.2.5.dist-info/WHEEL +5 -0
  5. PYroMat-2.2.5.dist-info/top_level.txt +5 -0
  6. pyromat/__init__.py +395 -0
  7. pyromat/config.py +166 -0
  8. pyromat/dat.py +574 -0
  9. pyromat/data/ig/Al_H.hpd +464 -0
  10. pyromat/data/ig/Al_H_O.hpd +464 -0
  11. pyromat/data/ig/Al_H_O2.hpd +446 -0
  12. pyromat/data/ig/Al_H_O_1.hpd +482 -0
  13. pyromat/data/ig/B10_H14.hpd +362 -0
  14. pyromat/data/ig/B2_Be_O4.hpd +464 -0
  15. pyromat/data/ig/B2_Cl4.hpd +446 -0
  16. pyromat/data/ig/B2_F4.hpd +466 -0
  17. pyromat/data/ig/B2_F4_O.hpd +465 -0
  18. pyromat/data/ig/B2_H4_O4.hpd +465 -0
  19. pyromat/data/ig/B3_F2_H_O3.hpd +466 -0
  20. pyromat/data/ig/B3_F_H2_O3.hpd +466 -0
  21. pyromat/data/ig/B3_H3_O3.hpd +464 -0
  22. pyromat/data/ig/B3_H3_O6.hpd +465 -0
  23. pyromat/data/ig/B5_H9.hpd +358 -0
  24. pyromat/data/ig/B_Br.hpd +446 -0
  25. pyromat/data/ig/B_Br2.hpd +446 -0
  26. pyromat/data/ig/B_Br2_Cl.hpd +446 -0
  27. pyromat/data/ig/B_Br2_F.hpd +464 -0
  28. pyromat/data/ig/B_Br2_H.hpd +465 -0
  29. pyromat/data/ig/B_Br3.hpd +390 -0
  30. pyromat/data/ig/B_Br_Cl.hpd +447 -0
  31. pyromat/data/ig/B_Br_Cl2.hpd +464 -0
  32. pyromat/data/ig/B_Br_F.hpd +465 -0
  33. pyromat/data/ig/B_Br_F2.hpd +464 -0
  34. pyromat/data/ig/B_Br_O.hpd +465 -0
  35. pyromat/data/ig/B_Cl2_F.hpd +465 -0
  36. pyromat/data/ig/B_Cl2_H.hpd +466 -0
  37. pyromat/data/ig/B_Cl_F2.hpd +465 -0
  38. pyromat/data/ig/B_F2_H.hpd +465 -0
  39. pyromat/data/ig/B_F2_H_O.hpd +466 -0
  40. pyromat/data/ig/B_F4_K.hpd +356 -0
  41. pyromat/data/ig/B_H.hpd +464 -0
  42. pyromat/data/ig/B_H2.hpd +463 -0
  43. pyromat/data/ig/B_H2_O2.hpd +465 -0
  44. pyromat/data/ig/B_H3.hpd +464 -0
  45. pyromat/data/ig/B_H3_O3.hpd +494 -0
  46. pyromat/data/ig/B_H_O.hpd +465 -0
  47. pyromat/data/ig/B_H_O2.hpd +464 -0
  48. pyromat/data/ig/B_H_S.hpd +464 -0
  49. pyromat/data/ig/B_I.hpd +446 -0
  50. pyromat/data/ig/B_I2.hpd +446 -0
  51. pyromat/data/ig/B_I3.hpd +449 -0
  52. pyromat/data/ig/Ba_H2_O2.hpd +322 -0
  53. pyromat/data/ig/Ba_H_O.hpd +447 -0
  54. pyromat/data/ig/Ba_I.hpd +445 -0
  55. pyromat/data/ig/Ba_I2.hpd +263 -0
  56. pyromat/data/ig/Be2.hpd +445 -0
  57. pyromat/data/ig/Be2_Cl4.hpd +445 -0
  58. pyromat/data/ig/Be_F3_Li.hpd +320 -0
  59. pyromat/data/ig/Be_H.hpd +464 -0
  60. pyromat/data/ig/Be_H2_O2.hpd +464 -0
  61. pyromat/data/ig/Be_H_O.hpd +465 -0
  62. pyromat/data/ig/Br2_Fe.hpd +319 -0
  63. pyromat/data/ig/Br2_H2_Si.hpd +465 -0
  64. pyromat/data/ig/Br2_K2.hpd +445 -0
  65. pyromat/data/ig/Br2_Li2.hpd +445 -0
  66. pyromat/data/ig/Br2_Mo.hpd +463 -0
  67. pyromat/data/ig/Br2_Na2.hpd +445 -0
  68. pyromat/data/ig/Br2_Sr.hpd +249 -0
  69. pyromat/data/ig/Br2_Ti.hpd +463 -0
  70. pyromat/data/ig/Br2_Zr.hpd +319 -0
  71. pyromat/data/ig/Br3_H_Si.hpd +466 -0
  72. pyromat/data/ig/Br3_Mo.hpd +445 -0
  73. pyromat/data/ig/Br3_O_P.hpd +448 -0
  74. pyromat/data/ig/Br3_P.hpd +455 -0
  75. pyromat/data/ig/Br3_P_S.hpd +448 -0
  76. pyromat/data/ig/Br3_Ti.hpd +445 -0
  77. pyromat/data/ig/Br3_Zr.hpd +445 -0
  78. pyromat/data/ig/Br4_Fe2.hpd +445 -0
  79. pyromat/data/ig/Br4_Mg2.hpd +445 -0
  80. pyromat/data/ig/Br4_Mo.hpd +445 -0
  81. pyromat/data/ig/Br4_Ti.hpd +389 -0
  82. pyromat/data/ig/Br4_Zr.hpd +445 -0
  83. pyromat/data/ig/Br5_Nb.hpd +398 -0
  84. pyromat/data/ig/Br5_W.hpd +389 -0
  85. pyromat/data/ig/Br6_W.hpd +445 -0
  86. pyromat/data/ig/Br_Cl.hpd +447 -0
  87. pyromat/data/ig/Br_F.hpd +446 -0
  88. pyromat/data/ig/Br_F3.hpd +445 -0
  89. pyromat/data/ig/Br_F5.hpd +446 -0
  90. pyromat/data/ig/Br_F5_S.hpd +465 -0
  91. pyromat/data/ig/Br_H.hpd +476 -0
  92. pyromat/data/ig/Br_H3_Si.hpd +465 -0
  93. pyromat/data/ig/Br_Hg.hpd +446 -0
  94. pyromat/data/ig/Br_I.hpd +465 -0
  95. pyromat/data/ig/Br_K.hpd +285 -0
  96. pyromat/data/ig/Br_Li.hpd +320 -0
  97. pyromat/data/ig/Br_Mo.hpd +463 -0
  98. pyromat/data/ig/Br_N.hpd +445 -0
  99. pyromat/data/ig/Br_N_O.hpd +465 -0
  100. pyromat/data/ig/Br_P.hpd +446 -0
  101. pyromat/data/ig/Br_Ti.hpd +445 -0
  102. pyromat/data/ig/Br_W.hpd +445 -0
  103. pyromat/data/ig/Br_Zr.hpd +463 -0
  104. pyromat/data/ig/C2_Be.hpd +463 -0
  105. pyromat/data/ig/C2_F3_N.hpd +468 -0
  106. pyromat/data/ig/C2_F6.hpd +476 -0
  107. pyromat/data/ig/C4_Ni_O4.hpd +441 -0
  108. pyromat/data/ig/C_B.hpd +464 -0
  109. pyromat/data/ig/C_Br.hpd +446 -0
  110. pyromat/data/ig/C_Br4.hpd +455 -0
  111. pyromat/data/ig/C_Br_F3.hpd +485 -0
  112. pyromat/data/ig/C_Br_N.hpd +484 -0
  113. pyromat/data/ig/C_F3_I.hpd +472 -0
  114. pyromat/data/ig/C_F4_O.hpd +464 -0
  115. pyromat/data/ig/C_F8_S.hpd +469 -0
  116. pyromat/data/ig/C_H3_Cl3_Si.hpd +147 -0
  117. pyromat/data/ig/C_H3_F3_Si.hpd +138 -0
  118. pyromat/data/ig/C_H_F.hpd +465 -0
  119. pyromat/data/ig/C_H_F_O.hpd +465 -0
  120. pyromat/data/ig/C_H_P.hpd +464 -0
  121. pyromat/data/ig/C_I_N.hpd +465 -0
  122. pyromat/data/ig/C_N2_1.hpd +464 -0
  123. pyromat/data/ig/Ca_H2_O2.hpd +446 -0
  124. pyromat/data/ig/Ca_H_O.hpd +447 -0
  125. pyromat/data/ig/Cl10_W2.hpd +445 -0
  126. pyromat/data/ig/Cl2_Co.hpd +319 -0
  127. pyromat/data/ig/Cl2_F_O_P.hpd +466 -0
  128. pyromat/data/ig/Cl2_H2_Si.hpd +465 -0
  129. pyromat/data/ig/Cl2_Hg.hpd +354 -0
  130. pyromat/data/ig/Cl2_Mo_O2.hpd +446 -0
  131. pyromat/data/ig/Cl2_O2_W.hpd +464 -0
  132. pyromat/data/ig/Cl2_W.hpd +463 -0
  133. pyromat/data/ig/Cl2_Zr.hpd +319 -0
  134. pyromat/data/ig/Cl3_Co.hpd +447 -0
  135. pyromat/data/ig/Cl3_F_Si.hpd +447 -0
  136. pyromat/data/ig/Cl3_H_Si.hpd +466 -0
  137. pyromat/data/ig/Cl3_O_P.hpd +483 -0
  138. pyromat/data/ig/Cl3_P_S.hpd +448 -0
  139. pyromat/data/ig/Cl3_Zr.hpd +463 -0
  140. pyromat/data/ig/Cl4_Co2.hpd +445 -0
  141. pyromat/data/ig/Cl4_Mg2.hpd +445 -0
  142. pyromat/data/ig/Cl4_Mo.hpd +354 -0
  143. pyromat/data/ig/Cl4_O_W.hpd +390 -0
  144. pyromat/data/ig/Cl4_W.hpd +445 -0
  145. pyromat/data/ig/Cl4_Zr.hpd +445 -0
  146. pyromat/data/ig/Cl5_Mo.hpd +375 -0
  147. pyromat/data/ig/Cl5_Nb.hpd +403 -0
  148. pyromat/data/ig/Cl5_P.hpd +446 -0
  149. pyromat/data/ig/Cl5_Ta.hpd +403 -0
  150. pyromat/data/ig/Cl5_W.hpd +354 -0
  151. pyromat/data/ig/Cl6_Mo.hpd +445 -0
  152. pyromat/data/ig/Cl6_W.hpd +354 -0
  153. pyromat/data/ig/Cl_Co.hpd +463 -0
  154. pyromat/data/ig/Cl_F2_O_P.hpd +470 -0
  155. pyromat/data/ig/Cl_F3_Si.hpd +465 -0
  156. pyromat/data/ig/Cl_F5.hpd +464 -0
  157. pyromat/data/ig/Cl_F5_S.hpd +466 -0
  158. pyromat/data/ig/Cl_F_Li2.hpd +464 -0
  159. pyromat/data/ig/Cl_F_O3.hpd +472 -0
  160. pyromat/data/ig/Cl_H.hpd +493 -0
  161. pyromat/data/ig/Cl_H3_Si.hpd +466 -0
  162. pyromat/data/ig/Cl_H_O.hpd +465 -0
  163. pyromat/data/ig/Cl_Hg.hpd +445 -0
  164. pyromat/data/ig/Cl_I.hpd +390 -0
  165. pyromat/data/ig/Cl_Li_O.hpd +465 -0
  166. pyromat/data/ig/Cl_P.hpd +446 -0
  167. pyromat/data/ig/Cl_W.hpd +463 -0
  168. pyromat/data/ig/Cl_Zr.hpd +463 -0
  169. pyromat/data/ig/Co.hpd +242 -0
  170. pyromat/data/ig/Co_F2.hpd +249 -0
  171. pyromat/data/ig/Cs2_H2_O2.hpd +464 -0
  172. pyromat/data/ig/Cs_H_O.hpd +322 -0
  173. pyromat/data/ig/D_H.hpd +464 -0
  174. pyromat/data/ig/D_H_O.hpd +467 -0
  175. pyromat/data/ig/F10_Mo2.hpd +445 -0
  176. pyromat/data/ig/F10_S2.hpd +465 -0
  177. pyromat/data/ig/F15_Mo3.hpd +445 -0
  178. pyromat/data/ig/F2_Fe.hpd +249 -0
  179. pyromat/data/ig/F2_H2_Si.hpd +465 -0
  180. pyromat/data/ig/F2_Hg.hpd +321 -0
  181. pyromat/data/ig/F2_Mo.hpd +445 -0
  182. pyromat/data/ig/F2_N2_1.hpd +469 -0
  183. pyromat/data/ig/F2_O_Si.hpd +465 -0
  184. pyromat/data/ig/F2_O_Ti.hpd +446 -0
  185. pyromat/data/ig/F2_S2_1.hpd +446 -0
  186. pyromat/data/ig/F2_Ti.hpd +463 -0
  187. pyromat/data/ig/F2_Zr.hpd +249 -0
  188. pyromat/data/ig/F3_Fe.hpd +445 -0
  189. pyromat/data/ig/F3_H_Si.hpd +465 -0
  190. pyromat/data/ig/F3_Mo.hpd +445 -0
  191. pyromat/data/ig/F3_O_P.hpd +471 -0
  192. pyromat/data/ig/F3_P_S.hpd +465 -0
  193. pyromat/data/ig/F3_Ti.hpd +445 -0
  194. pyromat/data/ig/F3_Zr.hpd +463 -0
  195. pyromat/data/ig/F4_Mo.hpd +463 -0
  196. pyromat/data/ig/F4_Mo_O.hpd +446 -0
  197. pyromat/data/ig/F4_O_W.hpd +390 -0
  198. pyromat/data/ig/F4_Ti.hpd +447 -0
  199. pyromat/data/ig/F4_Zr.hpd +446 -0
  200. pyromat/data/ig/F5_I.hpd +446 -0
  201. pyromat/data/ig/F5_Mo.hpd +445 -0
  202. pyromat/data/ig/F6_Mo.hpd +394 -0
  203. pyromat/data/ig/F6_W.hpd +396 -0
  204. pyromat/data/ig/F7_I.hpd +447 -0
  205. pyromat/data/ig/F_Fe.hpd +445 -0
  206. pyromat/data/ig/F_H.hpd +464 -0
  207. pyromat/data/ig/F_H3_Si.hpd +466 -0
  208. pyromat/data/ig/F_H_O.hpd +465 -0
  209. pyromat/data/ig/F_H_O3_S.hpd +467 -0
  210. pyromat/data/ig/F_Hg.hpd +445 -0
  211. pyromat/data/ig/F_I.hpd +446 -0
  212. pyromat/data/ig/F_Mo.hpd +463 -0
  213. pyromat/data/ig/F_O_Ti.hpd +464 -0
  214. pyromat/data/ig/F_P_S.hpd +464 -0
  215. pyromat/data/ig/F_Ti.hpd +463 -0
  216. pyromat/data/ig/F_W.hpd +463 -0
  217. pyromat/data/ig/F_Zr.hpd +463 -0
  218. pyromat/data/ig/Fe2_I4.hpd +445 -0
  219. pyromat/data/ig/Fe_H2_O2.hpd +466 -0
  220. pyromat/data/ig/Fe_I2.hpd +319 -0
  221. pyromat/data/ig/Fe_S.hpd +194 -0
  222. pyromat/data/ig/Ga.hpd +291 -0
  223. pyromat/data/ig/H2_Mo_O4.hpd +465 -0
  224. pyromat/data/ig/H2_O4_W.hpd +466 -0
  225. pyromat/data/ig/H2_P.hpd +464 -0
  226. pyromat/data/ig/H_Hg.hpd +463 -0
  227. pyromat/data/ig/H_Pb.hpd +463 -0
  228. pyromat/data/ig/H_Zr.hpd +463 -0
  229. pyromat/data/ig/Hf.hpd +116 -0
  230. pyromat/data/ig/Hg_I.hpd +446 -0
  231. pyromat/data/ig/Hg_I2.hpd +355 -0
  232. pyromat/data/ig/Hg_O.hpd +447 -0
  233. pyromat/data/ig/I2_K2.hpd +446 -0
  234. pyromat/data/ig/I2_Li2.hpd +445 -0
  235. pyromat/data/ig/I2_Mo.hpd +464 -0
  236. pyromat/data/ig/I2_Ti.hpd +463 -0
  237. pyromat/data/ig/I2_Zr.hpd +319 -0
  238. pyromat/data/ig/I3_Mo.hpd +446 -0
  239. pyromat/data/ig/I3_Si.hpd +446 -0
  240. pyromat/data/ig/I3_Ti.hpd +445 -0
  241. pyromat/data/ig/I3_Zr.hpd +445 -0
  242. pyromat/data/ig/I4_Mo.hpd +446 -0
  243. pyromat/data/ig/I4_Si.hpd +410 -0
  244. pyromat/data/ig/I4_Ti.hpd +354 -0
  245. pyromat/data/ig/I4_Zr.hpd +445 -0
  246. pyromat/data/ig/I_K.hpd +285 -0
  247. pyromat/data/ig/I_Li.hpd +285 -0
  248. pyromat/data/ig/I_N_O.hpd +465 -0
  249. pyromat/data/ig/I_Sr.hpd +463 -0
  250. pyromat/data/ig/I_Ti.hpd +463 -0
  251. pyromat/data/ig/I_Zr.hpd +445 -0
  252. pyromat/data/ig/Li_Na_O.hpd +464 -0
  253. pyromat/data/ig/Mn.hpd +298 -0
  254. pyromat/data/ig/Mo.hpd +116 -0
  255. pyromat/data/ig/Mo_O.hpd +447 -0
  256. pyromat/data/ig/Mo_O2.hpd +465 -0
  257. pyromat/data/ig/N_P.hpd +464 -0
  258. pyromat/data/ig/O12_W4.hpd +445 -0
  259. pyromat/data/ig/O2_W.hpd +463 -0
  260. pyromat/data/ig/O3_W.hpd +250 -0
  261. pyromat/data/ig/O6_P4.hpd +463 -0
  262. pyromat/data/ig/O6_W2.hpd +445 -0
  263. pyromat/data/ig/O8_W3.hpd +464 -0
  264. pyromat/data/ig/O9_W3.hpd +445 -0
  265. pyromat/data/ig/O_W.hpd +464 -0
  266. pyromat/data/ig/P_S.hpd +446 -0
  267. pyromat/data/ig/Rb.hpd +414 -0
  268. pyromat/data/ig/Rb2.hpd +463 -0
  269. pyromat/data/ig/S3.hpd +444 -0
  270. pyromat/data/ig/S4.hpd +444 -0
  271. pyromat/data/ig/S5.hpd +444 -0
  272. pyromat/data/ig/S6.hpd +451 -0
  273. pyromat/data/ig/S7.hpd +444 -0
  274. pyromat/data/ig2/Al+.hpd +39 -0
  275. pyromat/data/ig2/Al-.hpd +39 -0
  276. pyromat/data/ig2/Al.hpd +43 -0
  277. pyromat/data/ig2/Al2.hpd +42 -0
  278. pyromat/data/ig2/Al2_Br6.hpd +42 -0
  279. pyromat/data/ig2/Al2_Cl6.hpd +48 -0
  280. pyromat/data/ig2/Al2_F6.hpd +42 -0
  281. pyromat/data/ig2/Al2_I6.hpd +43 -0
  282. pyromat/data/ig2/Al2_O+.hpd +40 -0
  283. pyromat/data/ig2/Al2_O.hpd +42 -0
  284. pyromat/data/ig2/Al2_O2+.hpd +40 -0
  285. pyromat/data/ig2/Al2_O2.hpd +42 -0
  286. pyromat/data/ig2/Al_B_O2.hpd +43 -0
  287. pyromat/data/ig2/Al_Br.hpd +42 -0
  288. pyromat/data/ig2/Al_Br3.hpd +42 -0
  289. pyromat/data/ig2/Al_Cl+.hpd +40 -0
  290. pyromat/data/ig2/Al_Cl.hpd +43 -0
  291. pyromat/data/ig2/Al_Cl2+.hpd +40 -0
  292. pyromat/data/ig2/Al_Cl2-.hpd +40 -0
  293. pyromat/data/ig2/Al_Cl2.hpd +42 -0
  294. pyromat/data/ig2/Al_Cl2_F.hpd +44 -0
  295. pyromat/data/ig2/Al_Cl3.hpd +42 -0
  296. pyromat/data/ig2/Al_Cl_F+.hpd +41 -0
  297. pyromat/data/ig2/Al_Cl_F.hpd +43 -0
  298. pyromat/data/ig2/Al_Cl_F2.hpd +44 -0
  299. pyromat/data/ig2/Al_Cl_O.hpd +43 -0
  300. pyromat/data/ig2/Al_F+.hpd +40 -0
  301. pyromat/data/ig2/Al_F.hpd +43 -0
  302. pyromat/data/ig2/Al_F2+.hpd +40 -0
  303. pyromat/data/ig2/Al_F2-.hpd +40 -0
  304. pyromat/data/ig2/Al_F2.hpd +42 -0
  305. pyromat/data/ig2/Al_F2_O-.hpd +41 -0
  306. pyromat/data/ig2/Al_F2_O.hpd +43 -0
  307. pyromat/data/ig2/Al_F3.hpd +45 -0
  308. pyromat/data/ig2/Al_F4-.hpd +40 -0
  309. pyromat/data/ig2/Al_F4_Li.hpd +43 -0
  310. pyromat/data/ig2/Al_F4_Na.hpd +43 -0
  311. pyromat/data/ig2/Al_F_O.hpd +43 -0
  312. pyromat/data/ig2/Al_I.hpd +42 -0
  313. pyromat/data/ig2/Al_I3.hpd +42 -0
  314. pyromat/data/ig2/Al_N.hpd +44 -0
  315. pyromat/data/ig2/Al_O+.hpd +40 -0
  316. pyromat/data/ig2/Al_O-.hpd +40 -0
  317. pyromat/data/ig2/Al_O.hpd +43 -0
  318. pyromat/data/ig2/Al_O2-.hpd +40 -0
  319. pyromat/data/ig2/Al_O2.hpd +42 -0
  320. pyromat/data/ig2/Al_S.hpd +43 -0
  321. pyromat/data/ig2/Ar+.hpd +39 -0
  322. pyromat/data/ig2/Ar.hpd +38 -0
  323. pyromat/data/ig2/B+.hpd +39 -0
  324. pyromat/data/ig2/B-.hpd +39 -0
  325. pyromat/data/ig2/B.hpd +42 -0
  326. pyromat/data/ig2/B2.hpd +38 -0
  327. pyromat/data/ig2/B2_O.hpd +42 -0
  328. pyromat/data/ig2/B2_O2.hpd +42 -0
  329. pyromat/data/ig2/B2_O3.hpd +42 -0
  330. pyromat/data/ig2/B3_Cl3_O3.hpd +44 -0
  331. pyromat/data/ig2/B3_F3_O3.hpd +44 -0
  332. pyromat/data/ig2/B_Be_O2.hpd +40 -0
  333. pyromat/data/ig2/B_Cl+.hpd +40 -0
  334. pyromat/data/ig2/B_Cl.hpd +43 -0
  335. pyromat/data/ig2/B_Cl2+.hpd +40 -0
  336. pyromat/data/ig2/B_Cl2-.hpd +40 -0
  337. pyromat/data/ig2/B_Cl2.hpd +43 -0
  338. pyromat/data/ig2/B_Cl3.hpd +52 -0
  339. pyromat/data/ig2/B_Cl_F.hpd +44 -0
  340. pyromat/data/ig2/B_Cl_O.hpd +43 -0
  341. pyromat/data/ig2/B_F.hpd +44 -0
  342. pyromat/data/ig2/B_F2+.hpd +40 -0
  343. pyromat/data/ig2/B_F2-.hpd +40 -0
  344. pyromat/data/ig2/B_F2.hpd +43 -0
  345. pyromat/data/ig2/B_F2_O.hpd +43 -0
  346. pyromat/data/ig2/B_F3.hpd +52 -0
  347. pyromat/data/ig2/B_F_O.hpd +43 -0
  348. pyromat/data/ig2/B_K_O2.hpd +43 -0
  349. pyromat/data/ig2/B_Li_O2.hpd +43 -0
  350. pyromat/data/ig2/B_N.hpd +43 -0
  351. pyromat/data/ig2/B_Na_O2.hpd +43 -0
  352. pyromat/data/ig2/B_O.hpd +43 -0
  353. pyromat/data/ig2/B_O2-.hpd +40 -0
  354. pyromat/data/ig2/B_O2.hpd +42 -0
  355. pyromat/data/ig2/B_S.hpd +43 -0
  356. pyromat/data/ig2/Ba.hpd +38 -0
  357. pyromat/data/ig2/Ba_Br.hpd +42 -0
  358. pyromat/data/ig2/Ba_Br2.hpd +42 -0
  359. pyromat/data/ig2/Ba_Cl.hpd +39 -0
  360. pyromat/data/ig2/Ba_Cl2.hpd +44 -0
  361. pyromat/data/ig2/Ba_F+.hpd +40 -0
  362. pyromat/data/ig2/Ba_F.hpd +43 -0
  363. pyromat/data/ig2/Ba_F2.hpd +43 -0
  364. pyromat/data/ig2/Ba_S.hpd +44 -0
  365. pyromat/data/ig2/Be+.hpd +39 -0
  366. pyromat/data/ig2/Be.hpd +42 -0
  367. pyromat/data/ig2/Be2_F2_O.hpd +43 -0
  368. pyromat/data/ig2/Be2_O.hpd +42 -0
  369. pyromat/data/ig2/Be2_O2.hpd +42 -0
  370. pyromat/data/ig2/Be3_O3.hpd +39 -0
  371. pyromat/data/ig2/Be4_O4.hpd +39 -0
  372. pyromat/data/ig2/Be_Br.hpd +42 -0
  373. pyromat/data/ig2/Be_Br2.hpd +44 -0
  374. pyromat/data/ig2/Be_Cl+.hpd +40 -0
  375. pyromat/data/ig2/Be_Cl.hpd +43 -0
  376. pyromat/data/ig2/Be_Cl2.hpd +42 -0
  377. pyromat/data/ig2/Be_Cl_F.hpd +43 -0
  378. pyromat/data/ig2/Be_F.hpd +43 -0
  379. pyromat/data/ig2/Be_F2.hpd +42 -0
  380. pyromat/data/ig2/Be_I.hpd +42 -0
  381. pyromat/data/ig2/Be_I2.hpd +44 -0
  382. pyromat/data/ig2/Be_N.hpd +43 -0
  383. pyromat/data/ig2/Be_O.hpd +44 -0
  384. pyromat/data/ig2/Be_S.hpd +44 -0
  385. pyromat/data/ig2/Br.hpd +42 -0
  386. pyromat/data/ig2/Br2.hpd +49 -0
  387. pyromat/data/ig2/Br2_Ca.hpd +42 -0
  388. pyromat/data/ig2/Br2_Hg.hpd +51 -0
  389. pyromat/data/ig2/Br2_Mg.hpd +42 -0
  390. pyromat/data/ig2/Br2_Pb.hpd +42 -0
  391. pyromat/data/ig2/Br2_Si.hpd +43 -0
  392. pyromat/data/ig2/Br3_Si.hpd +43 -0
  393. pyromat/data/ig2/Br4_Pb.hpd +42 -0
  394. pyromat/data/ig2/Br4_Si.hpd +43 -0
  395. pyromat/data/ig2/Br_Ca.hpd +42 -0
  396. pyromat/data/ig2/Br_Mg.hpd +42 -0
  397. pyromat/data/ig2/Br_Na.hpd +43 -0
  398. pyromat/data/ig2/Br_Pb.hpd +42 -0
  399. pyromat/data/ig2/Br_Si.hpd +43 -0
  400. pyromat/data/ig2/Br_Sr.hpd +42 -0
  401. pyromat/data/ig2/C+.hpd +39 -0
  402. pyromat/data/ig2/C-.hpd +39 -0
  403. pyromat/data/ig2/C.hpd +43 -0
  404. pyromat/data/ig2/C10_H21.hpd +39 -0
  405. pyromat/data/ig2/C10_H8.hpd +39 -0
  406. pyromat/data/ig2/C12_D10.hpd +39 -0
  407. pyromat/data/ig2/C12_D9.hpd +39 -0
  408. pyromat/data/ig2/C12_H10.hpd +39 -0
  409. pyromat/data/ig2/C12_H23.hpd +39 -0
  410. pyromat/data/ig2/C12_H9.hpd +39 -0
  411. pyromat/data/ig2/C2+.hpd +39 -0
  412. pyromat/data/ig2/C2-.hpd +39 -0
  413. pyromat/data/ig2/C2.hpd +42 -0
  414. pyromat/data/ig2/C2_Cl2.hpd +50 -0
  415. pyromat/data/ig2/C2_Cl4.hpd +97 -0
  416. pyromat/data/ig2/C2_Cl6.hpd +69 -0
  417. pyromat/data/ig2/C2_F2.hpd +50 -0
  418. pyromat/data/ig2/C2_F4.hpd +55 -0
  419. pyromat/data/ig2/C2_H.hpd +43 -0
  420. pyromat/data/ig2/C2_H2.hpd +50 -0
  421. pyromat/data/ig2/C2_H2_O.hpd +40 -0
  422. pyromat/data/ig2/C2_H3.hpd +39 -0
  423. pyromat/data/ig2/C2_H3_N.hpd +40 -0
  424. pyromat/data/ig2/C2_H3_O.hpd +40 -0
  425. pyromat/data/ig2/C2_H4.hpd +39 -0
  426. pyromat/data/ig2/C2_H4_O.hpd +40 -0
  427. pyromat/data/ig2/C2_H4_O2.hpd +40 -0
  428. pyromat/data/ig2/C2_H4_O4.hpd +40 -0
  429. pyromat/data/ig2/C2_H5.hpd +39 -0
  430. pyromat/data/ig2/C2_H6.hpd +39 -0
  431. pyromat/data/ig2/C2_H6_N2.hpd +40 -0
  432. pyromat/data/ig2/C2_H6_O.hpd +40 -0
  433. pyromat/data/ig2/C2_H_Cl.hpd +51 -0
  434. pyromat/data/ig2/C2_H_F.hpd +52 -0
  435. pyromat/data/ig2/C2_H_N.hpd +40 -0
  436. pyromat/data/ig2/C2_H_O.hpd +40 -0
  437. pyromat/data/ig2/C2_K2_N2.hpd +43 -0
  438. pyromat/data/ig2/C2_N.hpd +42 -0
  439. pyromat/data/ig2/C2_N2.hpd +61 -0
  440. pyromat/data/ig2/C2_N2_Na2.hpd +44 -0
  441. pyromat/data/ig2/C2_O.hpd +39 -0
  442. pyromat/data/ig2/C2_Si.hpd +42 -0
  443. pyromat/data/ig2/C3.hpd +43 -0
  444. pyromat/data/ig2/C3_H3.hpd +39 -0
  445. pyromat/data/ig2/C3_H4.hpd +39 -0
  446. pyromat/data/ig2/C3_H5.hpd +39 -0
  447. pyromat/data/ig2/C3_H6.hpd +39 -0
  448. pyromat/data/ig2/C3_H6_O.hpd +40 -0
  449. pyromat/data/ig2/C3_H7.hpd +39 -0
  450. pyromat/data/ig2/C3_H8.hpd +39 -0
  451. pyromat/data/ig2/C3_H8_O.hpd +40 -0
  452. pyromat/data/ig2/C3_O2.hpd +46 -0
  453. pyromat/data/ig2/C4.hpd +42 -0
  454. pyromat/data/ig2/C4_H10.hpd +39 -0
  455. pyromat/data/ig2/C4_H12_Si.hpd +54 -0
  456. pyromat/data/ig2/C4_H2.hpd +39 -0
  457. pyromat/data/ig2/C4_H4.hpd +39 -0
  458. pyromat/data/ig2/C4_H6.hpd +39 -0
  459. pyromat/data/ig2/C4_H8.hpd +39 -0
  460. pyromat/data/ig2/C4_H8_O4.hpd +40 -0
  461. pyromat/data/ig2/C4_H9.hpd +39 -0
  462. pyromat/data/ig2/C4_N2.hpd +52 -0
  463. pyromat/data/ig2/C5.hpd +42 -0
  464. pyromat/data/ig2/C5_Fe_O5.hpd +49 -0
  465. pyromat/data/ig2/C5_H10.hpd +39 -0
  466. pyromat/data/ig2/C5_H11.hpd +39 -0
  467. pyromat/data/ig2/C5_H12.hpd +39 -0
  468. pyromat/data/ig2/C5_H6.hpd +39 -0
  469. pyromat/data/ig2/C5_H8.hpd +39 -0
  470. pyromat/data/ig2/C6_D5.hpd +39 -0
  471. pyromat/data/ig2/C6_D6.hpd +39 -0
  472. pyromat/data/ig2/C6_H10.hpd +39 -0
  473. pyromat/data/ig2/C6_H12.hpd +39 -0
  474. pyromat/data/ig2/C6_H13.hpd +39 -0
  475. pyromat/data/ig2/C6_H2.hpd +39 -0
  476. pyromat/data/ig2/C6_H5.hpd +39 -0
  477. pyromat/data/ig2/C6_H5_O.hpd +40 -0
  478. pyromat/data/ig2/C6_H6.hpd +39 -0
  479. pyromat/data/ig2/C6_H6_O.hpd +40 -0
  480. pyromat/data/ig2/C7_H14.hpd +39 -0
  481. pyromat/data/ig2/C7_H15.hpd +39 -0
  482. pyromat/data/ig2/C7_H16.hpd +39 -0
  483. pyromat/data/ig2/C7_H7.hpd +39 -0
  484. pyromat/data/ig2/C7_H8.hpd +39 -0
  485. pyromat/data/ig2/C7_H8_O.hpd +40 -0
  486. pyromat/data/ig2/C8_H10.hpd +39 -0
  487. pyromat/data/ig2/C8_H16.hpd +39 -0
  488. pyromat/data/ig2/C8_H17.hpd +39 -0
  489. pyromat/data/ig2/C8_H18.hpd +39 -0
  490. pyromat/data/ig2/C8_H8.hpd +39 -0
  491. pyromat/data/ig2/C9_H19.hpd +39 -0
  492. pyromat/data/ig2/C_Al.hpd +42 -0
  493. pyromat/data/ig2/C_Cl.hpd +43 -0
  494. pyromat/data/ig2/C_Cl2.hpd +43 -0
  495. pyromat/data/ig2/C_Cl2_F2.hpd +85 -0
  496. pyromat/data/ig2/C_Cl2_O.hpd +65 -0
  497. pyromat/data/ig2/C_Cl3.hpd +43 -0
  498. pyromat/data/ig2/C_Cl3_F.hpd +93 -0
  499. pyromat/data/ig2/C_Cl4.hpd +84 -0
  500. pyromat/data/ig2/C_Cl_F3.hpd +65 -0
  501. pyromat/data/ig2/C_Cl_F_O.hpd +52 -0
  502. pyromat/data/ig2/C_Cl_N.hpd +60 -0
  503. pyromat/data/ig2/C_Cl_O.hpd +44 -0
  504. pyromat/data/ig2/C_F+.hpd +40 -0
  505. pyromat/data/ig2/C_F.hpd +43 -0
  506. pyromat/data/ig2/C_F2+.hpd +40 -0
  507. pyromat/data/ig2/C_F2.hpd +45 -0
  508. pyromat/data/ig2/C_F2_O.hpd +60 -0
  509. pyromat/data/ig2/C_F3+.hpd +40 -0
  510. pyromat/data/ig2/C_F3.hpd +43 -0
  511. pyromat/data/ig2/C_F4.hpd +62 -0
  512. pyromat/data/ig2/C_F_N.hpd +43 -0
  513. pyromat/data/ig2/C_F_O.hpd +43 -0
  514. pyromat/data/ig2/C_H+.hpd +40 -0
  515. pyromat/data/ig2/C_H.hpd +43 -0
  516. pyromat/data/ig2/C_H2.hpd +43 -0
  517. pyromat/data/ig2/C_H2_Cl2.hpd +70 -0
  518. pyromat/data/ig2/C_H2_Cl_F.hpd +56 -0
  519. pyromat/data/ig2/C_H2_F2.hpd +40 -0
  520. pyromat/data/ig2/C_H2_O.hpd +82 -0
  521. pyromat/data/ig2/C_H2_O2.hpd +40 -0
  522. pyromat/data/ig2/C_H3.hpd +43 -0
  523. pyromat/data/ig2/C_H3_Cl.hpd +61 -0
  524. pyromat/data/ig2/C_H3_F.hpd +40 -0
  525. pyromat/data/ig2/C_H3_O.hpd +40 -0
  526. pyromat/data/ig2/C_H4.hpd +39 -0
  527. pyromat/data/ig2/C_H4_O.hpd +40 -0
  528. pyromat/data/ig2/C_H_Cl.hpd +44 -0
  529. pyromat/data/ig2/C_H_Cl2_F.hpd +65 -0
  530. pyromat/data/ig2/C_H_Cl3.hpd +65 -0
  531. pyromat/data/ig2/C_H_Cl_F2.hpd +89 -0
  532. pyromat/data/ig2/C_H_F3.hpd +65 -0
  533. pyromat/data/ig2/C_H_N.hpd +72 -0
  534. pyromat/data/ig2/C_H_N_O.hpd +45 -0
  535. pyromat/data/ig2/C_H_O+.hpd +41 -0
  536. pyromat/data/ig2/C_H_O.hpd +44 -0
  537. pyromat/data/ig2/C_H_O2.hpd +40 -0
  538. pyromat/data/ig2/C_K_N.hpd +43 -0
  539. pyromat/data/ig2/C_N+.hpd +40 -0
  540. pyromat/data/ig2/C_N-.hpd +40 -0
  541. pyromat/data/ig2/C_N.hpd +43 -0
  542. pyromat/data/ig2/C_N2.hpd +43 -0
  543. pyromat/data/ig2/C_N_Na.hpd +43 -0
  544. pyromat/data/ig2/C_N_O.hpd +40 -0
  545. pyromat/data/ig2/C_O+.hpd +40 -0
  546. pyromat/data/ig2/C_O.hpd +59 -0
  547. pyromat/data/ig2/C_O2+.hpd +40 -0
  548. pyromat/data/ig2/C_O2.hpd +61 -0
  549. pyromat/data/ig2/C_O_S.hpd +51 -0
  550. pyromat/data/ig2/C_P.hpd +43 -0
  551. pyromat/data/ig2/C_S.hpd +43 -0
  552. pyromat/data/ig2/C_S2.hpd +65 -0
  553. pyromat/data/ig2/C_Si.hpd +42 -0
  554. pyromat/data/ig2/C_Si2.hpd +42 -0
  555. pyromat/data/ig2/Ca+.hpd +39 -0
  556. pyromat/data/ig2/Ca.hpd +42 -0
  557. pyromat/data/ig2/Ca2.hpd +42 -0
  558. pyromat/data/ig2/Ca_Cl.hpd +43 -0
  559. pyromat/data/ig2/Ca_Cl2.hpd +42 -0
  560. pyromat/data/ig2/Ca_F.hpd +43 -0
  561. pyromat/data/ig2/Ca_F2.hpd +42 -0
  562. pyromat/data/ig2/Ca_I.hpd +42 -0
  563. pyromat/data/ig2/Ca_I2.hpd +42 -0
  564. pyromat/data/ig2/Ca_O.hpd +44 -0
  565. pyromat/data/ig2/Ca_S.hpd +44 -0
  566. pyromat/data/ig2/Cl+.hpd +39 -0
  567. pyromat/data/ig2/Cl-.hpd +39 -0
  568. pyromat/data/ig2/Cl.hpd +42 -0
  569. pyromat/data/ig2/Cl2.hpd +52 -0
  570. pyromat/data/ig2/Cl2_Cs2.hpd +42 -0
  571. pyromat/data/ig2/Cl2_Fe.hpd +42 -0
  572. pyromat/data/ig2/Cl2_K2.hpd +42 -0
  573. pyromat/data/ig2/Cl2_Li2.hpd +42 -0
  574. pyromat/data/ig2/Cl2_Mg.hpd +42 -0
  575. pyromat/data/ig2/Cl2_Na2.hpd +43 -0
  576. pyromat/data/ig2/Cl2_Ni.hpd +42 -0
  577. pyromat/data/ig2/Cl2_O.hpd +53 -0
  578. pyromat/data/ig2/Cl2_O2_S.hpd +45 -0
  579. pyromat/data/ig2/Cl2_O_Ti.hpd +43 -0
  580. pyromat/data/ig2/Cl2_Pb+.hpd +40 -0
  581. pyromat/data/ig2/Cl2_Pb.hpd +43 -0
  582. pyromat/data/ig2/Cl2_S+.hpd +40 -0
  583. pyromat/data/ig2/Cl2_S.hpd +54 -0
  584. pyromat/data/ig2/Cl2_S2.hpd +55 -0
  585. pyromat/data/ig2/Cl2_Si.hpd +42 -0
  586. pyromat/data/ig2/Cl2_Sr.hpd +42 -0
  587. pyromat/data/ig2/Cl2_Ti.hpd +42 -0
  588. pyromat/data/ig2/Cl3_Cu3.hpd +42 -0
  589. pyromat/data/ig2/Cl3_Fe.hpd +42 -0
  590. pyromat/data/ig2/Cl3_Li3.hpd +42 -0
  591. pyromat/data/ig2/Cl3_P.hpd +59 -0
  592. pyromat/data/ig2/Cl3_Si.hpd +43 -0
  593. pyromat/data/ig2/Cl3_Ti.hpd +42 -0
  594. pyromat/data/ig2/Cl4_Fe2.hpd +42 -0
  595. pyromat/data/ig2/Cl4_Pb.hpd +42 -0
  596. pyromat/data/ig2/Cl4_Si.hpd +59 -0
  597. pyromat/data/ig2/Cl4_Ti.hpd +54 -0
  598. pyromat/data/ig2/Cl4_V.hpd +39 -0
  599. pyromat/data/ig2/Cl6_Fe2.hpd +42 -0
  600. pyromat/data/ig2/Cl_Cs.hpd +44 -0
  601. pyromat/data/ig2/Cl_Cu.hpd +44 -0
  602. pyromat/data/ig2/Cl_D.hpd +44 -0
  603. pyromat/data/ig2/Cl_D_O.hpd +43 -0
  604. pyromat/data/ig2/Cl_F.hpd +44 -0
  605. pyromat/data/ig2/Cl_F3.hpd +42 -0
  606. pyromat/data/ig2/Cl_F_Mg.hpd +43 -0
  607. pyromat/data/ig2/Cl_F_O2_S.hpd +57 -0
  608. pyromat/data/ig2/Cl_Fe.hpd +42 -0
  609. pyromat/data/ig2/Cl_K.hpd +43 -0
  610. pyromat/data/ig2/Cl_Li.hpd +43 -0
  611. pyromat/data/ig2/Cl_Mg+.hpd +40 -0
  612. pyromat/data/ig2/Cl_Mg.hpd +43 -0
  613. pyromat/data/ig2/Cl_N_O.hpd +53 -0
  614. pyromat/data/ig2/Cl_N_O2.hpd +43 -0
  615. pyromat/data/ig2/Cl_Na.hpd +44 -0
  616. pyromat/data/ig2/Cl_Ni.hpd +44 -0
  617. pyromat/data/ig2/Cl_O.hpd +43 -0
  618. pyromat/data/ig2/Cl_O2.hpd +53 -0
  619. pyromat/data/ig2/Cl_O_Ti.hpd +43 -0
  620. pyromat/data/ig2/Cl_Pb+.hpd +40 -0
  621. pyromat/data/ig2/Cl_Pb.hpd +42 -0
  622. pyromat/data/ig2/Cl_S.hpd +43 -0
  623. pyromat/data/ig2/Cl_S2.hpd +43 -0
  624. pyromat/data/ig2/Cl_Si.hpd +43 -0
  625. pyromat/data/ig2/Cl_Sr.hpd +43 -0
  626. pyromat/data/ig2/Cl_Ti.hpd +42 -0
  627. pyromat/data/ig2/Cr.hpd +42 -0
  628. pyromat/data/ig2/Cr_N.hpd +44 -0
  629. pyromat/data/ig2/Cr_O.hpd +43 -0
  630. pyromat/data/ig2/Cr_O2.hpd +43 -0
  631. pyromat/data/ig2/Cr_O3.hpd +42 -0
  632. pyromat/data/ig2/Cs+.hpd +39 -0
  633. pyromat/data/ig2/Cs.hpd +38 -0
  634. pyromat/data/ig2/Cs2.hpd +42 -0
  635. pyromat/data/ig2/Cs2_F2.hpd +42 -0
  636. pyromat/data/ig2/Cs2_O.hpd +42 -0
  637. pyromat/data/ig2/Cs2_O4_S.hpd +43 -0
  638. pyromat/data/ig2/Cs_F.hpd +44 -0
  639. pyromat/data/ig2/Cs_O.hpd +43 -0
  640. pyromat/data/ig2/Cu+.hpd +39 -0
  641. pyromat/data/ig2/Cu.hpd +38 -0
  642. pyromat/data/ig2/Cu2.hpd +42 -0
  643. pyromat/data/ig2/Cu_F.hpd +43 -0
  644. pyromat/data/ig2/Cu_F2.hpd +42 -0
  645. pyromat/data/ig2/Cu_O.hpd +44 -0
  646. pyromat/data/ig2/D+.hpd +39 -0
  647. pyromat/data/ig2/D-.hpd +39 -0
  648. pyromat/data/ig2/D.hpd +38 -0
  649. pyromat/data/ig2/D2+.hpd +39 -0
  650. pyromat/data/ig2/D2-.hpd +39 -0
  651. pyromat/data/ig2/D2.hpd +44 -0
  652. pyromat/data/ig2/D2_N.hpd +42 -0
  653. pyromat/data/ig2/D2_N2.hpd +43 -0
  654. pyromat/data/ig2/D2_O.hpd +43 -0
  655. pyromat/data/ig2/D2_S.hpd +42 -0
  656. pyromat/data/ig2/D3_N.hpd +43 -0
  657. pyromat/data/ig2/D_F.hpd +44 -0
  658. pyromat/data/ig2/D_N.hpd +43 -0
  659. pyromat/data/ig2/D_O.hpd +43 -0
  660. pyromat/data/ig2/D_S.hpd +43 -0
  661. pyromat/data/ig2/F+.hpd +39 -0
  662. pyromat/data/ig2/F-.hpd +39 -0
  663. pyromat/data/ig2/F.hpd +42 -0
  664. pyromat/data/ig2/F2.hpd +42 -0
  665. pyromat/data/ig2/F2_K-.hpd +40 -0
  666. pyromat/data/ig2/F2_K2.hpd +42 -0
  667. pyromat/data/ig2/F2_Li-.hpd +40 -0
  668. pyromat/data/ig2/F2_Li2.hpd +42 -0
  669. pyromat/data/ig2/F2_Mg+.hpd +40 -0
  670. pyromat/data/ig2/F2_Mg.hpd +43 -0
  671. pyromat/data/ig2/F2_N.hpd +43 -0
  672. pyromat/data/ig2/F2_N2.hpd +53 -0
  673. pyromat/data/ig2/F2_Na-.hpd +40 -0
  674. pyromat/data/ig2/F2_Na2.hpd +42 -0
  675. pyromat/data/ig2/F2_O.hpd +52 -0
  676. pyromat/data/ig2/F2_O2_S.hpd +56 -0
  677. pyromat/data/ig2/F2_O_S.hpd +51 -0
  678. pyromat/data/ig2/F2_P+.hpd +40 -0
  679. pyromat/data/ig2/F2_P.hpd +43 -0
  680. pyromat/data/ig2/F2_Pb.hpd +42 -0
  681. pyromat/data/ig2/F2_S+.hpd +40 -0
  682. pyromat/data/ig2/F2_S-.hpd +40 -0
  683. pyromat/data/ig2/F2_S.hpd +43 -0
  684. pyromat/data/ig2/F2_S2.hpd +43 -0
  685. pyromat/data/ig2/F2_Si.hpd +43 -0
  686. pyromat/data/ig2/F2_Sr.hpd +42 -0
  687. pyromat/data/ig2/F3_Li3.hpd +39 -0
  688. pyromat/data/ig2/F3_N.hpd +50 -0
  689. pyromat/data/ig2/F3_N_O.hpd +51 -0
  690. pyromat/data/ig2/F3_P.hpd +50 -0
  691. pyromat/data/ig2/F3_S+.hpd +40 -0
  692. pyromat/data/ig2/F3_S-.hpd +40 -0
  693. pyromat/data/ig2/F3_S.hpd +43 -0
  694. pyromat/data/ig2/F3_Si.hpd +43 -0
  695. pyromat/data/ig2/F4_Mg2.hpd +42 -0
  696. pyromat/data/ig2/F4_N2.hpd +50 -0
  697. pyromat/data/ig2/F4_Pb.hpd +42 -0
  698. pyromat/data/ig2/F4_S+.hpd +40 -0
  699. pyromat/data/ig2/F4_S-.hpd +40 -0
  700. pyromat/data/ig2/F4_S.hpd +50 -0
  701. pyromat/data/ig2/F4_Si.hpd +49 -0
  702. pyromat/data/ig2/F5_P.hpd +48 -0
  703. pyromat/data/ig2/F5_S+.hpd +40 -0
  704. pyromat/data/ig2/F5_S-.hpd +40 -0
  705. pyromat/data/ig2/F5_S.hpd +43 -0
  706. pyromat/data/ig2/F6_S-.hpd +40 -0
  707. pyromat/data/ig2/F6_S.hpd +51 -0
  708. pyromat/data/ig2/F_K.hpd +43 -0
  709. pyromat/data/ig2/F_Li.hpd +43 -0
  710. pyromat/data/ig2/F_Li_O.hpd +44 -0
  711. pyromat/data/ig2/F_Mg+.hpd +40 -0
  712. pyromat/data/ig2/F_Mg.hpd +43 -0
  713. pyromat/data/ig2/F_N.hpd +43 -0
  714. pyromat/data/ig2/F_N_O.hpd +44 -0
  715. pyromat/data/ig2/F_N_O2.hpd +43 -0
  716. pyromat/data/ig2/F_N_O3.hpd +44 -0
  717. pyromat/data/ig2/F_Na.hpd +43 -0
  718. pyromat/data/ig2/F_O.hpd +43 -0
  719. pyromat/data/ig2/F_O2.hpd +39 -0
  720. pyromat/data/ig2/F_P+.hpd +40 -0
  721. pyromat/data/ig2/F_P-.hpd +40 -0
  722. pyromat/data/ig2/F_P.hpd +43 -0
  723. pyromat/data/ig2/F_Pb.hpd +42 -0
  724. pyromat/data/ig2/F_S+.hpd +40 -0
  725. pyromat/data/ig2/F_S-.hpd +40 -0
  726. pyromat/data/ig2/F_S.hpd +43 -0
  727. pyromat/data/ig2/F_Si.hpd +44 -0
  728. pyromat/data/ig2/F_Sr+.hpd +40 -0
  729. pyromat/data/ig2/F_Sr.hpd +43 -0
  730. pyromat/data/ig2/Fe+.hpd +39 -0
  731. pyromat/data/ig2/Fe-.hpd +39 -0
  732. pyromat/data/ig2/Fe.hpd +42 -0
  733. pyromat/data/ig2/Fe_O.hpd +44 -0
  734. pyromat/data/ig2/H+.hpd +39 -0
  735. pyromat/data/ig2/H-.hpd +39 -0
  736. pyromat/data/ig2/H.hpd +38 -0
  737. pyromat/data/ig2/H2+.hpd +39 -0
  738. pyromat/data/ig2/H2-.hpd +39 -0
  739. pyromat/data/ig2/H2.hpd +49 -0
  740. pyromat/data/ig2/H2_B.hpd +39 -0
  741. pyromat/data/ig2/H2_Ba_O2.hpd +40 -0
  742. pyromat/data/ig2/H2_Be_O2.hpd +40 -0
  743. pyromat/data/ig2/H2_Br2_Si.hpd +40 -0
  744. pyromat/data/ig2/H2_Ca_O2.hpd +40 -0
  745. pyromat/data/ig2/H2_Cl2_Si.hpd +40 -0
  746. pyromat/data/ig2/H2_Cs2_O2.hpd +40 -0
  747. pyromat/data/ig2/H2_F2.hpd +39 -0
  748. pyromat/data/ig2/H2_F2_Si.hpd +40 -0
  749. pyromat/data/ig2/H2_F_N.hpd +40 -0
  750. pyromat/data/ig2/H2_Fe_O2.hpd +40 -0
  751. pyromat/data/ig2/H2_I2_Si.hpd +44 -0
  752. pyromat/data/ig2/H2_K2_O2.hpd +43 -0
  753. pyromat/data/ig2/H2_Li2_O2.hpd +44 -0
  754. pyromat/data/ig2/H2_Mg_O2.hpd +43 -0
  755. pyromat/data/ig2/H2_N.hpd +43 -0
  756. pyromat/data/ig2/H2_N2.hpd +42 -0
  757. pyromat/data/ig2/H2_N2_O2.hpd +40 -0
  758. pyromat/data/ig2/H2_Na2_O2.hpd +44 -0
  759. pyromat/data/ig2/H2_O+.hpd +40 -0
  760. pyromat/data/ig2/H2_O.hpd +50 -0
  761. pyromat/data/ig2/H2_O2.hpd +43 -0
  762. pyromat/data/ig2/H2_O2_Sr.hpd +44 -0
  763. pyromat/data/ig2/H2_O4_S.hpd +68 -0
  764. pyromat/data/ig2/H2_S.hpd +65 -0
  765. pyromat/data/ig2/H2_Si.hpd +39 -0
  766. pyromat/data/ig2/H3_B.hpd +39 -0
  767. pyromat/data/ig2/H3_B3_O3.hpd +40 -0
  768. pyromat/data/ig2/H3_B3_O6.hpd +40 -0
  769. pyromat/data/ig2/H3_Br_Si.hpd +40 -0
  770. pyromat/data/ig2/H3_Cl_Si.hpd +40 -0
  771. pyromat/data/ig2/H3_F3.hpd +39 -0
  772. pyromat/data/ig2/H3_F_Si.hpd +40 -0
  773. pyromat/data/ig2/H3_I_Si.hpd +44 -0
  774. pyromat/data/ig2/H3_N.hpd +50 -0
  775. pyromat/data/ig2/H3_N_O.hpd +40 -0
  776. pyromat/data/ig2/H3_O+.hpd +40 -0
  777. pyromat/data/ig2/H3_P.hpd +54 -0
  778. pyromat/data/ig2/H3_Si.hpd +39 -0
  779. pyromat/data/ig2/H4_F4.hpd +39 -0
  780. pyromat/data/ig2/H4_N+.hpd +40 -0
  781. pyromat/data/ig2/H4_N2.hpd +52 -0
  782. pyromat/data/ig2/H4_Si.hpd +50 -0
  783. pyromat/data/ig2/H5_F5.hpd +39 -0
  784. pyromat/data/ig2/H6_F6.hpd +39 -0
  785. pyromat/data/ig2/H7_F7.hpd +39 -0
  786. pyromat/data/ig2/H_Al.hpd +39 -0
  787. pyromat/data/ig2/H_Al_O+.hpd +41 -0
  788. pyromat/data/ig2/H_Al_O-.hpd +41 -0
  789. pyromat/data/ig2/H_Al_O.hpd +40 -0
  790. pyromat/data/ig2/H_Al_O2.hpd +40 -0
  791. pyromat/data/ig2/H_B.hpd +39 -0
  792. pyromat/data/ig2/H_B_F2.hpd +40 -0
  793. pyromat/data/ig2/H_B_O+.hpd +41 -0
  794. pyromat/data/ig2/H_B_O-.hpd +41 -0
  795. pyromat/data/ig2/H_B_O.hpd +40 -0
  796. pyromat/data/ig2/H_B_O2.hpd +40 -0
  797. pyromat/data/ig2/H_B_S+.hpd +41 -0
  798. pyromat/data/ig2/H_B_S.hpd +40 -0
  799. pyromat/data/ig2/H_Ba_O+.hpd +41 -0
  800. pyromat/data/ig2/H_Ba_O.hpd +40 -0
  801. pyromat/data/ig2/H_Be+.hpd +40 -0
  802. pyromat/data/ig2/H_Be.hpd +39 -0
  803. pyromat/data/ig2/H_Be_O+.hpd +41 -0
  804. pyromat/data/ig2/H_Be_O.hpd +40 -0
  805. pyromat/data/ig2/H_Br.hpd +39 -0
  806. pyromat/data/ig2/H_Br3_Si.hpd +40 -0
  807. pyromat/data/ig2/H_Ca_O+.hpd +41 -0
  808. pyromat/data/ig2/H_Ca_O.hpd +40 -0
  809. pyromat/data/ig2/H_Cl.hpd +39 -0
  810. pyromat/data/ig2/H_Cl3_Si.hpd +40 -0
  811. pyromat/data/ig2/H_Cl_O.hpd +40 -0
  812. pyromat/data/ig2/H_Cs_O+.hpd +41 -0
  813. pyromat/data/ig2/H_Cs_O.hpd +40 -0
  814. pyromat/data/ig2/H_D+.hpd +40 -0
  815. pyromat/data/ig2/H_D-.hpd +40 -0
  816. pyromat/data/ig2/H_D.hpd +39 -0
  817. pyromat/data/ig2/H_D_O.hpd +40 -0
  818. pyromat/data/ig2/H_F.hpd +39 -0
  819. pyromat/data/ig2/H_F2_N.hpd +40 -0
  820. pyromat/data/ig2/H_F3_Si.hpd +40 -0
  821. pyromat/data/ig2/H_F_N.hpd +40 -0
  822. pyromat/data/ig2/H_F_O.hpd +40 -0
  823. pyromat/data/ig2/H_F_O3_S.hpd +41 -0
  824. pyromat/data/ig2/H_I.hpd +43 -0
  825. pyromat/data/ig2/H_I3_Si.hpd +44 -0
  826. pyromat/data/ig2/H_K.hpd +43 -0
  827. pyromat/data/ig2/H_K_O+.hpd +41 -0
  828. pyromat/data/ig2/H_K_O.hpd +44 -0
  829. pyromat/data/ig2/H_Li.hpd +43 -0
  830. pyromat/data/ig2/H_Li_O+.hpd +41 -0
  831. pyromat/data/ig2/H_Li_O.hpd +43 -0
  832. pyromat/data/ig2/H_Mg.hpd +43 -0
  833. pyromat/data/ig2/H_Mg_O+.hpd +41 -0
  834. pyromat/data/ig2/H_Mg_O.hpd +44 -0
  835. pyromat/data/ig2/H_N+.hpd +40 -0
  836. pyromat/data/ig2/H_N.hpd +43 -0
  837. pyromat/data/ig2/H_N3.hpd +39 -0
  838. pyromat/data/ig2/H_N_O.hpd +44 -0
  839. pyromat/data/ig2/H_N_O2.hpd +40 -0
  840. pyromat/data/ig2/H_N_O3.hpd +44 -0
  841. pyromat/data/ig2/H_Na.hpd +43 -0
  842. pyromat/data/ig2/H_Na_O+.hpd +41 -0
  843. pyromat/data/ig2/H_Na_O.hpd +44 -0
  844. pyromat/data/ig2/H_O+.hpd +40 -0
  845. pyromat/data/ig2/H_O-.hpd +40 -0
  846. pyromat/data/ig2/H_O.hpd +43 -0
  847. pyromat/data/ig2/H_O2.hpd +43 -0
  848. pyromat/data/ig2/H_O_Sr+.hpd +41 -0
  849. pyromat/data/ig2/H_O_Sr.hpd +44 -0
  850. pyromat/data/ig2/H_P.hpd +43 -0
  851. pyromat/data/ig2/H_S.hpd +43 -0
  852. pyromat/data/ig2/H_Si+.hpd +40 -0
  853. pyromat/data/ig2/H_Si.hpd +43 -0
  854. pyromat/data/ig2/He+.hpd +39 -0
  855. pyromat/data/ig2/He.hpd +38 -0
  856. pyromat/data/ig2/Hg.hpd +42 -0
  857. pyromat/data/ig2/I.hpd +42 -0
  858. pyromat/data/ig2/I2.hpd +57 -0
  859. pyromat/data/ig2/I2_Mg.hpd +42 -0
  860. pyromat/data/ig2/I2_Pb.hpd +42 -0
  861. pyromat/data/ig2/I2_Si.hpd +43 -0
  862. pyromat/data/ig2/I2_Sr.hpd +42 -0
  863. pyromat/data/ig2/I4_Pb.hpd +42 -0
  864. pyromat/data/ig2/I_Mg.hpd +42 -0
  865. pyromat/data/ig2/I_Na.hpd +39 -0
  866. pyromat/data/ig2/I_Pb.hpd +42 -0
  867. pyromat/data/ig2/I_Si.hpd +43 -0
  868. pyromat/data/ig2/K+.hpd +39 -0
  869. pyromat/data/ig2/K.hpd +42 -0
  870. pyromat/data/ig2/K2.hpd +42 -0
  871. pyromat/data/ig2/K2_O4_S.hpd +43 -0
  872. pyromat/data/ig2/K_O-.hpd +40 -0
  873. pyromat/data/ig2/K_O.hpd +43 -0
  874. pyromat/data/ig2/Kr+.hpd +39 -0
  875. pyromat/data/ig2/Kr.hpd +38 -0
  876. pyromat/data/ig2/Li+.hpd +39 -0
  877. pyromat/data/ig2/Li.hpd +42 -0
  878. pyromat/data/ig2/Li2.hpd +42 -0
  879. pyromat/data/ig2/Li2_O.hpd +44 -0
  880. pyromat/data/ig2/Li2_O2.hpd +42 -0
  881. pyromat/data/ig2/Li2_O4_S.hpd +43 -0
  882. pyromat/data/ig2/Li_N.hpd +43 -0
  883. pyromat/data/ig2/Li_N_O.hpd +43 -0
  884. pyromat/data/ig2/Li_O-.hpd +40 -0
  885. pyromat/data/ig2/Li_O.hpd +43 -0
  886. pyromat/data/ig2/Mg+.hpd +39 -0
  887. pyromat/data/ig2/Mg.hpd +42 -0
  888. pyromat/data/ig2/Mg2.hpd +42 -0
  889. pyromat/data/ig2/Mg_N.hpd +42 -0
  890. pyromat/data/ig2/Mg_O.hpd +44 -0
  891. pyromat/data/ig2/Mg_S.hpd +44 -0
  892. pyromat/data/ig2/Mo2_O6.hpd +39 -0
  893. pyromat/data/ig2/Mo3_O9.hpd +39 -0
  894. pyromat/data/ig2/Mo4_O12.hpd +39 -0
  895. pyromat/data/ig2/Mo5_O15.hpd +39 -0
  896. pyromat/data/ig2/Mo_O3.hpd +42 -0
  897. pyromat/data/ig2/N+.hpd +39 -0
  898. pyromat/data/ig2/N-.hpd +39 -0
  899. pyromat/data/ig2/N.hpd +42 -0
  900. pyromat/data/ig2/N2+.hpd +39 -0
  901. pyromat/data/ig2/N2-.hpd +39 -0
  902. pyromat/data/ig2/N2.hpd +50 -0
  903. pyromat/data/ig2/N2_O+.hpd +40 -0
  904. pyromat/data/ig2/N2_O.hpd +55 -0
  905. pyromat/data/ig2/N2_O3.hpd +43 -0
  906. pyromat/data/ig2/N2_O4.hpd +44 -0
  907. pyromat/data/ig2/N2_O5.hpd +44 -0
  908. pyromat/data/ig2/N3.hpd +38 -0
  909. pyromat/data/ig2/N_O+.hpd +40 -0
  910. pyromat/data/ig2/N_O.hpd +50 -0
  911. pyromat/data/ig2/N_O2-.hpd +40 -0
  912. pyromat/data/ig2/N_O2.hpd +52 -0
  913. pyromat/data/ig2/N_O3-.hpd +40 -0
  914. pyromat/data/ig2/N_O3.hpd +44 -0
  915. pyromat/data/ig2/N_S.hpd +43 -0
  916. pyromat/data/ig2/N_Si.hpd +43 -0
  917. pyromat/data/ig2/N_Si2.hpd +42 -0
  918. pyromat/data/ig2/N_V.hpd +44 -0
  919. pyromat/data/ig2/N_Zr.hpd +39 -0
  920. pyromat/data/ig2/Na+.hpd +39 -0
  921. pyromat/data/ig2/Na.hpd +42 -0
  922. pyromat/data/ig2/Na2.hpd +42 -0
  923. pyromat/data/ig2/Na2_O.hpd +39 -0
  924. pyromat/data/ig2/Na2_O4_S.hpd +47 -0
  925. pyromat/data/ig2/Na_O-.hpd +40 -0
  926. pyromat/data/ig2/Na_O.hpd +44 -0
  927. pyromat/data/ig2/Nb.hpd +38 -0
  928. pyromat/data/ig2/Nb_O.hpd +44 -0
  929. pyromat/data/ig2/Nb_O2.hpd +44 -0
  930. pyromat/data/ig2/Ne+.hpd +39 -0
  931. pyromat/data/ig2/Ne.hpd +38 -0
  932. pyromat/data/ig2/Ni.hpd +42 -0
  933. pyromat/data/ig2/Ni_O.hpd +39 -0
  934. pyromat/data/ig2/Ni_S.hpd +39 -0
  935. pyromat/data/ig2/O+.hpd +39 -0
  936. pyromat/data/ig2/O-.hpd +39 -0
  937. pyromat/data/ig2/O.hpd +38 -0
  938. pyromat/data/ig2/O10_P4.hpd +39 -0
  939. pyromat/data/ig2/O2+.hpd +39 -0
  940. pyromat/data/ig2/O2-.hpd +39 -0
  941. pyromat/data/ig2/O2.hpd +50 -0
  942. pyromat/data/ig2/O2_P.hpd +43 -0
  943. pyromat/data/ig2/O2_S.hpd +58 -0
  944. pyromat/data/ig2/O2_Si.hpd +49 -0
  945. pyromat/data/ig2/O2_Ta.hpd +43 -0
  946. pyromat/data/ig2/O2_Ti.hpd +45 -0
  947. pyromat/data/ig2/O2_V.hpd +43 -0
  948. pyromat/data/ig2/O2_Zr.hpd +42 -0
  949. pyromat/data/ig2/O3.hpd +42 -0
  950. pyromat/data/ig2/O3_S.hpd +44 -0
  951. pyromat/data/ig2/O_P.hpd +43 -0
  952. pyromat/data/ig2/O_Pb.hpd +39 -0
  953. pyromat/data/ig2/O_S.hpd +43 -0
  954. pyromat/data/ig2/O_S2.hpd +43 -0
  955. pyromat/data/ig2/O_Si.hpd +43 -0
  956. pyromat/data/ig2/O_Sr.hpd +44 -0
  957. pyromat/data/ig2/O_Ta.hpd +43 -0
  958. pyromat/data/ig2/O_Ti.hpd +44 -0
  959. pyromat/data/ig2/O_V.hpd +44 -0
  960. pyromat/data/ig2/O_Zr.hpd +44 -0
  961. pyromat/data/ig2/P+.hpd +39 -0
  962. pyromat/data/ig2/P.hpd +44 -0
  963. pyromat/data/ig2/P2.hpd +42 -0
  964. pyromat/data/ig2/P4.hpd +41 -0
  965. pyromat/data/ig2/Pb.hpd +38 -0
  966. pyromat/data/ig2/Pb2.hpd +41 -0
  967. pyromat/data/ig2/Pb_S.hpd +44 -0
  968. pyromat/data/ig2/S+.hpd +39 -0
  969. pyromat/data/ig2/S-.hpd +39 -0
  970. pyromat/data/ig2/S.hpd +45 -0
  971. pyromat/data/ig2/S2.hpd +42 -0
  972. pyromat/data/ig2/S8.hpd +54 -0
  973. pyromat/data/ig2/S_Si.hpd +43 -0
  974. pyromat/data/ig2/S_Sr.hpd +44 -0
  975. pyromat/data/ig2/Si+.hpd +39 -0
  976. pyromat/data/ig2/Si.hpd +42 -0
  977. pyromat/data/ig2/Si2.hpd +42 -0
  978. pyromat/data/ig2/Si3.hpd +43 -0
  979. pyromat/data/ig2/Sr.hpd +42 -0
  980. pyromat/data/ig2/Ta.hpd +42 -0
  981. pyromat/data/ig2/Ti+.hpd +39 -0
  982. pyromat/data/ig2/Ti-.hpd +39 -0
  983. pyromat/data/ig2/Ti.hpd +42 -0
  984. pyromat/data/ig2/V.hpd +42 -0
  985. pyromat/data/ig2/Xe+.hpd +39 -0
  986. pyromat/data/ig2/Xe.hpd +38 -0
  987. pyromat/data/ig2/Zn-.hpd +39 -0
  988. pyromat/data/ig2/Zn.hpd +42 -0
  989. pyromat/data/ig2/Zr.hpd +42 -0
  990. pyromat/data/ig2/e.hpd +38 -0
  991. pyromat/data/igmix/air.hpd +12 -0
  992. pyromat/data/igmix/f5.hpd +10 -0
  993. pyromat/data/igmix/h35.hpd +10 -0
  994. pyromat/data/mp/C2_H2_F4.hpd +332 -0
  995. pyromat/data/mp/C3_H2_F4_1.hpd +373 -0
  996. pyromat/data/mp/C_H4.hpd +454 -0
  997. pyromat/data/mp/C_O2.hpd +512 -0
  998. pyromat/data/mp/H2_O.hpd +592 -0
  999. pyromat/data/mp/N2.hpd +434 -0
  1000. pyromat/data/mp/O2.hpd +381 -0
  1001. pyromat/igtools.py +1800 -0
  1002. pyromat/reg.py +379 -0
  1003. pyromat/registry/_example.py +85 -0
  1004. pyromat/registry/if97.py +2278 -0
  1005. pyromat/registry/ig.py +1931 -0
  1006. pyromat/registry/ig2.py +1400 -0
  1007. pyromat/registry/igmix.py +1230 -0
  1008. pyromat/registry/mp1.py +4460 -0
  1009. pyromat/units.py +617 -0
  1010. pyromat/utility.py +841 -0
@@ -0,0 +1,1230 @@
1
+ import pyromat as pm
2
+ import numpy as np
3
+ ######################
4
+ ## ##
5
+ ## Mixture class ##
6
+ ## ##
7
+ ######################
8
+
9
+ class igmix(pm.reg.__basedata__):
10
+ """IGMIX Ideal gas mixture class
11
+
12
+ The ideal gas mixture is comprised of components that are ideal gases.
13
+ The properties are calculated by calling the property functions of the
14
+ constituents and performing the appropriate weighted averages (by mass
15
+ or by volume).
16
+
17
+ ** Available Property Methods **
18
+ IGMIX includes methods for calculating the same properties as ig and ig2
19
+ with a few extra unique to mixtures:
20
+ T() temperature (unit_temperature)
21
+ p() pressure (unit_pressure)
22
+ d() density (unit_matter / unit_volume)
23
+ cp() spec. heat (unit_energy / unit_temperature / unit_matter)
24
+ cv() spec. heat (unit_energy / unit_temperature / unit_matter)
25
+ e() internal energy (unit_energy / unit_matter)
26
+ h() enthalpy (unit_energy / unit_matter)
27
+ gam() spec. heat ratio (dless)
28
+ s() entropy (unit_energy / unit_temperature / unit_matter)
29
+ X() mole ratios (dless)
30
+ Y() mass ratios (dless)
31
+
32
+
33
+ ** Other Properties **
34
+ The Tlim() method returns the intersection of all the supported
35
+ temperature intervals of the constituents.
36
+ Tlim() temperature limits (unit_temperature)
37
+
38
+ Molecular weight and ideal gas constant for a mixture are calculated as
39
+ an appropriately weighted average. The molecular weight of a mixture is
40
+ the average mass per mole of molecules.
41
+ mw() molecular weight (unit_mass / unit_molar)
42
+ R() gas constant (unit_energy / unit_temperature / unit_matter)
43
+
44
+ Like other species, the atoms() method returns a dictionary of the atomic
45
+ constituents of the mixture. However, igmix objects can have fractional
46
+ values that indicate the average number of atoms per molecule.
47
+ atoms() atomic constituents (count/molecule)
48
+
49
+ ** Depreciated Methods **
50
+ Since version 2.2.0, the flexible interface has allowed passing enthalpy
51
+ and entropy directly to the T() and p() methods, so these methods are
52
+ no longer needed. They will be removed with the next major revision
53
+ change, so new code should no longer use them.
54
+ T_h() temperature from enthalpy
55
+ T_s() temperature from entropy and pressure
56
+ p_s() pressure from entropy and temperature
57
+
58
+ For more information on any of these methods, access the in-line
59
+ documentation using Python's built-in "help()" function.
60
+ """
61
+
62
+ def __init__(self,*arg,**kwarg):
63
+ # Call the basedata class
64
+ super(igmix,self).__init__(*arg,**kwarg)
65
+
66
+ # Initialize the bootstrap flag
67
+ # Initialization has to be split into two phases. Calculation
68
+ # of mean mixture properties cannot be completed until all other
69
+ # members of the collection have been loaded. The _bootstrap()
70
+ # method is responsible for completing the process, and the _bs
71
+ # flag indicates whether it has already been completed.
72
+ self._bs = False
73
+ # Initialize the static molar and mass fractions
74
+ self._x = {}
75
+ self._y = {}
76
+ # Initialize the mean molecular weight
77
+ self._mw = 0.
78
+ # Initialize the mean reference pressure for entropy
79
+ self._pref_pa = 0.
80
+ # Initialize temperature limits
81
+ self._Tlim = [float('-inf'), float('inf')]
82
+
83
+
84
+ def _bootstrap(self):
85
+ """Calculates internal parameters that are essential for the property functions
86
+ This operation cannot be completed by __init__ at load time because
87
+ there is no no way to ensure that all of the constituent species have
88
+ already been loaded. Instead, _bootstrap() is called by the property
89
+ methods to be certain the relevant parameters have been calculated. If
90
+ the _bs member flag has already been set, this method returns
91
+ immediately.
92
+
93
+ Attribute Description
94
+ _x Dictionary of mole fractions
95
+ _y Dictionary of mass fractions
96
+ _mw Effective mean molecular mass (weight) in kg/kmol
97
+ _pref_bar Effective log-mean reference pressure in bar used for entropy
98
+ _smix The enthalpy of mixing
99
+ _Tlim Lower and upper temperature limits of the most restrictive
100
+ constintuent gas data in Kelvin
101
+ """
102
+ if self._bs:
103
+ return
104
+
105
+ self._bs = True
106
+
107
+ self._x = {}
108
+ self._y = {}
109
+ # Initialize a total mass and molar tally
110
+ total_x = 0.
111
+ total_y = 0.
112
+ # Initialize the mean molecular weight
113
+ self._mw = 0.
114
+ # Initialize the mean reference pressure for entropy
115
+ self._pref_pa = 0.
116
+ # Initialize temperature limits
117
+ self._Tlim = [float('-inf'), float('inf')]
118
+
119
+ for ss,qty in self.data['contents'].items():
120
+ spec = pm.dat.data.get(ss)
121
+
122
+ # Test for basic data integrity
123
+ if spec is None:
124
+ raise pm.utility.PMDataError('IGMIX: %s contains a species not in the collection: %s'%(self.data['id'], ss))
125
+ # IG stores reference pressure as a member and in bar
126
+ elif isinstance(spec, pm.reg.registry['ig']):
127
+ spec_pref = spec._pref_pa
128
+ # IG2 stores reference pressure in Pa and in the data dictionary
129
+ elif isinstance(spec, pm.reg.registry['ig2']):
130
+ spec_pref = spec.data['pref']
131
+ else:
132
+ raise pm.utility.PMDataError('IGMIX: %s contains a species class that is not supported: %s'%(self.data['id'], repr(spec)))
133
+
134
+ spec_mw = spec.data['mw']
135
+ spec_Tmin = spec.data['Tlim'][0]
136
+ spec_Tmax = spec.data['Tlim'][-1]
137
+
138
+ if self.data['bymass']:
139
+ spec_y = qty
140
+ spec_x = qty / spec_mw
141
+ else:
142
+ spec_y = qty * spec_mw
143
+ spec_x = qty
144
+
145
+ total_y += spec_y
146
+ total_x += spec_x
147
+
148
+ # Update parameters
149
+ self._y[ss] = spec_y
150
+ self._x[ss] = spec_x
151
+ self._mw += spec_mw * spec_x
152
+ self._pref_pa += np.log(spec_pref) * spec_x
153
+ self._Tlim[0] = max(spec_Tmin, self._Tlim[0])
154
+ self._Tlim[1] = min(spec_Tmax, self._Tlim[1])
155
+
156
+ # Normalize weight by total molar contents
157
+ self._mw /= total_x
158
+ # Normalize and rescale the reference pressure by the total molar contents
159
+ self._pref_pa = np.exp(self._pref_pa / total_x)
160
+
161
+ # Loop through one more time to normalize by the mass and molar
162
+ # totals and calculate the entropy of mixing
163
+ self._smix = 0.
164
+ for ss in self._x:
165
+ self._x[ss] /= total_x
166
+ self._y[ss] /= total_y
167
+ # Enthalpy of mixing
168
+ self._smix -= self._x[ss] * np.log(self._x[ss])
169
+ self._smix *= pm.units.const_Ru
170
+
171
+
172
+
173
+
174
+ def _argparse(self, *varg, **kwarg):
175
+ """Parse the arguments supplied to an IGMIX property method
176
+ T,p,d = _argparse(*varg, **kwarg)
177
+
178
+ _ARGPARSE automatically applies the default temperature and pressure,
179
+ def_T or def_p, from the pyromat.config system to deal with unspecified
180
+ parameters. All inputs are re-cast as numpy arrays of at least one
181
+ dimension and inputs are automatically converted from the configured
182
+ user units into kJ, kmol, m^3.
183
+
184
+ The returned variables are arrays of temperature, T, pressure, p, and
185
+ the density, d. Temperature will always be returned, and at least one
186
+ of p and d will be populated as well, but one of them may be None.
187
+ _argparse decides which to populate based on what is most efficient.
188
+ """
189
+ # 1) Handle varg and kward and their defaults
190
+ # 2) Apply the argument rules...
191
+ # 2.1: All arguments must be legal
192
+ # 2.2: Only 2 arguments
193
+ # 2.3: T, e, and h may not be specified together
194
+ # 2.4: d and v may not be specified together
195
+ # 3) Convert the arguments to arrays with dim 1 or greater
196
+ # 4) Convert to standard units
197
+ # 5) Process equivalent arguments
198
+ # 5.1: replace v with d
199
+ # 5.2: replace e or h with T
200
+ # 6) Check for out-of-bounds on basic arguments (This was shifted to last)
201
+ # 7) Case out the possible combinations
202
+ # 8) Broadcast the arrays appropriately
203
+ # 9) Calculate T,p,d
204
+
205
+
206
+ # Fancy tool for tracking iteration issues
207
+ debug = False
208
+
209
+ # 1) Handle varg and kwarg and apply defaults
210
+
211
+ # If varg is specified, assign its values to T,p
212
+ if len(varg) > 0:
213
+ if 'T' in kwarg:
214
+ raise pm.utility.PMParamError('T was specified both positionally and with a keyword.')
215
+ kwarg['T'] = varg[0]
216
+ if len(varg) > 1:
217
+ if 'p' in kwarg:
218
+ raise pm.utility.PMParamError('p was specified both positionally and with a keyword.')
219
+ kwarg['p'] = varg[1]
220
+ if len(varg) > 2:
221
+ raise pm.utility.PMParamError('There are only two positional arguments: T, p.')
222
+
223
+ # Count the number of arguments
224
+ nargs = len(kwarg)
225
+ if nargs == 1:
226
+ if 'T' not in kwarg:
227
+ kwarg['T'] = pm.config.def_T()
228
+ else:
229
+ kwarg['p'] = pm.config.def_p()
230
+ elif nargs == 0:
231
+ kwarg['T'] = pm.config.def_T()
232
+ kwarg['p'] = pm.config.def_p()
233
+
234
+ # 2) Apply the argument rules
235
+ # Re-measure the number of arguments and use sets to enforce
236
+ # the remaining rules
237
+ nargs = len(kwarg)
238
+ args = set(kwarg.keys())
239
+ # A set of the legal arguments
240
+ legal_args = set(['T','p','d','v','e','h','s'])
241
+
242
+ # 2.1: There may only be 2 arguments
243
+ if nargs>2:
244
+ raise pm.utility.PMParamError(
245
+ 'Specifying more than two simultaneous parameters is illegal.')
246
+
247
+ # 2.2: All arguments must be "legal" recognized arguments
248
+ these_args = args - legal_args
249
+ if these_args:
250
+ message = 'Unrecognized propert(y/ies):'
251
+ prefix = ' '
252
+ for name in these_args:
253
+ message += prefix + name
254
+ prefix = ', '
255
+ raise pm.utility.PMParamError(message)
256
+
257
+ # 2.3: T, e, and h may not be specified together
258
+ these_args = set(['T', 'e', 'h']).intersection(args)
259
+ if len(these_args) > 1:
260
+ message = 'Properties may not be specified together:'
261
+ prefix = ' '
262
+ for name in these_args:
263
+ message += prefix + name
264
+ prefix = ', '
265
+ raise pm.utility.PMParamError(message)
266
+
267
+ # 2.4: Density and specific volume cannot be specified together
268
+ if 'v' in args and 'd' in args:
269
+ raise pm.utility.PMParamError('Density (d) and specific volume (v) cannot be specified together.')
270
+
271
+ # 3) Convert all arguments to numpy arrays
272
+ # The asarray function does NOT copy the array if it is already
273
+ # a numpy array.
274
+ for name,value in kwarg.items():
275
+ value = np.asarray(value, dtype=float)
276
+ if value.ndim == 0:
277
+ value = np.reshape(value, (1,))
278
+ kwarg[name] = value
279
+
280
+ # 4) Convert the units appropriately
281
+ # This step will only make a copy of the array if the units need
282
+ # to be converted. Otherwise, the array is passed through verbatim
283
+ # As a result, the input array will ONLY be copied if it needs to
284
+ # be reshaped, converted, or retyped.
285
+ # 5) Replace v with d and e/h with T
286
+ if 'T' in kwarg:
287
+ kwarg['T'] = pm.units.temperature_scale(kwarg['T'], to_units='K')
288
+ if 'p' in kwarg:
289
+ kwarg['p'] = pm.units.pressure(kwarg['p'], to_units='Pa')
290
+ if 'd' in kwarg:
291
+ value = pm.units.volume(kwarg['d'], to_units='m3', exponent=-1)
292
+ kwarg['d'] = pm.units.matter(value, self._mw, to_units='kmol')
293
+ if 'v' in kwarg:
294
+ # Convert and replace with d at the same time
295
+ value = pm.units.volume(kwarg['v'], to_units='m3')
296
+ kwarg['d'] = 1./pm.units.matter(value, self._mw, to_units='kmol', exponent=-1)
297
+ if 'h' in kwarg:
298
+ value = kwarg['h']
299
+ value = pm.units.energy(value, to_units='kJ')
300
+ value = pm.units.matter(value, self._mw, to_units='kmol', exponent=-1)
301
+ T = np.full(value.shape, 0.5*(self._Tlim[0] + self._Tlim[-1]))
302
+ I = np.ones(value.shape, dtype=bool)
303
+ self._iter1(self._h, 'T', value, T, I, self._Tlim[0], self._Tlim[-1])
304
+ kwarg['T'] = T
305
+ if 'e' in kwarg:
306
+ value = kwarg['e']
307
+ value = pm.units.energy(value, to_units='kJ')
308
+ value = pm.units.matter(value, self._mw, to_units='kmol', exponent=-1)
309
+ Tlow = self.data['Tlim'][0]
310
+ Thigh = self.data['Tlim'][-1]
311
+ T = np.full(value.shape, 0.5*(self._Tlim[0] + self._Tlim[-1]))
312
+ I = np.ones(value.shape, dtype=bool)
313
+ self._iter1(self._e, 'T', value, T, I, self._Tlim[0], self._Tlim[-1])
314
+ kwarg['T'] = T
315
+ if 's' in kwarg:
316
+ value = kwarg['s']
317
+ value = pm.units.energy(value, to_units='kJ')
318
+ value = pm.units.matter(value, self._mw, to_units='kmol', exponent=-1)
319
+ value = pm.units.temperature(value, to_units='K', exponent=-1)
320
+ kwarg['s'] = value
321
+
322
+ # Convert R into J/kmol/K - use this for p = dRT
323
+ # Do NOT use this for s, e, and h relationships
324
+ R = 1000 * pm.units.const_Ru
325
+
326
+ T = p = d = None
327
+ # Entropy requires special iteration
328
+ if 's' in kwarg:
329
+ # If density is specified
330
+ if 'd' in args:
331
+ s,d = np.broadcast_arrays(kwarg['s'], kwarg['d'])
332
+ T = np.full_like(s, 0.5*(self._Tlim[0] + self._Tlim[-1]))
333
+ I = np.ones_like(s,dtype=bool)
334
+ self._iter1(self._sditer, 'T', s, T, I, self._Tlim[0], self._Tlim[-1], param={'d':d})
335
+ # If pressure is specified
336
+ elif 'p' in kwarg:
337
+ s,p = np.broadcast_arrays(kwarg['s'], kwarg['p'])
338
+ # adjust entropy to the reference pressure
339
+ s += pm.units.const_Ru * np.log(p / self._pref_pa)
340
+ T = np.full_like(s, 0.5*(self._Tlim[0] + self._Tlim[-1]))
341
+ I = np.ones_like(s,dtype=bool)
342
+ self._iter1(self._s, 'T', s, T, I, self._Tlim[0], self._Tlim[-1])
343
+ # If temperature is specified
344
+ elif 'T' in kwarg:
345
+ s,T = np.broadcast_arrays(kwarg['s'], kwarg['T'])
346
+ # Calculate the reference entropy at the specified temperature
347
+ s0 = self._s(T)[0]
348
+ p = self._pref_pa * np.exp((s0-s)/pm.units.const_Ru)
349
+ # Otherwise, this is an illegal combination!
350
+ else:
351
+ raise pm.utility.PMParamError(f'Cannot simultaneously specify parameters: {args}')
352
+ # If temperature is specified
353
+ elif 'T' in kwarg:
354
+ # There isn't much work to do
355
+ if 'p' in kwarg:
356
+ T,p = np.broadcast_arrays(kwarg['T'],kwarg['p'])
357
+ elif 'd' in kwarg:
358
+ T,d = np.broadcast_arrays(kwarg['T'],kwarg['d'])
359
+ else:
360
+ message = 'Please report a bug: Unhandled event [T] in ig2._argparse with args:'
361
+ prefix = ' '
362
+ for name in kwarg:
363
+ message += prefix + name
364
+ prefix = ', '
365
+ raise pm.utility.PMParamError(message)
366
+ # If pressure is specified
367
+ elif 'p' in kwarg:
368
+ if 'd' in kwarg:
369
+ p,d = np.broadcast_arrays(kwarg['p'], kwarg['d'])
370
+ T = p / (R * d)
371
+ else:
372
+ message = 'Please report a bug: Unhandled event [p] in ig2._argparse with args:'
373
+ prefix = ' '
374
+ for name in kwarg:
375
+ message += prefix + name
376
+ prefix = ', '
377
+ raise pm.utility.PMParamError(message)
378
+ else:
379
+ message = 'Please report a bug: Unhandled event [MASTER] in ig2._argparse with args:'
380
+ prefix = ' '
381
+ for name in kwarg:
382
+ message += prefix + name
383
+ prefix = ', '
384
+ raise pm.utility.PMParamError(message)
385
+
386
+ # Test the temperatures for out-of-bounds
387
+ I = np.logical_or(T < self._Tlim[0], T > self._Tlim[-1])
388
+ if I.all():
389
+ raise pm.utility.PMParamError('All of the specified states were out-of-bounds. '
390
+ 'Legal temperatures for {} are between {} and {} Kelvin.'.format(self.data['id'], self.data['Tlim'][0], self.data['Tlim'][-1]))
391
+ elif I.any():
392
+ T[I] = pm.config['def_oob']
393
+ pm.utility.print_warning('Some of the states were out of bounds - setting to config[\'def_oob\']. '
394
+ 'Legal temperatures for {} are between {} and {} Kelvin.'.format(self.data['id'], self.data['Tlim'][0], self.data['Tlim'][-1]))
395
+ return T,p,d
396
+
397
+
398
+ def _iter1(self, fn, prop, y, x, Ids, xmin, xmax,
399
+ ep=1e-6, Nmax=20, fx_index=1, verbose=False,
400
+ param={}):
401
+ """Invert an inner routine.
402
+
403
+ _iter1(fn, prop, y, x, Ids, xmin, xmax,)
404
+
405
+ Iteration is performed in-place on the x array.
406
+
407
+ *** Required Parameters ***
408
+ fn The inner routine (method) to be inverted. It must have a
409
+ call signature
410
+ f, fx0, ... = fn(x0, x1, ..., diff)
411
+ where f is the value of fn, and fx0 is the derivative of fn
412
+ with respect to prop0. The fx_index keyword can be used to
413
+ change where fx is found in the returned tuple. By default
414
+ it is 1.
415
+ prop The string keyword index of the property to be calculated.
416
+ y An array of N target values for fn().
417
+ x The result array. It should be an N-element floating point
418
+ array that has already been initialized.
419
+ Ids A down-select boolean index array; only x[Ids],y[Ids] will
420
+ be evaluated. This allows iteration in-place on data sets
421
+ where only a portion of the data require iteration. If y is
422
+ a floating point array with N elements, Ids must be a bool
423
+ array with N elements. It will specify a down-selected
424
+ data set with M elements, where M<=N.
425
+ xmin, xmax Upper and lower limit arrays for the x values. These must
426
+ broadcastable to match x and y. Even values outside of the
427
+ down-select region should have legal values.
428
+ *** Optional Parameters ***
429
+ ep Epsilon; fractional error permitted in y (default 1e-6)
430
+ Nmax Maximum number of iterations (default 20)
431
+ fx_index The location of the property derivative in the call
432
+ signature (default 1)
433
+ param A dicitonary of keyword arguments are passed directly to the
434
+ inner routine being inverted.
435
+
436
+ """
437
+ # As the iteration progresses, the number of True elements in
438
+ # Ids will decrease until they are all false
439
+ # There are some important intermediate values that will also
440
+ # require indexable arrays
441
+ dx = np.zeros_like(y, dtype=float)
442
+ error = np.zeros_like(dx, dtype=float)
443
+ IooB = np.zeros_like(Ids, dtype=bool)
444
+
445
+ arg = param.copy()
446
+ count = 0
447
+ while Ids.any():
448
+ # Build the new argument list
449
+ for k,v in param.items():
450
+ # For any array arguments, shrink them along with Ids
451
+ if isinstance(v,np.ndarray):
452
+ arg[k] = v[Ids]
453
+ # Shrink the primary property array
454
+ arg[prop] = x[Ids]
455
+ # Evaluate the funciton and isolate its derivative
456
+ FF = fn( diff=True, **arg)
457
+ yy = FF[0]
458
+ yyx = FF[fx_index]
459
+ # note that x[Ids], yy, yyx, and all the other floating
460
+ # intermediates are now in m-space; the sub-set of values
461
+ # still under iteration.
462
+ # Calculate the error, the linear change in x, and the new x
463
+ error[Ids] = y[Ids] - yy
464
+ dx[Ids] = error[Ids] / yyx
465
+ if verbose:
466
+ print(x, yy, yyx, dx, Ids)
467
+ x[Ids] += dx[Ids]
468
+ # An out-of-bounds index
469
+ IooB = np.logical_or( x < xmin, x > xmax)
470
+ count_oob = 0
471
+ while IooB.any():
472
+ dx[IooB] /= 2.
473
+ x[IooB] -= dx[IooB]
474
+ IooB = np.logical_or( x < xmin, x > xmax)
475
+ # Prevent a while-loop-trap
476
+ count_oob += 1
477
+ if count_oob>Nmax:
478
+ raise pm.utility.PMAnalysisError(
479
+ 'iter1_() failed to produce a guess that was in-bounds')
480
+
481
+ # Check the iteration convergence
482
+ Ids[Ids] = abs(error[Ids]) > abs(ep*y[Ids])
483
+ # Prevent a while-loop-trap
484
+ count += 1
485
+ if count>Nmax:
486
+ pm.utility.print_warning(\
487
+ 'iter1_() failed to converge for %d elements after %d attempts'%(\
488
+ Ids.sum(), Nmax))
489
+ return
490
+
491
+ def _sditer(self, T, d, diff=1):
492
+ s,sT = self._s(T, diff)
493
+ R = 1000 * pm.units.const_Ru
494
+ s -= pm.units.const_Ru * np.log(d * R * T / self._pref_pa)
495
+ if diff:
496
+ sT -= pm.units.const_Ru/T
497
+ else:
498
+ sT = None
499
+ return s,sT
500
+
501
+ def _cp(self, T):
502
+ """Calculates the specific heat of the mixture from contents
503
+ cp = _cp(T)
504
+
505
+ T must be a numpy array in Kelvin
506
+ """
507
+ # Initialize a result array
508
+ out = np.zeros_like(T,dtype=float)
509
+
510
+ # Calculate the property directly from the subordinate inner
511
+ # routines. They use molar units by default.
512
+ for ss,x in self._x.items():
513
+ # Retrieve the species
514
+ out += x * pm.dat.data[ss]._cp(T)
515
+
516
+ return out
517
+
518
+
519
+ def _s(self, T, diff=False):
520
+ """Calculates entropy at the reference pressure
521
+ s0,sT = _s(T, diff=True)
522
+
523
+ s0 is the temperature contribution to entropy in kJ/kmol/K
524
+ sT is the derivative of s0 with respect to temperature.
525
+ T must be a numpy array in Kelvin.
526
+ """
527
+ # Initialize a result array
528
+ s0 = np.zeros_like(T,dtype=float)
529
+ sT = None
530
+ if diff:
531
+ sT = np.zeros_like(T,dtype=float)
532
+
533
+ # Calculate the property directly from the subordinate inner
534
+ # routines. They use molar units by default.
535
+ for ss,x in self._x.items():
536
+ # Retrieve the species data
537
+ spec_s0,spec_sT = pm.dat.data[ss]._s(T, diff=diff)
538
+
539
+ s0 += x * spec_s0
540
+ if diff:
541
+ sT += x * spec_sT
542
+ # Add the entropy of mixing
543
+ s0 += self._smix
544
+ return s0,sT
545
+
546
+
547
+ def _g(self, T, diff=False):
548
+ """Calculates Gibbs energy at the reference pressure
549
+ g0,gT = _g(T, diff=True)
550
+
551
+ g0 is the Gibbs energy in kJ/kmol at the reference pressure
552
+ gT is the derivative of g0 with respect to temperature.
553
+ T must be a numpy array in Kelvin.
554
+ """
555
+ # Initialize a result array
556
+ g0 = np.zeros_like(T,dtype=float)
557
+ gT = None
558
+ if diff:
559
+ gT = np.zeros_like(T,dtype=float)
560
+
561
+ # Calculate the property directly from the subordinate inner
562
+ # routines. They use molar units by default.
563
+ for ss,x in self._x.items():
564
+ # Retrieve the species data
565
+ spec_g0,spec_gT = pm.dat.data[ss]._g(T, diff=diff)
566
+
567
+ g0 += x * spec_g0
568
+ if diff:
569
+ gT += x * spec_gT
570
+ # Deduct the entropy of mixing
571
+ g0 -= T * self._smix
572
+ return g0,gT
573
+
574
+
575
+ def _f(self, T, diff=False):
576
+ """Calculates free energy at the reference pressure
577
+ f0,fT = _f(T, diff=True)
578
+
579
+ f0 is the free (Helmholtz) energy in kJ/kmol at the reference pressure
580
+ fT is the derivative of g0 with respect to temperature.
581
+ T must be a numpy array in Kelvin.
582
+ """
583
+ # Initialize a result array
584
+ f0 = np.zeros_like(T,dtype=float)
585
+ fT = None
586
+ if diff:
587
+ fT = np.zeros_like(T,dtype=float)
588
+
589
+ # Calculate the property directly from the subordinate inner
590
+ # routines. They use molar units by default.
591
+ for ss,x in self._x.items():
592
+ # Retrieve the species data
593
+ spec_f0,spec_fT = pm.dat.data[ss]._f(T, diff=diff)
594
+
595
+ f0 += x * spec_f0
596
+ if diff:
597
+ fT += x * spec_fT
598
+ # Deduct the entropy of mixing
599
+ f0 -= T * self._smix
600
+ return f0,fT
601
+
602
+ def _h(self, T, diff=False):
603
+ """Calculates enthalpy and its derivative
604
+ h,hT = _h(T, diff=True)
605
+
606
+ T must be a numpy array in Kelvin
607
+ h is in kJ/kmol
608
+ hT is in kJ/kmol/K
609
+ """
610
+ # Initialize a result array
611
+ h = np.zeros_like(T,dtype=float)
612
+ hT = None
613
+ if diff:
614
+ hT = np.zeros_like(T,dtype=float)
615
+
616
+
617
+ # Calculate the property directly from the subordinate inner
618
+ # routines. They use molar units by default.
619
+ for ss,x in self._x.items():
620
+ # Retrieve the species data
621
+ spec_h,spec_hT = pm.dat.data[ss]._h(T, diff=diff)
622
+
623
+ h += x * spec_h
624
+ if diff:
625
+ hT += x * spec_hT
626
+
627
+ return h,hT
628
+
629
+ def _e(self, T, diff=False):
630
+ """Calculates internal energy and its derivative
631
+ e,eT = _e(T, diff=True)
632
+
633
+ T must be a numpy array in Kelvin
634
+ e is in kJ/kmol
635
+ hT is in kJ/kmol/K
636
+ """
637
+ h,hT = self._h(T, diff)
638
+ R = pm.units.const_Ru
639
+ h -= R*T
640
+ if diff:
641
+ hT -= R
642
+ return h,hT
643
+
644
+
645
+ def atoms(self):
646
+ """Return a dictionary specifying the chemical composition of the substance.
647
+ aa = atoms()
648
+
649
+ This dictionary will be a sum of the atoms of the constituent gases weighted
650
+ by the mixture composition by volume. This results in atom quantities that
651
+ are floating point instead of integer. The number indicates the moles of
652
+ each atom contained per mole of mixed gas.
653
+ """
654
+ self._bootstrap()
655
+ atoms = {}
656
+ for ss,x in self._x.items():
657
+ spec = pm.dat.data.get(ss)
658
+ ss_atoms = spec.data.get('atoms')
659
+ if ss_atoms is None:
660
+ raise pm.utility.PMDataError('Mixture contains a species with no atomic data: ' + self.data['id'] + '-->' + spec.data['id'])
661
+ for atom,qty in ss_atoms.items():
662
+ if atom not in atoms:
663
+ atoms[atom] = 0
664
+ atoms[atom] += qty * x
665
+ return atoms
666
+
667
+
668
+
669
+ def Tlim(self):
670
+ """Temperature limits
671
+ (Tmin, Tmax) = Tlim()
672
+ Returns the temperature limits on the ig data set.
673
+
674
+ Accepts None
675
+ Returns unit_temperature
676
+ """
677
+ self._bootstrap()
678
+ T = np.array(self._Tlim, dtype=float)
679
+ pm.units.temperature_scale(T, from_units='K', inplace=True)
680
+ return tuple(T)
681
+
682
+
683
+ #
684
+ # Pressure, temperature, and density state functions
685
+ #
686
+ def d(self,*varg, **kwarg):
687
+ """Density
688
+ d(...)
689
+
690
+ All ideal gas properties accept two other properties as flexible inputs
691
+ Below are the recognized keywords, their meaning, and the config entries
692
+ that determine their units.
693
+ T temperature unit_temperature
694
+ p pressure unit_pressure
695
+ d density unit_matter / unit_volume
696
+ v specific volume unit_volume / unit_matter
697
+ e internal energy unit_energy / unit_matter
698
+ h enthalpy unit_energy / unit_matter
699
+ s entropy unit_energy / unit_matter / unit_temperature
700
+
701
+ If no keywords are specified, the positional arguments are interpreted
702
+ as (T,p). To configure their defaults, use the def_T and def_p config
703
+ entries.
704
+
705
+ Returns density in unit_matter / unit_volume
706
+ """
707
+ self._bootstrap()
708
+ Ru = pm.units.const_Ru
709
+ T,p,d = self._argparse(*varg, **kwarg)
710
+ # Make sure we have both pressure and density
711
+ if d is None:
712
+ d = p / (1000 * Ru * T)
713
+ pm.units.matter(d, self._mw, from_units='kmol', inplace=True)
714
+ pm.units.volume(d, from_units='m3', inplace=True, exponent=-1)
715
+ return d
716
+
717
+ def v(self, *varg, **kwarg):
718
+ """Specific volume
719
+ v(...)
720
+
721
+ All ideal gas properties accept two other properties as flexible inputs
722
+ Below are the recognized keywords, their meaning, and the config entries
723
+ that determine their units.
724
+ T temperature unit_temperature
725
+ p pressure unit_pressure
726
+ d density unit_matter / unit_volume
727
+ v specific volume unit_volume / unit_matter
728
+ e internal energy unit_energy / unit_matter
729
+ h enthalpy unit_energy / unit_matter
730
+ s entropy unit_energy / unit_matter / unit_temperature
731
+
732
+ If no keywords are specified, the positional arguments are interpreted
733
+ as (T,p). To configure their defaults, use the def_T and def_p config
734
+ entries.
735
+
736
+ Returns volume in unit_volume / unit_matter
737
+ """
738
+ return 1. / self.d(*varg, **kwarg)
739
+
740
+
741
+ def p(self, *varg, **kwarg):
742
+ """Pressure
743
+ p(...)
744
+
745
+ All ideal gas properties accept two other properties as flexible inputs
746
+ Below are the recognized keywords, their meaning, and the config entries
747
+ that determine their units.
748
+ T temperature unit_temperature
749
+ p pressure unit_pressure
750
+ d density unit_matter / unit_volume
751
+ v specific volume unit_volume / unit_matter
752
+ e internal energy unit_energy / unit_matter
753
+ h enthalpy unit_energy / unit_matter
754
+ s entropy unit_energy / unit_matter / unit_temperature
755
+
756
+ If no keywords are specified, the positional arguments are interpreted
757
+ as (T,p). To configure their defaults, use the def_T and def_p config
758
+ entries.
759
+
760
+ Returns pressure in unit_pressure
761
+ """
762
+ self._bootstrap()
763
+ Ru = pm.units.const_Ru
764
+ T,p,d = self._argparse(*varg, **kwarg)
765
+ if p is None:
766
+ p = 1000 * d * Ru * T
767
+ pm.units.pressure(p, from_units='Pa', inplace=True)
768
+ return p
769
+
770
+
771
+ def T(self, *varg, **kwarg):
772
+ """Temperature
773
+ T(...)
774
+
775
+ All ideal gas properties accept two other properties as flexible inputs
776
+ Below are the recognized keywords, their meaning, and the config entries
777
+ that determine their units.
778
+ T temperature unit_temperature
779
+ p pressure unit_pressure
780
+ d density unit_matter / unit_volume
781
+ v specific volume unit_volume / unit_matter
782
+ e internal energy unit_energy / unit_matter
783
+ h enthalpy unit_energy / unit_matter
784
+ s entropy unit_energy / unit_matter / unit_temperature
785
+
786
+ If no keywords are specified, the positional arguments are interpreted
787
+ as (T,p). To configure their defaults, use the def_T and def_p config
788
+ entries.
789
+
790
+ Returns temperature in unit_temperature
791
+ """
792
+ self._bootstrap()
793
+ # T is a special case. If there is only one parameter given,
794
+ # the default should not be T=def_T, so we need to override
795
+ # the behavior of _argparse.
796
+ if len(varg) + len(kwarg) == 1:
797
+ kwarg['p'] = pm.config['def_p']
798
+ T,_,_ = self._argparse(*varg, **kwarg)
799
+ pm.units.temperature_scale(T, from_units='K', inplace=True)
800
+ return T
801
+
802
+ #
803
+ # Class property functions
804
+ #
805
+
806
+ def state(self, *varg, **kwarg):
807
+ """Calculate all properties at a state
808
+ sd = state(...)
809
+
810
+ The properties are returned in a dictionary with keys:
811
+ T temperature unit_temperature
812
+ p pressure unit_pressure
813
+ d density unit_matter / unit_volume
814
+ v specific volume unit_volume / unit_matter
815
+ e internal energy unit_energy / unit_matter
816
+ h enthalpy unit_energy / unit_matter
817
+ s entropy unit_energy / unit_matter / unit_temperature
818
+ cp const. p sp. ht. unit_energy / unit_matter / unit_temperature
819
+ cv const. v sp. ht. unit_energy / unit_matter / unit_temperature
820
+
821
+ Like all of the other property functions, arguments may be any two of
822
+ T, p, d, v, e, h, and s.
823
+ """
824
+ self._bootstrap()
825
+ Ru = pm.units.const_Ru
826
+ T,p,d = self._argparse(*varg, **kwarg)
827
+ # Make sure we have both pressure and density
828
+ if d is None:
829
+ d = p / (1000 * Ru * T)
830
+ elif p is None:
831
+ p = 1000 * d * Ru * T
832
+
833
+ # Now entropy
834
+ s = self._s(T,False)[0] - Ru * np.log(p / self._pref_pa)
835
+
836
+ # Enthalpy and specific heat at once
837
+ h,cp = self._h(T,True)
838
+ cv = cp - Ru
839
+ gam = cp/cv
840
+ e = h - Ru*T
841
+
842
+ # Finally build the output
843
+ out = {}
844
+ out['T'] = pm.units.temperature_scale(T, from_units='K')
845
+ out['p'] = pm.units.pressure(p, from_units='Pa')
846
+ scale = pm.units.matter(1., self._mw, from_units='kmol')
847
+ scale = pm.units.volume(scale, from_units='m3', exponent=-1)
848
+ out['d'] = scale * d
849
+ out['v'] = 1./out['d']
850
+ scale = pm.units.energy(1., from_units='kJ')
851
+ scale = pm.units.matter(scale, self._mw, from_units='kmol', exponent=-1)
852
+ out['h'] = h * scale
853
+ out['e'] = e * scale
854
+ out['gam'] = gam
855
+ scale = pm.units.temperature(scale, from_units='K', exponent=-1)
856
+ out['s'] = s * scale
857
+ out['cp'] = cp * scale
858
+ out['cv'] = cv * scale
859
+ return out
860
+
861
+
862
+ def cp(self,*varg, **kwarg):
863
+ """Constant-pressure specific heat
864
+ cp(...)
865
+
866
+ All ideal gas properties accept two other properties as flexible inputs
867
+ Below are the recognized keywords, their meaning, and the config entries
868
+ that determine their units.
869
+ T temperature unit_temperature
870
+ p pressure unit_pressure
871
+ d density unit_matter / unit_volume
872
+ v specific volume unit_volume / unit_matter
873
+ e internal energy unit_energy / unit_matter
874
+ h enthalpy unit_energy / unit_matter
875
+ s entropy unit_energy / unit_matter / unit_temperature
876
+
877
+ If no keywords are specified, the positional arguments are interpreted
878
+ as (T,p). To configure their defaults, use the def_T and def_p config
879
+ entries.
880
+
881
+ Returns specific heat in unit_energy / unit_matter / unit_temperature
882
+ """
883
+ self._bootstrap()
884
+ # Parse the arguments to isolate temperature in K
885
+ T,_,_ = self._argparse(*varg, **kwarg)
886
+
887
+ out = self._cp(T)
888
+
889
+ # Convert output
890
+ pm.units.energy(out, from_units='kJ', inplace=True)
891
+ pm.units.matter(out, self._mw, from_units='kmol', inplace=True, exponent=-1)
892
+ pm.units.temperature(out, from_units='K', inplace=True, exponent=-1)
893
+ return out
894
+
895
+
896
+ def cv(self,*varg,**kwarg):
897
+ """Constant-volume specific heat
898
+ cv(...)
899
+
900
+ All ideal gas properties accept two other properties as flexible inputs
901
+ Below are the recognized keywords, their meaning, and the config entries
902
+ that determine their units.
903
+ T temperature unit_temperature
904
+ p pressure unit_pressure
905
+ d density unit_matter / unit_volume
906
+ v specific volume unit_volume / unit_matter
907
+ e internal energy unit_energy / unit_matter
908
+ h enthalpy unit_energy / unit_matter
909
+ s entropy unit_energy / unit_matter / unit_temperature
910
+
911
+ If no keywords are specified, the positional arguments are interpreted
912
+ as (T,p). To configure their defaults, use the def_T and def_p config
913
+ entries.
914
+
915
+ Returns specific heat in unit_energy / unit_matter / unit_temperature
916
+ """
917
+ self._bootstrap()
918
+ # Parse the arguments to isolate temperature in K
919
+ T,_,_ = self._argparse(*varg, **kwarg)
920
+
921
+ out = self._cp(T) - pm.units.const_Ru
922
+
923
+ # Convert output
924
+ pm.units.energy(out, from_units='kJ', inplace=True)
925
+ pm.units.matter(out, self._mw, from_units='kmol', inplace=True, exponent=-1)
926
+ pm.units.temperature(out, from_units='K', inplace=True, exponent=-1)
927
+ return out
928
+
929
+
930
+ def h(self, *varg, **kwarg):
931
+ """Enthalpy
932
+ h(...)
933
+
934
+ All ideal gas properties accept two other properties as flexible inputs
935
+ Below are the recognized keywords, their meaning, and the config entries
936
+ that determine their units.
937
+ T temperature unit_temperature
938
+ p pressure unit_pressure
939
+ d density unit_matter / unit_volume
940
+ v specific volume unit_volume / unit_matter
941
+ e internal energy unit_energy / unit_matter
942
+ h enthalpy unit_energy / unit_matter
943
+ s entropy unit_energy / unit_matter / unit_temperature
944
+
945
+ If no keywords are specified, the positional arguments are interpreted
946
+ as (T,p). To configure their defaults, use the def_T and def_p config
947
+ entries.
948
+
949
+ Returns enthalpy in unit_energy / unit_matter
950
+ """
951
+ self._bootstrap()
952
+ T,_,_ = self._argparse(*varg, **kwarg)
953
+ out = self._h(T)[0]
954
+
955
+ pm.units.energy(out, from_units='kJ', inplace=True)
956
+ pm.units.matter(out, self._mw, from_units='kmol', inplace=True, exponent=-1)
957
+ return out
958
+
959
+
960
+ def g(self, *varg, **kwarg):
961
+ """Gibbs energy
962
+ g(...)
963
+
964
+ g =def= h - T*s
965
+
966
+ All ideal gas properties accept two other properties as flexible inputs
967
+ Below are the recognized keywords, their meaning, and the config entries
968
+ that determine their units.
969
+ T temperature unit_temperature
970
+ p pressure unit_pressure
971
+ d density unit_matter / unit_volume
972
+ v specific volume unit_volume / unit_matter
973
+ e internal energy unit_energy / unit_matter
974
+ h enthalpy unit_energy / unit_matter
975
+ s entropy unit_energy / unit_matter / unit_temperature
976
+
977
+ If no keywords are specified, the positional arguments are interpreted
978
+ as (T,p). To configure their defaults, use the def_T and def_p config
979
+ entries.
980
+
981
+ Returns Gibbs energy in unit_energy / unit_matter
982
+ """
983
+ self._bootstrap()
984
+ T,p,d = self._argparse(*varg, **kwarg)
985
+ if p is None:
986
+ p = 1000 * pm.units.const_Ru * d * T
987
+ out = self._g(T)[0] + T * pm.units.const_Ru * np.log(p/self._pref_pa)
988
+
989
+ pm.units.energy(out, from_units='kJ', inplace=True)
990
+ pm.units.matter(out, self._mw, from_units='kmol', inplace=True, exponent=-1)
991
+ return out
992
+
993
+ def e(self, *varg, **kwarg):
994
+ """Internal energy
995
+ e(...)
996
+
997
+ All ideal gas properties accept two other properties as flexible inputs
998
+ Below are the recognized keywords, their meaning, and the config entries
999
+ that determine their units.
1000
+ T temperature unit_temperature
1001
+ p pressure unit_pressure
1002
+ d density unit_matter / unit_volume
1003
+ v specific volume unit_volume / unit_matter
1004
+ e internal energy unit_energy / unit_matter
1005
+ h enthalpy unit_energy / unit_matter
1006
+ s entropy unit_energy / unit_matter / unit_temperature
1007
+
1008
+ If no keywords are specified, the positional arguments are interpreted
1009
+ as (T,p). To configure their defaults, use the def_T and def_p config
1010
+ entries.
1011
+
1012
+ Returns internal energy in unit_energy / unit_matter
1013
+ """
1014
+ self._bootstrap()
1015
+ T,_,_ = self._argparse(*varg, **kwarg)
1016
+ out = self._e(T)[0]
1017
+
1018
+ pm.units.energy(out, from_units='kJ', inplace=True)
1019
+ pm.units.matter(out, self._mw, from_units='kmol', inplace=True, exponent=-1)
1020
+ return out
1021
+
1022
+ def f(self, *varg, **kwarg):
1023
+ """Free (Helmholtz) energy
1024
+ f(...)
1025
+
1026
+ f =def= e - T*s
1027
+
1028
+ All ideal gas properties accept two other properties as flexible inputs
1029
+ Below are the recognized keywords, their meaning, and the config entries
1030
+ that determine their units.
1031
+ T temperature unit_temperature
1032
+ p pressure unit_pressure
1033
+ d density unit_matter / unit_volume
1034
+ v specific volume unit_volume / unit_matter
1035
+ e internal energy unit_energy / unit_matter
1036
+ h enthalpy unit_energy / unit_matter
1037
+ s entropy unit_energy / unit_matter / unit_temperature
1038
+
1039
+ If no keywords are specified, the positional arguments are interpreted
1040
+ as (T,p). To configure their defaults, use the def_T and def_p config
1041
+ entries.
1042
+
1043
+ Returns free energy in unit_energy / unit_matter
1044
+ """
1045
+ self._bootstrap()
1046
+ T,p,d = self._argparse(*varg, **kwarg)
1047
+ if p is None:
1048
+ p = 1000 * pm.units.const_Ru * d * T
1049
+ out = self._f(T)[0] + T * pm.units.const_Ru * np.log(p/self._pref_pa)
1050
+
1051
+ pm.units.energy(out, from_units='kJ', inplace=True)
1052
+ pm.units.matter(out, self._mw, from_units='kmol', inplace=True, exponent=-1)
1053
+ return out
1054
+
1055
+ def mw(self,*varg, **kwarg):
1056
+ """Molecular weight (more correctly mass)
1057
+ mw(...)
1058
+
1059
+ Arguments are ignored. The molecular mass of the mixture is calculated
1060
+ as a weighted average of the molecular masses of the constituents as is
1061
+ appropriate for use in the ideal gas law and for rescaling between molar
1062
+ and mass-based intensive properties.
1063
+
1064
+ Accepts: -
1065
+ Returns: Molecular mass [unit_mass / unit_molar]
1066
+ """
1067
+ self._bootstrap()
1068
+ out = pm.units.mass(self._mw, from_units='kg')
1069
+ out = pm.units.molar(out, from_units='kmol', exponent=-1)
1070
+ return out
1071
+
1072
+
1073
+ def R(self, *varg, **kwarg):
1074
+ """Ideal gas constant
1075
+ R(...)
1076
+
1077
+ Ignores the arguments are returns the gas constant as
1078
+ unit_energy / unit_matter / unit_temperature
1079
+ """
1080
+ self._bootstrap()
1081
+ R = pm.units.energy(pm.units.const_Ru, from_units='J')
1082
+ R = pm.units.temperature(R, from_units='K', exponent=-1)
1083
+ R = pm.units.matter(R, self._mw, from_units='mol',
1084
+ exponent=-1)
1085
+ return R
1086
+
1087
+
1088
+ def s(self, *varg, **kwarg):
1089
+ """Entropy
1090
+ s(...)
1091
+
1092
+ All ideal gas properties accept two other properties as flexible inputs
1093
+ Below are the recognized keywords, their meaning, and the config entries
1094
+ that determine their units.
1095
+ T temperature unit_temperature
1096
+ p pressure unit_pressure
1097
+ d density unit_matter / unit_volume
1098
+ v specific volume unit_volume / unit_matter
1099
+ e internal energy unit_energy / unit_matter
1100
+ h enthalpy unit_energy / unit_matter
1101
+ s entropy unit_energy / unit_matter / unit_temperature
1102
+
1103
+ If no keywords are specified, the positional arguments are interpreted
1104
+ as (T,p). To configure their defaults, use the def_T and def_p config
1105
+ entries.
1106
+
1107
+ Returns entropy in unit_energy / unit_matter / unit_temperature
1108
+ """
1109
+ self._bootstrap()
1110
+ T,p,d = self._argparse(*varg, **kwarg)
1111
+ if p is None:
1112
+ p = 1000 * pm.units.const_Ru * d * T
1113
+ s = self._s(T)[0] - pm.units.const_Ru * np.log(p/self._pref_pa)
1114
+ pm.units.energy(s, from_units='kJ', inplace=True)
1115
+ pm.units.matter(s, self._mw, from_units='kmol', inplace=True, exponent=-1)
1116
+ pm.units.temperature(s, from_units='K', inplace=True, exponent=-1)
1117
+ return s
1118
+
1119
+
1120
+ def gam(self,*varg, **kwarg):
1121
+ """Specific heat ratio
1122
+ gam(...)
1123
+
1124
+ All ideal gas properties accept two other properties as flexible inputs
1125
+ Below are the recognized keywords, their meaning, and the config entries
1126
+ that determine their units.
1127
+ T temperature unit_temperature
1128
+ p pressure unit_pressure
1129
+ d density unit_matter / unit_volume
1130
+ v specific volume unit_volume / unit_matter
1131
+ e internal energy unit_energy / unit_matter
1132
+ h enthalpy unit_energy / unit_matter
1133
+ s entropy unit_energy / unit_matter / unit_temperature
1134
+
1135
+ If no keywords are specified, the positional arguments are interpreted
1136
+ as (T,p). To configure their defaults, use the def_T and def_p config
1137
+ entries.
1138
+
1139
+ Returns ideal gas ratio, which is dimensionless.
1140
+ """
1141
+ self._bootstrap()
1142
+ T,_,_ = self._argparse(*varg, **kwarg)
1143
+ out = self._cp(T)
1144
+ return out / (out - pm.units.const_Ru)
1145
+
1146
+
1147
+ def X(self):
1148
+ """Return a dictionary expressing the mixture composition by volume
1149
+ x = mix.X()
1150
+
1151
+ Where x is a dictionary with keys corresponding to the species in
1152
+ the mixture and values indicating their respective mole fraction
1153
+ in the mixture."""
1154
+ self._bootstrap()
1155
+ # Return the dictionary
1156
+ return self._x.copy()
1157
+
1158
+
1159
+
1160
+ def Y(self):
1161
+ """Return a dictionary expressing the mixture composition by mass
1162
+ y = mix.Y()
1163
+
1164
+ Where y is a dictionary with keys corresponding to the species in
1165
+ the mixture and values indicating their respective mass fraction
1166
+ in the mixture."""
1167
+ self._bootstrap()
1168
+ # Return the dictionary
1169
+ return self._y.copy()
1170
+
1171
+ def T_s(self,s,p=None, d=None):
1172
+ """Temperature as a function of entropy
1173
+ ** Deprecated - use T() **
1174
+
1175
+ T = T_s(s)
1176
+ or
1177
+ T = T_s(s,p)
1178
+
1179
+ Accepts unit_energy / unit_matter / unit_temperature
1180
+ unit_pressure
1181
+ unit_matter / unit_volume
1182
+ Returns unit_temperature
1183
+ """
1184
+ if p is not None:
1185
+ return self.T(s=s, p=p)
1186
+ elif d is not None:
1187
+ return self.T(s=s, d=d)
1188
+ return self.T(s=s)
1189
+
1190
+
1191
+ def T_h(self,h, p=None, d=None):
1192
+ """Temperature as a function of enthalpy
1193
+ ** Deprecated - use T() **
1194
+
1195
+ T = T_h(h)
1196
+ or
1197
+ T = T_h(h,...)
1198
+
1199
+ Returns the temperature as a function of enthalpy and pressure. Ideal
1200
+ gas enthalpy is not a function of pressure, so the p term is merely a
1201
+ placeholder.
1202
+
1203
+ Accepts unit_energy / unit_matter / unit_temperature
1204
+ unit_pressure
1205
+ Returns unit_temperature
1206
+ """
1207
+ if p is not None:
1208
+ return self.T(h=h, p=p)
1209
+ elif d is not None:
1210
+ return self.T(h=h, d=d)
1211
+ return self.T(h=h)
1212
+
1213
+
1214
+ def p_s(self,s,T=None):
1215
+ """Pressure as a function of entropy
1216
+ ** Deprecated - use p() **
1217
+
1218
+ p = ig_instance.p_s(s)
1219
+ or
1220
+ p = ig_instance.p_s(s,...)
1221
+
1222
+ Returns the pressure as a function of entropy and temperature.
1223
+
1224
+ Accepts unit_energy / unit_matter / unit_temperature
1225
+ unit_temperature
1226
+ Returns unit_pressure
1227
+ """
1228
+ if T is not None:
1229
+ return self.p(s=s,T=T)
1230
+ return self.p(s=s)