Automatic generation of procedures for the simulation of multistage separators using computer Algebra

Marcelo F. Alfradique, Rogério O. Espósito, Marcelo Castier

Research output: Contribution to journalArticle

5 Citations (Scopus)

Abstract

We successfully extended a computer algebra program (Thermath), originally developed for the automatic computer implementation of physical property calculations, in order to perform the global phase stability test and to generate code for the steady state simulation of multistage separators. Analytical derivatives of the modeling equations and of the thermodynamic properties were rapidly obtained and automatically implemented in Fortran 77 using Thermath. Even though the final assembly of the code was done manually, the largest portion of the programs corresponds to automatically generated code. A program for the simulation of extraction columns was developed and showed excellent agreement with results available in the literature. The global phase stability program was tested in the identification of liquid-liquid phase transitions, showing results coherent with those from the extraction column program. Quadratic convergence rates in the Newton-Raphson method were obtained with both programs, as should be expected when the functions and their derivatives are correctly implemented.

Original languageEnglish
Pages (from-to)657-674
Number of pages18
JournalChemical Engineering Communications
Volume189
Issue number5
DOIs
Publication statusPublished - 1 Dec 2002

    Fingerprint

Keywords

  • Computer algebra
  • Extraction
  • Liquids
  • Phase stability
  • Simulation

ASJC Scopus subject areas

  • Chemistry(all)
  • Chemical Engineering(all)

Cite this