hysys tutorial

8
ENGI 7623: Process Simulation Salim Ahmed Process Engineering Spring 2014

Upload: nuvan

Post on 28-Dec-2015

71 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Hysys Tutorial

ENGI 7623: Process Simulation

Salim Ahmed

Process Engineering

Spring 2014

Page 2: Hysys Tutorial

Sec. 1 Tutorial 1: Getting started, fluid package and stream specification 1

1 Tutorial 1: Getting started, fluid package and stream specification

1.1 Getting started with HYSYS

1. From your desktop, select Start andthen select All Programs.

2. Select AspenTech � ProcessModeling V7.3 � Aspen HYSYS �Aspen HYSYS.The HYSYS Desktop appears.

3. In HYSYS every simulation is called acase. To start a new case, select File�New � Case or press Crtl+N or click

on .

This opens the simulation basis manager. To start with you need to know and specify whichcomponents you will be using. Also what are the physical properties of the streams. Theproperties of the streams are dictated by the the fluid packages. Components along with theirfluid packages form the basis of a simulation.

Simulation basis manager isthe window through which you specifythe components, relevant fluid packagesand thermodynamic models. Beforethat donot forget to save the simulation.

4. Select File � Save as or click on

and save the simulation at yourpreferred directory.

1.2 Adding components

1. Click on the Add tab in the simulation basis manager. This will bringthe list of all available components. You can browse through the entirelist or can shorten the list by filtering.

2. The components are listed with their Full name, Sim name and Formula. Check the appro-priate radio button you want to search by and then type the name in the text box on the right

c©Salim Ahmed 2014 ENGI 7623: Process Simulation

Page 3: Hysys Tutorial

2 1.3 Selecting a fluid package

of Match. A list with possible matches will appear.

3. Once the desired componentare located, either double click on thecomponent or click < −−Add Pure toadd it to the list of components.

4. At the bottom of the components page,you can give your component list aname.

5. Once the components are selected,simply close the window and this willreturn you to the simulation basismanager.

1.3 Selecting a fluid package

The fluid package is used to estimate the thermodynamic and fluid properties of the components andthe mixtures involved in the simulation. Choice of the fluid package is essential for the simulationto result in meaningful solution.

1. Click on the Fluid pkgs tab in thesimulation basis manager and then clickthe Add button to bring the availablepackages.

2. The list of available packages canbe narrowed by selecting a filter tothe left of the list (such as EOSs,activity models etc.). From the listof fluid packages, select the desiredthermodynamic package. The desiredpackage can be selected it by clickingon it once.

3. At the bottom of the components page,you can give your component list aname.

4. Once the components are selected,simply close the window and it willreturn to the simulation basis manager.

c©Salim Ahmed 2014 ENGI 7623: Process Simulation

Page 4: Hysys Tutorial

1.4 The simulation environment 3

1.4 The simulation environment

The selection of components along with the fluid package completes the necessary inputs forsimulation. To start the simulation

1. Click onthe Enter Simlation Environment tabin the right bottom corner of simulationbasis manager window.Notes: Sometimes you might need toenter a new component or change theproperty package. This will require tobring back the simulation basis managerwindow. This can be done by clickingon the icon in the menu bar.

2. At this point you may want to save your case. This may be done by clicking on the save iconin the menu bar and giving a suitable name for your case in your preferred directory.Note: On the right hand side of the simulation window, you will notice a vertical toolbar.This is known as the Object Palette. If for any reason this palette is not visible, got to theFlowsheet pull down menu and select Palette or press F4 to display the palette. It is from thispallete that you will add streams and unit operations to your simulation.

1.5 Adding material stream

The first item within the simulation environment may be to install a material stream. This can bedone by

1. Click on the blue arrow button on theObject Palette and then clicking on thesimulation window where the crosshaircursor is placed.

2. Selecting the Flowsheet menu andselecting Add Stream

3. Pressing F11

Using any of the above methods will create a new material stream (a Blue arrow) on the flowsheet.The HYSYS default names the stream in increasing numerical order (i.e. the first stream createdwill be given the name 1). This name can be modified at any time.

c©Salim Ahmed 2014 ENGI 7623: Process Simulation

Page 5: Hysys Tutorial

4 1.6 Specifying material stream

1.6 Specifying material stream

1. To enter information about the materialstream, double click onthe stream to show the window shownthe specification window. It is withinthis window that the user specifies thedetails regarding the material stream.For material stream that will be usedas an input, we need to specify fourvariables.

Within HYSYS environment, input material stream always have four degree of freedoms.Meaning, we need to supply four information in order to fulfill the requirement for HYSYSto start its calculations. Four variables needed for input stream are composition, flowrate, andtwo from temperature, pressure or vapor/phase fraction.

2. To enter the composition of the stream,select the Composition option from thislist to display the composition window.Note that only the components thatyou specified in the simulation basismanager will appear in this list.Note: You can add components throughthe simulation basis manager at anytime during the process.

3. To enter temperature, pressure or vaporfraction click on the conditions optionto get into the conditions window andspecify the values of the variables.Note: When entering the conditions fora stream, it is not necessary to enter thevalues in the default units provided.

When the user begins to enter a value in one of the cells, a drop down arrow appears in theunits box next to the cell. By clicking on this drop down arrow, the user can specify any unitfor the corresponding value and HYSYS will automatically convert the value to the defaultunit set.

c©Salim Ahmed 2014 ENGI 7623: Process Simulation

Page 6: Hysys Tutorial

Sec. 2 Tutorial 2: Pipe segments and pumps 5

2 Tutorial 2: Pipe segments and pumps

2.1 Pressure drop in a pipe segment

Water is flowing in a 10m horizontal smooth pipe at 4m/s and 25oC. The density of water is1000kg/m3 and viscosity of water is 0.001kg/m.s. The pipe is schedule 40, 1 in. nominal diameter(2.66 cm ID). Water inlet pressure is 2 atm. Calculate the pressure drop in the pipe.

Simulating a pipe segment involvesspecification of an inlet and an outletstream plus an energy stream thatreflects the pressure drop in a pump.So simulation of the pipe segmentto calculate the pressure drop willinvolve the stream specification and thespecification for the pipe segment.

2.1.1 Starting HSYSY

1. Start a new case in HYSYS following the procedure in Sec. 1.1 and choose the SI units fromTools | Preferences | Variables.

2. Add water as the component for this simulation following the procedure in Sec. 1.2.

3. Choose the ASME Steam as the fluid package following the procedure in Sec. 1.3.

2.1.2 Adding the streams

1. Select a material stream by double clicking on the blue arrow in from the object palette (Referto Sec. 1.5).

2. Specify the name as Inlet. Specify the volumetric flow rate of the stream based on the velocityof 4m/s and the inner pipe diameter of 0.0266 m. You should have it as 8.03m3/h.

3. Enter the composition of the stream as water with a mole fraction of 1. Enter the values forthe feed pressure and temperature.

4. Add a second material stream as the product stream and enter its composition as pure waterand temperature of 25oC (isothermal operation). Specify the name as Outlet.

5. Add an energy stream by double clicking on the red arrow in the object palette.

2.1.3 Adding the pipe segment

1. Add a pipe segment by double clicking on the pipe segment in the object palette.

c©Salim Ahmed 2014 ENGI 7623: Process Simulation

Page 7: Hysys Tutorial

6 2.2 Simulating a pump

2. Click on the Rating tab and then on Append segment. The pipe length is 10m; specify thepipe material as smooth by choosing this value from the drop down menu.

3. Click on View Segment and select schedule 40. To choose the nominal diameter choose25.4mm (1 in) from the tabulated values and select specify.

4. Double click on the pipe segemnt and from the connection tab specify the inlet, outlet and theenergy stream appropriately.

5. With the specification complete, the pressure drop can be read from the parameters tab givenas Delta P.

2.1.4 Effect of liquid flow rate on pressure drop

In this part we will look at the effect of fluid flow rate on the pressure drop. A useful tool in HYSYSis the DataBook. We will use DataBook to get the plot of fluid flow versus pressure drop. Theprocedure is given below:

1. From the menu select Tools| DataBook. A new window appears.

2. Click on Insert and select Feed in the object column and Std Ideal Liquid Flow in the variablecolumn and click Add to select the liquid flow rate as a variable in the in the study. Click on thePIPE-100 on the object column and select Std Ideal Liquid Flow in the variable column andthen press Add. Close the window by pressing Close. This takes you back to the DataBookwindow.

3. Click on Case Studies tab at the bottom of the window. The case studies window appears.Click on Add to add a case study. Give it a suitable name e.g. DpvsQ. Check the ind checkboxbeside pressure drop to declare the pressure drop as the independent variable and check thebox Dep beside Pressure Drop to declare the Pressure Drop as the dependent variable.

4. Click on View to specify the lower and upper bound as well as the step size for liquid flowover which you want to study the effect.

5. Click on Start and when the calculation is completed, click on Results after checking theradio button Graph to display the graph between liquid flow and pressure drop.

2.2 Simulating a pump

Water at 120oC and 3 bar is fed to a pump with a efficiency of 10%. The flow rate of wateris 100kmol/h and its pressure at the outlet is 84 bar. Determine the outlet temperature of water.

c©Salim Ahmed 2014 ENGI 7623: Process Simulation

Page 8: Hysys Tutorial

2.2 Simulating a pump 7

Like the pipe segment, simulating apump involves specification of an inletand an outlet stream plus an energystream that reflects the work done onthe pump. So simulation of the pumpto calculate the exit temperature willinvolve the stream specification and thespecification for the pump.

2.2.1 Starting HSYSY

1. Start a new case in HYSYS following the procedure in Sec. 1.1 and choose the SI units fromTools | Preferences | Variables.

2. Add water as the component for this simulation following the procedure in Sec. 1.2.

3. Choose the ASME Steam as the fluid package following the procedure in Sec. 1.3.

2.2.2 Adding the streams

1. Select a material stream by double clicking on the blue arrow in from the object palette (Referto Sec. 1.5).

2. Specify the name as Inlet. Specify the molar flow rate of 100kmol/h.

3. Enter the composition of the stream as water with a mole fraction of 1. Enter the values forthe feed pressure and temperature.

4. Add a second material stream as the product stream and enter its composition as pure waterand pressure of 84 bar. Specify the name as Outlet.

5. Add an energy stream by double clicking on the red arrow in the object palette and specify itas Work.

2.2.3 Adding the pump

1. Add a pump by double clicking on the pump in the object palette.

2. Click on the Design tab and then from Connections option specify the proper streams as inlet,outlet and the energy stream.

3. From the Parameters option in the Design tab, specify the efficiency of the pump as 10%.

4. Once all are specified, the pump calculations are carried out. You can now check thetemperature of the outlet stream from the Worksheet tab.

c©Salim Ahmed 2014 ENGI 7623: Process Simulation