Professional Documents
Culture Documents
ABSTRACT: This article addresses the use of Sim42, a steady-state free process
simulator, as a powerful tool to teach heat integration and parametric optimization in a
complete plant. It was considered a natural gas plant as a case study. The thermodynamic
package used in the simulations was validated using experimental data published in the
literature. The results were compared with the commercial simulator HYSYS and plant
information. Good agreement was achieved. 2009 Wiley Periodicals, Inc. Comput Appl Eng Educ;
Published online in Wiley InterScience (www.interscience.wiley.com); DOI 10.1002/cae.20200
1
2 DIAS, SILVA, AND DE ASSIS
the following sentence: For the Open Source move- for the production of ammonia, via the Haber process,
ment, the issue of whether software should be open for use in fertilizer production. It is also used in the
source is a practical question, for the Free Software manufacture of fabrics, glass, steel, plastics, paint, and
movement it is an ethical and social matter [1,2]. other products. Therefore, simulation, heat integra-
Plant-wide simulation is fundamental to the tion, and parametric studies involving natural gas is an
design, control, and optimization of process systems. important process to be used in every senior chemical
Additionally, in senior design courses, integrated process design course.
process design allows engineering economic and
profitability analyses; heat integration and network
design (Pinch technology); analysis of process THE FREE CHEMICAL PROCESS
performance, including process troubleshooting and SIMULATOR SIM42
debottlenecking; risk assessment and process hazard
analysis [3] as well as control strategies development Simulator42 or Sim42 is an open source process
[4]. In all cases, the process simulator plays the simulator that aims to provide an accessible simulator
important role of fast calculation including rigorous to the Chemical Engineering community. Some
mass and energy balances, avoiding then the use of features: (i) it is being written in the Python language,
short cut models and/or idealizations that shifts the (ii) the simulator core was designed to be independent
results far from the real-world [58]. of both user interfaces and thermodynamic methods
There are several commercial chemical process provider, (iii) a graphical interface has been developed
simulators available in the market, such as HYSYS, for the project and an independent command/scripting
ASPEN PLUS, PRO II, gPROMS among others. interface is also available, (iv) the flowsheet solver
Nevertheless, they are costly and the undergraduate can propagate partial information both backwards and
student does not have the possibility to install them at forward, this feature allows many complex problems
home unless a licence is bought. This is not the case of to be solved without iterative calculation of recycle
Sim42 that is free of charge and more important than loops. Consistency checks are used to avoid unin-
this, it is open source. This outstanding facility lets tended over specification of problems, (v) the simula-
everyone consult, modify, add, and iterate with the tor does not require recycle unit operations, but rather
mathematical models implemented for the several unit the use of estimate values allows the solver to
operations available, provided that one knows the recognize the existence of recycles and converge
computer language in which it is written, namely them simultaneously [9].
Python. Additionally, due to its open source facility Table 1 presents a short description of some
Sim42 can be greatly extended in order to include Sim42s operation models. The simulator code has
other unit operations not available yet. been licensed using a BSD style open source licence.
Natural gas, commonly referred to as gas, is a This permits the free distribution and modification of
gaseous fossil fuel consisting primarily of methane. It all source code and unlike GPL style licences does not
is found in oil fields and natural gas fields, and in coal require redistribution of modifications. Perhaps, the
beds. Natural gas is important as a major source for main drawback of using Sim42 is the fact that it does
electricity generation through the use of gas turbines not contain an open source property package system.
and steam turbines. Environmentally, natural gas The one available is freeware (it is not open source)
burns cleaner than other fossil fuels, such as oil and and contains only a simple equation of state-based
coal, and produces fewer greenhouse gases. For package (RKRedlich Kwong) and an ideal solution
an equivalent amount of heat, burning natural gas property package. Both packages are from Virtual
produces about 30% less carbon dioxide than burning Materials Group. Nevertheless, as Sim42 is an open
petroleum and about 45% less than burning coal. source project one can develop their own property
Combined cycle power generation using natural gas is package. The simulator and its source code can be
thus the cleanest source of power available using downloaded for free from its site developers [10].
fossil fuels, and this technology is widely used
wherever gas can be obtained at a reasonable cost.
Natural gas can be used to produce hydrogen, through CASE STUDY A: NATURAL
reforming process, which can be used in hydrogen GAS SEPARATION
vehicles. Natural gas is also used as a clean auto-
mobile fuel in several countries; it is supplied to This case study is reported by Seider et al. [11]. It is
homes where it is used for such purposes as cooking required to process a natural gas stream at 10,000
and heating/cooling. Natural gas is a major feedstock lb mol/h, 708F, 150 psia, and composition in Table 2.
PLANT WIDE SIMULATION USING SIM42 3
The gaseous product is required to be at 300 psia, with theoretical trays, with the feed to the fourth tray from
at least 9,860 lb mol/h of nC4 and lighter species, and the top, and recovers 99% of nC5 in the bottom
a combined mole percentage of at least 99.5%. The product and 99% of nC3 in the distillate.
liquid product is required to be at least 150 psia, with Seider et al. [11] used the commercial chemical
at least 67.5 lb mol/h of nC5 and nC6 and a combined process simulator HYSYS to simulate the process and
mole percentage of at least 75%. they presented results that were computed using the
The PFD for the natural gas process is shown in PengRobinson Properties Package. This choice
Figure 1. The feed is compressed to 330 psia, cooled can be justified by Figure 2, where it is predicted
to 1008F (DP 10 psia) by using cooling water, and to vaporliquid binary equilibria for CH4C2O6 and
158F (DP 5 psia) by using refrigerant, before C2H6N2 using the cubic equations of state RK and
entering the flash vessel, FLASH 1, at 305 psia. Its PengRobinson in Sim42. It is clear that the second
vapor effluent and liquid product are heated to 808F. provides much better agreement with experimental
The latter enters the flash vessel, FLASH 2, at data than the first, although none of them are good
300 psia. Its liquid effluent is fed to the distillation near critical point.
column, SPLITTER, which is designed to remove Next, it was considered the heat-integrated
most of the propane in the overhead stream. It has 12 process simulated by Seider et al. [11] as shown in
Figure 3. In this configuration, the hot stream, S2, has
supply and target temperatures of 164 and 158F, and
Table 2 Molar Flow Rates of the Feed, Gas, and Liquid
Product Steams (in lb mol/h)
Component Feed Gas Liquid (stream S10)
N2 211 211 0
C1 8,276 8,276 0
C2 871 871 0
C3 411 410 1
nC4 141 93 48
nC5 57 11 46
nC6 33 2 31
Figure 1 PFD for the natural gas process (base
Total 10,000 9,874 126
case).
4 DIAS, SILVA, AND DE ASSIS
Figure 2 Experimental [15] and predicted VLE using Sim42. [Color figure can be
viewed in the online issue, which is available at www.interscience.wiley.com.]
the two cold streams, S9 and S10, each has supply and in Sim42 simulations for both cases are shown in
target temperatures of 15 to 808F, respectively. The Table 3.
hot stream is split and used to heat two cold streams, Table 4 compares the energy requirements of the
with a minimum approach temperature difference of original design (base case) with the heat-integrated
208F. The split ratio is chosen to obtain isothermal design using HYSYS [11] and Sim42 (this work). The
mixing in the mixer, M-1. In this work, the heat- latter has no external heating requirement (apart from
integrated PFD (Fig. 4) was obtained by employing the SPLITTER), and its refrigeration load is only 28%
the Pinch technology as described in Douglas [12] and of that for the original design. As it can be seen, the
simulated in Sim42. The latter differs from the former results obtained using the two different simulators are
in number of heat exchangers and there is no stream quite similar.
split since the feed stream after the compressor has
enough heat to supply the energy needed in both
streams leaving the first flash. The used specifications
In optimizing a chemical process, it is necessary tion process. For a unity operation that lies outside a
that the key decision variables are identified early in recycle loop, optimization can be simplified. As a
the optimization procedure. This is necessary in order case study, it was chosen the SPLITTER since such a
to reduce the computational effort and time and make column does not impact any part of the process
the problem tractable. The choice of key decision upstream. Three variables were chosen to be inves-
variables is crucial to the efficiency of the optimiza- tigated:
HEX, heat exchanger; HU, hot utility; CU, cold utility; HE, heat exchanged.
6 DIAS, SILVA, AND DE ASSIS
Table 7 Flow Summary Table for the Steam Reforming of Methane (Base Case) Simulated in Sim42
Component/stream no. 1 2 3 4 5 6 7 8 9
CH4 458.961 458.961 458.961 458.961 428.749 428.749
CO2 1.83569 1.83569 1.83569 1.83569 31.9552 31.9552
H2O 2.65352 660.83411 2.65352 1,376.8871 2.65352 1,376.8871 1,379.54 1,319.18 1,319.18
H2 3.88593 3.88593 3.88593 3.88593 124.685 124.685
CO 0.207292 0.207292 0.207292 0.207292 0.313746 0.313746
Mole flow (kgmol/h) 467.54358 660.83411 467.54358 1,376.8871 467.54358 1,376.8871 1,844.4307 1,904.886 1,904.886
Mass flow (kg/h) 7,505.0975 11,905.112 7,505.0975 24,805.006 7,505.0975 24,805.006 32,310.104 32,310.104 32,310.104
DIAS, SILVA, AND DE ASSIS
E-101 2,947,437.9
E-102 23,030,253
E-103 5,304,877
E-108 3,443,468.4
E-107 11,200,000
Furnace reformer 22,137,420.4
E-104 11,942,653
E-105 5,291,946.3
E-106 12,558,968
E-109 3,917,806.6
CONCLUDING REMARKS
Figure 7 PFD for the steam reforming of natural gas
This article addressed the use of Sim42 as a costless (heat integration). [Color figure can be viewed in the
and suitable tool to teach heat integration and online issue, which is available at www.interscience.
parametric optimization in senior design courses by wiley.com.]
means of a complete plant simulation. There were
considered two case studies: (i) a natural gas plant
composed by several unit operations such as heat
Table 9 Heat Requirements Without and With Energy exchanger, compressor, flash separator, and column
Integration distillation; (ii) a steam reforming of methane to
produce hydrogen, composed by heat exchangers,
Base case
(without energy Gibbs reactor, conversion reactor, flash, mixer, and
Utility integration) With energy integration recycle. The thermodynamic package used in the
simulations was validated by using experimental data
Hot 68,063,457 W 36,185,389 W (53.16%) or detailed process information published in the
Cold 33,711,374 W 474,338 W (1.41%) literature. Only steady-state simulations were consid-
10 DIAS, SILVA, AND DE ASSIS
ered. The results were compared with the commercial [7] H. Ettouney, H. El-Dessouky, H. Al-Fulaij, and A.
simulator HYSYS (for the first case study) as well Al-Ansary, Computer package for design/rating of
as with plant information and previous work (for thermal desalination processes, Comput Appl Eng
the second case study) and good agreement was Educ 9 (2001), 180191.
[8] F. A. N. Fernandes, Use of process simulators for the
achieved. Sim42 proved to be a promising chemical
unit operations education of undergraduate chemical
process simulator and due to its open source nature engineers, Comput Appl Eng Educ 10 (2002),
it can be greatly extended to include other unit 155160.
operations not available yet. [9] R. Cota, M. Satyro, C. Morris, B. Svrcek, and B. Young,
Development of an open source chemical process
simulator, Cache News, no. 57, Available at: http://
REFERENCES www.che.utexas.educache/newsletters/fall2003develop.
pdf, Accessed 05/11/2006.
[1] FSF, Philosophy of the GNU project, Available at: [10] Sim42: Open source chemical process simulator,
http://www.gnu.org/ Accessed 03/20/2005. Available at: www.virtualmaterials.com, Accessed
[2] A. J. Assis and L. C. Oliveira-Lopes, Free software 05/03/2006.
for chemical engineers educational needs, In: [11] W. D. Seider, J. D. Seader, and D. R. Lewin, Process
ENPROMER 2005Proceedings of 2nd Mercosur design principles: Synthesis, analysis, and evaluation,
Congress on Chemical Engineering, 4th Mercosur John Wiley & Sons, USA, 1999.
Congress on Process System Engineering, Rio de [12] J. M. Douglas, Conceptual design of chemical
Janeiro, Vol. 1, 2005, pp 110. processes, McGraw-Hill, USA, 1988.
[3] R. Turton, R. C. Bailie, W. B. Whiting, and J. A. [13] J. C. Molburg and R. D. Doctor, Hydrogen from steam-
Shaeiwitz, Analysis, synthesis, and design of chemical methane reforming with CO2 capture, 20th Annual
processes, 2nd edition, Prentice Hall, USA, 2003. International Pittsburgh Coal Conference, September,
[4] B. R. Young, D. P. Mahoney, and W. Y. Svrcek, Real- Pittsburgh, USA, 2003.
time computer simulation workshops for the process [14] Synetix, Methanation catalysts for hydrogen production,
control education of undergraduate chemical engi- Johnson Matthey Group, Available at: www.synetix.
neers, Comput Appl Eng Educ 14 (2006), 300312. com/refineries/pdfs/manuals/700W.pdf, Accessed 01/
[5] C. Wu and D. C. Sherrill, Intelligent computer aided 31/2005.
design, analysis, optimization, and improvement of [15] K. M. Gupta, G. C. Gardner, M. J. Hegarty, and A. J.
thermodynamic systems, Comput Appl Eng Educ Kidnay, Liquid-vapor equilibria for the N2 CH4
9 (2001), 180191. C2H6 system from 260 to 280 K, J Chem Eng Data
[6] K. Kuriyan, W. Muench, and G. V. Reklaitis, Air 25 (1980), 313318.
products hydrogen liquefaction project: Building a [16] R. A. Russel, A flexible and reliable method solves
Web-based simulation of an industrial process, Com- single-tower and crude-distillation-column problems,
put Appl Eng Educ 9 (2001), 5762. Chem Eng 101 (1983), 5359.
BIOGRAPHIES