Chemical Engineering Numerical Analysis with R: Peng-Robinson Equation of State

Authors

  • Abdulhalim Musa Abubakar Department of Chemical Engineering, Modibbo Adama University, Nigeria https://orcid.org/0000-0002-1304-3515
  • Ahmed Elshahhat Information Systems Department, Zagazig University, Egypt
  • Simisani Ndaba Department of Computer Science, University of Botswana, Botswana https://orcid.org/0000-0001-9264-1769
  • Adegoke Taiwo Mobolaji Department of Mathematics and Statistics, First Technical University, Nigeria https://orcid.org/0000-0003-2507-4973
  • Balasubramanian Thiagarajan Sri Lalithambigai Medical College Chennai, The Tamilnadu Dr MGR Medical University, India https://orcid.org/0000-0002-8595-2590
  • E. M. Mansour PVT Lab and PVT Services Center, Egyptian Petroleum Research Institute, Egypt

DOI:

https://doi.org/10.47852/bonviewJDSIS3202665

Keywords:

R programming, Secant method, Peng-Robinson, chemical engineering, equations of state

Abstract

Likely, many text on MATLAB, C++, FORTRAN and Python programming languages exist in chemical engineering libraries, discussing their applications for chemical engineering numerical analysis. R programming language, which has been in existence for more than 40 years is just evolving as a language of choice for data analytics in science and engineering. Here, it is shown that, numerical analysis with equations of state (EOS), especially the Peng-Robinson EOS, typically taught in undergraduate chemical engineering introductory courses can be solved with a developed or existing R source codes. Out of several other mathematical methods, including Fixed-point iteration, Regula-Falsi, Bisection and their modified/hybrid methods recently developed, only Secant and Newton’s method algorithm were followed to solve a sample problem by writing an R program. Although sufficient, in-depth study of the R language using some recommended manuals in this work can be a guide in implementing a solution with R for other numerical methods, for the same problem, as well as several other existing analytical and statistical chemical engineering problems out there.

 

Received: 16 January 2023 | Revised: 2 March 2023 | Accepted: 17 March 2023

 

Conflicts of Interest

The authors declare that they have no conflicts of interest to this work.


Downloads

Published

2023-03-20

Issue

Section

Research Articles

How to Cite

Abubakar, A. M., Elshahhat, A., Ndaba, S., Mobolaji, A. T. ., Thiagarajan, B., & Mansour, E. M. (2023). Chemical Engineering Numerical Analysis with R: Peng-Robinson Equation of State. Journal of Data Science and Intelligent Systems, 1(1), 25-44. https://doi.org/10.47852/bonviewJDSIS3202665