ChE 3G4 HYSYS TUTORIALS Tutorial 1: Introduction to HYSYS – Not Graded ........................................................ 1 A. Learning Objectives:............................................................................................... 2 B.

Defining the Simulation Basis ................................................................................ 2 C. Selecting a Unit Set................................................................................................. 3 D. Adding a Stream ..................................................................................................... 3 E. Flash Calculations................................................................................................... 4 F. Adding Utilities....................................................................................................... 5 G. The Stream Property Value..................................................................................... 5 H. Customizing the Workbook .................................................................................... 5 I. Flash Calculations of a Ethanol-Water Mixture ..................................................... 6 J. Additional Exercises (For Extra Practice using the GasPlant Example) ................ 7 Tutorial 2: Propane Refrigeration Loop – 15 Marks .................................................... 8 A. Learning Objectives ................................................................................................ 8 B. Base Case (5 marks)................................................................................................ 8 C. Manipulating the PFD........................................................................................... 10 D. Manipulating Process Variables (10 marks) ......................................................... 10 E. Printing.................................................................................................................. 11 Tutorial 3: Refrigerated Gas Plant - 10 marks ............................................................ 12 A. Learning Objectives .............................................................................................. 12 B. Building the Simulation ........................................................................................ 12 C. Adding the Balance Operation.............................................................................. 14 D. Adding the Adjust Operation ................................................................................ 15 E. Using the Case Study ............................................................................................ 15 F. Bonus (5 Marks) ................................................................................................... 16 G. Saving the Simulation as a Template.................................................................... 16 Tutorial 4: Recycle Operations - 10 marks.................................................................. 17 A. Learning Objectives .............................................................................................. 17 B. Building the Simulation ........................................................................................ 17 C. Installing the Recycles .......................................................................................... 19 Tutorial 5: Separation Columns – 10 marks ................................................................ 21 A. Learning Objectives .............................................................................................. 21 B. Building the Simulation ........................................................................................ 21 C. Column Sub-Flowsheets (Read Only) .................................................................. 26 Tutorial 6: Optimization in HYSYS – 15 marks.......................................................... 27 A. Learning Objectives .............................................................................................. 27 B. Building the Simulation ........................................................................................ 27 C. The Optimizer ....................................................................................................... 29 D. Bonus ( 3 Marks) .................................................................................................. 33

ChE 3G04 Winter 2004 McMaster University

1

Tutorial 1: Introduction to HYSYS – Not Graded A. Learning Objectives: • • • Define a Fluid Package Add streams and a separator Perform simple flash calculations

B. Defining the Simulation Basis 1. To start HYSYS go to Course Folders, Chemical Engineering, ceng3g03 and click on HYSYS.Plant. Start a new case by Selecting File, New, Case. 2. Select the Components tab. This tab allows you to add components to your case. Select these components: N2, H2S, CO2, C1, C2, C3, i-C4, n-C4, i-C5, n-C5, C6 and H2O. You can also add components by typing their names (ie. methane rather then C1) with Match. The components should be listed under Component List-1. Minimize the window. 3. Select the Hypothetical button under Add Component to add a hypothetical component to the fluid package. These components can be used to model nonlibrary components, defined mixtures, undefined mixtures or solids. In this case it will be used to model the components in the gas mixture heavier then hexane. To create this component, select the Quick Create a Hypo Comp button. 4. On the ID tab type the name, C7+. Move to the Critical tab. Enter 110oC for its Normal Boiling Pt. Press Estimate Unknown Props to estimate all the other properties of the hypothetical component. You should get the following base property values: Molecular Wt: 111.00 Ideal Liq Density: 745.38 5. Add the hypothetical component to the current component list by highlighting/selecting it in the Hypo Components group and then pressing Add Hypo button. 6. HYSYS contains various Fluid Packages that contain necessary information for performing flash and physical property calculations. Select the Fluid Pkgs Tab. Create a fluid package by selecting the Add button and choose Peng-Robinson Equation of State Model (PR) 7. Change the Name from Basis-1 to GasPlant. 8. The fluid package is now defined and you can now start a simulation. Press Enter Simulation Environment or the Interactive Simulation Environment in the top toolbar.

ChE 3G04 Winter 2004 McMaster University

2

C. Selecting a Unit Set The HYSYS edition in the labs should have the default unit set to SI units. The unit set can be changed. 1. From the Tools menu, choose Preferences. Switch to the Variables tab and click on Units. 2. Highlight the units you wish to work with and close the window. We will use SI units for this tutorial and unless otherwise specified. D. Adding a Stream There are several ways to add a stream. We will focus on one and you may try the others if you have time. Adding a Stream from the Menu Bar 1. Press F11. The stream property view is displayed. Change the stream name to Feed 1. 2. Enter the compositions of the components by selecting the Composition. Select Edit. Click on mole fraction as a basis. Enter the following compositions and press OK. Close the window. Component N2 H2S CO2 C1 C2 C3 Mole Fraction 0.0025 0.0237 0.0048 0.6800 0.1920 0.0710 Component I-C4 N-C4 I-C5 N-C5 C6 C7+ H2O Mole Fraction 0.0115 0.0085 0.0036 0.0021 0.0003 0 0

The following are other ways to add a stream. Move on to Part D. Work on these after you have completed the rest of the tutorial. Adding a Stream from a Workbook 1. To open or display the workbook, press the Workbook icon on the top toolbar. 2. Enter the stream name, Feed 2 in the **New**.

ChE 3G04 Winter 2004 McMaster University

3

2. Double click on the materials stream Enter the following compositions.0120 0. HYSYS performs a flash calculation on the stream.0037 0.0205 0.0038 0. ChE 3G04 Winter 2004 McMaster University 4 .0002 0.2545 0. simple vapour-liquid equilibrium flash calculations from ChE 3D3 will be performed.32oC. Once the composition of the stream and two of either T. Flash Calculations In this section.0050 0. Perform a dew pt calculation by setting P =7500 kPa and vapour fraction to 1. The dew pt should be 11.0141 0.0252 0 Adding a Stream from the Object Legend (F4 if it is not available) 1. Component N2 H2S CO2 C1 C2 C3 Mole Fraction 0.0130 0.7250 0. P-T flash.0151 0.0180 0.0815 0. P or vapour fraction are known. Perform a bubble pt calculation by setting P = 7500 kPa and vapour fraction to 0.0. HYSYS can perform three types of flash calculations on streams: PressureTemperature. Set P = 7500 kPa and T = 10oC. Component I-C4 N-C4 I-C5 N-C5 C6 C7+ H2O Mole Fraction 0.0. The calculated vapour fraction should be 0.0090 0.0075 0.0060 0. Component N2 H2S CO2 C1 C2 C3 Mole Fraction 0.0041 0.0145 (blue) and change the name to Feed 3. The bubble pt should be –34. Vapour fraction-Pressure and Vapour fraction-Temperature.0999 0 E.3. Double click on the Molar Flow cell and enter the following compositions and click OK. 3. Try these on Stream Feed 1 1.43oC.9879.0405 0.0455 Component I-C4 N-C4 I-C5 N-C5 C6 C7+ H2O Mole Fraction 0.0150 0.5664 0.

G. 5. or change the format of the values which are displayed. and pressure. Heat of Vapourization and Molar Enthalpy will be added. a new workbook tab containing stream properties. Move the cursor to the left of the view until the cursor changes the resizing arrows. You can add additional pages. Select the Performance tab and the Plots tab to view the envelope. Open the workbook by pressing the Workbook icon button on the top toolbar. Press the Close button to return to the workbook. for the stream should be displayed. The Envelope utility should be displayed 4. You can also add a utility using the Menu Bar – Menu. Click the Add button to add a new variable to the tab. Drag the edge of the view until all the phases can be seen (Feed 1. 1. The critical temperature. Double click on the stream. 2. 2. Customizing the Workbook HYSYS will allow you to customize the workbook. Highlight this tab. Double click on stream Feed 1. Repeat by adding Heat of Vaporization and Molar Enthalpy. From the Variables list. select Cp/Cv and click OK. Press Create to access the utilities window. change the variables that are displayed on current pages. Cp/Cv. 2. A new workbook tab. 1. you can view the envelope data in tabular form. Change the name to Other Properties. 6. Liquid Phase). 3. Select envelope and press Add Utility. Streams2 will be listed in the workbook pages group. Adding Utilities The utilities available in HYSYS is a useful tool that interact with your process and provide additional information or analysis of streams or operations. Select Workbook and Setup from the main menu and the setup window will appear. 4. -12. press the Delete button until all the default variables are removed. H. Under Workbook Tabs. 1.06oC.F. In this exercise. press Add and in the view which appears select Stream+ and OK. 5. The Stream Property Value It is possible to view the properties of the individual phases for any stream. Feed 1 and enter the temperature –20oC and a pressure of 6000 kPa. 3. In the Variables group. Select the Attachments tab and then select Utilities. ChE 3G04 Winter 2004 McMaster University 5 . Utilities. By pressing Table. 8980 kPa. Vapour Phase.

41 90.6. ChE 3G04 Winter 2004 McMaster University 6 . set the vapour fraction to 1. which is Tbubb = 79. Create a feed stream and name it. the following steps need to be performed: 1. For flash calculations we need to fix the required degrees of freedom (4). Select P = 100 kPa. Remove the specification of the vapour fraction and select a temperature between the dew and bubble point. Liq. To install a flash separator.0 and 1. F = 100 kgmol/h and 50-50 mole fraction for each component. The vapour fraction should be between 0. If there are no values for these numbers go back to the Stream tab and enter a temperature and pressure for stream Feed 1. Flash Calculations of a Ethanol-Water Mixture In this exercise. Select Parameters and enter 0 for the duty.03oC. Pressure (kPa) 100 150 200 250 Tbubb (oC) 79. Then to calculate the dew point. We therefore need to find the dew and bubble points. You will learn later on in the course that the type of fluid package must be appropriate depending on your flash components.13 104.09 98. We want a separator.0. Vap. A green OK should now appear.41 oC. A green OK should appear which indicates the degrees of freedom have been specified and a converged solution has been found. Start a new case. between which the 2 phases exist. 7. To print a workbook specsheet just right click and select Print Specsheet. Select the components ethanol and water. On the window that pops up enter the name of your feed stream into the Inlet. Heat of Vaporization and Molar Enthalpy. 8. and name your vapour and liquid outlet and energy streams (ie.9 109. This means that it might happen that one or some of the desired components do not appear in the list for a certain fluid package.03 94. A yellow warning should appear indicating unknown duty. I.5 4. Choose a fluid package. Choose vessel and then separator. Choose UNIQUAC. For ethanolwater mixture the UNIQUAC fluid package is appropriate. Q) 5. we will take the flash calculations from Part D a step further by adding a separator. Now change the vapour fraction to 0. A liquid-vapour mixture is necessary to allow separation.79 102. You should get Tdew = 84. The workbook now contains the tab Other Properties which shows the value of Cp/Cv. 3. The following table shows dew and bubble points for the feed stream at different pressures. Press F12.7 Tdew (oC) 84. Save this file if you wish to try the other methods of adding streams.0. We will ignore duty in this case. 2. Verify these with your case.0 to get a bubble point.

You will need to add the other streams in order to answer some of these questions.6368 0.53 kgmol/h 0.7147 28.12 oC 0.9245 Note: when entering the pressure and temperature click on the unit drop down box for the correct units. Bubble Pt Temperature for Feed 3 at 6000 kPa -53.3632 J.47 kgmol/h 0.4628 0. The critical pt of Feed 2 -1.63 kgmol/h 0. 14431 kPa 2. Dew Pt Temperature for Feed 2 at 4000 kPa 98. T = 105oC. Vapour fraction for Feed 1 at 5oC and 8000 kPa o 6. To view the properties of the inlet and outlet streams double click on the separator and choose the Worksheet tab.11oC. Try these examples for pressure and temperature and verify these results with your case. To view the composition of the liquid and vapour streams select Composition. 1. Vapour fraction for Feed 2 at 32 F and 10 bar 0. F = 100 kgmol/h Feed vap frac: Liquid Flow: Ethanol mol fraction (liquid) Water mol fraction (liquid) Vapour Flow Ethanol mol fraction (vapour) Water mol fraction (vapour) 0. F = 100 kgmol/h Feed vap frac: Liquid Flow: Ethanol mol fraction (liquid) Water mol fraction (liquid) Vapour Flow Ethanol mol fraction (vapour) Water mol fraction (vapour) 0.6. Additional Exercises (For Extra Practice using the GasPlant Example) Try these exercises.37 kgmol/h 0. Cricondenbar (max pressure) for Feed 2 16292 kPa 3.57 oC 4.5372 21.9487 5.2137 78. T = 92oC.4206 P = 250 kPa.3013 0.5793 0. P = 150 kPa. HYSYS will convert these to the default units ChE 3G04 Winter 2004 McMaster University 7 .6987 71. the answers are in bold.

analyze and manipulate a propane refrigeration loop. ChE 3G04 Winter 2004 McMaster University 8 .Tutorial 2: Propane Refrigeration Loop – 15 Marks Refrigeration systems are commonly found in the natural gas processing and petroleum refining industry. There are a variety of ways to add unit operations in HYSYS.0 3. Base Case (5 marks) Answer the questions that appear as bold and boxed. chiller. Use the one you feel most comfortable with. Refrigeration is used to cool gas to meet a hydrocarbon dewpoint specification and to produce a marketable liquid. 1. A. These instructions will use F12. run. Enter the simulation environment. Learning Objectives • • • Adding and connecting unit operations to build a flowsheet Adding tables to the PFD Printing procedures B. Start a new case and add the components and fluid package: propane and ethane and Peng Robinson (Equation of State).0 0. compressor. In this case you will add the following operations: valve. Last tutorial we used F12 and the Unit Operations window to install a separator. Add a second stream and enter the following properties: Name Vapour Fraction Temperature What is the pressure of stream 1 in kPa? 3 1.0 45oC Mole Fraction 1. 2. Double click on the stream and enter the following information. Install a stream.0 -15 oC 4. In this tutorial you will construct. condenser. The following are alternate ways to install a unit operation. Name Vapour Fraction Temperature Basis C3 Mole Fraction C2 Mole Fraction 1 0.

50e+6 kJ/h and 5. On the property view window enter the Name of the unit as Compressor the Inlet stream is 3. You can either double click on the appropriate operation or right click on it and drag it over to the simulation environment (PFD). 7. Select Compressor and add it. 6. Select Parameters. If your PFD diagram appears to be small you can zoom in on the PFD by selecting the magnify glass icon and drawing a box around your PFD. The compressor is used to increase the pressure of the inlet gas stream. Select Parameters. Select Parameters and enter the Pressure Drop: 30 kPa. and Energy stream as Compressor-Q. 11. 12. Press F12 and click on Piping Equipment. The inlet is stream 2 and the outlet is stream 3. The valve property window should be displayed. 9. Open the workbook and go to UnitOps tab page then click on Add UnitOp button. Enter the Adiabatic efficiency as 75%. Close the window. Select Valve and press the add button. Enter the values 1. W What is the flow rate of propane in kgmol/h? What is the valve pressure drop in kPa? What is the temperature of the valve outlet in oC? 8. the Outlet stream as 1. The UnitOp window will be displayed You can select the unit from the icon of the operation.341 x 10-3 hp ChE 3G04 Winter 2004 McMaster University 9 . 10. A J-T valve is being modeled so type J-T as the Name of the valve. If this legend is close press F4 and it will appear. Press F12 and Heat Transfer Equipment. Outlet stream is 4. A green OK should appear. The chiller operation in the loop is modeled in HYSYS using a heater operation. Select Cooler and Add. To complete the loop we will add a condenser. Close the window. Name the energy stream Chill-Q. In the property window name the operation Chiller. For the Feed stream select 1 and for the Product stream type 2. Press F12 and select Rotating Equipment. In the property view window enter the Inlet stream as 4. 13.Workbook Object Legend Select Tools. Workbook and select View. 5.0 kPa for the Duty and Pressure Drop of the chiller. the Name of the unit as Condenser and the Energy stream as Condenser-Q. Press F12 and select Heat Transfer Equipment. Select Heater and Add. . It is placed between the compressor and valve and is modeled as a cooler operation. The outlet of the chiller will be at its dewpoint. What is the compressor duty in hp? Note: 1 J/s = 1.

In the Menu bar. a plant would not have a pure propane refrigeration cycle. 2. right click the mouse and select Hide. Click Ok. A new page. Manipulating the PFD HYSYS allows users to view properties and tables and print information for the PFD. Open the workbook. There will always be a small fraction of impurities. What effect. Select Show Table from the menu. 1. You can remove the table in the same manner as above. After manipulating variables of the base case for Question 1. Base Case: 100% C3 Flow (kgmol/h) Valve Pressure Drop (kPa) Valve Outlet Temp (oC) Condenser Q (kJ/h) Compressor Q (hp) New Case: 4 % C2. right click the mouse and select Add a Workbook Table. For the PFD. In reality. does this new composition have on the refrigeration loop? Use the base case for comparison. select Workbook and then Setup. Streams should be highlighted and click on Select. 1. You can add additional pages for specific unit operations to the workbook. Save. Add a table for stream 4. Right click on the mouse and select Show table from the menu. unit operations and streams. Try these exercises to get accustomed to these options. you may want to re-open the base case and use it for Question 2. 2. Manipulating Process Variables (10 marks) Save your base case using File.C. Select the valve using the mouse. Case. From the New Object Type view. if any. Highlight Unit Ops and press the Add button in the workbook pages group. Select stream 4 and right click on the mouse. containing only compressor information is added to the workbook. 96% C3 ChE 3G04 Winter 2004 McMaster University 10 . Add a table for the valve. double click on Unit Operations and then select Compressor. Each workbook has a unit operations page by default that displays all the unit operation and their connections in the simulation. 1. D. Compressors. 3. You can remove the table by selecting the table. Suppose the plant has a 96/4 (mole %) propane/ethane blend. Material and energy data for all streams should be displayed in the table on the PFD.

E. Press Create to add a new report and open the Report Builder. You can view a Preview of the printout as well. All worksheets will be printed. Press Insert Datasheet to add specsheets to your report. Select the unit operation or stream you wish to have information printed. Printing You can print results through the menu bar. Reports. Explain how you solved this problem. What is the chiller duty in kJ/h? What is the propane flow rate in kgmol/h. 1. However. ChE 3G04 Winter 2004 McMaster University 11 . you know that the compressor is rated for 250 hp and that it is running at 90% of maximum and 70% adiabatic efficiency.2. You can add single or multiple unit operations specsheets to the report. from the PFD and using the report manager. Right click the mouse and select Print Datasheet. You can also print worksheets for specific streams or unit operations. select Tools. 3. Print. right click on the PFD and select Print PFD. You do not have to print any tables or PFD for this tutorial. To print from the menu bar select File. 2. Read these procedures only to become familiar with the printing procedures. In the plant there is no instrumentation that can measure or calculate the chiller duty. To print your PFD. To print using the report manager. 4. Assume a pure propane refrigeration cycle.

choose 110oC for its normal boiling point and select Estimate Unknown Parameters to determine all other parameters. 2. i-C5. H2S.0101 0. Fill in the following values: Name: Temperature: Component N2 H2S CO2 C1 C2 C3 i-C4 To Refrig 15oC Pressure: Flow Rate: 6500 kPa 1500 kgmole/hr Component n-C4 i-C5 n-C5 C6 H2O C7+ Mole Fraction 0. C3. A. H2O and a hypothetical component C7+.10 marks In this simulation.Tutorial 3: Refrigerated Gas Plant . Enter the simulation environment.0027 0.0003 0. a simplified version of a refrigerated gas plant is to be modified. Learning Objectives • • • • Install and converge heat exchangers Understand Logical Operations (Balances and Adjusts) Use the Case Study tool to perform case studies on your simulation Saving the simulation as a template B. The purpose is to find the LTS (low temperature separator) temperature at which the hydrocarbon dewpoint target is met.0413 0. Select F12. Use PengRobinson EOS as a fluid package. C2.0066 0. n-C5.0028 0.0003 0. Add a separator.1709 0.0001 Mole Fraction 0. Vessels and Separator. A Balance operation will be used to evaluate the hydrocarbon dewpoint of the product at 6000 kPa. CO2.7575 0.0 0. Add a stream. C1. For the hypothetical component. C6. 1. iC4.0006 0. n-C4. Start a new case.0068 3. The incoming gas is cooled in two stages – first by exchange with product Gas Sales in a gas-gas exchanger and then in a chiller. The Sales Gas hydrocarbon dewpoint should not exceed –15oC at 7000 kPa. Enter the following components: N2. Enter the following information: Name: Feed: Inlet Gas Sep To Refrig Vapour Outlet: Inlet Sep Vap Liquid Outlet: Inlet Sep Liq ChE 3G04 Winter 2004 McMaster University 12 . Building the Simulation Answer any questions that appear in bold and boxed.

The heat exchanger is capable of solving for temperatures. material stream flows and UA. The weighted method is available only for counter current exchangers. 4. 6.The heat exchanger performs two-sided energy and material balance calculations. heat flows. To add a specification. HYSYS will supply this specification by default. which then exchange energy individually. In order to solve the heat exchanger. unknown parameters are manipulated by the solver. 5. change the number of intervals to 10 for both streams. Name: Gas-Gas Tube Side Inlet: Inlet Sep Vap Tube Side Outlet: Gas to Chiller Shell Side Inlet: Shell Side Outlet: LTS Vap Sales Gas The heat exchanger models are defined as follows: Weighted – The heating curves are broken into intervals. Min Approach = 5oC – this is the minimum temperature difference between the hot and cold stream. A log mean temperature difference (LMTD) and UA are calculated to each interval in the heat curve and summed to calculate the overall exchanger UA. Can be used for simple problems where there is no phase change and Cp is relatively constant. press the Add button. Add a heat exchanger. Close the window once entering the information. Select F12. Deactivate the UA specification. select Exchanger Design Weighted. Heat Transfer Equipment and Heat Exchanger. Under Individual Heat Curve Details. select Specs. On the Design tab. In the display window enter the following. Switch to the Parameters tab. Each parameter specification will reduce the number of degrees of freedom by one. Endpoint – A single LMTD and UA are calculated from the inlet and outlet conditions. pressures. Click on the Active check box for the specification (the X means the specification is active) 7. Name: Pass: Temp Approach Overall Type: Spec Value: Min Approach 5 oC What is the flowrate of stream “Gas to Chiller”in kgmol/h? ChE 3G04 Winter 2004 McMaster University 13 . Enter the following information. Under Exchanger Parameters enter a Tubeside Delta P of 30 kPa and Shellside Delta P of 5 kPa. Under Heat Exchanger Model. Two specifications are needed for this exchanger: Heat Balance = 0 : this is a duty error specification and is needed to ensure that the heat equation balances.

Name: Vapour Outlet: LTS LTS Vap Feed Stream: Liquid Outlet: Gas to LTS LTS Liq 10. There are different balances available in HYSYS: Mole: an overall balance is performed where only the molar flow of each component is conserved. temperature or pressure values. 12.8. Logicals and Balance. ChE 3G04 Winter 2004 McMaster University 14 . Specify a pressure of 7000 kPa for the stream HC Dewpoint. Select F12. Enter the following information: Name: Feed Stream: Chiller Gas to Chiller Energy Stream: Product Stream: Chiller Q Gas to LTS Under the Parameters tab. For the Balance Type. Mass: Same as above but only the mass flow is conserved. add a pressure drop of 40 kPa. Outlet streams will have the same molar flow rate and composition as the inlet stream. click on Mole. Add a cooler to the simulation. Specify the temperature of the stream Gas to LTS to be –25oC. Cooler. Add a separator and provide the following information. 11. temperature or pressure. 9. but will contain no vapour fraction. Adding a mole balance allows you to create a second steam with the same molar flowrate and composition but no vapour fraction. The stream parameters are calculated so there is no way to force the stream to calculate a dewpoint temperature at 7000 kPa. • • • What is the pressure of stream “Sales Gas” in kPa? What is the temperature of stream “Sales Gas” in oC? What is the current available UA for the Gas-Gas exchanger in kJ/oCh? C. Mole and Heat: the mole and heat flow are conserved. F12. Look at the parameters for Sales Gas. Heat Transfer Equipment. Set the vapour fraction to calculate the dew point temperature. Heat: Same as above but only the heat flow is conserved. Adding the Balance Operation The balance operation provides a general-purpose heat and material balance facility. Add the following information: Inlet stream: Sales Gas Outlet Stream: HC Dewpoint Select the Parameters tab.

Using the Case Study The case study tool allows you to monitor the steady state response of key process variables to changes in your process. Switch to the Parameters tab. Press Ok to accept the variable and return to the Adjust property view. Enter the value of –15oC in the Specified Target Value box. button in the Target Variable group. press the Insert button. From the Tools menu select Databook. To view the progress of the Adjust. The Secant method works best once the solution has been bracketed by using a larger step size and a converged solution will be found faster. The current HC dewpoint does not meet the requirement of –15oC. On the Variables tab. ChE 3G04 Winter 2004 McMaster University 15 . Check the ignore box in the bottom right hand corner. Select HC Dewpoint Temperature as the target variable.What is the dewpoint temperature in oC? Assuming the pressure is fixed. What is the chiller outlet temperature to achieve the dewpoint specification in o C? E.. Select the Gas to LTS Temperature as the first variable. 16. 14. Adding the Adjust Operation The adjust operation is a logical operation. Open the Adjust view. Select F12. 17. 13. You select independent variables to change and dependent variables to monitor. in the Adjusted Variable group. When considering step sizes. use larger rather then smaller sizes. you can use the Case Study to examine a range of LTS temperatures and dewpoints. From the Object list select Gas to LTS. press Select Var. 18. Logicals and Adjust. Instead of using the Adjust to find the LTS feed temperature required to achieve the hydrocarbon dewpoint. what other parameter affects the dewpoint? How can we change the dewpoint in the simulation (Hint: Keep reading on)? D. From the Variable list. 15. select Temperature. HYSYS varies the independent variables one at a time and the dependent variables are calculated. On the display window. Press the Select Var. For this case leave parameters at the default values. go to the Monitor tab. Go back to the Connections tab and press Start to begin calculations. This turns off the Adjust function which is required for the Case Study function to be used. It will vary the value of one stream variable (independent variable) to meet a required value or specification (dependent variable) in another stream. Press the Add button to add the variable.

High Bound and Step Size of –25oC. 5oC and 5oC respectively. Saving the Simulation as a Template HYSYS allows the user to save a simulation as a template. Press the View button to setup the case study. SAVE THIS CASE ON A DISK F. G. Typically. The main advantage of a template is it can link two or more cases together.” Name your template file. The stored template can be read from disk and installed as a complete sub-flowsheet operation any number of times into any number of different simulations. 22. Suppose now the available UA for the Gas-Gas exchanger is only 1. Enter the values for Low Bound.5 x 105 kJ/oC h. a template is representative of a plant process module or portion of a process module. Press the close button to return to the Databook. Press Yes to convert the simulation case to a template. Select the Gas to LTS Temperature as the independent variable (Ind) and HC Dewpoint Temperature as the dependent variable (Dep. Press Convert to Template button. switch to the Case Studies tab. Make the necessary modifications to your exchanger design to achieve this UA. What is the affect on your LMTD and minimum approach temperature? Describe the steps you took to solve this problem in HYSYS. Answer No to the question “Do you want to save the simulation case. ChE 3G04 Winter 2004 McMaster University 16 . Bonus (5 Marks) What is the log mean temperature difference (LMTD) for the exchanger with an minimum approach temperature of 5oC? Double Click on the heat exchanger to find this information.) 21. What Gas to LTS temperature range will satisfy the HC Dewpoint specification (-15oC)? Reactivate the Adjust operation by unchecking the ignore box. In the Databook. Add a second variable. Select the HC Dewpoint Temperature and press the Add button. Choose Main Properties from the Simulation menu. Press the Start button to begin the calculations. Press the Add button to add a new case study.19. 20. 23. A template is a complete flowsheet that has been stored to disk with some additional information included that pertains to attaching the flowsheet as a sub-flowsheet operation.

CO2. Piping Equipment. In the worksheet enter a pressure of 3450 kPa for stream Stage 1 Out. Feed gas enters the compressor station at 40oC and 1725 kPa. C3.10 marks In this tutorial.0357 3. Learning Objectives • Using the Recycle operation in HYSYS B. Mixer) with the following information: Name: Outlet: Mixer To LP Sep Inlet: To Compression On the Design tab select Parameters and select the pressure assignment as Equalize All. C2.0075 0.5069 0. Add a material stream with the following information: Name Pressure Component N2 CO2 C1 C2 C3 To Compression 1725 kPa Mole Fraction 0.0515 0. Add a compressor (F12. Install a mixer (F12.0725 Temperature Molar Flow Component i-C4 n-C4 i-C5 n-C5 C6 40 oC 7500 kgmol/h Mole Fraction 0.0431 0.Tutorial 4: Recycle Operations . after the pressure has been reduced. a compressor and a cooler. 4. i-C4. Start a new case and select the Peng Robinson EOS with the following components: N2.1451 0. The gas is to be delivered at 7500 kPa and it is to be compressed in two stages. n-C5. Rotating Equipment. ChE 3G04 Winter 2004 McMaster University 17 . C6. i-C5. Building the Simulation 1. Compressor) with the following information: Name: Inlet: Stage 1 LP Sep Vap Outlet: Stage 1 Out Energy: Stage 1 HP Select the Dynamics tab and enter an adiabatic efficiency of 75%. A. 2. Add a separator with the following information: Name: Feed: LP Sep To LP Sep Vapour Outlet: Liquid Outlet: LP Sep Vap LP Sep Liq 5. C1. Liquids from each separator are recycled back to the previous stage.0578 0. n-C4.0652 0.0147 0. Each stage consists of a knockout drum. a typical application of the recycle operation will be used.

In the worksheet enter a temperature of 50oC for stream Cooler 1 Out . 11. Add a Valve (F12. Install a separator with the following information: Name: Feed: IS Sep To IS Sep Vapour Outlet: Liquid Outlet: IS Sep Vap IS Sep Liq 9. Install a compressor with the following information: Name: Inlet: Stage 2 IS Sep Vap Outlet: Energy: Stage 2 Out Stage 2 HP Enter an adiabatic efficiency of 75%. Add a mixer operation with the following information: Name: Inlet: Mixer 2 Cooler 1 Out Outlet: To IS Sep For the pressure assignment choose Equalize all. 12. Install a cooler with the following information: Name: Stage 1 Cooler Inlet: Stage 1 Out Outlet: Energy: Cooler 1 Out Stage 1 Q In the Design tab select Parameters and enter a pressure drop of 0 kPa. In the worksheet enter a Cooler 2 Out temperature of 50oC. Install a cooler with the following information: Name: Inlet: Stage 2 Cooler Stage 2 Out Outlet: Energy: Cooler 2 Out Stage 2 Q Enter a pressure drop of 0 kPa. Valve) with the following information: Name: Inlet: LetDown 1 IS Sep Liq Outlet: LD1 Out In the worksheet enter a pressure of 1725 kPa for stream LD1 Out. 7. 8. Piping Equipment.6. Add a separator with the following information: Name: Feed: HP Sep Cooler 2 Out Vapour Outlet: Liquid Outlet: HP Gas HP Sep Liq ChE 3G04 Winter 2004 McMaster University 18 . 10. In the worksheet enter a pressure of 7500 kPa for the stream Stage 2 Out.

The recycle installs a theoretical block in the process stream. It has an inlet (calculated) stream and an outlet (assumed) stream. The calculation process iterates until the values of the calculated stream match those of in the assumed stream within specified tolerances (Sequential Modular). HYSYS then compares the values of the calculated stream to the assumed stream. Install a valve with the following information: Name: Inlet: LetDown 2 HP Sep Liq Outlet: LD2 Out In the worksheet enter a pressure of 3450 kPa for stream LD2 Out.13. The feed into the block is termed the calculated recycle stream and the product is the assumed recycle stream. The following steps take place during the convergence process: • • • • HYSYS uses the conditions of the assumed stream and solves the flowsheet up to the calculated stream. Fill in the table of Values: LD1 Out Temperature ( C) Flow (kgmole/h) Vapour Fraction Is Composition known (y/n)? 3. HYSYS modifies the values in the calculated stream and passes the modified values to the assumed stream. What is the duty of the two coolers in kJ/h? C. Installing the Recycles A recycle operation is a mathematical unit operation. 2. Based on the difference between these values. 1. Can these be used as a guess for the recycle outlet?Why? o LD2 Out ChE 3G04 Winter 2004 McMaster University 19 . Examine the streams LD1 Out and LD2 Out.

Double click on Mixer 1 and add RCY-1 Out as a feed. Nested and Simultaneous. This page contains the options for the two types of recycles. Smaller tolerances result in a tighter convergence requirement. Simultaneous: all recycles set at simultaneous will be called at the same time. 4. The final step to solve the flowsheet is to connect the recycle outlets as inlets to Mixer 1 and Mixer 2. Add the first recycle. Look at the Worksheet tab for each recycle. Leave everything at their default. RCY 1 Inlet Vapour fraction Outlet Vapour fraction BONUS (2 marks): The vapour fractions will be slightly different in the recycle inlet and outlet for one or both streams. In this case the inlet and outlet streams should have the same values. 17. the inlet stream was already calculated by HYSYS. Use this option if your flowsheet has multiple inter-connected recycles. There may be small differences (see bonus question). What can be done to achieve identical vapour fractions? RCY 2 ChE 3G04 Winter 2004 McMaster University 20 . In the Parameters tab select Numerical. number of iterations). This page also displays the convergence information as the calculations are performed (maximum iterations. Fill in the following table. Logicals and Recycle. Use this type if you have a single recycle or if you have multiple recycles which are not connected. HYSYS allows you to set the convergence criteria or tolerance for each of the recycle variables. acceleration method. The recycle worksheet page displays the inlet and outlet stream information. This is because before we installed the recycle. Repeat with Mixer 2 with RCY-2 Out as a feed. Install the second recycle with the following information: Name: Feed: RCY-2 LD2 Out Product: RCY-2 Out 18. use Nested Recycles. The flowrates should be identical for the inlets and outlets. Select F12. Click on the Parameters tab. Enter the following information: Name: Feed: RCY-1 LD1 Out Product: RCY-1 Out 15. 16. Nested: this type of recycle gets called whenever it is encountered during calculations. Use the Wegstein acceleration method for this case. In this case. but should be identical.14.

7227 0. Feed 1 2275 kPa Mole Fraction 0.7041 0.0706 0.0057 0. C1.Tutorial 5: Separation Columns – 10 marks Recovery of natural gas liquids (NGL) from natural gas is a common procedure in the gas processing industry.0003 0. meet sales gas specification and to maximize liquid recovery (when liquid products are more valuable than gas).0204 Temperature Flowrate Component n-C4 i-C5 n-C5 C6 C7 C8 -85oC 215 kgmol/h Mole Fraction 0. Start a new case using Peng Robinson EOS as a fluid package and adding components: N2. HYSYS can model diffrent column configurations.0047 0. Add a material stream with the following data: Name Pressure Component N2 CO2 C1 C2 C3 i-C4 3.0102 0.C8 and enter the simulation.0002 0. 2.1176 0.0048 0. Recovery is done to produce transportable gas free from heavier hydrocarbons.0112 Temperature Flowrate Component n-C4 i-C5 n-C5 C6 C7 C8 -95oC 1590 kgmol/h Mole Fraction 0.0001 Add a second material stream with the following data: Name Pressure Component N2 CO2 C1 C2 C3 i-C4 Feed 2 2290 kPa Mole Fraction 0.0027 ChE 3G04 Winter 2004 McMaster University 21 .0147 0.. A.0750 0.0029 0. DeEthanizer and De-Propanizer.0036 0.1921 0. C2…. Learning Objectives • Add columns (Absorber and distillation) • Add extra specifications to columns B.0020 0.0025 0.0197 0. Building the Simulation 1.0037 0. CO2. In this NGL plant the following three columns will be modeled: De-Methanizer.0085 0.

1. If there is no convergence.4. This should give zero degrees of freedom. Select Next. ChE 3G04 Winter 2004 McMaster University 22 . Enter the following column information: Column Name Optional Feed Stream / Feed Stage Ovhd Vapour Product Bottoms Liquid Product DC1 Feed 2 / 2 Top Stage Feed Optional Feed Stream / Feed Stage Reboiler Energy Stream C. What is the mole fraction of methane in DC1 Ovhd. These specifications can result in columns which cannot be converged or produce streams with undesirable properties. Activate the Ovhd Prod Rate and specify a value of 1338 kgmol/h.? It is not always practical to have flow rate specifications. An alternative approach is to specify either component fractions or component recoveries in the column product streams. Select Next. Deactivate the Btms Prod Rate and Boilup Ratio if they are active. 5. Select Run to converge the column. 6. ask the TA. Select the Design tab and Monitor. Add the reboiled absorber (F12. 7. Tray Numbering Feed 1 Ex Duty / 4 DC1 Ovhd DC1 Btm DC1 Reb Q Top Down For the optional feed streams make sure the two streams are being fed to the correct column stage. Enter a Top Stage Pressure estimate of 2275 kPa and Reboiler Pressure of 2310 kPa and select Next. No information is supplied for the Boilup Ratio so select Done. HYSYS will open up the column property view. Enter a temperature estimate for the Top Stage as -88oC and Reboiler temperature estimate of 27 oC. Prebuilt Columns. Add a energy stream (select the red arrow from the legend template) and enter the following information: Name: Ex Duty Energy Flow: 2. Reboiled Absorber).1 x 106 kJ/h The De-Methanizer is modeled a reboiled absorber operation with two feed streams and an energy feed stream which represents a side heater on the column.

Pump). enter a pressure of 2792 kPa for stream DC2 Feed. In the display window that appears enter the following information and close the window: Name: Stage: Flow Basis: Comp Fraction 1 Mole Fraction Phase: Vapour Spec Value: 0. Install a distallation column (F12. Press the Add button and select Component Fractions from the list that appears. 12. not as an active specification. In the Design tab select Specs. The column shows zero degrees of freedom even though you just added another specification. Rotating Equipment.8. The purpose of this column is to produce a bottoms product that has a ratio of ethane to propane of 0.01. Press the Add Specs button. DC1 Ovhd in kgmol/h 11. It operates at a pressure of 2760 kPa. Enter the following information: Inlet: Outlet: DC1 Btm DC2 Feed Energy: P-100-hp In the worksheet. Deactivate the Ovhd Prod Rate and activate the Component Fraction of methane. The De-Ethanizer column is modeled as a distillation column with 14 stages. Name Feed Stage/ Stage Ovhd Vapour Product Bottom Product Condenser Duty DC2 DC2 Feed / 6 DC2 Ovhd DC2 Btm DC2 Cond Q No.96 Components: Methane 10. 2. Prebuilt Columns. 9. What is the flowrate of the overhead product. of Stages Condenser Type Ovhd Liquid Product (Distillate) Reboiler Duty 14 Partial DC2 Dist DC2 Reb Q ChE 3G04 Winter 2004 McMaster University 23 . This is due to the fact that the specification was added as an estimate. Install a pump (F12. Distillation) and enter the following information. Once the column has converged you can view the results in the Performance or Worksheet tab. Select Monitor from the Design tab. The pump is used to move the De-Methanizer bottom product to the De-Ethanizer.

Enter the following information: Inlet: DC2 Btm Outlet: DC3 Feed Enter a DC3 Feed pressure of 1690 kPa.Enter the following pressures. 5. A valve is required to reduce the pressure of the stream DC2 Btm before it enters the De-Propanizer. Valve).01 Components: ethane. In the Design tab. Name: Stage: Flow Basis: C2/C3 Reboiler Molar Phase: Liquid Spec Value: 0. Piping Equipment. temperature estimates and column specifications and press Run: Condenser P Condenser Delta P Reboiler P Condenser T 2725 kPa 35 kPa 2792 kPa -4oC Reboiler T Ovhd Vapour Rate Distillate Rate Reflux Ratio 95oC 320 kgmol/h 0 kgmol/h 2. The final column to be added is the De-Propanizer. Enter the following information on the display window which appears.5 (molar) 3. Select Monitor and deactivate the Ovhd Vap Rate and activate C2/C3 specification. What is the ratio of C2/C3? 13. select Specs. Add a valve (F12. It is modeled as a distillation column with 24 stages.5 mole percent i-C4 and n-C4 as well as a concentration of propane in the bottoms product that should be less then 2 mole percent. What is the flowrate of DC2 Ovhd in kgmol/h? 15. propane 14. What is the flowrate of C2 and C3 in DC2 Btms in kgmol/h? 4. The purpose of this column is to produce an overhead product that contains no more then 1. Press the Add button and select Component Ratio from the list of specifications. ChE 3G04 Winter 2004 McMaster University 24 .

Add a distillation column with the following information: Name Feed Stream/ Stage Ovhd Liquid Product Reboiler Duty DC3 DC3 Feed/ 11 DC3 Dist DC3 Reb Q No. 7.02 propane 18. temperature estimates and specifications and run the column: Condenser P Condenser Delta P Reboiler P Condenser T 1585 kPa 35 kPa 1655 kPa 38oC Reboiler T Distillate Rate Reflux Ratio 120oC 110 kgmol/h 1. What is the mole fraction of C3 in the overhead and bottoms product? 17. What is the flowrate in kgmol/h of the distillate and bottoms products? ChE 3G04 Winter 2004 McMaster University 25 . Deactivate the Distillate Rate and Reflux Ratio specification and activate the iC4 and nC4 and C3 specification.015 Components: i-butane.16. Create two new Component Fraction specifications for the column: Specification 1: Name: Stage: Flow Basis: iC4 and nC4 Condenser Molar Phase: Liquid Spec Value: 0. of Stages Condenser Type Bottom Product Condenser Duty 24 Total DC3 Btm DC3 Cond Q Enter the following pressures.0 (molar) 6. n-butane Specification 2: Name: Stage: Flow Basis: C3 Reboiler Molar Phase: Spec Value: Component: Liquid 0.

ChE 3G04 Winter 2004 McMaster University 26 . From the main environment. Sub-flowsheets contain equipment and streams. Ability to solve multiple towers simultaneously. the column appears as a single.The column sub-flowsheet allows you to make changes and focus on the column without recalculation of entire flowsheet. The column sub-flowsheet can be accessed by pressing the Column Environment button on the Column Property View.C. multi-product operation. This may be useful in instances when a different fluid package is better suited for the column or column does not use all the components in the main flowsheet and by decreasing the number of components you may speed up convergence. Isolation of Column Solver.The column sub-flowsheet uses a simultaneous solver whereby all operations within the subflowsheet are solved simultaneously. The simultaneous solver permits the user to install multiple interconnected columns within the subflowsheet without the need for recycle blocks. and exchange information with the parent flowsheet through the connected streams. The column sub-flowsheet provides a number of advantages: Optional use of different Fluid Packages. multifeed. You can return to the main environment by pressing the Parent Environment button. Column Sub-Flowsheets (Read Only) The column is a special type of sub-flowsheet in HYSYS.HYSYS allows you to specify a unique fluid package for the column sub-flowsheet.

105 0.026 4. A. Learning Objectives • • Use the optimizer tool in HYSYS to optimize flowsheets Use the spreadsheet to perform calculations B.25 x 105 kJ/h. From the Tools menu select Preferences and go to the Variables tab. will be used to find the optimal operating conditions. This approach is used in many gas plants where liquid production is small and does not warrant a full distillation column.C2…. ChE 3G04 Winter 2004 McMaster University 27 . A special tool in HYSYS. Select m3/d_gas from the drop down menu.Tutorial 6: Optimization in HYSYS – 15 marks In this example. 3.026 0.105 Temperature Molar Flow Component i-C5 n-C5 C6 C7 C8 C9 10oC 28200 m3/d_gas Mole Fraction 0. Move the cursor to the Flow cell. Rename the cloned set to Optimizer. 2. Add a material stream with the following information: Name Pressure Component C1 C2 C3 i-C4 n-C4 Feed 4125 kPa Mole Fraction 0.316 0.026 0. Building the Simulation 1. the optimizer.158 0.027 0.C9. instead of kgmol/h and units for liquid volume flow are m3/d rather then m3/h. a stabilization scheme is used to separate an oil and gas mixture into a stabilized oil and saleable gas. Modify the unit set. Select the SI unit set as the default. Add 3 heaters to the simulation with the following information Heater 1 Name: Outlet: Heater 1 HotFeed 1 Inlet: Energy: Feed Steam 1 Enter a pressure drop of 0 kPa and a Duty of 4. For this case the units for molar flow are in m3/d_gas. Click on the Clone button.105 0. Move the cursor to the Liquid Volume Flow cell and select m3/d.053 0. The object of the exercise is to select the let-down pressure and temperatures such that the products revenue less the utilities cost is maximized. Start a new case using Peng Robinson EOS as a fluid package and add components C1. A simple three-stage separation with heating between each stage is used.053 0.

6. Separator 3 Name: Feed: Stage 3 HotFeed 3 Liquid Outlet: Vapour Outlet: Liquid Product Stage 3 Vap Delete the pressure drop value (0 kPa is the default). ChE 3G04 Winter 2004 McMaster University 28 .Heater 2 Name: Outlet: Heater 2 HotFeed 2 Inlet: Energy: Stage1 Liq Steam 2 Enter a pressure drop of 0 kPa and a Duty of 3. Add 3 separators with the following information: Separator 1 Name: Feed: Stage 1 HotFeed 1 Liquid Outlet: Vapour Outlet: Stage 1 Liq Stage 1 Vap Enter a pressure drop of 0 kPa (should be at this value). Separator 2 Name: Feed: Stage 2 HotFeed 2 Liquid Outlet: Vapour Outlet: Stage 2 Liq Stage 2 Vap Delete the pressure drop value (0 kPa is the default). Add 2 compressors with the following information: Compressor 1 Name: Inlet: Comp 1 Stage 2 Vap Outlet: Energy: Comp 1 Out Comp 1-hp Enter an adiabatic efficiency of 75%. 5. Heater 3 Name: Outlet: Heater 3 HotFeed 3 Inlet: Energy: Stage 2 Liq Steam 3 Enter a pressure drop of 0 kPa and a Duty of 1.13 x 105 kJ/h.15 x 105 kJ/h.

The Optimizer C. 1. ChE 3G04 Winter 2004 McMaster University 29 . 9. Add a mixer with the following information: Name: Inlets: Gas Mixer Stage 1 Vap Comp 1 Out Comp 2 Out Outlet: Gas Product Set the pressure assignment to Set Outlet to Lowest Inlet. Pressure Comp 1 Out.Compressor 2 Name: Inlet: Comp 2 Stage 3 Vap Outlet: Energy: Comp 2 Out Comp 2-hp Enter an adiabatic efficiency of 75%. The following are some important terminology when dealing with an optimization problem. The optimizer contains a spreadsheet for defining the objective function as well as any constraints. 8. Vapour pressure of gasoline and other volatile petroleum products is commonly measured as a Reid Vapour Pressure (RVP). you can use the optimizer to find the operating conditions which minimize or maximize an objective function. as well as the tendencies of gasolines and other volatile petroleum products toward evaporative loss and fire hazard. The Reid Vapour Pressure (RVP) of the stream Liquid Product should be approximately 96. Make the necessary stream specifications Stage 2 Vap. Once your flowsheet has been built and a converged solution has been obtained. Pressure Stage 3 Vap. Pressure Comp 2 Out. RVP is useful in predicting seasonal gasoline performance (high volatility is needed in winter. lower volatility in summer). The Optimizer HYSYS contains a multi-variable steady state optimizer. The RVP for a stream is located in the Cold Properties utility. 7.5 kPa to satisfy the pipeline criterion. It is a measure of a liquid’s volatility. Create a utility by selecting Tools and Utility. Pressure 2050 kPa 350 kPa 4125 kPa 4125 kPa The vapour pressure is the pressure of a confined vapour in equilibrium with its liquid at a specified temperature. What is the current RVP for stream Liquid Product? C.

What should be the process (adjusted) variables be to maximize profit (there are five)? ChE 3G04 Winter 2004 McMaster University 30 . You set the upper and lower bound for the primary variables. Profit = Revenue – Cost Profit = Gas Product + Liquid Product – Steam Costs – Compression Costs 2. In this case we want to maximize profit while achieving a RVP of Liquid Product less then 96. How is the compression cost measured? 4. the optimizer must meet these constraint specifications. The function has to be defined within the spreadsheet. which are used to set the search range. Constraint Functions: these are inequality or equality functions that are defined in the spreadsheet. The revenues from the plant are the Gas Product and Liquid Product.5 kPa. Which variable can we change to affect steam cost? 3.Primary Variables: these are flowsheet variables whose values are manipulated in order to minimize/maximize the objective function. In solving the objective function. The associated operating costs are the steam costs for each heater plus the compression costs for each compressor. Objective Function: this is the function which is to be minimized or maximized. Which variables can we change to affect the compression cost (remember the compressor outlet pressure is fixed)? 5.

Select the appropriate variable. HYSYS allows you to import variables from the simulation into the spreadsheet.10. Select the appropriate cell. Select the Variables tab. Heat Flow. 11. select F5. To load the optimizer. increase the number of row form 10 to 15. 12. Select the Spreadsheet button on the optimizer view to open the spreadsheet. Steam 1. Set the low bound to 0 and the high bound to 1 x 106 kJ/h.0e+6 kJ/h 1.0e+6 kJ/h 3500 kPa 1000 kPa The optimizer has its own spreadsheet for defining the objective and constraint functions. Press the Add button to add the first variable. Make sure your units set is Optimizer not SI. right-click on the mouse and choose Import Variable. Cell B1 Object Utility-1 Select Utility from the Navigator Scope Liquid Product Select Flowsheet from the Navigator Scope Comp 1-hp Comp 2-hp Steam 1 Steam 2 Steam 3 Gas Product Variable Reid VP B4 Std Liquid Volume Flow B8 B9 B12 B13 B14 D4 Heat Flow Heat Flow Heat Flow Heat Flow Heat Flow Molar Flow ChE 3G04 Winter 2004 McMaster University 31 . Move to the Spreadsheet tab. In the spreadsheet you may want to write the variable name in the next cell beside the value. You can define the process (adjusted) variables. Primary variables may be imported and function defined within the optimizer spreadsheet. Object Steam 2 Steam 3 Stage 2 Vap Stage 3 Vap Variable Heat Flow Heat Flow Pressure Pressure Low Bound 0 kJ/h 0 kJ/h 650 kPa 70 kPa High Bound 1. The following variables need to be imported into the spreadsheet. On the Parameters tab. Complete the list of process variables below.

Do not include their units. Leave the penalty function as is. Select the objective function cell (D14) and select maximize. To write a formula in a cell you do not have to type the = sign first.1 $/kw-h 0. In cells D12. Use the defaults for tolerance and number of iterations. Oil Revenue and Total Revenue. The Function tab contains two groups. Here are the functions you need to know for this case with an example of what to type in a cell. Cell B2 B6 B10 B15 D6 Comment RVP Specification Oil Price Compression Cost Steam Cost Gas Price Value 96. In cell D14 calculate your Net Revenue (Profit). Close the spreadsheet window and return to the optimizer window. Watch your units. D8 and D9. In cells D7. ChE 3G04 Winter 2004 McMaster University 32 . 17. D13.5 kPa 94. 18. For the constraint function select the Add button. Other functions are available by selecting the Functions Help button. Select the Functions tab.682 $/kw-h 0. 15. For the LHS cell select cell B1 (current RVP). Select SQP (Sequential Quadratic Programming). Addition (+): +A1+A2 Subtraction (-): +A1-A2 Multiplication (*): +A1*A2 14. Select < for the condition. calculate the Gas Revenue. Move to the Monitor tab and press Start to begin the optimization. 16. To make these values unitless go to Variable Type and scroll down to SG. calculate the Compression and steam costs.The following constants should be added to the spreadsheet. The wrong units will be displayed when each value is calculated. This is used to select the optimization scheme. Select the Parameters tab.106 $/m3_gas Conversion factor which you will need: 1 kw-h = 3600 kJ 13. Select cell B2 (RVP Specification) for the RHS cell. the objective function and the constraint functions.35 $/m3 0.

The inlet of the second compressor. kPa RVP of Liquid Product kPa Base Case 25343 17. cannot be less then 125 kPa. Optimized Case D. kJ/h Stage 2 Vap Pressure.6. This is not a desired condition for the inlet of a compressor. Bonus ( 3 Marks) The pressure of the Stage 3 Vap has been decreased to 70 kPa which is less than atmospheric. kJ/h Steam 2 Heat Flow. m3/d Total Profit $ Steam 1 Heat Flow. Fill in the results. Give a brief summary comparing the base case to the Gas Product Flow m3/d_gas Liquid Product Flow. Comp 2. What is the maximum profit that can be obtained with this additional constraint.6 425000 315000 113000 2050 350 Answer to Question 1 B. kJ/h Steam 3 Heat Flow. kPa Stage 3 Vap Pressure.25 361. Explain how you solved this problem in HYSYS. ChE 3G04 Winter 2004 McMaster University 33 . optimized case.

Sign up to vote on this title
UsefulNot useful