Latest Content
Latest Community Postings
Recent Blog Entries
Community Downloads
ChExpress Blog
Ankur's Tech Blog
Community Admin Blog
Energy Efficient Hot and Cold Water
Electrical Process Tomography
Biodiesel: The Road Ahead
Methanol Plant Capacity Enhancement
Plate and Frame Heat Exchangers: Preliminary Design
Compressor Surging Under Control
Plant and Equipment Wellness, Part 1: Observing Variability


Share this topic:



smalllogo.gif (6368 bytes)

Download a Printable Version Here (Adobe Acrobat Format)

Modeling Urea Processes: A New Thermodynamic Model and Software Integration Paradigm
(Special Shared Content with Virtual Materials Group)

 

Software Implementation

Process simulation is a tool that shows its power when widely available to process engineers, allowing them to perform better understand the process, propose changes to the process to fine tune performance based on particular characteristics of their plants, markets and economic situation. Therefore, although a rigorous thermodynamic model of the process is a necessary condition for success, it is not sufficient. Some proprietary urea simulation programs exist (7, 26), but they seem to be available only to a handful of users. Our objective was to combine excellence in science with excellence in software to create a solution, which in turn can be used by a wide audience, made up mostly of process engineers, not thermodynamic specialists. Therefore, a robust implementation of the mathematical model would have to be combined with a robust software implementation to allow physical property calculations to be available over a wide range of software platforms (27). 

Our choice was to create a central core of classes programmed using the C++ programming language (26). This central core implements all the necessary support functions for the creation of physical property systems, and it is very flexible in terms of physical properties it can handle. Complete support for pure component property configuration, interaction parameter configuration, physical property definition and property package definition (which is nothing more than a collection of physical properties, pure components and interaction parameter matrices) is provided. This allows us to create complete property packages with maximum reuse of parts in an extremely efficient and fast manner.

On top of this core set of classes, software interfaces are implemented allowing our property package system to be used by many diverse applications, ranging from a steady state and dynamic simulator such as HYSYS to batch process simulators, operator training simulators and productivity tools such as Excel, Java and Visual Basic. This functionality is shown schematically in Figure 11.


Figure 11: Property Package System Interfaces

This modern approach to software engineering provides immediate benefit to the user. Usually a process engineer will be familiar with a process simulator. By installing our property package system in his or her computer, the user has immediate access to the physical property calculations provided by our physical property system without having to learn how to use a new process simulator. For example, the HYSYS process simulator was built with an open software architecture in mind, and our property package provides an interface, which HYSYS can recognize. From that point on, the user can select our property package system directly from inside the simulator:


Figure 12: Selecting Virtual Materials Group Property Package System from inside the HYSYS Process Simulator

Figure 12 shows what the user of the HYSYS process simulator would see in the basis environment. The basis is the section of the program where thermodynamic models and components are selected for the simulation. Note the Virtual Materials Group Property Package System appears in the Base Property Package Selection scrollable list. With VMG Property Package selected, the form displayed on the right appears, where the user can select the appropriate Virtual Material to represent his or her system of interest as shown in Figure 13.


Figure 13: Selecting a Virtual Material to represent a specific process.

Hardware Like Software

We believe that software to be useful for engineers should behave like a piece of hardware. This has two significant conceptual implications:

  1. Software should be able to be plugged into other applications without any intervention from the software vendor. This was explored in the previous item.
  2. Users should know how good and how bad the software is when used to simulate his process. Virtual Materials Group performs extensive validations on its property packages and is able to create a "boiler plate" for each property package it produces, thus allowing engineers to know a-priori the performance of a property package. This in turn allows the user to critically evaluate the performance of the property package and interact with Virtual Materials in the event errors are not reported for a specific condition of interest.

Validation of property package systems is a fundamental part of an industrial grade property package system and considerable effort is spent in this feature before a property package is actually released. For example, UREA++ 2.0's boilerplate is reproduced in Table 3.

Table 3:  UREA++ Version 2.0 Boiler Plate – Temperatures (K) and Pressures (kPa)

Putting It All Together

Several different urea production flowsheets were successfully modeled using the physical behavior modeled by Virtual Materials Property Package System and the calculation sequencing provided by AEA's Software Engineering process simulator HYSYS. Engineers can be productive from the start by having access to rigorous thermodynamic calculations while not having to learn a new process simulation tool. Table 4 summarizes the typical errors found when modeling a urea plant using UREA++.

Table 4: Model versus actual plant comparisons

Conclusions and Future Work

A rigorous, general-purpose model for urea production processes was successfully implemented and experimentally verified against actual plant data. The model was implemented using modern software technology, which allows the model to be used in process simulators or other applications such as spreadsheets or operator training software. Currently work is being done in further refining the low and medium pressure thermodynamic models and in the creation of a mass transfer based high-pressure steady state decomposer model.

Bibliography

1. International Fertilizer Industry Association, http://www.fertilizer.org/index.htm

2. L. W. Codd, "Chemical Technology : An Encyclopedic Treatment : The Economic Application of Modern Technological Developments ", Barnes and Noble, 1975

3. J.A. Kent, "Riegel's Handbook of Industrial Chemistry", Van Nostrand Reinhold Company Inc, 1983

4. I. Froment, F. Gilbert, "4 th International Symposium on Large Chemical Plants", Antwerp, 1979, Elsevier; Scientific Publishing Company, 1979

5. R.A. Meyers, "Handbook of Chemical Production Processes", McGraw-Hill, 1986

6. "Production of Urea and Urea Ammonium Nitrate", European Fertilizer Manufacturers' Association, 1995.

7. Dente, M.; Pierucci, S.; Sogaro, A.; Carloni, G. and Rigolli, E.; "Simulation Program for Urea Plants", Comput. Chem. Engng., Vol. 21., No. 5, 389-400, 1988

8. Satyro, M.A.; "UREA++ - Modeling for Urea Production Processes", Virtual Materials Group, Calgary, Alberta, Canada, 2000

9. Gillespie, P.C.; Wilding, W.V.; Wilson, G.M.; "Vapor-Liquid Equilibrium Measurements on the Ammonia-Water

10. Tillner-Roth, Reiner; Friend, D.G.; "A Helmholtz Free Energy Formulation of the Thermodynamic Properties of the Mixture {Water + Ammonia}"; J. Phys. Chem. Ref. Data, Vol. 27., No. 1, 1998

11. Harvey, A.H.; "Semiempirical Correlation for Henry's Constants over Large Temperature Ranges"; AIChE Journal, 42, No. 5, May 1996

12. API Technical Data Book, American Petroleum Institute, 1992

13. Chao, G.T.; "Urea, its Properties and Manufacture"; Chao's Institute, Taipei, Taiwan, 1967

14. Lemkowitz, S.M.; Goedegebuur, J. and van den Berg, P.J.; "Bubble Point Measurements in the Ammonia-Carbon Dioxide System", J. Appl. Chem. Biotechnol., Vol. 21, 1971

15. Lemkowitz, S.M.; Zuidam, J. and van den Berg, P.J.; "Phase Behavior in the Ammonia-Carbon Dioxide System at and above Urea Synthesis Conditions"; J. Appl. Chem. Biotechnol., Vol. 22, 1972

16. Lemkowitz, S.M.; de Cooker, M.G.R.T. and van den Berg, P.J.; "An Empirical Thermodynamic Model for the Ammonia-Water-Carbon Dioxide System at Urea Synthesis Conditions"; J. Appl. Chem. Biotechnol., Vol. 23, 1973

17. Edwards, T.J., Newman, J. and Prausnitz, J.M.; "Thermodynamics of Aqueous Solutions Containing Volatile Weak Electrolytes"; AIChE J., 21, 1975

18. Edwards, T.J.; Maurer, G.; Newman, J. and Prausnitz, J.M.; "Vapor-Liquid Equilibria in Multicomponent Aqueous Solutions of Volatile Weak Electrolytes"; AIChE J., 24, 1978

19. Pawlikowski, E.M.; Newman, J. and Prausnitz, J.M.; "Phase Equilibria for Aqueous Solutions of Ammonia and Carbon Dioxide", Ind. Eng. Chem. Process Des. Dev., 21, 1982

20. Kawazuizhi, K. and Prausnitz, J.M., "Correlation of Vapor-Liquid Equilibrium for the System Ammonia-Carbon Dioxide-Water; Ind. Eng. Chem. Res., 26, 1987

21. Wicar, S.; "Calculation of vapour-liquid equilibrium in the system urea, ammonia, carbon dioxide and water"; British Chemical Engineering, 1963

22. Mavrovic, I.; "Find Equilibrium Urea Yield"; Hydrocarbon Processing, April 1971

23. Kucheryavyi, V.I.; Gorlovskii, D.M. and Konkina, T.N.; "Equilibrium Degree of the Conversion of Carbon Dioxide in the Synthesis of Urea"; Khim. Prom., 45, 1969

24. Inoue, S.; Kanai, K.; Otsuka, E.; "Equilibrium of Urea Synthesis. I.", Bulletin of the Chemical Society of Japan, Vol. 45, 1972

25. HYSYS User's Manual, AEA Engineering Software, 2000

26. Stroustrup, B.; "The Design and Evolution of C++"; AT&T Bell Labs, 1994

27. Virtual Materials User's Manual; Virtual Materials Group, Calgary, Alberta, Canada, 2000

By: Marco A. Satyro, Yau-Kun Li, Rajeev K. Agarwal, and Oscar J. Santollani
Virtual Materials Group, Inc., Calgary, Alberta, Canada
Email:
Mr. Marco A. Satyro

 


smalllogo.gif (4001 bytes)
JOIN OUR COMMUNITY

  • Stay up to date on new content
  • Post questions and answers in our forums
  • Access downloads and attachments
  • Read member blogs and start your own blog
  • Connect with members via our friends feature
  • Receive and post status updates