Spreadsheet available for download at made by faculty a. Demonstrates how to use a spreadsheet for the peng robinson equation of state for mixtures to determine vaporliquid equilibrium. Peng robinson saturation properties correlations wagner clapeyron and its simplication, clasiusclapeyron rackett saturated liquid volume calculation this zip also includes a modification for state cubic equation done by soave, to give a better estimate for saturation properties using experimental data. I had difficulties getting back ground information on the equation of state. Using the peng robinson equation of state, write matlab code using a forend loop to compute the pressure p in atmospheres, of the following gases at t 800k, using data given in the table. Ideal property methods if you hit the arrow again, the window will move on to the equation of state property methods. Other files, demonstrate different calculations using this code. The application of the peng robinson equations of state pr eos using matlab and mathematic has already been demonstrated. Note that vm varies over ranges for each gas in the table. This courseware module is part of penn state s college of earth and mineral sciences oer initiative. In that example, we are asked to use the vdw, srk, and pr cubic equation of state. For example, when you select the peng robinson equation, you can see that the equation of state eos selection is set to espr equation of state peng robinson which is given by.
Pengrobinson equation of state file exchange matlab. Using the gui preospropsmenu for properties by the peng robinson equation of state. We perform highpressure chemicalequilibrium calculations. The two most common eoss that have been used for oilrecovery solventinjection processes are the peng robinson eos and the soaveredlickkwong eos of the two, the peng robinson eos seems to be the one most often cited in the literature and is the one discussed in some detail. Comparative assessment of rk, srk, and pr eos png 520. A modified form of the peng robinson equation of state is proposed.
A single equation of state eos such as the peng robinson pr eos can accurately describe both the liquid and vapor phase. Documentation is not yet incorporated into the pdf file linked below. Equations of state see handout on website from kyle for peng robinson eos z b 1z a 3 b 2 bz b3 b2 ab 0 robinson eos a z b z z b 1 2 ln 1 ln ln 2 2 b z 1. The preos is a part of a family of equations called cubic due to the compressibility factor. We present several applications of this equation of state, including estimation of pure component properties and computation of the vaporliquid equilibrium vle diagram for binary mixtures.
A single equation of state eos such as the pengrobinson pr eos can accurately describe both the liquid and vapor phase. Peng robinson 1978 equation of state workbook chemical. Introduction to chemical engineering processes vapor liquid. The pengrobinson eos has become the most popular equation of state for natural gas systems in the petroleum industry. Energy parameter of pengrobinson equation of state bar cm6mol2 ac. Hello all i have been a member here since 2006 but this is my first post. The programs have sufficient internal documentation to facilitate use. Pengrobinson equation of state for mixtures wolfram. Equation of state an overview sciencedirect topics.
A tutorial on using a peng robinson equation of state spreadsheet. Screen cast of professor paluch demonstrating the use of his matlab code to solve example 2. The peng robinson equation of state for mixtures is used to plot pressure versus volume on a loglog graph where is the gas constant, is temperature k, is in mpa and is in is the attraction parameter and is the repulsion parameter for the mixture where is the component mole fraction, is the binary interaction parameter and and are the attraction and repulsion parameters. At ambient temperature and pressure, shouldnt i be able to solve the cubic equation of state for the molar volume and calculate a density corresponding reasonably well to the density of the liquid. Applications of the pengrobinson equation of state using. Equations of state see handout on website from kyle for peng robinson eos z b 1z a 3 b 2 bz b3 b2 ab 0 robinson eos a z b z z b 1 2 ln 1 ln ln 2 2 b z 1 2 b at 38oc. Applications of the pengrobinson equation of state using matlab article pdf available in chemical engineering education 432.
Eqcomp is a complex combination of macros written in ms excel using visual basic. Little programming skills are required by the student who gets acquainted. An equation of state eos is an algebraic equation correlating the fundamental state variables of a fluid p, v and t. Pengrobinson equation of state calculator fx solver. Since cubic equations of state ceos such as peng robinson pr do not consider polarpolar interactions and hydrogen bonding, they cannot accurately model phase equilibria of polar compounds. The peng robinson and soaveredlichkwong equations of state eos generate all required equilibrium and thermodynamic properties directly.
Equations of state are useful in describing the properties of fluids, mixtures of fluids, solids, and the interior of stars. Except where otherwise noted, content on this site is licensed under a creative commons attributionnoncommercialsharealike 4. Pdf use of the gerg 2008 equation state for hydrocarbon. Pdf applications of the pengrobinson equation of state. Table 2 from determination of hydrocarbon dew point in. Click the link in the appropriate header below to move to the folder. This function allows calculating the compressibility factor, the fugacity coefficient and density of a pure compound for both liquid and vapour phases by means of the peng robinson equation of state pr eos. The peng robinson equation of state pr eos was developed in 1976 at the university of alberta by dingyu peng and donald robinson in order to satisfy the following goals. The models based on equations of state are the most used in process simulation because they allow a comprehensive computation of both thermodynamic properties and phase. Later, the redlichkwong equation of state redlich and kwong, 1949 improved the.
Mixture property calculations using pengrobinson eos. Robinson at the university of university of alberta edmonton, canada. In physics and thermodynamics, an equation of state is a thermodynamic equation relating state variables which describe the state of matter under a given set of physical conditions, such as pressure, volume, temperature pvt, or internal energy. Can peng robinson equation be used to find phase diagram. Nasri 2009 applications of the pr eo s using matlab. The new mixing rules which have recently been developed that combine liquid activity models with the equations of state. Gate dna assembly across liquidhandling robotic, microfluidic, and manual platforms. Equations of state for miscible processes petrowiki. Pengrobinson eos 1976 pennsylvania state university. A program is discussed which uses the peng robinson equation of state and the authors propose a simple method for adjusting the calculated values on two experimental results using the heavy. Chemical reactors using python using python to solve ordinary differential equations simple example in python, you define the problem by means of a function following the def command. The sceencast discusses uses of the solver tools and user objective functions for finding u, h, s, vapor.
This site has been helpful to me in the past and i have been feeling some guilt for not having given back to the community. Peng robinson 1978 equation of state workbook posted in chemical process simulation. Eqcomp is a complex combination of macros written in ms excel using visual basic for application programming language. Matlab codes for the pengrobinson equation of state. For example, vapour pressure is required in many calculations related to safety as. Equations of state for the calculation of fluidphase. Applications of the soaveredlichkwong equations of state. These methods use the various equations of state that are learned about in chemical engineering thermodynamics, to calculate the equilibrium distribution ratio.
Applications of the pengrobinson equation of state using matlab zakia nasri. The example calculates the bubble point pressure and vapor. The pengrobinson equation of state peng and robinson, 1976 is satisfactory for predicting the gas phase properties of co 2, but when compared to that of span and wagner 1996, it is not so for the condensed phase. A modified pengrobinson equation of state for heavy.
Temperature, pressure, molar weigth, and supercritical properties of the selected compound are needed to be specified as parameters. Computer program download msu college of engineering. Pdf applications of the pengrobinson equation of state using. Spe gcsprint accelerated learning tutorial applied. The critical compressibility factor for the redlichkwong is improved, at, and is even more in line with experimental observations for srk and pr closer to 0. Of these, the peng robinson equation of state supports the widest range of operating conditions and the greatest variety of systems. When i graduated with my bs in che in 1982 i had a working knowledge of thermodynamics but i have. A tutorial on using a pengrobinson equation of state spreadsheet for singlecomponent equilibrium. You then tell python to solve the differential equation. I am new to matlab so any help would be appreciated i got the code from file exchanger thank you. This equation shows its greatest advantage in the predictions of the volumetric properties in the singlephase region for mixtures, while it performs as good as original peng robinson equation for the predictions of thermodynamic properties of pure components, and vaporliquid equilibria of mixtures. Program download instructions michigan state university.
Kwong srk equations of state are probably the most widely used cubic equations of state in the refinery and gasprocessing industries for the prediction of vapor. For example, the use of t was fine in excel 2003, but is interpreted logically on the mac. In that example, we are asked to use the vdw, srk, and pr cubic equation of state to. Error in pengrobinson line 21 matlab answers matlab. Matlab programming language was used to implement the theoretical model described above. We have 2 matlab functions involving the pr equation at our disposal. In practice, vaporliquid reservoir phase behavior is calculated by an equation of state eos. Pengrobinson eos file exchange matlab central mathworks. T he pengrobinson equation of state pr eos was sug gested in 19761 to. Michael adewumi, vice provost for global program, professor of petroleum and natural gas engineering, the pennsylvania state university. Im trying to use the peng robinson stryjekvera 2 prsv2 equation of state to calculate the density of a compound, in this example. Applications of the pengrobinson equation of state using matlabr.
How to use a modified pengrobinson equation to calculate. The model should provide reasonable accuracy near the critical point, particularly for calculations of the compressibility. In this paper, using mathematic to solve soaveredlichkwong srk eos, as well as the estimation of pure component properties, plotting of vaporliquid equilibrium vle diagram and calculation of chemical equilibrium, is presented. The pengrobinson equation of state pr eos was sug gested in 19761 to. The canadian energy board sponsored them to develop an eos specifically focused. Pdf vle predictions with the pengrobinson equation of. Pdf nasri 2009 applications of the pr eo s using matlab. Furthermore, it is not accurate for gas pressures below the triple point and, in common with any single equation, it does not.
21 1674 233 438 102 51 397 1126 863 311 213 1097 1378 392 762 986 9 521 515 1453 426 82 1462 865 247 1011 454 522 1 1582 1510 995 1311 913 1130 909 885 1341