You are on page 1of 10

Using the HYSYS/TASC Link

Using the HYSYS/TASC Link

2001 Hyprotech Ltd. - All Rights Reserved. HYSYS-TASC.pdf

Using the HYSYS/TASC Link

Introduction
The HYSYS/TASC link allows HYSYS users to access the power of TASC from within the simulation environment. The property data for the streams is obtained from HYSYS, as are the inlet temperatures, pressures and flowrates. All of these variables are imported into TASC and the exchanger can be designed using the TASC correlations and methods. Once the exchanger is designed, the geometric data can be committed to HYSYS. From this point on, whenever HYSYS needs to recalculate the exchanger, it will call up TASC without any further user intervention. In this module, we will link an existing HYSYS case with an exchanger to TASC and create a two way simultaneous link.

Learning Objectives
In this module, you will learn how to setup the HYSYS/TASC link, and how to use the power of TASC in your HYSYS simulations.

Prerequisites
Before beginning this module, it is expected that you have experience with both HYSYS and TASC; although experience with the HYSYS/TASC link is not necessary. Previous experience with the Simple Rating heat exchanger feature in HYSYS will help you understand the material in this module, but it is not mandatory. In this module, we will use HYSYS and TASC together; therefore, you must be able to access and run both of these programs on the computer that you will use for this module.

Using the HYSYS/TASC Link

Background
Linking HYSYS and TASC allows you to use the power and strengths of TASC from within the HYSYS simulation environment. This means that the exchanger will be calculated using the more advanced and rigorous methods available in TASC. There are three ways of linking HYSYS and TASC. The first way is to produce a process simulator interface (PSF) file from within HYSYS (using a unit operation extension) and then read this file into TASC. The PSF can be created on one machine and read into TASC on another. This requires that you obtain the required extension (available on the website www.software.aeat.com) and register the extension with HYSYS. The second method involves creating the PSF from within TASC using the File ---> Import from HYSYS command. Note that this requires that both HYSYS and TASC be run on the same computer. Both of the two methods described above will create a one-time, oneway link between HYSYS and TASC. The third method, described below, will create a live, two-way link between the two programs allowing for seamless data transfer. Creating a live link between HYSYS and TASC is the focus of this module. We will work though an example of the link and allow TASC to design and simulate the heat exchanger. The HYSYS case that we will use in this example is very simple. We are cooling a mixture of light hydrocarbons (C1 to n-C5) from 120 oC (250 oF) to 45 oC (115 oF). The cooling medium is water which increases in temperature from 15 oC (60 oF) to 30 oC (86 oF). The PFD for this process is shown on the next page.

Process Flow Diagram

Using the HYSYS/TASC Link

Workshop
Begin this workshop by opening the HYSYS case: HYSYS-TASC.hsc located on the Starter disk supplied with this course material. In this case, the exchanger has been setup using the "End Point" option in HYSYS. This is the simplest heat exchanger model in HYSYS, it is only recommended for situations where there is no phase change on either side and the Cp for both streams is relatively constant. It can also be used in situations where only a simple heat balance is required to solve for the exchanger, as is the case here. For this exchanger, we have specified the following data:


In order to calculate UA, HYSYS sets the Ft at 1. This is a fixed assumption when the "Shell Passes" is set to Counter Current.

Mass Flow Rate, Temperature, and Pressure of Feed stream. Temperature of Feed out stream. Temperature and Pressure of Cool Water stream. Temperature of To Tower stream. Both the Tube Side and Shell Side pressure drops.

From this specified information, HYSYS is able to determine all of the remaining variables. The mass flow rate of water is determined from the energy balance equation. HYSYS is also able to determine an approximate UA for this exchanger by manipulating the Q=UATLM equation; remember that all four temperatures were specified. What is the UA that HYSYS calculates for this exchanger? __________

Using the HYSYS/TASC Link

Converting the Exchanger to a TASC model


On the Parameters page of the Design tab, use the drop-down menu to change the Heat Exchanger Model to TASC Heat Exchanger.

The status bar for the exchanger will flash yellow, then back to green. There will also be some small changes to the current view. Press the View Design button to enter the TASC environment. In TASC you will enter design information about this exchanger. The first screen that TASC will display will be the Start up screen. On this screen, make sure that the default calculation mode, Design, is the one currently selected.

Note that although TASC has a calculation mode called "Simulation" we will not use that mode here. When linking HYSYS and TASC, HYSYS is responsible for the convergence of TASC. TASC should be in Rating/Checking mode.

Using the HYSYS/TASC Link

Press the OK button to advance to the next step in the process. TASC will now present a list of all the exchangers in the current HYSYS simulation case. For this example, we only have one exchanger in the simulation, so the list is quite short! However, it is possible to have numerous heat exchangers in a single simulation, and this screen is used to select the desired one.

The numbers that TASC imports for HYSYS can be changed by the user, if desired.

It is important that HYSYS and TASC are both operating in SI units to prevent any possible unit conversion errors. Make sure that this is the case here.

Advance to the next step by pressing the OK button. The HYSYS/TASC link will now begin to prepare the PSF file that will be used to bring the physical property and process data into TASC. You should now see a screen that looks like the one below.

Press the OK button to allow TASC to import the PSF file generated by the link. If there was any pre-existing process data in TASC, you would be asked

Using the HYSYS/TASC Link

for confirmation before TASC will import the PSF. This is to prevent the accidental loss of any pre-existing data. At this point in the process, you can define the physical properties of the exchanger. Use the information in the following table for the design. In This Cell...
Exchanger Geometry Front End Head Type Shell Type Rear End Head Type Side for Hot Stream Bundle Geometry Maximum Tube Length Incremental Tube Length Nozzles - Accept all defaults Process Fouling Resistance (Hot) Fouling Resistance (Cold) Options - Accept all defaults Enhanced Surfaces - Accept all defaults Properties - All physical property data is imported from HYSYS via the PSF. 0.0001 m2K/W 0.0001 m2K/W 1500 mm 500 mm TEMA A TEMA E TEMA L Shell Side Hot

Enter...

The Run button.

Once all of the information is entered into TASC, we can run the design by pressing the Run button in the toolbar, or by selecting Calculate All from the Run menu in the main menu bar. When run, TASC will display results for the deign that it found that has the lowest cost, but there may be other designs that will meet the duty and pressure drop requirements. These can be viewed by selecting Alternative Designs under the Output menu. How many designs has TASC generated for this exchanger? __________

Using the HYSYS/TASC Link

Once the design case has been run, you can create a checking case by selecting Create Checking Case from the File menu. Creating a checking case will ensure that the exchanger design is appropriate for our required duty and that the pressure drops are within our set limits. Once the Create Checking Case option is selected, TASC will once again display the list of alternative designs. For this exercise, choose the one that has 235 tubes. All of the heat exchanger specifications have been carried over from the design case, so we can just run the Checking case to produce TASC results. Once TASC has completed its calculations, we can return to HYSYS by pressing the Commit Changes to HYSYS button. This will complete the set up of the HYSYS/TASC link, and will return you to the HYSYS environment. Once this is done, you may close TASC. Upon returning to HYSYS, you may notice that the status of the exchanger is Overspecified. This is because TASC calculates several items that we have specified previously. Delete the following specifications for the exchanger:

It is important that the Checking case solves without any errors in TASC. If this is not the case here, ask the instructor for assistance before committing the design to HYSYS.

Temperature of Feed out stream. Pressure drop on Shell Side. Pressure drop on Tube Side.
HYSYS will now access TASC to solve for the required variables. Note that TASC will run in the background; you will not see this application. What temperature does TASC calculate for the stream Feed out? __________ What Tube Side pressure drop does TASC calculate? __________ What Shell Side pressure drop does TASC calculate? __________

10

Using the HYSYS/TASC Link

10

You might also like