Advanced Simulation Case Using Hysys
Advanced Simulation Case Using Hysys
Getting Started
Getting Started
Workshop
The Getting Started module introduces you to some of the basic concepts necessary for creating simulations in HYSYS. Some of the things you will learn from this module are:
Methods for moving through different environments Selecting property packages and components Adding streams Attaching utilities
You will use HYSYS to define three streams. You will learn how to determine the properties of these streams by using the Property Table utility.
Learning Objectives
Once you have completed this section, you will be able to:
Define a Fluid Package (Property Package and Components) Add Streams Understand Flash Calculations Attach Stream Utilities Customize the Workbook
Getting Started
All associated information is defined in a single location, allowing for easy creation and modification of the information Fluid Packages can be stored as a completely separate entity for use in any simulation Multiple Fluid Packages can be used in the same simulation; however, they are all defined inside the common Basis Manager.
The Simulation Basis Manager is a property view that allows you to create and manipulate every Fluid Package in the simulation. Whenever you begin a New Case, HYSYS places you at this location. The opening tab of the Simulation Basis Manager, Fluid Pkgs, contains the list of current Fluid Package definitions. You can use multiple Fluid Packages within one simulation by assigning them to different flowsheets and linking the flowsheets together.
Getting Started
Inside the Current Fluid Packages group, there are a number of buttons:
View - this is only active when a Fluid Package exists in the case. It allows you to view the property view for the selected Fluid Package. Add allows you to create and install a Fluid Package into the simulation. Delete removes the selected Fluid Package from the simulation. Copy makes a copy of the selected Fluid Package. Everything is identical in the copied version, except the name. This is useful for modifying fluid packages. Import allows you to import a predefined Fluid Package from disk. Fluid Packages have the file extension.fpk. Export allows you to export the selected Fluid Package to a disk. The exported Fluid Package can be retrieved into another case, by using the Import function.
You can use the <Ctrl><B> hot key to re-enter the Simulation Basis Manager from any point in the simulation or choose the Enter Basis Environment button from the button bar.
Basis Environment button
Getting Started
Start a new case by selecting the New Case button. Create a Fluid Package by selecting the Add button from the Simulation Basis Manager. Click the Activity Model radio button and choose NRTL as the Property Package.
3.
4.
Change the Name from the default Basis-1 to Stripper. Do this by clicking in the "Name" cell, and typing the new name. Hit the <Enter> key when you are finished. Switch to the Components tab. From this tab, you add components to your case.
5.
Getting Started
You can select components for your simulation using several different methods: To Use
Match Cell
Do This
1. Select one of the three name formats, SimName, Full Name/ Synonym, or Formula by selecting the corresponding radio button. Click on the Match cell and enter the name of the component. As you start to type, the list will change to match what you have entered. Once the desired component is highlighted either:
2.
3.
Press the <Enter> key Press the Add Pure button Double click on the component to add it to your simulation.
Component List
1.
Using the scroll bar for the main component list, scroll through the list until you find the desired component. To add the component either:
2.
Press the <Enter> key Press the Add Pure button Double click on the component to add it to your simulation
Family Filter
1.
Ensure the Match cell is empty, and press the Family Filterbutton. Select the desired family from the Family Filter to display only that type of component. Use either of the two previous methods to then select the desired component. To add the component either:
2.
3.
4.
Press the <Enter> key Press the Add Pure button Double click on the component to add it to your simulation
Note: You can add a range of components by highlighting the entire range and pressing the Add Pure button.
Getting Started
5.
Select the library components Chloroform, Toluene, Ethanol, H2O, Oxygen and Nitrogen.
6.
Go to the Binary Coeffs tab. Press the Unknowns Only button to estimate missing coefficients. View the Aij, Bij and ij matrices by selecting the corresponding radio button. The Aij matrix is shown below:
To view the Bij or ij coefficients, click the appropriate radio button in the Coefficient Matrix to View group.
Getting Started
2. 3.
Press the Export button. Enter a unique name (Stripper) for the Fluid Package and press the OK button.
HYSYS will automatically add the file extension .fpk when it saves your Fluid Package. The file is automatically saved to the \HYSYS\paks subdirectory.
Now that the Fluid Package is now fully defined, you are ready to move on and start building the simulation. Press the Enter Simulation Environment button or the Interactive Simulation Environment button in the Button Bar.
Getting Started
3.
If it is not already selected, select the desired unit set. Both Field and SI units will be given in this course; you are free to use whichever is more comfortable for you. Close the window to return to the simulation.
4.
10
Getting Started
You can scroll through the unit list by starting to type the units, by using the arrow keys or by using the scroll bar.
10
Getting Started
11
Adding Streams
In HYSYS, there are two types of streams, Material and Energy. Material streams have a composition and parameters such as temperature, pressure and flowrates. They are used to represent Process Streams. Energy streams have only one parameter, a Heat Flow. They are used to represent the Duty supplied to or by a Unit Operation. There are a variety of ways to add streams in HYSYS. To Use This
Menu Bar
Do This
Select Add Stream from the Flowsheet menu. Or Press the <F11> Hot Key. The Stream property view will open.
Workbook
Open the Workbook and go to the Material Streams tab. Type a stream name into the **New** cell. Select Object Palette from the Flowsheet menu or press <F4> to open the Object Palette. Double click on the stream icon.
Object Palette
In this exercise, you will add three streams to represent the feeds to an air stripper. Each stream will be added using a different method of installation.
11
12
Getting Started
You can change the stream name by simply typing in a new name in the Stream Name box. 2. Change the stream name to Eth rich.
12
Getting Started
13
Do This
Double click on the Molar Flow cell to enter mole fractions. Or Double click on the Mass Flow cell to enter mass fractions. Or Double click on the LiqVolFlow cell to enter volume fractions. The Input Composition for Stream dialog is shown.
Composition page
Press the Edit button. The Input Composition for Stream dialog is shown.
3. 4.
Double click on the Mass Flow cell. The Input Composition for Stream view displays. We want to define the composition of this stream by specifying the mass flows for each component. By default, HYSYS has chosen the basis for defining the composition as mass fraction. Press the Basis button and select the Mass Flows radio button in the Composition Basis group. You are now able to enter the data in the desired format.
13
14
Getting Started
5.
Enter the following compositions: Enter This Mass Flow, kg/h (lb/hr)
2.5 (5.0) 0 300 (600) 100 000 (200, 000) 0 0
6. 7.
Press the OK button when all the mass flows have been entered. Close the Stream Property view.
14
Getting Started
15
1. 2.
Enter the stream name, Tol rich in the **New** cell. Enter the following component mass flow rates. You will have to change the basis again. Enter This Mass Flow, kg/h (lb/hr)
1.5 (3.0) 140 (280) 0 100 000 (200, 000) 0 0
3.
15
16
Getting Started
If the Object Palette is not open on the Desktop, press the <F4> hot key to open it. Double Click on the Material Stream button. The Stream Property view displays. Change the name of the stream to Strip Air. Double click on the Molar Flow cell and enter the following stream compositions: Enter This Mole Fraction
0 0 0 0 0.21 0.79
3. 4.
Save button
From the File menu select Save to save your case with the same name. Form the File menu select Save As to save your case in a different location or with a different name. Press the Save button on the button bar to save your case with the same name.
16
Getting Started
17
Flash Calculations
HYSYS can perform five types of flash calculations on streams: P-T, Vf-P , Vf-T, P-Molar Enthalpy and T-Molar Enthalpy. Once the composition of the stream and two of either temperature, pressure, vapour fraction or molar enthalpy are known, HYSYS performs a flash calculation on the stream, calculating the other two parameters.
Only 2 of these 4 stream parameters, Vapour Fraction, Temperature, Pressure or Molar Enthalpy can be supplied.
If you try to supply temperature, pressure and vapour fraction, a consistency error can occur.
With the flash capabilities of HYSYS, it is possible to perform dew and bubble point calculations. By specifying a vapour fraction of 1 and either the pressure or temperature of the stream, HYSYS will calculate the dew temperature or pressure. To calculate the bubble temperature or pressure, a vapour fraction of 0 and either pressure or temperature must be entered. 1. Perform a T-P flash calculation on the stream Tol Rich. Set the pressure to 101.3 kPa (14.7 psia) and the temperature to 90 C (200 F). What is the vapour fraction? __________ Perform a dew point calculation on the stream Tol Rich. Set the pressure to 101.3 kPa (14.7 psia). What is the dew point temperature? __________ Perform a bubble point calculation on the stream Tol Rich. Set the pressure to 101.3 kPa (14.7 psia). What is the bubble point temperature? __________
2.
3.
17
18
Getting Started
Attaching Utilities
The utilities available in HYSYS are a set of useful tools that interact with your process, providing additional information or analysis of streams or operations. Once installed, the utility becomes part of the Flowsheet, automatically calculating when conditions change in the stream or operation to which it is attached. As with the majority of objects in HYSYS, there are a number of ways to attach utilities to streams. To Use the
Menu Bar
Do this
Select Utilities from the Tools menu. or Press the <Ctrl><U> hot key. The Available Utilities window displays.
Open the stream property view. Switch to the Attachments tab and choose the Utilities page. Press the Create button. The Available Utilities window displays.
18
Getting Started
19
7.
8.
19
20
Getting Started
It is possible to choose multiple dependent properties for any of the single phases (liquid, aqueous or vapour) or for the bulk phase. 9. 10. Select the Bulk radio button and highlight a cell in the Property matrix. Choose Mass Density from the drop down list.
Select the Liquid radio button, and select the Viscosity property. Select the Aqueous radio button, and select the Aq. Mass Fraction property. Select the Vapour radio button, and select the Vapour Mass Fraction property. Press the Calculate cell to generate the Property Table.
20
Getting Started
21
You can examine the Property Table results in either graphical or tabular formats on the Performance tab.
Temp., C (F)
15C (60F) 15C (60F) 25C (77F)
Add a flowrate of 18 000 kg/h (39, 700 lb/hr) to the stream Strip Air.
3. 4.
21
22
Getting Started
The pages Properties and Composition also show data for the individual phases.
22
Getting Started
23
Open the Workbook by pressing the Workbook button on the button bar. From the Workbook menu, select Setup. The Setup window displays. Under the Workbook Tabs group, press the Add button, and in the view which appears, select +Stream and press OK.
3.
4. 5. 6. 7. 8.
A new Workbook tab, Streams 2, will be listed in the Workbook Tabs group. Ensure that this new tab is highlighted. Highlight the Name cell in the Tab Contents group, and change the name to Other Prop. In the Variables group, press the Delete button until all the default variables are removed. Click the Add button to view the list of variables grouped under the Select Variable(s) For Main page. From the Variables list, select Vap Frac on a Mass Basis and click OK.
23
24
Getting Started
9.
Repeat 7 and 8 for Molecular Weight, Mass Density and Mass Enthalpy.
10.
The Workbook now contains the tab Other Prop which shows the vapour fraction on a mass basis, the molecular weight, the mass density and the mass enthalpy for all the components for the three streams.
24
Getting Started
25
To print all streams: Customize the Workbook to contain all the stream info you want. Print the Workbook Datasheet.
3.
Select Print Datasheet and the Select Datablock(s) to Print for Workbook window is displayed.
4.
You can choose to print or preview any of the available datasheets (press the + collapse button to view all available datasheets). Clicking on the box will activate or deactivate the datasheet for printing or previewing.
25
26
Getting Started
26
Getting Started
27
Exercise 1
A. Use the Workbook to find the following values:
1. 2. 3. 4. The dew point temperature of stream Eth Rich at 101 kPa (14.7 psia). __________ The bubble point pressure of stream Tol rich at 15C (60 F). __________ The dew point pressure of stream Strip Air at 25C (77 F). __________ The bubble point temperature of stream Strip Air at 101 kPa (14.7 psia). __________
Exercise 2
The stream Eth Rich is stored in a 200 m3 (7000 ft3) vessel. Assuming the storage vessel has a 45 minute hold-up and the vessel is at atmospheric conditions (1 atm, 25C, 77 F): What is the composition of the vapor space? _________ How full is the storage vessel? __________
27
28
Getting Started
28
Workshop
One of the main assets of HYSYS is its strong thermodynamic foundation. Not only can you use a wide variety of internal property packages, you can use tabular capabilities to override specific property calculations for more accuracy over a narrow range. Or, you can use the functionality provided through OLE to interact with externally constructed property packages.
The built-in property packages in HYSYS provide accurate thermodynamic, physical and transport property predictions for hydrocarbon, non-hydrocarbon, petrochemical and chemical fluids. The database consists of an excess of 1500 components and over 16000 fitted binary coefficients. If a library component cannot be found within the database, a comprehensive selection of estimation methods is available for creating fully defined hypothetical components.
HYSYS also contains a regression package within the tabular feature. Experimental pure component data, which HYSYS provides for over 1000 components, can be used as input to the regression package. Alternatively, you can supplement the existing data or supply a set of your own data. The regression package will fit the input data to one of the numerous mathematical expressions available in HYSYS. This will allow you to obtain simulation results for specific thermophysical properties that closely match your experimental data.
However, there are cases when the parameters calculated by HYSYS are not accurate enough, or cases when the models used by HYSYS do not predict the correct behaviour of some liquid-liquid mixtures (azeotropic mixtures). For those cases it is recommended to use another of Hyprotechs products, DISTIL. This powerful simulation program provides an environment for exploration of thermodynamic model behaviour, proper determination and tuning of interaction parameters and physical properties, as well as alternative designs for distillation systems.
Proper use of thermodynamic property package parameters is key to successfully simulating any chemical process. Effects of pressure and temperature can drastically alter the accuracy of a simulation given missing parameters or parameters fitted for different conditions. HYSYS is user friendly by allowing quick viewing and changing of the particular parameters associated with any of the property packages. In addition, you are able to quickly check the results of one set of parameters and compare those results with another set.
In this module, you will explore the thermodynamic packages of HYSYS and the proper use of their thermodynamic parameters.
Learning Objectives
Once you have completed this module, you will be able to:
Select an appropriate Property Package Understand the validity of each Activity Model Enter new interaction parameters for a property package Check multiphase behaviour of a stream Understand the importance of properly regressed binary coefficients
Ethylene Towers High H2 Systems Reservoir Systems Steam Systems Hydrate Inhibition Chemical Systems HF Alkylation TEG Dehydration with Aromatics
Equations of State
For oil, gas and petrochemical applications, the Peng-Robinson EOS (PR) is generally the recommended property package. HYSYS currently offers the enhanced Peng-Robinson (PR) and Soave-Redlich-Kwong (SRK) equations of state. In addition, HYSYS offers several methods which are modifications of these property packages, including PRSV, Zudkevitch Joffee (ZJ) and Kabadi Danner (KD). Lee Kesler Plocker (LKP) is an adaptation of the Lee Kesler equations for mixtures, which itself was modified from the BWR equation. Of these, the PengRobinson equation of state supports the widest range of operating conditions and the greatest variety of systems. The Peng-Robinson and Soave-Redlich-Kwong equations of state (EOS) generate all required equilibrium and thermodynamic properties directly. Although the forms of these EOS methods are common with other commercial simulators, they have been significantly enhanced by Hyprotech to extend their range of applicability.
The Peng-Robinson property package options are PR, Sour PR, and PRSV. Soave-Redlich-Kwong equation of state options are the SRK, Sour SRK, KD and ZJ.
For the Chemical industry due to the common occurrence of highly non-ideal systems, the PRSV EOS may be considered. It is a two-fold modification of the PR equation of state that extends the application of the original PR method for highly non-ideal systems.
It has shown to match vapour pressure curves of pure components and mixtures, especially at low vapour pressures. It has been successfully extended to handle non-ideal systems giving results as good as those obtained by activity models. A limited amount of non-hydrocarbon interaction parameters are available.
Activity Models
Although equation of state models have proven to be very reliable in predicting properties of most hydrocarbon based fluids over a large range of operating conditions, their application has been limited to primarily non-polar or slightly polar components. Polar or non-ideal chemical systems have traditionally been handled using dual model approaches. Activity Models are much more empirical in nature when compared to
the property predictions in the hydrocarbon industry. For example, they cannot be used as reliably as the equations of state for generalized application or extrapolating into untested operating conditions. Their tuning parameters should be fitted against a representative sample of experimental data and their application should be limited to moderate pressures. For every component i in the mixture, the condition of thermodynamics equilibrium is given by the equality between the fugacities of the liquid phase and vapour phase. This feature gives the flexibility to use separate thermodynamic models for the liquid and gas phases, so the fugacities for each phase have different forms. In this approach:
an equation of state is used for predicting the vapour fugacity coefficients (normally ideal gas assumption or the Redlich Kwong, Peng-Robinson or SRK equations of state, although a Virial equation of state is available for specific applications) an activity coefficient model is used for the liquid phase.
Although there is considerable research being conducted to extend equation of state applications into the chemical industry (e.g., PRSV equation), the state of the art of property predictions for chemical systems is still governed mainly by Activity Models. Activity coefficients are fudge factors applied to the ideal solution hypothesis (Raoults Law in its simplest form) to allow the development of models which actually represent real data. Although they are fudge factors, activity coefficients have an exact thermodynamic meaning as the ratio of the fugacity coefficient of a component in a mixture at P and T, and the fugacity coefficient of the pure component at the same P and T. Consequently, more caution should be exercised when selecting these models for your simulation.
Activity Models produce the best results when they are applied in the operating region for which the interaction parameters were regressed.
The following table briefly summarizes recommended activity coefficient models for different applications (refer to the bulleted reference guide below): Application
Binary Systems Multicomponent Systems Azeotropic Systems Liquid-Liquid Equilibria Dilute Systems Self-Associating Systems Polymers Extrapolation
Margules
A LA
van Laar
A LA
Wilson
A A
NRTL
A A
UNIQUAC
A A
A A
A A
A N/A
A A
A A
? ?
? ?
A A
A A
A A
N/A ?
N/A ?
N/A G
N/A G
A G
Overview of Models
Margules
One of the earliest activity coefficient expressions was proposed by Margules at the end of the 19th century.
The Margules equation was the first Gibbs excess energy representation developed. The equation does not have any theoretical basis, but is useful for quick estimates and data interpolation. In its simplest form, it has just one adjustable parameter and can represent mixtures which feature symmetric activity coefficient curves.
HYSYS has an extended multicomponent Margules equation with up to four adjustable parameters per binary. The four adjustable parameters for the Margules equation in HYSYS are the aij and aji (temperature independent) and the bij and bji terms (temperature dependent).
The Margules equation should not be used for extrapolation beyond the range over which the energy parameters have been fitted.
The equation will use parameter values stored in HYSYS or any user supplied value for further fitting the equation to a given set of data. In HYSYS, the equation is empirically extended and therefore caution should be exercised when handling multicomponent mixtures.
van Laar
The van Laar equation was the first Gibbs excess energy representation with physical significance. This equation fits many systems quite well, particularly for LLE component distributions. It can be used for systems that exhibit positive or negative deviations from Raoults Law. Some of the advantages and disadvantage for this model are:
The van Laar equation performs poorly for dilute systems and CANNOT represent many common systems, such as alcoholhydrocarbon mixtures, with acceptable accuracy.
Generally requires less CPU time than other activity models. It can represent limited miscibility as well as three phase equilibrium. It cannot predict maxima or minima in the activity coefficient and therefore, generally performs poorly for systems with halogenated hydrocarbons and alcohols. It also has a tendency to predict two liquid phases when they do not exist.
The van Laar equation implemented in HYSYS has two parameters with linear temperature dependency, thus making it a four parameter model. In HYSYS, the equation is empirically extended and therefore its use should be avoided when handling multicomponent mixtures.
Wilson
The Wilson equation, proposed by Grant M. Wilson in 1964, was the first activity coefficient equation that used the local composition model to derive the Gibbs Excess energy expression. It offers a thermodynamically consistent approach to predicting multicomponent behaviour from regressed binary equilibrium data.
The Wilson equation CANNOT be used for problems involving liquid-liquid equilibrium.
Although the Wilson equation is more complex and requires more CPU time than either the van Laar or Margules equations, it can represent almost all non-ideal liquid solutions satisfactorily except electrolytes and solutions exhibiting limited miscibility (LLE or VLLE). It performs an excellent job of predicting ternary equilibrium using parameters regressed from binary data only. It will give similar results to the Margules and van Laar equations for weak non-ideal systems, but consistently outperforms them for increasingly non-ideal systems. It cannot predict liquid-liquid phase splitting and therefore should only be used on problems where demixing is not an issue.
Our experience shows that the Wilson equation can be extrapolated with reasonable confidence to other operating regions with the same set of regressed energy parameters.
NRTL
The NRTL (Non-Random-Two-Liquid) equation, proposed by Renon and Prausnitz in 1968, is an extension of the original Wilson equation. It uses statistical mechanics and the liquid cell theory to represent the liquid structure. These concepts, combined with Wilsons local composition model, produce an equation capable of representing VLE, LLE, and VLLE phase behaviour. Like the Wilson equation, the NRTL model is thermodynamically consistent and can be applied to ternary and higher order systems using parameters regressed from binary equilibrium data. The NRTL model has an accuracy comparable to the Wilson equation for VLE systems.
The additional parameter in the NRTL equation, called the alpha term, or nonrandomness parameter, represents the inverse of the coordination number of molecule i surrounded by molecules j. Since liquids usually have a coordination number between 3 and 6, you might expect the alpha parameter between 0.17 and 0.33.
The NRTL combines the advantages of the Wilson and van Laar equations.
10
It is not extremely CPU intensive. It can represent LLE quite well. However, because of the mathematical structure of the NRTL equation, it can produce erroneous multiple miscibility gaps.
The NRTL equation in HYSYS contains five adjustable parameters (temperature dependent and independent) for fitting per binary pair.
UNIQUAC
The UNIQUAC (UNIversal QUAsi Chemical) equation proposed by Abrams and Prausnitz in 1975 uses statistical mechanics and the quasichemical theory of Guggenheim to represent the liquid structure. The equation is capable of representing LLE, VLE and VLLE with accuracy comparable to the NRTL equation, but without the need for a nonrandomness factor, it is a two parameter model. The UNIQUAC equation is significantly more detailed and sophisticated than any of the other activity models.
Its main advantage is that a good representation of both VLE and LLE can be obtained for a large range of non-electrolyte mixtures using only two adjustable parameters per binary. The fitted parameters usually exhibit a smaller temperature dependence which makes them more valid for extrapolation purposes. The UNIQUAC equation utilizes the concept of local composition as proposed by Wilson. Since the primary concentration variable is a surface fraction as opposed to a mole fraction, it is applicable to systems containing molecules of very different sizes and shape, such as polymer solutions. The UNIQUAC equation can be applied to a wide range of mixtures containing H2O, alcohols, nitriles, amines, esters, ketones, aldehydes, halogenated hydrocarbons and hydrocarbons.
In its simplest form it is a two parameter model, with the same remarks as Wilson and NRTL. UNIQUAC needs van der Waals area and volume parameters, and those can sometimes be difficult to find, especially for non-condensable gases (although DIPPR has a fair number available).
10
11
with a wide boiling point range between components where you require simultaneous solution of VLE and LLE, and there exists a wide boiling range or concentration range between components
Extreme caution must be exercised when extrapolating beyond the temperature and pressure ranges used in regression of parameters. Due to the larger number of parameters used in fitting, inaccurate results can be obtained outside the original bounds.
The general NRTL model is particularly susceptible to inaccuracies if the model is used outside of the intended range. Care must be taken to ensure that you are operating within the bounds of the model.
Chien-Null
Chien-Null is an empirical model designed to allow you to mix and match models which were created using different methods and combined into a multicomponent expression. The Chien-Null model provides a consistent framework for applying existing activity models on a binary by binary basis. In this manner, Chien-Null allows you to select the best activity model for each pair in the case. For example, Chien-Null can allow the user to have a binary defined using NRTL, another using Margules and another using van Laar, and combine them to perform a three component calculation, mixing three different thermodynamic models. The Chien Null model allows 3 sets of coefficients for each component pair, accessible via the A, B and C coefficient matrices.
The Thermodynamics appendix in the HYSYS User Manual provides more information on Property Packages, Equations of State, and Activity Models, and the equations for each.
Henrys Law
Henrys Law cannot be selected explicitly as a property method in HYSYS. However, HYSYS will use Henrys Law when an activity model is selected and "non-condensable" components are included within the component list. HYSYS considers the following components non-condensable: Methane, Ethane, Ethylene, Acetylene, Hydrogen, Helium, Argon, Nitrogen, Oxygen, NO, H2S, CO2, and CO.
No interaction between "noncondensable" component pairs is taken into account in the VLE calculations.
11
12
The extended Henrys Law equation in HYSYS is used to model dilute solute/solvent interactions. "Non-condensable" components are defined as those components that have critical temperatures below the system temperature.
Ideal
The ideal gas law can be used to model the vapour phase. This model is appropriate for low pressures and for a vapour phase with little intermolecular interaction. The model is the default vapour phase fugacity calculation method for activity coefficient models.
PR and SRK vapour phase models handle the same types of situations as the PR and SRK equations of state. When selecting one of these three models, ensure that the binary interaction parameters used for the activity model remain applicable with the chosen vapour model. For applications with compressors and turbines, PR or SRK will be superior to the RK or Ideal vapour model.
Virial
The Virial option enables you to better model vapour phase fugacities of systems displaying strong vapour phase interactions. Typically this occurs in systems containing carboxylic acids, or compounds that have the tendency to form stable H2 bonds in the vapour phase.
Care should be exercised in choosing PR, SRK, RV or Virial to ensure binary coefficients have been regressed with the corresponding vapour phase model.
HYSYS contains temperature dependent coefficients for carboxylic acids. You can overwrite these by changing the Association (ij) or Solvation (ii) coefficients from the default values. This option is restricted to systems where the density is moderate, typically less than one-half the critical density.
12
13
Binary Coefficients
For the Property Packages which do include binary coefficients, the Binary Coefficients tab contains a matrix which lists the interaction parameters for each component pair. Depending on the property method chosen, different estimation methods may be available and a different view may be shown. You have the option of overwriting any library value.
The numbers appearing in the matrix are initially calculated by HYSYS, but you have the option of overwriting any library value.
For all EOS parameters (except PRSV), Kij = Kji so when you change the value of one of these, both cells of the pair automatically update with the same value. In many cases, the library interaction parameters for PRSV do have Kij = Kji, but HYSYS does not force this if you modify one parameter in a binary pair.
13
14
If you are using PR or SRK (or one of the Sour options), two radio buttons are displayed at the bottom of the page in the Treatment of Interaction Coefficients Unavailable from the Library group:
Estimate HC-HC/Set Non HC-HC to 0.0 this radio button is the default selection. HYSYS provides the estimates for the interaction parameters in the matrix, setting all nonhydrocarbon pairs to 0. Set All to 0.0 when this is selected, HYSYS sets all interaction parameter values in the matrix to 0.0.
The interaction parameters for each binary pair will be displayed. You can overwrite any value or use one of the estimation methods. Note that the Kij = Kji rule does not apply to Activity Model interaction parameters.
14
15
Estimation Methods
When using Activity Models, HYSYS provides three interaction parameter estimation methods. Select the estimation method by choosing one of the radio buttons in the Coeff Estimation window. The options are:
Individual Pair calculates the parameters for the selected component pair, Aij and Aji. The existing values in the matrix are overwritten. Unknowns Only calculates the activity parameters for all the unknown pairs. If you delete the contents of cells or if HYSYS does not provide default values, you can use this option. All Binaries recalculates all the binaries of the matrix. If you had changed some of the original HYSYS values, you could use this to have HYSYS re-estimate the entire matrix. . When the All Binaries button is used, HYSYS does not return the original library values. Estimation values will be returned using the selected UNIFAC method. To return to the original library values, you must select a new property method and then re-select the original property method
Row in Clm pair estimates the parameters such that the row component (j) is immiscible in the column component (i). Clm in Row pair estimates parameters such that the column component (j) is immiscible in the row component (i). All in Row estimates parameters such that both components are mutually immiscible.
In Module 1, you chose the NRTL Activity Model, then select the UNIFAC VLE estimation method (default) before pressing the Unknowns Only cell.
15
16
Basic Data
Activity coefficient models are empirical by nature and the quality of their prediction depends on the quality and range of data used to determine the parameters. Some important things you should be aware of in HYSYS.
The parameters built in HYSYS were fitted at 1 atm wherever possible, or were fitted using isothermal data which would produce pressures closest to 1 atm. They are good for a first design, but always look for experimental data closer to the region you are working in to confirm your results. The values in the HYSYS component database are defined for VLE only, hence the LLE prediction may not be very good and additional fitting is necessary. Data used in the determination of built in interaction parameters very rarely goes below 0.01 mole fraction, and extrapolating into the ppm or ppb region can be risky. Again, because the interaction parameters were calculated at modest pressures, usually 1 atm, they may be inadequate for processes at high pressures. Check the accuracy of the model for azeotropic systems. Additional fitting may be required to match the azeotrope with acceptable accuracy. Check not only for the temperature, but for the composition as well. If three phase behaviour is suspected, additional fitting of the parameters may be required to reliably reproduce the VLLE equilibrium conditions.
UNIFAC or no UNIFAC?
UNIFAC is a handy tool to give initial estimates for activity coefficient models. Nevertheless keep in mind the following:
Group contribution methods are always approximate and they are not substitutions for experimental data. UNIFAC was designed using relatively low molecular weight condensable components (thus high boilers may not be well represented), using temperatures between 0-150 oC and data at modest pressures.
16
17
Generally, UNIFAC does not provide good predictions for the dilute region.
Margules or van Laar - generally chosen if computation speed is a consideration. With the computers we have today, this is usually not an issue. May also be chosen if some preliminary work has been done using one of these models. Wilson - generally chosen if the system does not exhibit phase splitting. NRTL or UNIQUAC - generally chosen if the system exhibits phase splitting. General NRTL - should only be used if an abundant amount of data over a wide temperature range was used to define its parameters. Otherwise it will provide the same modelling power as NRTL.
17
18
Exercise 1
Di-iso-Propyl-Ether/H2O Binary
This example effectively demonstrates the need for having interaction parameters. Do the following: 1. 2. Open case DIIPE.hsc. Enter the following conditions for stream DIIPE/H2O:
Conditions Vapour Fraction Pressure Molar Flow Composition di-i-P-Ether H2O 50 mole % 50 mole % 0.0 1 atm 1 kgmole/h (1 lbmole/hr)
3. 4. 5. 6. 7. 8.
Close the stream view and press the Enter Basis Environment button. Select the Binary Coeffs tab of the Fluid Package. Notice that the interaction parameters for the binary are both set to 0.0. Press the Reset Params button to recall the default NRTL activity coefficient model interaction parameters. Close the Fluid Package view. Return to the simulation environment by pressing the Return to Simulation Environment button. Open the stream view by double clicking on the stream DIIPE/ H2O. What phases are now present? __________ What is the composition of each? __________
18
19
Clearly, it can be seen how important it is to have interaction parameters for the thermodynamic model. The xy phase diagrams on the next page (figures 1 and 2) illustrate the homogeneous behaviour when no parameters are available and the heterogeneous azeotropic behaviour when properly fitted parameters are used. The majority of the default interaction parameters for activity coefficient models in HYSYS have been regressed based on VLE data from DECHEMA, Chemistry Data Services.
19
20
20
21
Exercise 2
Phenol/H2O Binary
This binary shows the importance of ensuring that properly fitted interaction parameters for the conditions of your simulation are used. The default parameters for the Phenol/H2O system have been regressed from the DECHEMA Chemistry data series and provide very accurate vapour-liquid equilibrium since the original data source (1) was in this format. However, the Phenol/Water system is also shown to exhibit liquid-liquid behaviour (2). A set of interaction parameters can be obtained from sources such as DECHEMA and entered into HYSYS. The following example illustrates the poor LLE prediction than can be produced by comparing the results using default interaction parameters and specially regressed LLE parameters. 1. 2. Open the case Phenolh2o.hsc. Enter the following conditions for stream Phenol/H2O:
Conditions Temperature Pressure Molar Flow Composition Phenol H2O 25 mole % 75 mole % 40C 1 atm 1 kgmole/h (1 lbmole/hr)
21
22
To provide a better prediction for LLE at 40 oC (105 oF) the following Aij interaction parameters are to be entered. To enter the parameters do the following: 1. 2. 3. Close the stream view and press the Enter Basis Environment button. Ensure the Fluid Package view is open and select the Binary Coeffs tab. Enter the Aij interaction parameters as shown here:
4. 5. 6. 7. 8.
Select the Alphaij/Cij radio button. Enter an Alphaij = 0.2. Close the Fluid Package view. Return to the simulation environment by pressing the Return to Simulation Environment button. Open the stream view for Phenol/H2O. What phase(s) are present now? __________ What are the compositions? __________
The figures on the following page (figures 3 and 4) show the difference between the two sets of interaction parameters. Therefore, care must be exercised when simulating LLE as almost all the default interaction parameters for the activity coefficient models in HYSYS are for VLE.
22
23
23
24
Exercise 3
Benzene/Cyclohexane/H2O Ternary
This example again illustrates the importance of having interaction parameters and also discusses how the user can obtain parameters from regression. To illustrate the principles do the following: 1. 2. Open the case Ternary.hsc. Enter the following stream conditions for Benzene/CC6/H2O:
Conditions Temperature Pressure Composition Benzene H2O CC6 20 mole % 20 mole % 60 mole % 25C 1 atm
How many phases are present? __________ To provide a more precise simulation the missing CC6/H2O interaction parameter has to be obtained. Fortunately, some data is available at 25C giving the liquid-liquid equilibrium between CC6 and H2O. Using this data, and the regression capabilities within DISTIL, an AEA Technology Engineering Software conceptual design and thermodynamic regression product, you can obtain new interaction parameters. The temperature dependent Bij parameters are to be left at 0 and the alphaij term is to be set to 0.2 for the CC6/H2O. To implement these parameters, proceed with the steps on the following page.
24
25
1. 2. 3.
Return to the Basis Environment by pressing the Enter Basis Environment button. Open the Fluid Package view and move to the Binary Coeffs tab. Enter the data in the Aij matrix as shown here:
4. 5. 6. 7. 8.
Select the Alphaij/Cij radio button. Enter a CC6/H2O alphaij value of 0.2. Close the Fluid Package view. Return to the Simulation Environment. Open the stream Benzene/CC6/H2O. How many phases are now present? __________ What are the compositions? __________
The figures on the following page (figures 5 and 6) clearly show the behaviour of the ternary system. Without the regressed CC6/H2O binary, the thermodynamic property package incorrectly predicts the system to be miscible at higher CC6 concentrations. This prediction is correct given properly regressed CC6/H2O parameters.
References
1. Schreinemakers F.A.H., Z. Phys. Chem. 35, 459 (1900). 2. Hill A.E. and Malisoff W.M., J. Am. Chem. Soc. 48 (1926) 918.
25
26
26
Flowsheeting
Flowsheeting
Flowsheeting
Workshop
In evaporation, a solution consisting of a non-volatile solute and a volatile solvent is concentrated by the addition of heat. In multiple effect evaporation, the volatile solvent recovered from the first evaporator is condensed and used as a heat source for the next evaporator. This means that the second evaporator must operate at a lower temperature and pressure than the first evaporator. In this module you will simulate a series of three evaporators to concentrate a solution of sucrose/water. Each evaporator is modelled using a flash tank. You will convert the completed simulation to a template, making it available to connect to other simulations. On the next page, a Process Overview is shown. This represents the actual process. On the third page a Simulation PFD is shown. This represents the simulation as you will build it in this module. Building the simulation in this way allows more flexibility in the design.
Learning Objectives
Once you have completed this section, you will be able to:
Add and connect operations to build a Flowsheet Add and use logical operations, Sets and Adjusts Use the graphical interface to manipulate flowsheets in HYSYS Understand information propagation in HYSYS Convert HYSYS flowsheet to templates
Prerequisites
Before beginning this section you need to know how to:
Process Overview
Simulation PFD
Flowsheeting
1. 2.
Start a New Case and add a Fluid Package. Use Wilson/Ideal as the Property Package with the components Sucrose and H2O.
3.
Move to the Binary Coefficients page. Notice that the interaction parameters for Aij and Bij are empty.
The program warns you that the binary coefficients have not been determined and the model will assume values of zero. Answer OK to this message. Enter the Simulation Environment.
Flowsheeting
4.
In this cell
Name Note that the composition values for this stream are in Mass fractions. Double-click on the Mass Flow cell to enter these values. Vapour Fraction Pressure Flowrate Mass Fraction Surcose Mass Fraction H2O
5.
In this cell
Name Vapour Fraction Pressure Mass fraction H2O
What is the temperature of stream Feed? __________ What is the temperature of stream Steam? __________
Flowsheeting
Do this
Select Add Operation from the Flowsheet menu. Or Press the <F12> hot key. The UnitOps window displays.
Workbook
Open the Workbook and go to the UnitOps page, then click the Add UnitOp button. The UnitOps window displays.
Object Palette
Select Object Palette from the Flowsheet menu or press <F4> to open the Object Palette and double click the icon of the Unit Operation you want to add. Using the right mouse button, dragndrop the icon from the Object Palette to the PFD.
PFD/Object Palette
A series of three evaporators modelled as flash tanks (2 Phase separators) Three coolers
In this exercise, you will add each operation using a different method of installation.
Flowsheeting
Adding a Separator
The Evaporator is modelled using a Separator in HYSYS. The Separator will be added using the <F12> hot key. 1. Press the <F12> hot key. The UnitOps window displays:
2. 3. 4.
Select Separator from the Available Unit Operations list. Press the Add button. The Separator property view displays. On the Connections page enter the data as shown here:
Note: Drop down boxes, such as for Feed and Product streams, contain lists of available streams which can be connected to the operation.
Flowsheeting
Adding a Cooler
Add the first Cooler using the same method. 1. 2. Press the <F12> hot key The UnitOps window displays. Click the Category Heat Transfer Equipment and select Cooler.
3. 4.
Press the Add button. The Cooler property view displays. On the Connections page enter the information as shown below:
5.
10
Flowsheeting
6.
7. 8.
Go to the Worksheet tab. Specify a Vapour Fraction of 0 for the stream Condensate.
To completely define the separation we need to provide an energy flow. 9. On the Worksheet tab, enter a value of 2.42e4 kJ/h (2.29e4 Btu/hr) for the Energy stream q1. What is the flowrate of Water in the stream L1? __________ What is the temperature of the stream V1? __________ What is the mass flow of steam through the Cooler? __________
10
Flowsheeting
11
7. 8.
On the Parameters page specify a Pressure Drop of 0 kPa (0 psi). Go to the Worksheet tab and specify the Vapour Fraction of the stream C2 as 0. Close this view.
11
12
Flowsheeting
2.
Double click the Separator button on the Object Palette. The Separator property view displays.
Separator button
12
Flowsheeting
13
3.
4.
On the Parameters page, delete the pressure drop specification. The Separator should become unsolved; Unknown Delta P .
13
14
Flowsheeting
Add a Set operation by double-clicking on the Set icon in the object palette. Complete the Connections page as shown here:
3.
Go to the Parameters tab. Complete the view as shown below, if using field units the value for the offset will be -5 oF:
14
Flowsheeting
15
3.
There are two ways to connect the operation to a stream on the PFD: To connect using the
Attach Mode toggle button Insert Icon
Do this
Press the Attach Mode toggle button. Place the cursor over the operation. The Feed stream connection point is highlighted in dark blue. Move the cursor over the stream you want to connect. Press and hold the left mouse button. Move the cursor to the operation icon and release the mouse button.
<Ctrl> key
Press and hold the <Ctrl> key and pass the cursor over the operation. Place the cursor over the stream you want to connect. Press and hold the left mouse button. Move the cursor to the operation icon and release the mouse button and the <Ctrl> key.
15
16
Flowsheeting
4.
Double click on the Cooler icon on the PFD. The Cooler property view displays. Enter the data shown below:
5. 6.
On the Parameters page specify a Pressure Drop of 0 kPa (0 psi). Go to the Worksheet tab and specify the Vapour Fraction of the stream C3 as 0. Close this view.
3.
16
Flowsheeting
17
Set Operation
1. Add a Set operation and complete the Connections page as shown here:
2.
On the Parameters tab enter a value of 3 C (-5F) as the Offset, and 1.0 for the Multiplier.
17
18
Flowsheeting
Add an Adjust
The Adjust operation is a Logical Operation - a mathematical operation rather than a physical operation. It will vary the value of one stream variable (the independent variable) to meet a required value or specification (the dependant variable) in another stream or operation.
What is the weight percent of Water in stream L3? __________ It is desired to reach 15 weight% water in stream L3. The only parameter we have to manipulate this variable is the energy supplied to the first Effect. To meet a target concentration in L3 we can use an Adjust operation.
Adjust button
1. 2. 3.
Add the Adjust operation. The Adjust property view displays. Press the Select Var button in the Adjusted Variable group to open the Variable Navigator. From the Object list select q1. From the Variable list which is now visible, select Heat Flow.
Always work left to right in the Variable Navigator. Dont forget you can use the Object Filter when the Object list is large.
4. 5.
Press the OK cell to accept the variable and return to the Adjust property view. Press the Select Var button in the Target Variable group.
18
Flowsheeting
19
6. 7.
Select L3 and Comp Mass Frac (H2O) as the target variable. On the Connections page, enter a value of 0.15 in the Specified Target Value box.
When adjusting certain variables, it is often a good idea to provide a minimum or maximum which corresponds to a physical boundary, such as zero for pressure or flow.
8.
Switch to the Parameters tab, and enter 2000 kJ/h (1900 Btu/hr) as the Step Size.
Note the Tolerance and Step Size values. When considering step sizes, use larger rather than smaller sizes. The Secant method works best once the solution has been bracketed and by using a larger step size, you are more likely to bracket the solution quickly.
9.
Press the Start button to begin calculations. Note: once the case is solved (OK status), this button will disappear from the property view. To view the progress of the Adjust, go to the Monitor tab.
10.
19
20
Flowsheeting
What is the energy required to achieve a concentration of 85 wt% of sucrose in the product stream? __________ If you enter a step size too large for the energy HYSYS will not calculate because all the liquid has been flashed. You need to decrease the step size, enter a new value for q1 and restart the simulation. Note that HYSYS does not predict the formation of solids; this will have to be verified separately.
20
Flowsheeting
21
Unit Operations
Streams
21
22
Flowsheeting
Customize the PFD by performing the following: 1. 2. 3. Add a Title, Triple Effect Evaporator. Add a Workbook Table for the Material Streams in the simulation. Add a Table for stream L3.
Double clicking on a title with a "+" sign will open an expanded menu.
5.
Click OK. A new page, Cooler, containing only Cooler information is added to the WorkBook.
22
Flowsheeting
23
1. 2. 3. 4. 5.
Open the PFD. Select the Separator Effect 1. Object Inspect the Unit Operation. Select Show Table from the menu. The Vessel Temperature, Pressure, Liquid Molar Flow, and Duty are shown as defaults in the table. Object Inspect the table and insert the Vapour Mass Flow. Create two tables for the streams Feed and L3 showing the Component Mass Fraction of Sucrose and the Mass Flow.
6.
23
24
Flowsheeting
24
Flowsheeting
25
Provide the mechanism by which two or more cases can be linked together Can employ a different property package than the main case to which it is attached Provide a convenient method for breaking large simulations into smaller, easily managed components Can be created once and then installed in multiple cases
Before you convert a case to a template, it needs to be made generic so it can be used with gas plants of various flowrates. 1. 2. Delete the Flow and Composition of stream Feed. Choose Main Properties from the Simulation menu.
Note that once a case has been saved as a template, it can not be re-converted back into a normal simulation case.
3. 4. 5. 6.
Press the Convert to Template button. Press Yes to convert the simulation case to a template. Answer No to the question Do you want to save the simulation case. Save the template as 3-Effect-Evap.tpl.
25
26
Flowsheeting
26
Reactions
Reactions
Reactions
Workshop
This module demonstrates the HYSYS philosophy for building reactions within a simulation. HYSYS defines reactions within the context of the Fluid Package. This is important for a number of reasons:
By associating reactions with the fluid system rather than a specific reactor unit operation, the user is free to model reactions anywhere they might take place: in flash tanks, tray sections, reboilers etc., as well as in reactors. Reactions are defined and simply attached to the equipment piece. By defining the reactions up front in the fluid system, the reactions need only be defined once, rather than each time a reactor unit is built. Additionally, any changes to the basic reaction data are updated throughout the model automatically. By separating the reaction definitions from the unit operations or model topology, component and reaction data may be saved out as an independent file for use in another case. The user can then create a reaction library or database for future use, thereby eliminating a repetitive task, reducing engineering time and working more efficiently.
This module presents Steam-Methane Reforming.
Learning Objectives
Once you have completed this section, you will be able to:
Prerequisites
Before beginning this section you need to know how to:
Reactions
Note that Kinetic, Kinetic RevEqb, and LangmuirHinshelwood reactions can only be modelled in the CSTR, PFR and Separator.
Conversion - given the stoichiometry of all the reactions occurring and the conversion of the base component, calculates the composition of the outlet stream. Equilibrium - determines the composition of the outlet stream given the stoichiometry of all reactions occurring and the value of equilibrium constant (or the temperature dependant parameters that govern the equilibrium constant) for each reaction. Gibbs - evaluates the equilibrium composition of the outlet stream by minimizing the total Gibbs free energy of the reaction system. CSTR - computes the conversion of each component entering the reactor. The conversion in the reactor depends on the rate expression of the reactions associated with the reaction type. PFR - assumes that the reaction streams pass through the reactor in plug flow in computing the outlet stream composition, given the stoichiometry of all the reactions occurring and a kinetic rate constant for each reaction.
Note: The required input is different depending on the type of reactor that is chosen. CSTR and PFR reactors must have kinetic rate constants (or the formula to determine the kinetic rate constant) as inputs, as well as the stoichiometry of the reactions. All of the reactor types, except for the Gibbs type, must have the reaction stoichiometry as inputs. Reactions can also occur in the Tank, Separator, and Three Phase Separator Unit Operations if a reaction set is attached.
Process Overview
Reactions
Steam-Methane Reformer
Steam reformation of methane is often undertaken in conjunction with processes which require large amounts of hydrogen for instance hydrotreating, ammonia production, or any process which may utilise such a synthesis gas. Successive reaction stages take advantage of thermodynamics and catalysts to enhance the production of hydrogen at the expense of the by-product gases carbon monoxide and dioxide. Finally, remaining carbon oxides are converted back into methane as completely as possible to minimise CO and CO2 carryover into the downstream process. In the course of this problem, we will use two of the reactor types in HYSYS to simulate the reactors in the steam reformation train: the Conversion and Equilibrium reactors.
Reactions
Reaction CH4 +H2O ---> CO + 3H2 CO + H2O ---> CO2 + H2 CO + H2O <---> CO2 + H2 CO + 3H2 ---> H2O + CH4
Reactions in HYSYS are added in a manner very similar to the method used to add components to the simulation: 1. Open the Fluid Package and select the Rxns tab. Press the Simulation Basis Mgr button to open the Simulation Basis Manager view. Press the Add Comps button to open the component selection view. Here, we will select the components that we will have use in our reactions.
2.
Reactions
3.
Ensure that the FPkg Pool radio button is selected. Press the Add This Group of Components button. This moves the entire component list over to the Selected Reaction Components group.
4.
Return to the Simulation Basis Manager view and press the Add Rxn button. Choose Equilibrium as the type from the displayed list. Press the Add Reaction button and enter the necessary information as shown:
5.
This has defined the stoichiometry of the first reaction: CH4 +H2O ---> CO + 3H2 Note that reactants are defined with negative coefficients and products have positive coefficients; this is the HYSYS standard. All reactions must be defined this way. 6. Move to the Basis tab and click the K vs T Table radio button.
Reactions
7.
Temperature, C (F)
595C (1100F) 650C (1200F) 705C (1300F) 760C (1400F) 815C (1500F) 870C (1600F)
8.
Add the second Equilibrium reaction by selecting the reaction type as Equilibrium. CO + H2O ---> CO2 + H2
9.
For reaction 2, proceed as above and enter the following values for the Equilibrium Constant: Keq
1.7 1.5 1.3 1.2 1.1 1.0
Temperature, C (F)
675C (1250F) 705C (1300F) 730C (1350F) 760C (1400F 790C (1450F) 815C (1500F)
The name of this reaction can be changed to Reform 2. In the absence of a catalyst and at 430 C (800F), the rate of reaction number 1 in the Shift Reactor is negligible, and reaction number 2 becomes the only reaction. HYSYS contains a library of some of the most commonly encountered chemical reactions with their Equilibrium Constants. For the Shift Reactor, you will use the library values for the Equilibrium Constant.
Reactions
10.
Add the third Equilibrium reaction by selecting the reaction type as Equilibrium. On the Library tab, highlight the reaction with the form CO + H2O = CO2 + H2. Press the Add Library Rxn button. This adds the reaction and all of the reactions data to the simulation. Rename the reaction Shift1. Add a Conversion reaction for the reverse of reaction number 1. The reaction is: CO + 3H2 ---> H2O + CH4
11. 12.
13.
Move to the Basis tab and enter CO as the Base Component and enter 100 for the Co term.
14.
Once all four reactions are entered and defined, you can create reaction sets for each type of reactor. 1. On the Reactions tab of the Simulation Basis Manager, press the Add Set button. Name the first Set Reformer Rxn Set, and add Reform1 and Reform2.
Reactions are added by highlighting the <empty> field in the Active List group, and selecting the desired reaction from the drop down list. The
10
Reactions
2.
Create two more reaction sets with the following information: Active List
Shift1 Meth1
Name
Shift Rxn Set Methanator Rxn Set
Once all three reaction sets are added to the Fluid Package, you can enter the Simulation Environment and begin constructing the simulation.
10
Reactions
11
Enter...
1.0
Add a Mixer
In This Cell...
Connections Name Inlets Outlet Mix-100 Natural Gas / Steam Mixed Feed
Enter...
On the Parameters page, select the Set Outlet to Lowest Inlet radio button.
11
12
Reactions
Add a Heater
A Heater is needed to heat the feed to the reaction temperature. Add a Heater with the following information: In This Cell...
Connections Name Inlet Energy Outlet Parameters Delta P Worksheet Reform Feed, Temperature 760C (1400F) 10 kPa (1.5 psi) HX1 Mixed Feed HX1-Q Reform Feed
Enter...
12
Reactions
13
Enter...
Enter...
13
14
Reactions
1. 2. 3.
On the Parameters page, select the Heating radio button for the Duty. On the Worksheet tab, set the temperature of Reform Prod to 760C (1400F). On the Reactions tab, select the Reformer Rxn Set as the Reaction Set. This will automatically connect the proper reactions to this Reactor and the Reactor will solve. What is the % conversion of Methane? __________ How much CO and H2 were produced in the reaction; i.e. what is the molar flowrate of these two compounds in the reactors product stream? __________ & __________
Add a Cooler
Add a Cooler to cool the stream Reform Prod down to the Shift Reactors temperature. Enter the connections with the following information: In This Cell...
Connections Name Inlet Energy Outlet Parameters Delta P Worksheet Shift Feed 427C (800F) 24 kPa (3.5 psi) HX2 Reform Prod HX2-Q Shift Feed
Enter...
14
Reactions
15
Enter...
1. 2.
On the Parameters page, choose the Cooling radio button for the Duty. On the Reactions tab, select Shift Rxn Set as the Reaction Set. This will automatically connect the proper reactions to this reactor.
15
16
Reactions
Add a Cooler
Add a Cooler to cool the stream Shift Prod down to the Amine Plants temperature (the Amine Plant will be added next). Make the connections as follows: In This Cell...
Connections Name Inlet Energy Outlet Parameters Delta P Worksheet Amine Feed, Temperature 38C (100F) 35 kPa (5 psi) HX3 Shift Prod HX3-Q Amine Feed
Enter...
16
Reactions
17
Enter...
On the Splits page, specify the Fraction to Overhead as 1.0 for Methane, CO, Hydrogen and H2O. The "Fraction to Overhead" for the CO2 must be 0; this will force all CO2 to the bottom and all other components to the top.
17
18
Reactions
Add a Heater
A Heater is needed to heat the feed to the Methanator Reactor temperature. Add a Heater with the following information: In This Cell...
Connections Name Inlet Energy Outlet Parameters Delta P Worksheet Methanator Feed, Temperature 260C (500F) 21 kPa (3 psi) HX4 Sweet Gas HX4-Q Methanator Feed
Enter...
18
Reactions
19
Enter...
On the Reactions tab, choose the Methanator Rxn Set from the Reaction Set drop down menu.
What is the % conversion of CO? __________ How much Methane was produced in this reactor? __________
19
20
Reactions
Both the independent and the dependent variables are added to the Databook from the Variables tab.
20
Reactions
21
4.
Add the two remaining variables as shown below: Product and SET-1.
5. 6. 7.
Only user supplied variables can be selected as Independent Variables
Switch to the Case Studies tab. Press the Add button to add a new Case Study. Select the Multiplier of SET-1 as the Independent Variable, and select the remaining two variables as the Dependant Variables.
8.
21
22
Reactions
9.
Enter values for Low Bound, High Bound, and Step Size of 1.5, 4.0 and 0.25 respectively.
10. 11.
Press the Start button to begin the case study analysis. Press the Results button to view the calculations.
22
Reactions
23
Exercise
Using the Adjust Operation
In this exercise, we will use the Adjust operation in HYSYS to determine what temperature in the Shift 1 reactor will produce a molar ratio of hydrogen to methane of 10:1 in the final product. The Adjust operation in HYSYS is similar to a "steady state controller." It will manipulate one process variable (this variable must be specifiable) until another variable is equal to a set target value. In this case, we will manipulate the temperature of the outlet stream from the Shift 1 reactor until the desired molar ratio is achieved in the final product. Normally, the target variable can be selected using the variable navigator; however, this is not the case here. The molar ratio of methane to hydrogen is not a normal process variable; therefore, we must use the Spreadsheet operation to calculate this value and transfer its value to another location that can be selected using the variable navigator. The process for doing this will be given here: 1. Add a Spreadsheet operation to the flowsheet. We need to import two variable into this spreadsheet. There are several ways to do this; for this exercise, only one method will be illustrated, but keep in mind that this is only one possibility. Right click on any spreadsheet cell (an example would be B1). From the menu that appears, select Import Variable, and use the variable navigator to choose the Mole Fraction of Hydrogen in the Product stream. In another spreadsheet cell (say B2) import the Mole Fraction of Methane of the same stream. In a third spreadsheet cell, enter the ratio formula. If you used cells B1 and B2 in the two steps above, the ratio formula will look like this: +B1/B2. The current value of this ratio should be around 7. (Note: return the multiplier value for SET-1 to the original value 2.5 before continuing here.)
2.
3. 4.
23
24
Reactions
5.
Now, we add the Adjust operation. Add the Adjust operation to the flowsheet. Make the following connections: Enter...
Shift Prod - Temperature Sprdsht-1 -B3 (where "b3" is the cell that contains the formula result) 10
In This Cell...
Adjust Variable Target Variable
6.
In This Cell...
Method Tolerance Step Size Maximum Iterations
7.
Press the Start button to begin the calculations. The progress of the calculations can be seen on the Monitor tab. What is the reactor temperature that produces the desired molar ratio? ________________
24
Reactions
25
Challenge
A new application of the Product stream has been found. However, it requires that the amount of methane in the stream be less than 1% of the amount of hydrogen. In other words, the molar ratio must be increased to 100.
What happens when the Specified Target Value is changed to 100? __________ What else can be changed to improve the composition of the Product stream? Hint: look at the beginning of this process; remember that the products of a process are influenced by the inputs. __________
Change the multiplier of the Set-1 operation to 5. Is the Adjust operation now able to converge with a target value of 100? __________
25
26
Reactions
26
Column Operations
Column Operations
Column Operations
Workshop
In this module, you will simulate an Ethanol Plant. You will get more practice with the Column unit operation of HYSYS by:
modeling columns with side draws adding a column with real trays.
Typically an ethanol fermentation process produces mainly ethanol plus several by-products in small quantities: methanol, 1-propanol, 2propanol, 1-butanol, 3-methyl-1-butanol, 2-pentanol, acetic acid, and CO2. The CO2 produced in the fermentation vessel carries some ethanol. This CO2 stream is washed with water in a vessel (CO2 Wash) to recover the ethanol, which is recycled to the fermenter. The ethanol rich product stream from the fermenter is sent to a concentration (Conc) tower. An absorber with a side vapour draw can be used to represent this tower. This vapour draw is taken from Stage 2 so as to have an azeotropic ethanol product with less methanol contamination. The top vapour is fed to a light purification tower (Lights) where most of the remaining CO2 and some methanol is vented. The feed to the Rectifier (Rect) is the bottoms product of the Lights purification tower and the vapour draw from the concentration tower. The Rectifier is operated as a conventional distillation tower. Methanol concentrates towards the top stages, so a small distillate draw is provided at the condenser. Also, a small vent for CO2 is provided at the condenser. Another interesting point is the concentration of heavy alcohols in the interior of the Rectifier. These alcohols are normally referred to as Fusel oils. Fusel oils are a mixture of propanols, butanols and pentanols, with a potential value superior to that of ethanol. Accumulation of fusel oils in the Rectification Tower can cause the formation of a second liquid phase and subsequent deterioration of performance for these trays, so small side liquid draws of fusel oils are installed on the rectifier to avoid this problem.
Column Operations
Learning Objectives
Once you have completed this section, you will be able to:
Model a distillation column with side draws Add specifications to a column Add efficiencies to a column
Prerequisites
Before beginning this section, you need to be able to:
Process Overview
Column Operations
Column Overviews
CO2 Wash
Concentrator
Lights
Column Operations
Rectifier
Column Operations
3.
Enter...
Column Operations
Conditions Stream Name Temperature Pressure Mass Flow Composition - Mass Fraction Ethanol H2O CO2 Methanol Acetic Acid 1-Propanol 2-Propanol 1-Butanol 3-M-1-C4ol 2-Pentanol Glycerol 0.0637 0.8759 0.0601 4.433e-5 1.026e-5 2.802e-5 2.808e-5 2.505e-5 9.727e-5 2.457e-5 3.141e-5 FromFerm 30C (86F) 102 kPa (15 psia) 46 720 kg/h (1.03e+05 lb/hr)
Conditions Stream Name Temperature Pressure Mass Flow Composition - Mass Fraction H2O 100% Steam A 140C (284F) 102 kPa (15 psia) 11 000 kg/h (24,250 lb/hr)
Column Operations
Enter...
10
Column Operations
10
Column Operations
11
Column Types
HYSYS has several basic Column Templates (pre-constructed column configurations) which may be used for installing a new Column, allowing HYSYS to model several different separation processes. This module will introduce the Absorber. Subsequent modules will present different columns so that, by the end of this course, most types of columns will have been used.
Initial Estimates
In order to calculate, the Column solver in HYSYS requires usersupplied estimates ranging from condition parameters to feed and draw locations. These data can be supplied in several ways. The first interface when you select a Column requires values for the Number of Trays, Reflux, Pressure, and so on. In the Column Solver, on the Work Sheet tab, Conditions page, data can also be supplied. On the Design tab, Specs page, HYSYS allows you to choose from a library of specifications gathered in the Column Specification Types window, activated when you press the Add button. Specification Types can be supplied as Estimates or as Active specifications. Only Active specifications fill the Degree of Freedom of the Column which must be zero for the solver to calculate. Inactive specifications (Estimates) are used only as initial estimates for the convergence algorithm and never use a degree of freedom. Alternatively, Estimates can be supplied on the Estimates page under the Parameters tab. However, they will not appear on the Monitor, and hence cannot be set as Active specifications. If the user does not have initial estimates HYSYS generates them. However for chemical systems, it is recommended to use the HYSYS Estimate Generator tool. In the Column Environment, on the Parameters tab, Solver page, there is the Initial Estimate Generator
11
12
Column Operations
Parameters box. By checking the box, the IEG will perform iterative flash calculations to provide the initial estimates for the temperature and composition profiles. No user estimates are required when the Iterative IEG check box is activated.
Add an Absorber with the information shown here on the first Connections page.
12
Column Operations
13
2.
On the Pressure Profile page, enter the following values. If using field units, the values for the Top and Bottom stage pressures will be 14 and 15 psia, respectively.
3. 4.
Press the Done button to complete the column installation. Press the Run button on the column property view to converge the column.
13
14
Column Operations
Concentrator
This tower removes most of the Methanol from the Fermentor products. The Concentrator is an Absorber with a side vapour draw. In This Cell...
Connections Column Name No. of Stages Feed Conc 17 Beer (Top Stage) Steam A (Bottom Stage) Ovhd Vapour Bottoms Liquid Vapour Side Draw Pressure Top Stage Pressure Bottom Stage Pressure Temperatures Stage 1 Temp Estimate Stage 17 Temp Estimate 90C (195F) 110C (230F) 100 kPa (14.5 psia) 102 kPa (15 psia) To Light Stillage A Rect Feed, Stage 6
Enter...
By default, whenever a side draw stream is added to a column, HYSYS automatically creates a Draw Rate specification for that stream. This eliminates the additional DOF that adding the side draw stream would normally produce. However, in this case, we do not need a Draw Rate specification for this stream; therefore, we need to replace the Draw Rate specification that HYSYS added automatically with one that we will define to meet our simulation needs.
14
Column Operations
15
1.
Go to the Specs page on the Design tab of the column property view.
2. 3.
Press the Add button in the Column Specifications group to create a new specification. Select the specification you want from the list that appears.In this case, we want to add a Column Component Recovery specification.
4.
15
16
Column Operations
5.
This specification will set the ratio of ethanol recovered in the specified stream compared to the amount of ethanol fed to the column. Here, we have set this ratio at 0.95, meaning that 95% of the ethanol supplied to the column is recovered in the Rect Feed stream. We are not concerned about where the other 5% goes, although it must exit the column in one of the other product streams. 6. With the columns DOF (degrees of freedom) at 0, and we need to set which specifications should be active and which HYSYS can use as estimates only. On the Monitor page of the Design tab, ensure that the Ethanol Recovery specification is active and that all others are inactive. We can now start the column runner and allow HYSYS to find a solution for this column. Press the Run button now to begin the column solver. Save your case.
7.
8.
16
Column Operations
17
Lights
The Lights Tower is a purification tower. Add the Refluxed Absorber column and enter the following data.
Refluxed Absorber button
In this cell...
Connections (Input Expert Page 1) Column Name No. of Stages Bottom Stage Inlet Condenser Type Bottoms Liquid Condenser Energy Overhead Outlets Pressure (Input Expert Page 2) Delta P Condenser Pressure Bottom Stage Pressure Temperatures (Input Expert Page 3) Not Required Specifications (Input Expert Page 4) Vapour Flow Reflux Ratio
Enter...
17
18
Column Operations
The Lights column requires 1 more specification; currently the DOF = 0, but we do not want to use these specifications to converge the column. The Reflux Ratio of 5 is only an estimate, and we will need to add another specifications that HYSYS will use to solve the column. Add a Column Component Fraction specification with the following information: In this Cell...
Name Stage Flow Basis Phase Spec Value Component
Enter...
Ethanol Purity Condenser Mass Fraction Liquid (default) 0.88 Ethanol
18
Column Operations
19
Rectifier
The primary product from a plant such as this would be the azeotropic mixture of ethanol and water. The Rectifier serves to concentrate the water/ethanol mixture to near azeotropic composition. The Rectifier is operated as a conventional distillation tower. It contains a partial condenser as well as a reboiler.
Distillation column button
Add a Distillation Column and enter the data shown here. In This Cell...
Connections Column Name No. of Stages Inlet Streams Rect 59 ToRect, Stage 38 RectFeed, Stage 44 Condenser Type Overhead Vapour Overhead Liquid Bottoms Liquid Condenser Energy Reboiler Energy Optional Side Draws Stream 1st Prod, Type L, Stage 2 Fusel, Type L, Stage 37 Pressures Condenser Reboiler Specifications Reflux Ratio Ovhd Vap Rate Distillate Rate 7100 4.3 kg/h (9.5 lb/hr) 2.0 kg/h (4.4 lb/hr) 100 kPa (14.5 psia) 105 kPa (15 psia) Partial RectVap RectDist Stillage B RectCond Q Rect Reb Q
Enter...
19
20
Column Operations
Specification 2
Fusel Rate 2 kg/h (5 lb/hr)
2.
Add one Column Component Fraction specification with the following information: Enter...
Product Purity Stream (radio button) 1st Prod Mass Fraction 0.95 Ethanol
In This Cell...
Name Target Type Draw Basis Spec Value Component
3.
Reflux Ratio Ovhd Vap Rate Distillate Rate Fusel Rate Product Purity
20
Column Operations
21
4.
On the Efficiencies page of the Parameters tab, add Stage Efficiencies of 0.55 for all the stages except feed and product stages (2, 37, 38, 44, and 59), where it must remain at 1. You can save time during this step by entering the value (0.55) in the Eff. Multi. Spec cell, selecting a number of cells on the right, and pressing the Specify button. On the Solver page of the Parameters tab, set the Damping Factor to Adaptive and ensure that the Azeotropic check box is checked. Due to the azeotropic nature of ethanol and water, we need to have this box checked so that HYSYS is able to handle this situation. Setting the damping factor at adaptive allows HYSYS to adjust this parameter to help ensure that the solver can reach a solution. Press the Run button to converge the column. If the column does not converge quickly, stop the solver and increase the Fusel draw rate spec value to 10 kg/h (20 lb/hr), and try again. Once the column has converge, the Fusel draw rate can be returned to its original level. What is the mass fraction of Ethanol in the "1st Prod" stream when the column is converged? ____________
The stage efficiencies for all feed and product stages must remain at 1. The HYSYS column solver is not able to handle non-ideal feed and draw stages at this time.
5.
6.
Due to the fact that HYSYS calculation of non-ideal trays does not take into account side-streams, efficiencies on stages with feeds, draws (reboilers and condensers included) and equipment connected to columns, have to be left at their default value of 1.0.
21
22
Column Operations
the stage by stage composition profile: 1. 2. 3. Move to the Performance tab in the Column Runner. Go to the Profiles page. Highlight Composition in the Tray by Tray Properties group Press the View Graph button. In this view we can see the compositions on each tray.
We wish to view the 1-Propanol composition on Tray 37. The initial graph will not contain this component. To modify the components in this view, you must press the Properties button. This will open the Properties View: 1. 2. Check the 1-Propanol box in the Components group. Close this view to return to the graph.
Stage 37 has the highest concentration of 1-Propanol (which has the greatest concentration among the heavy alcohols). Therefore, we have selected the appropriate stage for the Fusel draw.
22
Column Operations
23
Optional Challenge
Replacing the Kettle Reboiler with a Thermosyphon Reboiler
In this portion of the module, we will replace the default kettle type reboiler on the Rectifier column with a "Thermosyphon" type reboiler. Thermosyphon reboilers are commonly used in this type of application, and it is often desired to use HYSYS to simulate the operation of the column with this type of reboiler as it will provide a more accurate simulation of the actual physical set-up of the equipment. In order to change the kettle reboiler to a thermosyphon, we will have to add one additional stage to the column. This additional stage functions as a liquid sump that allows liquid to be drawn from the column and liquid to be fed to the column from the reboiler. With thermosyphon reboilers, both liquid and vapour are returned to the column rather than just the vapour that is returned to the column with standard kettle reboilers. Following the steps below will allow you to replace the standard kettle reboiler with a thermosyphon type reboiler. 1. Change the number of stages in the column to 60. This value can be accessed from the Connections page of the columns property viewer. Enter the Column Environment by pressing the Column Environment button on the property viewer. Disconnect the "Stillage B" stream from the reboiler and reattach it as a material withdraw stream from stage 60. Disconnect the "Boilup" stream from stage 60 and reattach it to stage 59. You will need to expand the trays shown by the column icon in order to attach the stream to this tray. Right-click on the tray section, and select Show Trays. Use the Radio button to select Full Expansion, or scroll down and check to Show box for stage 59. Attach the reboilers liquid product outlet (formerly the location of "Stillage B" stream) to the inlet point on stage 60.
2. 3. 4.
5.
23
24
Column Operations
6.
7.
Adding another Side Draw to the column (Stillage B) means that HYSYS has created another Draw Rate specification and the DOF remains at 0. Add a Column Vapour Fraction specification to the column with the following information: Enter...
Reboiler V.F. Reboiler 0.9
8.
In This Cell...
Name Stage Spec Value
9.
Activate this new specification, and deactivate the Draw Rate specification that HYSYS created. The column should resolve automatically; if it does not, press the Run button to allow the column to converge.
24
Workshop
Ethylene glycol has many industrial uses: a feed stock for polyester resins, a hydrate inhibitor in natural gas pipelines, an all-weather antifreeze and coolant, or an industrial solvent. Ethylene oxide and water are fed to a reactor to produce ethylene glycol. The product stream is fed to a distillation column where the excess water and ethylene oxide are stripped off the top and the ethylene glycol is the bottom product.
Learning Objectives
After completing this module, you will be able to:
Simulate CSTR reactors Simulate an Ethylene glycol plant Use the recycle operation in HYSYS Choose suitable locations for recycles
Prerequisites
Before beginning this module, you need to be able to:
Add and define the simulation basis, including components, property packages, and reactions. Add streams and operations to a simulation.
Process Overview
Column Overview
These components can be hard to find in the long list of available components in HYSYS. Use the Formula filter and type the chemical formulas given above into the Match Cell. This will help you find the desired components quickly and easily. Go to the Binary Coeffs tab. Select UNIFAC VLE as the Coeff Estimation method to estimate the missing binary coefficients and press Unknowns Only. This will estimate the coefficients for the ethylene oxide / ethylene glycol pair.
3.
In the Stoichiometry and Rate Info group, define the reaction stoichiometry of the reaction previously stated (-1 for reactants, and 1 for product comps).
4.
In This Cell...
Basis Basis Base Component Rxn Phase Basis Units Rate Units Parameters Forward Reaction A E
5.0e+06 5.0e+04
No reverse reaction is defined in this example. 5. Return to the Simulation Basis Manager by closing the Kinetic Reaction window. Return to the Rxns tab of the Fluid Package. Press the Add Set button to add the Global Rxn Set to the Current Reaction Sets group. Close the Fluid Package view. Press the Enter Simulation Environment button.
6.
Enter...
Conditions Name Temperature Pressure Molar Flow Composition C2Oxide H2O EGlycol 0.0 1.0 0.0 Water Feed 25C (77F) 120 kPa (17.4 psia) 150 kgmole/h (330 lbmole/hr)
CSTR button
Enter...
1. 2.
On the Reactions tab, select the Global Rxn Set and Rxn-1 as the Reaction. Specify the temperature of stream Rx Liquid to be 65C (150F).
From the Reaction results, what is the % Conversion of Ethylene Oxide? __________
Enter...
10
In general, a Recycle operation is required for material transfer and not for thermal recycles. Always supply a guess or starting point for the outlet stream of the Recycle, never the inlet. A guess close to the solution will result in a faster convergence time.
HYSYS uses the conditions of the assumed stream (outlet) and solves the flowsheet up to the calculated stream (inlet). HYSYS then compares the values of the calculated stream to those in the assumed stream. Based on the difference between the values, HYSYS modifies the values in the calculated stream and passes the modified values to the assumed stream.
The calculation process repeats until the values in the calculated stream match those in the assumed stream within specified tolerances.
10
11
Install a Recycle block operation. The inlet stream is the Distillate and the outlet stream should be mixed with the pure Water Feed stream, before entering the Reactor. Delete the specified molar flow rate of the Water Feed stream. This value will be back-calculated from the outlet of the mixer. Specify the molar flow of the mixer outlet stream, Water to Reactor, as 150 kgmole/h (330 lbmole/hr). Once the flow rate in this stream is set, HYSYS will automatically calculate the flowrate of the Water Feed stream. If we had not deleted the specified value, HYSYS would report a consistency error, because a the two values would be in conflict with each other. What value does HYSYS calculate for the flowrate of the stream "Water Feed"? __________
11
12
Parameters tab
Tolerance page
The smaller the tolerance value, the tighter the tolerance. Generally it is a good idea to start with the default tolerance until you have a converged solution and then tighten the tolerance.
HYSYS allows you to set the convergence criteria or tolerance for each of the Recycle variables. In this example, leave everything at the default.
Numerical Page
This page contains the options for the two types of Recycles, Nested and Simultaneous.
Nested - this type of recycle gets called whenever it is encountered during calculations. Use this type if you have a single Recycle or if you have multiple recycles which are not connected. Simultaneous - all recycles set at Simultaneous will be called at the same time. Use this option if your Flowsheet has multiple inter-connected recycles.
Change the Maximum Iterations number to 20.
12
13
Monitor tab
This page displays convergence information as the calculations are performed. Any variable that changes between iterations is displayed in this table.
Worksheet tab
The Recycle WorkSheet page displays the Inlet and Outlet stream information. In this instance, notice that the Inlet and Outlet streams have the same values. This is because before we installed the Recycle, the Inlet stream was already calculated by HYSYS. When the Recycle was connected, the known Inlet conditions were automatically passed to the Outlet stream to serve as the starting guess.
13
14
Exercise 2
Set up an Adjust operation to make sure the molar flow of Ethylene Glycol in the Rx Liquid stream is equal to 110 kgmole/h (240 lbmole/ hr), by adjusting the EOx Feed molar flow with a step size of 1 kgmole/h (2 lbmole/hr). What EtOx feed rate is required to produce the specified molar flow of Ethylene Glycol? __________
14
15
Advanced Modelling
Because the Recycle operation is a mathematical representation of a physical process, its location in a simulation is a particularly important one. The location of the tear stream can often determine success or failure to converge a recycle
A very poor choice of a tear stream is a stream with an Adjust operation controlling one of its variables.
15
16
Recycle Exercises
Choosing the Right Location
When installing Recycle operations in a HYSYS simulation, it is vital that right location for the operation be chosen. Several guidelines were given on a previous page, and several different problems will be given here. Note that some of these flowsheet may require more than one Recycle operation.
Flowsheet 1
Where should the Recycle be placed in this flowsheet and why? Assume that you know the following information:
Temperature and Vapour Fraction of "Cond Out". Pressure drop and Duty of "Chiller" operation. Pressure of "Chiller Out" stream. Pressure drop of "Condenser" Operation. The Mixer is set to "equalize all."
16
17
Flowsheet 2
Where should the Recycle be placed in this flowsheet and why? Assume that the Feed is fully defined, Shell and Tube Side pressure drops are known, as well as the Column Feed temperature.
Flowsheet 3
Where should the Recycle be placed in this flowsheet and why? Assume the Feed is completely defined, shell and tube side pressure drops for E-100 and E-101, and the temperatures of streams 3 and 4 are known.
17
18
Flowsheet 4
Where should the Recycle be placed in this flowsheet and why? Assume the Feed is completely defined, and the shell and tube side pressure drop for E-100 is known.
18
Aromatic Stripper
Aromatic Stripper
Aromatic Stripper
Workshop
This example demonstrates a typical application of the recycle operation. An aromatic stripper to remove Benzene and Toluene from water is simulated with the help of a reboiled absorber. The column has two feeds: the main column feed and a reflux, which is the recycled overhead vapour after being cooled and going through a three phase separator. This example will also illustrate the flexibility of HYSYS that allows the user to use a different Fluid Package in the column subflowsheet from the one in the main flowsheet. This allows the user to use a property package tailored towards a certain behaviour in the Main Flowsheet and another package tailored towards a different behaviour in the Column environment. Here, the feed stream is mostly water that is laced with a small amount of benzene and toluene. The objective of this process is to produce two product streams, one of virtually pure water, and the second, a concentrated stream of aromatics.
Learning Objectives
Once you have completed this section, you will be able to:
Use different sets of Binary Coefficients. Use different Fluid Packages within the same simulation. Model Three-Phase separators.
Process Overview
Column Overview
Aromatic Stripper
VLE Case
1. Go to the Binary Coefficients tab. For this case the default values for Aij and Alphaij are used (Bij is empty).
LLE Case
1. 2. 3. 4. Return to the Fluid Pkgs tab of the Basis Manager. Use the Copy button to make a copy of the Arom Strip Fluid Package. Name the new Fluid Package Condenser. Go to the Binary Coefficients tab. Here, we will enter parameters that have been specifically regressed for these components. Enter the values given on the next page.
Aromatic Stripper
The Activity Coefficients for Aij, Bij, and Alphaij are shown below: Aij Interaction H2O
H2O Benzene Toluene -1973.516 -1973.516 3.389
Benzene
11090.13
Toluene
4788.593 -14.555
Benzene
-37.12
Toluene
-7.364 0.00
Benzene
0.038
Toluene
0.200 0.303
Aromatic Stripper
5.
Return to the Basis Manager, Fluid Packages tab. In the Flowsheet - Fluid Pkg Associations group, change the Case (Main) Flowsheet to Condenser.
6.
Aromatic Stripper
Enter...
Stream Name Temperature The information supplied here is only an initial estimate. Eventually, this stream will be part of the recycle loop. Pressure Molar Flow Composition - Mole Fraction H2O Benzene Toluene
Reflux 35C (95F) 240 kPa (35 psia) 10 kgmole/h (22 lbmole/hr)
1.0 0 0
Aromatic Stripper
Add A Mixer
Install a Mixer with the following values: In this cell...
Connections Name Inlets Outlet MIX-100 Feed, Reflux Strip Feed
Enter...
Enter...
1.
Go to the Specs page and specify a Component Mass Fraction of 0.00001 for Benzene and Toluene for the second stage. On the Monitor page, make the new specification Active. On the Parameters - Profiles page enter temperature estimates for stages 1 and the Reboiler of 100C (212F) and 125C (260F)respectively. Close the view and enter the Basis Environment.
2.
3.
10
Aromatic Stripper
4.
Assign Arom Strip as the Fluid Package to use for the column.
5.
Note: A message will appear warning you about the P-H Flash as a transfer basis. Because we are now using two fluid packages with different interaction coefficients, the program allows you to select the type of flash that will occur between the two fluid packages, i.e., between the column overhead vapour product (using VLE data) and the condenser unit (using LLE data). Use the default flash, P-H, and press the Return to Simulation Environment button again. 6. Open the Stripper property view and press the Run button. Close the view once it has converged.
10
Aromatic Stripper
11
Add a Cooler
In This Cell...
Connections Name Inlet Energy Outlet Parameters Delta P Worksheet Vapour Fraction, Condensed 0.0 30 kPa (4 psi) Condenser Vapour Cond Q Condensed
Enter...
Enter...
11
12
Aromatic Stripper
Add a Pump
In This Cell...
Connections Name Inlet Outlet Energy Parameters Delta P 40 kPa (6 psi) Pump Heavy Liquid To Recycle Pump Q
Enter...
Enter...
12
Aromatic Stripper
13
Can you see the benefit of defining a different fluid package for the column and main environments? __________ Can you think of any other situations where this feature could be used? ______________
13
14
Aromatic Stripper
14
The Optimizer
The Optimizer
The Optimizer
Workshop
Fast track to page 9.
In this example, a simple distillation column to separate Tetrahydrofuran (THF) from Toluene is simulated. The object of the exercise is to select the product specifications such that profit is maximized. A special tool in HYSYS, the Optimizer, will be used to find the optimum operating conditions.
Learning Objectives
Once you have completed this section, you will be able to:
Use the Optimizer tool in HYSYS to optimize flowsheets Use the Spreadsheet to perform calculations
Prerequisites
Before beginning this section you need to be able to:
Process Overview
Column Overview
The Optimizer
2.
Binary interaction parameters are used to correlate lab data with a thermodynamic model. When lab data is not available, you can estimate the parameters with HYSYS UNIFAC estimation method.
Enter...
The Optimizer
Enter...
Enter...
The Optimizer
These two specifications should be Active. The DOF for the column should now be 0. The column should now solve automatically. If it does not, press the Run button to start the solver.
The Optimizer
This completes the changing of the tolerances. We are now ready to begin to optimize the column.
The Optimizer
Restrictions on the Optimizer only available for SteadyState calculations it cannot be used in Templates.
Primary Variables - these are flowsheet variables whose values are manipulated in order to minimize (or maximize) the objective function. You set the upper and lower bounds for the primary variables, which are used to set the search range. Objective Function - this is the function which is to be minimized or maximized. The function has to be defined within the Spreadsheet. This allows the user a great deal of flexibility in defining the function. Constraint Functions - inequality and equality functions are defined in the Spreadsheet. In solving the Objective Function, the Optimizer must also meet any constraints that are defined by the user.
10
The Optimizer
In our column example, the Profit Function/Cost Function (sometimes referred to as the Objective Function, Performance Criterion or Performance Index) requires calculating a net profit for the column. The Profit Function is a function of the revenue generated from desired products THF and Toluene, within the limit of product purity constraints. While increased profits is directly linked to increased production of the desired product, plant profitability is generally offset by operating costs. In our column, operating costs are associated with the column utility requirements for the reboiler and condenser. In general a profit function is given by: PF =
F pMp FfMf OC
p f
where: PF = Profit Function/time = Product Flows * Product Values = Feedstock Flows * Feedstock Costs = Operating Costs
FpMp FfMf
OC
Profit = (THF Product + Toluene Product) Heating Cost Cooling Cost Feed Cost Typically, the economic model includes operating constraints (equality or inequality constraints or equations). The operating constraints comprise the model of the process or equipment. In this case, we have no process constraints.
Which variable can we change to affect the Revenue?________ To invoke the Optimizer, select Optimizer under Simulation in the Menu Bar, or press <F5>.
10
The Optimizer
11
Variables tab
When you invoke the Optimizer for the first time, you are placed on the Variables tab. On the Variables tab you define the Adjusted (Primary) Variables to be used in the optimization. In this case, our Primary Variables are the purity of our products, THF and Toluene. 1. Press the Add button to add the first variable, T-100, Spec Value, THF Purity Spec.
2. 3.
Set the Upper Bound at 0.9, and the Lower Bound at 0.90. Add the second variable, T-100, Spec Value, Toluene Purity Spec, with the same bounds as above.
11
12
The Optimizer
The Spreadsheet is an operation and thus the Spreadsheet cells get updated when Flowsheet variables change
Object Inspection - object inspect (secondary mouse button) the cell which you want to Import into, or Export from. From the Menu that appears, select Import Variable or Export Formula Result. Then, using the Variable Navigator, select the variable you wish to import or export. Connections page tab - select the Add Import or Add Export button. Then, using the Variable Navigator, select the variable you wish to import or export. Drag n Drop - using the secondary mouse button, click the variable value (from the WorkBook or Property View) you wish to import, and drag it to the desired location in the Spreadsheet. If you are exporting the variable, drag it from the Spreadsheet to the exported location.
12
The Optimizer
13
Adding Formulas
Complex mathematical formulas can be created, using syntax that is similar to conventional Spreadsheets. Arithmetic, logarithmic and trigonometric functions can be performed in the Spreadsheet. All common functions must be preceded by a + symbol. Special Functions must be preceded by the @ symbol. Some of the functions available are:
Press the Function Help button to view the Available Spreadsheet Functions and Expressions.
Addition (+): +A1+A2 Subtraction (-): +A1-A2 Multiplication (*): +A1*A2 Division (/): +A1/A2 Power (^): +A1^3 Absolute Value (@ABS):@ABS(A1) Square Root (@SQRT):@SQRT(A1) Natural Log (@ln):@ln(A1) Exponential (@exp):@exp(A1)
The following variables need to be imported into the Spreadsheet. Text entries are added to the spreadsheet by typing them in the appropriate cell. Cell...
B1 B2 B3 B4 B5 B6
Object...
Cond Q Reb Q THF THF Toluene Toluene
Variable...
Heat Flow Heat Flow Mass Flow Comp Mass Frac THF Mass Flow Comp Mass Frac Toluene Mass Flow
B7
Feed
The quickest way of importing variables is to right-click on the desired cell. Select Import Variable, and use the variable navigator to locate the desired variable. Use this method to import the variables above now.
13
14
The Optimizer
Enter the following constants on the spreadsheet. The comments can be added, if desired. Cell
D1 D2 D7
Value (Field)
138 ($/MMBtu) 216 ($/MMBtu) 0.024 ($/lb)
Comment
Cooling Cost Heating Cost Feed Cost
Cell
D4
Equation (Field)
+0.151*b4^3 ($/lb)
Description
THF Price (corrected for purity) Toluene Price (corrected for purity)
D6
+0.163*b6^3 ($/kg)
+0.074*b6^3 ($/lb)
Note: the prices of the products decrease as the impurities increase. The Objective Function is placed in Cell D8. The equation is:
You can change the Variable Type to Unitless for dollar value variables.
+(b3*d4+b5*d6)-b7*d7-(b1*d1+b2*d2)/3600 Pay special attention to the units in this equation. If using field units, you may have to add an additional term to this equation to convert between hours and days. What is the value of cell D8, the Profit? __________
14
The Optimizer
15
Functions tab
The Functions tab contains two groups, the Objective Function and the Constraint Functions. However, in this example we do not have constraint functions. 1. In the Cell area of the Objective Function group, specify the Spreadsheet cell that defines the Objective Function. Use the drop down menu in the Edit Bar to select the appropriate cell. The Current Value of the Objective Function will be provided. Select the Maximize radio button.
2.
15
16
The Optimizer
Parameters tab
The Parameters tab is used for selecting the Optimization Scheme.
For more information on the Optimization Schemes, refer to the manual section 17.2 or the on-line Help.
Box - Handles inequality constraints but not equality constraints. It generally requires a large number of iterations to converge on the solution. SQP - Sequential Quadratic Programming, handles inequality and equality constraints. Considered by many to be the most efficient method for minimization. Mixed - Handles inequality constraints only. It is a combination of the Box and SQP methods. It starts the minimization with the Box method using a very loose convergence tolerance. After convergence, the SQP method is used to locate the final solution. Fletcher Reeves - Does not handle constraints. Efficient method for general minimization. Quasi-Newton - Does not handle constraints. Similar method to Fletcher Reeves.
1. 2. Select the Mixed method as the Scheme. Use the defaults for Tolerance and Number of Iterations.
Monitor tab
The Monitor tab displays the values of the Objective Function and Primary Variables during the Optimizer calculations. 1. Move to the Monitor tab and press the Start button to begin the optimization.
16
The Optimizer
17
Optimized Case
Reb duty
Profit
17
18
The Optimizer
Exercise 1
We are going to introduce a constraint on the liquid volume flow of the stream THF and examine how it affects the results, profit and products purities. First, the case must be set back to its state before the optimization. 1. 2. 3. Go to the column subflowsheet. On the Design tab, Monitor page, enter the initial value of 0.95 for the THF and Toluene purity specifications. Re-run the column.
The constraint on the liquid flow is that it must not exceed 1.85 m3/h (65.5 ft3/hr). The THF Liquid Flow must first be imported into the spreadsheet (use an empty cell), and the constraint value must be written in the spreadsheet. Remember to write the comments next to the values so that they can be understood. 1. 2. 3. On the Functions tab of the Optimizer press the Add button. Type in the reference of the cell where the variable constraint is located. In the Cond column, use the scroll down arrow to find the less than sign. Type in the reference of the cell where the value of the constraint is written. Go to the Monitor tab and start the Optimizer.
4.
The constraint values are positive if inequality constraints are satisfied and negative if inequality constraints are not satisfied.
18
The Optimizer
19
What differences, if any, does the constraint make to the first optimized solution? Fill in the following table: Optimized Case Optimized Case 2
Base Case
THF Mass Flow THF Purity Toluene Mass Flow Toluene Purity Cond Duty Reb Duty Profit 1650.8 kg/h 0.95 2049.2 kg/h
19
20
The Optimizer
Exercise 2
Here, we are going to model the reboiler with a steam-heated shell and tube heat exchanger. The heat exchanger will be modelled with 115 psia steam and the maximum flow of steam available to the reboiler is limited to 840 kg/h (1850 lb/hr). (Note that there are a few approaches that can be taken with the heat exchanger modelling so two of the possibilities are listed). The cost of the 115 psia steam is 0.682 $/kWh ($200/MMBtu).
Use the Mixed optimization scheme for this exercise.
1. 2. 3.
Add Water as a component. This must be done in the Basis Environment. Open the Columns Property viewer; on the Monitor page, reset the THF and Toluene purity specifications to 0.95. Add a new internal stream (on the Flowsheet tab), ToReb with the following attributes: Enter...
Liquid Total 10 Yes
In This Cell...
Type Net/Total Stage Export
4. 5.
Run the column. Return to the Main Environment (notice that the "To Reb" stream is now shown on the PFD. Add a heat exchanger. The stream ToReb is the shell side feed and steam is on the tube side. Set the Shell and Tube side pressure drops to 0. Specify the Steam inlet conditions at Vf = 1.0; P = 790 kPa (115 psia); Flow = 770 kg/h (1700 lb/hr). The outlet steam is at its bubble point (Vf = 0.0). Add a Duty Spec to the Heat Exchanger but do not specify a value (pass is Overall). What is the Heat Exchanger Duty? __________
6. 7.
8.
20
The Optimizer
21
9.
Add an Adjust operation. The Adjusted Variable is the Steam flow rate and the Target Variable is the Spec Calc Value (Duty Spec).
10.
Export the RebQ Heat Flow value (you will have to make this Exportable first) from the Optimizer spreadsheet into the Target value for the Adjust operation. A cell on the spreadsheet can not be simultaneously imported and exported. Copy the value of cell B2 to another empty cell by entering the formula "+B2". The value in this new cell can then be exported to the Target Value of the Adjust operation. Change the Heating Cost value to 0.682 $/kWh ($200/MMBtu) (Cell D2 on the spreadsheet) and Start the Adjust. What is the Exchanger Duty and what is the Steam mass flow rate? __________ & __________
11.
12. 13.
Add the Steam Mass Flow (must be less than 840 kg/h (1850 lb/ hr)) constraint to the Optimizer. Start the Optimizer.
21
22
The Optimizer
22
Workshop
An azeotropic mixture of Benzene and Cyclo-Hexane is to be separated in a distillation column using Acetone as the entrainer. Nearly pure Benzene is produced from the bottom of the column, while a near azeotropic mixture of Acetone and Cyclo-Hexane is produced overhead. The overhead mixture will be separated in a Liquid-Liquid extractor using water as the solvent, with Cyclo-Hexane being recovered as the overhead product. The Acetone/Water mixture will then be separated in a vacuum tower with the Acetone and Water products being recycled through the flowsheet.
The process will be separated into four sections, the Azeotrope tower, the Liquid-Liquid extractor, the Solvent Recovery tower and finally the recycling system.
The problem could be solved with a single set of interaction parameters. However, the problem may be solved more accurately by using one set of binary coefficients which will predict the liquid phase splitting in the Extractor, and another set which will predict VLE behaviour in the Distillation Columns.
Learning Objectives
Once you have completed this section, you will be able to:
Import Fluid Packages Model Azeotropic Distillation Columns Model Liquid-Liquid Extraction Columns
Process Overview
The binary coefficients for the Cyclohexane/Water pair are not available from the database, so it is necessary to obtain them by estimation or from another source. In this example, the binary coefficients for the Cyclohexane/Water pair in the VLE Basis will be estimated by the UNIFAC VLE estimation method. Press the Unknowns Only button to estimate this pair. The second Fluid Package (for the Liquid-Liquid Extractor) will be imported. 1. On the Fluid Pkgs tab of the Simulation Basis Manager, press the Import button and import the Fluid Package LLEBasis.fpk. This file should be located on the course disk supplied with this material. Press the View button to see the new Fluid Package. Go to the Binary Coeffs tab to view the binary coefficients.
2.
Ensure that VLE Basis is the Default Fluid Package when you leave the Basis Environment.
If you examine the LLE Coefficients for VLE Basis and LLE Basis you will see they are different, because they have been taken from different sources. VLE Basis will be used for most of the simulation, while LLE Basis will be used as the Fluid Package for the Liquid-Liquid Extractor. Enter the Simulation Environment.
In this cell...
Conditions Stream Name Temperature Pressure Mass Flow Composition - Mass Frac Benzene Cyclohexane
Azeo Feed 77C (170F) 101.3 kPa (14.7 psia) 85 kg/h (190 lb/hr)
0.518 0.482
2.
In This Cell...
Conditions Stream Name Temperature Pressure Mass Flow
Acetone 55C (130F) 101.3 kPa (14.7 psia) 95 kg/h (215 lb/hr)
3.
Azeotrope Tower
Published documentation on this process indicates that the overhead composition from the Azeotrope Tower is a near azeotropic mixture of Acetone and Cyclohexane. Using less Acetone than is necessary to produce the azeotrope will prevent the original Benzene/Cyclohexane azeotrope from being separated. The flow of Acetone required to separate this azeotrope and produce a mixture near azeotropic Cyclo-Hexane/Acetone, can be calculated from the azeotrope composition, (0.688 Acetone and 0.312 CycloHexane mass fractions). These values can be obtained through HYSYS Conceptual Design Application or the HYSYS Extension Binary Plots. The T-x-y diagrams for the Benzene/Cyclo-hexane and Acetone/Cyclohexane binaries are shown here:
In This Cell...
Connections Column Name No. of Stages Condenser Energy Stream Inlet Streams
Condenser Type Overhead Liquid Bottoms Liquid Outlet Reboiler Energy Stream Pressures Delta P Condenser Reboiler Temp. Estimates Condenser Reboiler Specifications Benzene Recovery in Reboiler Acetone Recovery in Cond Because we expect an azeotrope to be present in this column, we must check the Azeotropic box on the Solver page. Reflux Ratio (Estimate) Azeo Liq Draw (Estimate)
2. 3.
On the Parameters tab, Solver page, check the Azeotropic box and supply a Fixed Damping Factor of 0.5. Run the column.
10
Excessive amounts of heat are required for distillation - relative volatility of the components is near one Separation via distillation is limited due to the formation of azeotropes The high temperatures of distillation cannot be withstood by the components, even under vacuum conditions There are only small amounts of solute in the feed solution The components to be separated are extremely different in nature
Extraction involves the separation of a solute from a feed solution by mixing in a solvent in which the solute is preferentially soluble. In addition, the solvent must be insoluble, or have a limited solubility in the feed solution. The extraction operation, on a stage by stage basis, can therefore be discussed in terms of two processes:
The mixing of a feed solution, a solvent, and any external feeds The separation of the two immiscible liquid phases which result from the mixing
HYSYS models the liquid-liquid extraction process using countercurrent flow in a column similar to the absorber template.
10
11
Property Package
The Liquid-Liquid Extractor cannot be used with the following property packages:
Wilson Antoine BraunK10 Esso Tabular Steam Amine Chao-Seader Grayson-Streed Sour PR Sour SRK
Overhead Estimate
You will not be required to provide an estimate for the Overhead Product Flow. The Extractor will generate an estimate from a mole weighted TP-Flash of the combined tower feeds.
Stage Efficiencies
The HYSYS Extraction algorithm models the Extractor as a staged tower, allowing you to specify either ideal stages or actual stages with efficiencies.
Side Draw
If you require a Side Draw on the Extractor, you can choose to draw either the Light or Heavy phase from a stage. HYSYS will perform a three phase flash on the entire contents of the stage to produce the conditions and composition of the specified draw.
11
12
The purpose of the Liquid-Liquid Extractor is to determine the required solvent flow (in this case water) which will cause a mixture to phase split, forming two liquid phases. A rough estimation of the solvent flow can be obtained by using a Mixer, and then examining the phase separation while varying the solvent flow. However, because the extractor is divided into stages, the flow determined can only be used as an estimate. Use a flow of 200 kg/h (440 lb/hr) of Water. 1. Enter the following data for the stream Water: Enter...
In This Cell...
Conditions Stream Name Temperature Pressure Mass Flow Mass Fraction H20
Water 25C (77F) 101.3 kPa (14.7 psia) 200 kg/h (440 lb/hr) 1.0
12
13
2.
In this cell...
Connections Column Name No. of Stages Top Stage Inlet Bottom Stage Inlet Ovhd Light Liquid Bottoms Heavy Liquid The Temperature Estimates for Stages 2-19 can be supplied on the Parameters tab, Profiles page of the column property view. Pressures Top Stage Bottom Stage Temperature Estimates Top Stage Stages 2-18 Stage 19 Stage 20
3.
On the Parameters tab, Profiles page, supply an estimate of 48 kg/h (105 lb/hr) for the overhead light liquid.
13
14
4.
Go to the Basis Environment and select LLE Basis as the Fluid Package for the Liquid-Liquid Extractor. Return to the Simulation Environment.
5.
14
15
In This Cell...
Connections Column Name No. of Stages Inlet Streams Condenser Type Overhead Liq Bottoms Liquid Outlet Condenser Energy Stream Reboiler Energy Stream Pressures Condenser Pressure Reboiler Pressure Temperature Estimates Condenser Reboiler Specifications Reflux Ratio Acetone Recovery (Cond)
7 0.9998
2. 3.
15
16
Solvent Recycles
Finally, the two products from the Solvent Recovery tower have to be recycled to the previous two towers. Because of the temperature and pressure of the Solvent Recovery tower, each recycle stream will require a Pump and a Cooler/Heater operation to return the stream to the necessary tower conditions.
Add a Pump
Add a Pump to the stream H2O Rich with the following information: In This Cell...
Connections Name Inlet Outlet Energy Parameters Adiabatic Efficiency 75% P-100 H2O Rich H2O Atm Q 100
Enter...
16
17
Add a Cooler
Add a Cooler downstream of P-100 with the following information: In This Cell...
Connections Name Inlet Energy Outlet Parameters Delta P 0 kPa E-100 H2O Atm Q102 H2O Cool
Enter...
17
18
Enter...
Add a Heater
Add a Heater operation downstream of Acet Atm with the following information: In This Cell...
Connections Name Inlet Energy Outlet Parameters Delta P 0 kPa E-101 Acet Atm Q 103 Acet Warm
Enter...
18
19
19
20
Enter...
1. 2. 3.
On the Parameters tab, specify the Balance Type as Mole. Specify the Temperature and Pressure of Rec Acet to be 55C (130F) and 101.3 kPa (14.7 psia). Add the second balance operation with the following information. Enter...
In This Cell...
Connections Name Inlet Streams Outlet Streams
1. 2.
On the Parameters tab, specify the Balance Type as Mole. Specify the Temperature and Pressure of Rec H2O to be 25C (77F)and 101.3 kPa (14.7 psia).
20
21
Enter...
Specify the temperature of one of the product streams to be 25C (77F). The temperature in the other stream will be calculated from the energy balance around the operation.
21
22
In This Cell...
Connections Name Inlets Overhead Outlet Bottoms Outlet Parameters Overhead Pressure Bottoms Pressure Splits Benzene CycloC6 Acetone H2O
Enter...
0 0 1.0 1.0
22
23
Enter...
Connections Name Inlets MIX-101 H2O Cool H2O Make-up Outlet H2O to Rec
23
24
Enter...
Connections Name Inlet Outlet Parameters Vapour Fraction Temperature Pressure Flow Enthalpy Composition 10.0 10.0 10.0 1.0 10.0 1.0 RCY-2 Acet to Rec Acetone
24
25
Press the Go button to begin calculations. Having completed the recycles and converged the whole flowsheet, operations can be opened again in order to be examined.
25
26
26
Reactive Distillation
Reactive Distillation
Reactive Distillation
Workshop
With the continuous removal of reaction products, reactive distillation has found acceptance as a means of improving the technical and economic operation of processes where it is applicable. Advantages of this process include higher yields, energy savings and reduced capital costs.
Fast Track to page 7
In this example, you will study the manufacture of Methyl Acetate, an important oil resin used in the manufacture of artificial leathers. You will simulate the synthesis of Methyl Acetate from Methanol and Acetic Acid in a catalytic distillation column.
Learning Objectives
Once you have completed this section, you will be able to:
Process Overview
Column Overview
Reactive Distillation
In the HYSYS component database, M-Acetate is the SimName and Methyl-Acetate is the FullName.
Enter...
Reactive Distillation
Enter...
Go to the Monitor page of the Design tab and run the column. Complete the following table with information from the simulation: Distillate - Mole Fraction Bottoms - Mole Fraction
Component
Methanol Acetic Acid Methyl Acetate Water
Reactive Distillation
The reaction occurring in this simulation is a Kinetic reaction, CH3OH + CH3COOH = CH3CH3COO + H2O 1. 2. 3. 4. 5. From the Flowsheet menu, select Reaction Package. From the Available Reactions group, press the Add Rxn button. Select Kinetic from the list of reactions and press the Add Reaction button. Enter the stoichiometric coefficients on the Stoichiometry tab. Remember that reactants are negative and products are positive. Go to the Basis tab. The Base Component is methanol and the RxnPhase is Liquid. Leave the Basis and Rate Units at their default values. On the Parameters tab, for the Forward Reaction enter the Arrenhius Parameter as A=1.0e5, and for the Energy Parameter E=2.3e4 kJ/kgmole (1.0e4 Btu/lbmole). The reaction status should now be Ready. Close the view. Add the Global Rxn Set to the Current Reaction Sets group by pressing the Add Set button.
6.
7.
Reactive Distillation
2.
The Sparse Continuation Solver can be used for highly non-ideal, unusual profiles, or otherwise difficult to converge towers. It is good for Chemical Systems when Inside-Out is not successful and for 3-Phase distillation.
Check the Active box on the ColumnReaction view. The default column solver in HYSYS "HYSIM Inside-Out" is not capable of handling reactions in the column. Therefore, HYSYS will change the solver to Newton-Raphson Inside-Out. However, for this column, we need to use the Sparse Continuation Solver. Select this solver on the Solver page of the Parameters page. Run the column. (The column may run automatically after the solver is changed.) Due to the substantial changes that were introduced as part of adding the reaction to the column. The column may not solve. On the Profiles page of the Parameters tab, enter a condenser temperature estimate of 50 oC (122 oF), an estimate of 55 oC (130 oF) for the 15th tray, and 100 oC (212 oF) for the Reboiler. Rerun the column by pressing the Run button. The column should now solve. You can view the results on the Performance tab, and the reaction results on the Reactions tab, Results page.
3.
4. 5.
6. 7.
Reactive Distillation
8.
Complete the following table with information from the simulation. Distillate - Mole Fraction Bottoms - Mole Fraction
Component
Methanol Acetic Acid Methyl Acetate Water
Does the reaction inside the column have any effect on the compositions of the product streams? __________
10
Reactive Distillation
10
Introduction
In previous modules, we have installed distillation columns design for two phases. However, these columns will not work for three phase systems. When dealing with three phase systems, it is necessary to use a different type of column that uses a different Input Expert, and a different default solver. Due to the addition of a second liquid phase in the column, it is very difficult to model this type of column. For this reason, we must use the Sparse Continuation Solver to solve these systems. The three phase system in this example consists of a 2-butanol, water, n-butyl-acetate system. The feed to the column is saturated liquid at atmospheric pressure. The liquid product from the condenser is 98% pure water, and the liquid product from the reboiler is a mixture of the two other components (2-butanol and n-butyl-acetate).
Learning Objectives
In this module, you will learn:
How to use the three phase distillation column in HYSYS. When to use the Dynamic Initial Estimate Generator (IEG). Why the Sparse Continuation Solver must be used to solve three phase columns.
Prerequisites
Before beginning this module, you should have some experience with installing distillation columns in HYSYS. Previous experience with normal two phase systems will help you understand the principals behind the operation of three phase systems.
Background
The three phase stream that will be distilled here will consists of three components: water, n-butyl-acetate, and 2-butanol. The ternary diagram for these three components at 25 oC (77 oF) and 101.3 kPa (14.9 psia) looks something like this:
This plot was generated using the DISTIL software package produced by AEA Technology Engineering Software. The composition of the feed stream is given in the following table: Component
Water n-Butyl-Acetate 2-Butanol
Mole Fraction
0.35 0.40 0.25
As you can see (using the ternary graph above), this stream will lie within the two liquid phase region.
Different Solvers
With two phase distillation the most common solver that is used is the "HYSIM Inside-Out" solver. This solver is good for most hydrocarbon systems, but it can not handle highly non ideal chemical systems, including three phase systems. The default solver for three phase columns is the "Sparse Continuation" solver. This more advanced solver is able to handle three phase, non ideal chemical systems, that other solvers can not calculate.
Process Overview
Column PDF
Enter...
Feed 0.0 101.3 kPa (14.9 psia) 50 kgmole/h (110 lbmole/hr) 0.35 0.25 0.40
What is the Mass Density of the Liquid Phase? __________ and the Aqueous Phase? __________ Which phase is the "heavy" phase? ______________
Note: Make sure that you install the Three Phase column operation, not the two phase one. As mentioned before, the Input Expert for the Three Phase column is slightly different than the one used for an ordinary Two Phase column. For this reason, each page will be shown here. The input expert for the three-phase distillation column is different from the input expert that was seen previously. The first page of the expert allows you to select the type of column that you want to add to the model. Select the Distillation radio button and press the Next button.
On the next page, set the number of stages at 6, and set the "Two Liquid Phase Check" on the top five stages.
On the third page, enter names for the streams around the condenser. For this column, the Reflux Stream will be the Lights only; therefore, select the appropriate radio button in this group box.
10
On the fourth page, set the vapour rate to 0.0 and the Light Reflux Fraction to 1.0. The degrees of freedom should read 0, once both of these values are entered.
On the fifth page, attach the Feed stream to stage 1. Also, define the reboiler energy stream and attach a liquid product stream to the reboiler. From now on, the screens will look familiar to the input expert screens that you have seen previously.
10
11
On the next page, set the condenser pressure at 101 kPa (14.9 psia), and the reboiler pressure at 105 kPa (15.5 psia).
On the next page, you are asked to supply optional temperature estimates. Enter values of 85, 90, and 95 oC (185, 195, and 205 oF) for the condenser, top stage and reboiler temperature estimates, respectively.
11
12
We are now done. Press the Done button to close the input expert. Note that if the formation of azeotropes were a concern in this column, the Azeotropic Initialization button would have been pressed, and HYSYS would have checked for possible azeotropes among the selected components. You are automatically placed on the Columns property view; move to the Monitor page of the Design tab. How many Degrees of Freedom are shown here? __________ Enter a Bot Prod Rate of 33 kgmole/h (75 lbmole/hr). Press the Run button to converge the column; the column should start to solve, and will reach a converged solution quickly. If the column does not solve in the first attempt, increase the Bot Rate Spec value to 35 kgmole/h (80 lbmole/hr) and try again. Once the column converges, decrease the spec back to its original value.
12