A Python-Based Thermodynamic Equilibrium Library for Gibbs Energy Minimization: A Case Study on Supercritical Water Gasification of Ethanol and Methanol

This work aims to present tes-thermo, a Python library developed to solve thermodynamic equilibrium problems using the Gibbs energy minimization approach. The library is a variant of TeS v.3, a standalone executable developed for the same purpose. The tool formulates the chemical equilibrium problem of combined phases as a nonlinear programming problem, implemented using Pyomo (Python Optimization Modeling Objects) and solved with IPOPT (Interior Point OPTimizer). To validate the tool and demonstrate its robustness, the supercritical water gasification (SCWG) of methanol and ethanol was investigated. The Peng–Robinson equation of state was employed to account for non-idealities in the gas phase. Experimental and simulated data from the literature were used for validation, and, in both cases, the results were satisfactory, with root mean square errors consistently below 0.23. The SCWG processes studied revealed that hydrogen production is favored by increasing temperature and decreasing pressure. For both methanol and ethanol, increasing the carbonaceous substrate fraction in the feed promotes hydrogen formation; however, it also leads to reduced hydrogen relative yield due to the enhanced formation of methane and carbon monoxide under these conditions. Consequently, although hydrogen production increases, the hydrogen molar fraction in the dry gas stream tends to decrease with the higher substrate content. As expected, the SCWG of methanol produces more hydrogen and less carbon monoxide compared to ethanol under similar conditions. This behavior is consistent with the higher carbon content in ethanol, which favors reactions leading to carbon oxides. In summary, tes-thermo proves to be a robust and reliable tool for conducting research and studies on topics related to thermodynamic equilibrium.

Authors

Institutions

Publication Details

Journal
Eng—Advances in Engineering
Published
2025-08-30
DOI
https://doi.org/10.3390/eng6090208
Citations
1
Primary Topic
Subcritical and Supercritical Water Processes
Type
article
Field-Weighted Citation Impact
0.67
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Python-Based Thermodynamic Equilibrium Library for Gibbs Energy Minimization: A Case Study on Supercritical Water Gasification of Ethanol and Methanol

Adriano Pinto Mariano, Antônio Carlos Daltro de Freitas, Julles Mitoura dos Santos
1 citations
Eng—Advances in Engineering
Subcritical and Supercritical Water Processes
0.67
article

A Python-Based Thermodynamic Equilibrium Library for Gibbs Energy Minimization: A Case Study on Supercritical Water Gasification of Ethanol and Methanol

Adriano Pinto Mariano, Antônio Carlos Daltro de Freitas, Julles Mitoura dos Santos
article en
1 citations

Abstract

This work aims to present tes-thermo, a Python library developed to solve thermodynamic equilibrium problems using the Gibbs energy minimization approach. The library is a variant of TeS v.3, a standalone executable developed for the same purpose. The tool formulates the chemical equilibrium problem of combined phases as a nonlinear programming problem, implemented using Pyomo (Python Optimization Modeling Objects) and solved with IPOPT (Interior Point OPTimizer). To validate the tool and demonstrate its robustness, the supercritical water gasification (SCWG) of methanol and ethanol was investigated. The Peng–Robinson equation of state was employed to account for non-idealities in the gas phase. Experimental and simulated data from the literature were used for validation, and, in both cases, the results were satisfactory, with root mean square errors consistently below 0.23. The SCWG processes studied revealed that hydrogen production is favored by increasing temperature and decreasing pressure. For both methanol and ethanol, increasing the carbonaceous substrate fraction in the feed promotes hydrogen formation; however, it also leads to reduced hydrogen relative yield due to the enhanced formation of methane and carbon monoxide under these conditions. Consequently, although hydrogen production increases, the hydrogen molar fraction in the dry gas stream tends to decrease with the higher substrate content. As expected, the SCWG of methanol produces more hydrogen and less carbon monoxide compared to ethanol under similar conditions. This behavior is consistent with the higher carbon content in ethanol, which favors reactions leading to carbon oxides. In summary, tes-thermo proves to be a robust and reliable tool for conducting research and studies on topics related to thermodynamic equilibrium.

Eng—Advances in EngineeringVol. 6(9)
Universidade Estadual de Campinas (UNICAMP) (BR), Universidade Federal do Maranhão (BR)
Openalex Percentile: Top 27%
Subcritical and Supercritical Water Processes
0.67
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.