Automatic implementation of thermodynamic models using computer algebra

Research output: Contribution to journalArticle

41 Citations (Scopus)

Abstract

A new package, Thermath, for the automatic implementation of thermodynamic models was developed in the Mathematica® programming language. Starting from an excess Gibbs free energy (G(E)) model or an equation of state (EOS), Thermath can be used to derive expressions for several thermodynamic properties and to analyze the structure of these expressions, generating a code that implements them in a computer language (Fortran77 is used in this paper). Using the package, procedures that implement properties derived from commonly used G(E) models could be rapidly generated. For EOSs, two situations occurred. Properties from simple EOSs could be readily derived and implemented. For more complex EOS, lengthy expressions may result, and their analysis can be very demanding in terms of computer time. To overcome this difficulty, a strategy to split this problem in tasks of feasible computational demand is presented. Although the applications of this paper deal with the implementation of thermodynamic models, most of the procedures developed here can possibly be used to implement models in other fields of science and engineering.

Original languageEnglish
Pages (from-to)1229-1245
Number of pages17
JournalComputers and Chemical Engineering
Volume23
Issue number9
DOIs
Publication statusPublished - 1 Nov 1999
Externally publishedYes

Fingerprint

Algebra
Thermodynamics
Gibbs free energy
Equations of state
Computer programming languages
Thermodynamic properties

Keywords

  • Equations of state
  • Mathematica®
  • Thermath
  • Thermodynamic models

ASJC Scopus subject areas

  • Chemical Engineering(all)
  • Control and Systems Engineering

Cite this

Automatic implementation of thermodynamic models using computer algebra. / Castier, Marcelo.

In: Computers and Chemical Engineering, Vol. 23, No. 9, 01.11.1999, p. 1229-1245.

Research output: Contribution to journalArticle

@article{09d7e91fc7594c0a9ca574e6f0d834b2,
title = "Automatic implementation of thermodynamic models using computer algebra",
abstract = "A new package, Thermath, for the automatic implementation of thermodynamic models was developed in the Mathematica{\circledR} programming language. Starting from an excess Gibbs free energy (G(E)) model or an equation of state (EOS), Thermath can be used to derive expressions for several thermodynamic properties and to analyze the structure of these expressions, generating a code that implements them in a computer language (Fortran77 is used in this paper). Using the package, procedures that implement properties derived from commonly used G(E) models could be rapidly generated. For EOSs, two situations occurred. Properties from simple EOSs could be readily derived and implemented. For more complex EOS, lengthy expressions may result, and their analysis can be very demanding in terms of computer time. To overcome this difficulty, a strategy to split this problem in tasks of feasible computational demand is presented. Although the applications of this paper deal with the implementation of thermodynamic models, most of the procedures developed here can possibly be used to implement models in other fields of science and engineering.",
keywords = "Equations of state, Mathematica{\circledR}, Thermath, Thermodynamic models",
author = "Marcelo Castier",
year = "1999",
month = "11",
day = "1",
doi = "10.1016/S0098-1354(99)00286-0",
language = "English",
volume = "23",
pages = "1229--1245",
journal = "Computers and Chemical Engineering",
issn = "0098-1354",
publisher = "Elsevier BV",
number = "9",

}

TY - JOUR

T1 - Automatic implementation of thermodynamic models using computer algebra

AU - Castier, Marcelo

PY - 1999/11/1

Y1 - 1999/11/1

N2 - A new package, Thermath, for the automatic implementation of thermodynamic models was developed in the Mathematica® programming language. Starting from an excess Gibbs free energy (G(E)) model or an equation of state (EOS), Thermath can be used to derive expressions for several thermodynamic properties and to analyze the structure of these expressions, generating a code that implements them in a computer language (Fortran77 is used in this paper). Using the package, procedures that implement properties derived from commonly used G(E) models could be rapidly generated. For EOSs, two situations occurred. Properties from simple EOSs could be readily derived and implemented. For more complex EOS, lengthy expressions may result, and their analysis can be very demanding in terms of computer time. To overcome this difficulty, a strategy to split this problem in tasks of feasible computational demand is presented. Although the applications of this paper deal with the implementation of thermodynamic models, most of the procedures developed here can possibly be used to implement models in other fields of science and engineering.

AB - A new package, Thermath, for the automatic implementation of thermodynamic models was developed in the Mathematica® programming language. Starting from an excess Gibbs free energy (G(E)) model or an equation of state (EOS), Thermath can be used to derive expressions for several thermodynamic properties and to analyze the structure of these expressions, generating a code that implements them in a computer language (Fortran77 is used in this paper). Using the package, procedures that implement properties derived from commonly used G(E) models could be rapidly generated. For EOSs, two situations occurred. Properties from simple EOSs could be readily derived and implemented. For more complex EOS, lengthy expressions may result, and their analysis can be very demanding in terms of computer time. To overcome this difficulty, a strategy to split this problem in tasks of feasible computational demand is presented. Although the applications of this paper deal with the implementation of thermodynamic models, most of the procedures developed here can possibly be used to implement models in other fields of science and engineering.

KW - Equations of state

KW - Mathematica®

KW - Thermath

KW - Thermodynamic models

UR - http://www.scopus.com/inward/record.url?scp=0033544444&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=0033544444&partnerID=8YFLogxK

U2 - 10.1016/S0098-1354(99)00286-0

DO - 10.1016/S0098-1354(99)00286-0

M3 - Article

VL - 23

SP - 1229

EP - 1245

JO - Computers and Chemical Engineering

JF - Computers and Chemical Engineering

SN - 0098-1354

IS - 9

ER -