Академический Документы
Профессиональный Документы
Культура Документы
Getting Started
1
© 2004 AspenTech, Inc. - All Rights Reserved.
1.3.1 Getting Started.pdf
2 Getting Started
Workshop
The Getting Started module introduces you to some of the basic
concepts necessary for creating simulations in HYSYS. You will use
HYSYS to define three gas streams to be used as feeds to a gas plant. In
addition, you will learn how to determine properties of these streams by
using the Phase Envelope and the Property Table utilities.
Learning Objectives
• Define a fluid package (property package, components,
hypotheticals).
• Add streams.
• Understand flash calculations.
• Attach stream utilities.
• Customize the Workbook.
2
Getting Started 3
The first tab of the Basis Manager allows you to manage the component
list(s) used in your case. There are a number of buttons available:
Figure 1
Button Description
View Allows you to access the property view for the selected Component
List.
Add Allows you to create a Component List.
Note: Component Lists can be added via the Fluid Package property
view.
Delete Removes the selected Component List from the simulation.
Copy Makes a copy of the selected Component List.
Import Allows you to import a predefined Component List from disk.
Component Lists have the file extension. (.cml)
Export Allows you to export the selected Component List to disk. The exported
Component List 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 click the Basis Environment icon
Basis Environment icon from the tool bar.
3
4 Getting Started
Inside the Current Fluid Packages group, there are a number of buttons:
Figure 2
Button Description
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 in 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.
The Fluid Pkgs tab allows you access to the fluid packages/flowsheet
associations list as well as the fluid package definition. As with older
versions, HYSYS allows the user to use multiple fluid packages within a
single simulation by associating the fluid packages with various
flowsheets and linking the flowsheets together. However, beginning with
HYSYS version 3.0 the user no longer requires the use of flowsheets to
employ multiple fluid packages within a single simulation. The user can
now utilize the Stream Cutter operation to incorporate multiple fluid
packages into a single flowsheet.
4
Getting Started 5
Figure 3
4. The fluid package name can be changed in the bottom left corner of
this view. Change the name from the default Basis-1 to Refinery.
5. Click the View button in the Component List Selection section of the
Set Up tab. This will allow you to add components to the
Component List that is now associated with the Refinery fluid
package.
5
6 Getting Started
Add Components
You can select components for your simulation using several different
methods.
To use... Do this...
Match Cell 1. Select one of the three name formats, SimName,
Full Name/Synonym, or Formula by selecting the
corresponding radio button.
You can add a range of 2. Click on the Match cell and enter the name of the
components by highlighting component. As you start to type, the list will
the entire range and clicking change to match what you have entered.
the Add Pure button.
3. Once the desired component is highlighted,
either:
• Click the ENTER key.
• Click 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.
2. To add the component, either:
• Press the ENTER key.
• Click the Add Pure button.
• Double-click on the component to add it to your
simulation.
Filter 1. Ensure the Match cell is empty, and click the
View Filter button.
2. Select the Use Filter checkbox to display the
various family filters.
3. Select the desired family (i.e., Hydrocarbons)
from the list of Family Filters to display only that
type of component.
4. Use either of the two previous methods to then
select the desired component.
6
Getting Started 7
6. Select the library components C1, C2, C3, i-C4, n-C4, i-C5, n-C5, and
C6.
Figure 4
7
8 Getting Started
Figure 5
8. In the hypo component view, select the ID tab and type the
Component Name, C7+.
Figure 6
Since you do not know the structure of the hypothetical component and
you are modelling a mixture, the Structure Builder will not be used.
8
Getting Started 9
9. Click on the Critical tab. The only property supplied by the lab for
the C7+ component is the Normal Boiling Pt. Enter a value of 110°C
(230°F).
10. Click the Estimate Unknown Props button to estimate all the other
properties and fully define the hypothetical component.
Figure 7
11. When the hypo component has been defined, return to the fluid
package by closing the hypo component C7+* view.
9
10 Getting Started
Figure 8
Every hypo you create is part of a Hypo Group. By default, this hypo is
placed in HypoGroup1. You can add additional groups and move hypo
components between groups. This is done on the Hypotheticals tab of
the Simulation Basis Manager.
C7+ C7 C8
Molecular Weight
You have now finished defining the fluid package. You can view the
Peng-Robinson binary coefficients for your selected components by
selecting the Binary Coeffs tab.
You will need to add
components C7 and C8 to
the component list in order
to view their properties.
Ensure that you delete them
once this exercise is
finished.
10
Getting Started 11
Figure 9
11
12 Getting Started
Now that the fluid package has been defined, you can start building the
simulation. Click the Enter Simulation Environment button to begin
building the simulation.
Figure 11
12
Getting Started 13
Figure 12
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: heat flow. They are used to
represent the duty supplied to or by a unit operation.
13
14 Getting Started
In this case, you will add three streams to represent three different gas
wells. Each stream will be added using a different method of installation.
1. Press F11. The stream property view appears. If the stream property
view is not displayed, double-click on the newly created stream
(from the PFD) to bring up the property view.
Figure 13
14
Getting Started 15
Highlight the Stream Name cell. Change the stream name by typing in a
new name:
Figure 14
15
16 Getting Started
7. Click the OK button when all the mole fractions have been entered.
8. Close the Stream property view.
9. Save case as DePentanizer Feed.hsc.
You can use one of several different methods to save a case in HYSYS:
• From the File menu, select Save to save your case with the same
name.
Save icon
• From the File menu, select Save As to save your case in a
different location or with a different name.
• Click the Save icon on the tool bar to save your case with the
same name.
16
Getting Started 17
Flash Calculations
HYSYS can perform three types of flash calculations on streams: P-T, Vf-
Only two of these three P, and Vf-T. Once the composition of the stream and two of either
stream parameters (Vapour
Fraction, Temperature, or temperature, pressure or vapour fraction are known, HYSYS performs a
Pressure) can be supplied. flash calculation on the stream, calculating the third parameter.
Perform a P-T flash calculation on the stream Feed. Set the pressure to 4000
kPa (580 psia) and the temperature to 100°C (212°F). What is the vapour
fraction?
____________________________________________________________________
Perform a bubble point calculation on the stream Feed. Set the pressure to
4000 kPa (580 psia). What is the dew point temperature?
____________________________________________________________________
Perform a dew point calculation on the stream Feed. Set the pressure to 4000
kPa (580 psia). What is the dew point temperature?
____________________________________________________________________
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 recalculating when conditions change in the stream or
operation to which it is attached.
17
18 Getting Started
• Pressure - Temperature
• Pressure - Volume
• Pressure - Enthalpy
• Pressure - Entropy
• Temperature - Volume
• Temperature - Enthalpy
• Temperature - Entropy
An Envelope utility will be added to the stream Feed from the Stream
property view.
18
Getting Started 19
Figure 15
What is the critical temperature and pressure for the stream Feed?
Tc________________________________ Pc________________________________
19
20 Getting Started
Figure 16
A Property Table utility will be added to the stream Feed from the Tools
menu.
20
Getting Started 21
3. Click the Add Utility button. The Property Table view appears.
Figure 17
4. Click the Select Stream button and select the stream Feed.
5. Click the OK button to return to the Design tab.
6. Choose Pressure as the first Independent Variable.
7. Change the mode to State.
8. In the State Values matrix, enter values of 500, 1000, 2000, and 3000
kPa. If you are using field units, the values will be 72, 145, 290, 435
psia.
9. Choose Temperature as the second Independent Variable.
10. Change the Lower and Upper Bounds to -50°C (-58°F) and 200°C
(392°F) respectively. Set the Increments value to 5 so each interval is
increased by 50°C (90°F).
21
22 Getting Started
Figure 18
22
Getting Started 23
Figure 19
1. Open the Stream property view for Feed, and view the Conditions
page.
2. Add a Vapour Fraction of 1.0 and Pressure of 4000 kPa (580 psia).
3. Move the mouse arrow to the left or right side of the view until the
arrow changes to the double-headed resizing arrows.
23
24 Getting Started
4. Press and hold the left mouse button and drag the edge of the view
until all the phases can be seen as shown below.
Figure 20
Figure 21
24
Getting Started 25
1. Open the Workbook by clicking the Workbook icon on the tool bar.
2. From the Workbook menu, select Setup. The Setup view appears as
shown below.
Workbook icon
Figure 22
25
26 Getting Started
3. Under the Workbook Tabs group, click the Add button. The new
Object Type view appears.
Figure 23
26
Getting Started 27
10. Repeat steps #8 and #9 to add Watson K and Vap Frac on a Volume
Basis as shown below.
Figure 24
11. Exit the view when you are done to return to the Workbook.
12. The Workbook now contains the tab Other Prop. which shows the
values of Mass Density, Watson K, and Vap Fraction on a Volume
Basis as shown below.
Figure 25
27
28 Getting Started
Figure 27
28
Getting Started 29
4. From the list, you can choose to print or preview any of the available
datasheets.
29
30 Getting Started
30
Propane Refrigeration Loop 1
1
© 2004 AspenTech, Inc. - All Rights Reserved.
1.3.2 Propane Refrigeration Loop.pdf
2 Propane Refrigeration Loop
Workshop
Refrigeration systems are commonly found in the natural gas processing
industry and in processes related to the petroleum refining,
petrochemical, and chemical industries. Refrigeration is used to cool gas
to meet a hydrocarbon dewpoint specification and to produce a
marketable liquid.
Learning Objectives
Once you have completed this module, you will be able to:
Prerequisites
Before beginning this module, you need to know how to:
2
Process Overview
4 Propane Refrigeration Loop
3. Click the Enter Simulation Environment button when you are ready
to start building the simulation.
Installing a Stream
There are several ways to create streams. (For a complete description,
see the previous module.)
or
4
Propane Refrigeration Loop 5
5
6 Propane Refrigeration Loop
• Valve
• Chiller
• Compressor
• Condenser
In this exercise, you will add each operation using a different method of
installation.
6
Propane Refrigeration Loop 7
Figure 2
Adding a Chiller
The Chiller operation in the propane loop is modeled in HYSYS using a
Heater operation. The outlet of the Chiller will be at its dewpoint.
To add a heater:
7
8 Propane Refrigeration Loop
Figure 3
5. Click the Add button, or double click on Heater. The Heater property
view appears.
6. On the Connections page, enter the information as shown below:
Figure 4
8
Propane Refrigeration Loop 9
8. Enter a Delta P value of 7.0 kPa (1 psi) and a Duty value of 1.00e+06
kJ/h (1.00e+06 Btu/hr) for the Chiller.
Figure 5
The Parameters page will be
common to most unit
operations and contains
parameters such as Delta P,
Duty, and Efficiency.
Adding a Compressor
Placing the mouse arrow on The Compressor operation is used to increase the pressure of an inlet
a button in the Object gas stream.
Palette will display a fly-by
description for the button.
To add a compressor:
Compressor icon
9
10 Propane Refrigeration Loop
Figure 6
Figure 7
10
Propane Refrigeration Loop 11
There are two ways to connect the operation to a stream on the PFD:
11
12 Propane Refrigeration Loop
5. From the PFD, connect stream 4 to the Condenser inlet and connect
the Condenser outlet to stream 1.
6. Double-click on the Condenser.
7. On the Parameters page, enter a Delta P of 35 kPa (5 psi).
Figure 8
You can perform many of the tasks and manipulations on the icons in
the PFD by using object inspection. Place the mouse arrow over the icon
you want to inspect and press the right mouse button. An appropriate
menu is produced depending upon the icon selected (Stream,
Operation, Column, or Text Annotation).
12
Propane Refrigeration Loop 13
A list of the objects that you can object inspect are shown in the
following table with the corresponding menus.
Unit Operations
13
14 Propane Refrigeration Loop
Workbook Tables
Text Annotations
Stream Line
14
Propane Refrigeration Loop 15
15
16 Propane Refrigeration Loop
Figure 9
16
Propane Refrigeration Loop 17
• Print. Lists the available Datasheets for the active unit operation.
You can highlight a Datasheet and either preview or print it.
Figure 10
17
18 Propane Refrigeration Loop
Figure 11
2. Click the Create button to add a new report. The Report Builder view
appears as shown below.
Figure 12
18
Propane Refrigeration Loop 19
Figure 13
19
20 Propane Refrigeration Loop
Figure 14
20
Propane Refrigeration Loop 21
5. After the table has been added, you can move it by selecting it and
dragging it with the mouse.
6. If you Object Inspect the table, you can change its properties and
appearance. You can also specify which variables the table will show.
Advanced Modeling
One of the key design aspects of HYSYS is how Modular Operations are
combined with a Non-Sequential solution algorithm. Not only is
information processed as you supply it, but the results of any
calculation are automatically propagated throughout the flowsheet,
both forwards and backwards. The modular structure of the operations
means that they can calculate in either direction, using information in
an outlet stream to calculate inlet conditions. This design aspect is
illustrated using the Propane Refrigeration Loop.
Figure 15
21
22 Propane Refrigeration Loop
When streams 1 and 2 are attached to the valve J-T, HYSYS first
determines what information is known in either the input or output
stream. It will then assign these values to the other stream. In this case,
since no valve pressure drop was specified, only the composition and
intensive enthalpy of stream 1 will be passed to stream 2.
In addition, HYSYS uses the specified heater duty and the intensive
enthalpy of streams 2 and 3 to calculate the flowrate, which is then
passed on to streams 1, 2 and 3.
Next, the Compressor is added to the simulation. Since all of the inlet
information is known, the compressor has only 2 degrees of freedom
remaining. Parameters such as Efficiency, Duty or Outlet Pressure can
satisfy one degree of freedom. The second degree of freedom comes
from the Condenser.
The Condenser connects the Compressor outlet to the Valve inlet (which
is completely defined). The user supplies the Condenser pressure drop,
and HYSYS calculates the inlet pressure, which is also the Compressor
outlet pressure (the second degree of freedom for the Compressor).
22
Propane Refrigeration Loop 23
The Chiller Gas Flow meter has finally been calibrated and you can
determine the chiller duty. It has been decided to increase the chiller
duty to 1.5 MMBTU/hr.
With the compressor running at the same horsepower (250 hp), what is the
best chiller outlet temperature you can achieve (and thus maximize cooling
for the process) while still running the compressor at a reasonable operating
point? ______________________________________________________________
What effect, if any, does this new composition have on the refrigeration
loop? _______________________________________________________________
23
24 Propane Refrigeration Loop
Figure 16
24
Propane Refrigeration Loop 25
25
26 Propane Refrigeration Loop
26
De-pentanizer & De-butanizer 1
1
© 2004 AspenTech, Inc. - All Rights Reserved
1.3.3 De-pentanizer & De-butanizer.pdf
2 De-pentanizer & De-butanizer
Workshop
Separation of light products is typical of Refinery operations. In this
module, two columns will be modeled to separate pentanes and
butanes.
Learning Objectives
Once you have completed this section, you will be able to:
Prerequisites
Before beginning this module you need to have completed the Getting
Started and the Propane Refrigeration Loop modules.
2
Process Overview
4 De-pentanizer & De-butanizer
Column Overview
De-pentanizer
De-butanizer
4
De-pentanizer & De-butanizer 5
Make sure the temperature, pressure and flowrate for Feed stream are
the following:
There are 12 ideal stages in the De-pentanizer, 10 in the tray section plus
the Reboiler and Condenser.
5
6 De-pentanizer & De-butanizer
2. Input the following information into the first input expert page.
Figure 1
The Next button is only available when all of the necessary information
has been supplied.
6
De-pentanizer & De-butanizer 7
Figure 2
Temperature estimates are not required for the column to solve but they
will aid in convergence.
Figure 3
7
8 De-pentanizer & De-butanizer
Figure 4
9. Click the Done button. HYSYS will open the Column Property View
window. Access the Monitor page on the Design tab.
Figure 5
8
De-pentanizer & De-butanizer 9
10. You need to deactivate the Ovhd Vap Rate by clicking on the Active
check box. Now only the Reflux Ratio checkbox is checked and the
Degrees of Freedom is 1.
11. To add a specification, click the Add Spec… button.
Figure 6
12. Select Column Component Fraction and click the Add Spec(s)…
button.
13. Provide the following information.
9
10 De-pentanizer & De-butanizer
Figure 7
14. When you are done, close the window to go back to the Monitor
page of the Design tab. Check the Active ratio button for the Comp
Fraction iC5 specification.
15. Click the Run button to begin calculations.
Once the column has converged, you can view the results on the
Performance tab.
Figure 8
10
De-pentanizer & De-butanizer 11
11
12 De-pentanizer & De-butanizer
Figure 9
12
De-pentanizer & De-butanizer 13
Figure 10
13
14 De-pentanizer & De-butanizer
Figure 11
You can move to a cell by clicking it, or by clicking the arrow keys.
The values are those corresponding the variable named to the left.
Import them. Fractions and Flows are in molar basis
14
De-pentanizer & De-butanizer 15
11. To enter the formulas place the cursor on the cell and write it.
Remember to use a "+" symbol before mathematical operations.
Enter the following formulas
Cell Formula
D5 +b4+b5
D7 +(b6+b7)/(b1+d1)*100
D14 +b13+b14
D16 +(b15+b16)/(b10+d10)*100
Figure 12
Clicking in the Function Help button you can see all the operations that
are available in HYSYS.
Once the cell is completed, you can export the variable to the
simulation. This is done by clicking with the right button in the cell. The
spreadsheet allows you to use your own correlations, for example, for
pressures drop, etc.
Linking Templates
Once you have completed the recovery fractionation train you can link it
to the Propane Loop Template, and use the Propane Loop to refrigerate
the De-butanizer.
7. Close the Energy stream view. Click the Enter Parent Simulation
Environment icon on the toolbar to return to the Sub-Flowsheet
Operation view.
Enter Parent Simulation
Environment icon
16
De-pentanizer & De-butanizer 17
Figure 14
17
18 Advanced Modelling
Advanced Modelling
The Column is a special type of SubFlowsheet in HYSYS. SubFlowsheets
contain equipment and streams, and exchange information with the
Parent Flowsheet through the connected streams. From the Main
Environment, the Column appears as a single, multi-feed multi-product
operation. In many cases, you can treat the Column in exactly that
manner.
The presence of the green "Up Arrow" button in the Button Bar and the
Environment: Name (COL1) indicates that you are in the Column
SubFlowsheet.
18
Advanced Modelling 19
Exercise 2
What is the Molar Enthalpy for streams Reflux and Boilup?
Reflux___________________________, Boilup____________________________
19
20 Advanced Modelling
20
Oil Characterization 1
Oil Characterization
1
© 2004 AspenTech. All Rights Reserved
1.3.4 Oil Characterization.pdf
2 Oil Characterization
Workshop
The petroleum characterization method in HYSYS will convert
laboratory analyses of condensates, crude oils, petroleum cuts and coal-
tar liquids into a series of discrete hypothetical components. These
petroleum hypocomponents provide the basis for the property package
to predict the remaining thermodynamic and transport properties
necessary for fluid modelling.
HYSYS will produce a complete set of physical and critical properties for
the petroleum hypocomponents with a minimal amount of
information. However, the more information you can supply about the
fluid, the more accurate these properties will be, and the better HYSYS
will predict the fluid's actual behaviour.
Learning Objectives
Once you have completed, you will be able to use the Oil
Characterization option in HYSYS.
Prerequisites
Before beginning this module you need to understand the basics of the
Fluid Package (refer to Getting Started).
2
Oil Characterization 3
Figure 1
3
4 Oil Characterization
4
Oil Characterization 5
Assay Types
Accurate volatility characteristics are vital when representing a
petroleum fluid in your process simulation. HYSYS accepts the following
standard laboratory analytical assay procedures.
5
6 Oil Characterization
Light Ends
Light Ends are defined as pure components with low boiling points.
Components in the boiling range of C2 to n-C5 are most commonly of
interest.
6
Oil Characterization 7
Bulk Properties
Bulk Properties for the sample may also be supplied. The bulk
properties are optional if a distillation curve or chromatograph have
been supplied.
7
8 Oil Characterization
4. Select the Distillation radio button in the Input Data group box.
5. Select the Assay Basis as Liquid Volume (use the drop-down menu).
Click the Edit Assay button; this will allow you to enter the assay
information below.
8
Oil Characterization 9
6. Select the Light Ends radio button and enter the data given below:
You need to enter the light components in the Fluid Package for them to
be available to the Oil Manager.
7. Select the Bulk Props radio button to enter the Bulk information.
8. In the Standard Density cell, enter an API Gravity of 29 for the crude.
9. Once you have entered all of the data, click the Calculate button.
The status message at the bottom of the Assay view will display
Assay Was Calculated.
Once the Assay is calculated, the working curves are displayed on the
Plots and Working tabs. The working curves are regressed and
extrapolated from the Assay input. From the user-supplied data, HYSYS
generates curves for NBP, molecular weight, mass density, and viscosity.
These working curves are used in determining the properties of the
hypocomponents generated in the Blend step.
10. Close the view and return to the Oil Characterization view. You
should still be on the Assay tab of the view. Notice that all of the
buttons on the view are now accessible.
9
10 Oil Characterization
Cut Ranges
You have three choices for the Cut Option Selection:
Range Cuts
37.78 - 425°C (100 - 797°F) 28 (4 per 37.78°C/100°F)
425 - 650°C(797 - 1202°F) 8 (2 per 37.78°C/100°F)
650 - 871°C(1202 - 1600°F) 4 (1 per 37.78°C/100°F)
• User Ranges. You specify the boiling point ranges and the
number of cuts per range.
10
Oil Characterization 11
5. Click the Submit button to accept the ranges and cut the oil.
Figure 2
The results of the calculation can be viewed on the Tables tab of the
Blend view.
Go to the composite plot tab to verify the calculated curve matches the
input one.
1. Close the Blend view, and move to the Install Oil tab of the Oil
Characterization view.
2. The Blend, Crude, appears in the Oil Install Information group.
11
12 Oil Characterization
3. In the Stream Name column, enter the name Raw Crude to which
the oil composition will be transferred.
Figure 3
HYSYS will assign the composition of your calculated Oil and Light Ends
into this stream, completing the characterization process.
12
Oil Characterization 13
What are the two lowest boiling points for the hypocomponents? _________
What are the Ideal Liquid Density for those hypocomponents? ___________
You can also provide a descriptive Name for the property, such as
Sulphur.
13
14 Oil Characterization
Now that you have created it, you can return to the Assay Property view,
User Curves tab, and add it to your Assay. The view displayed should
look like this:
Figure 4
Click the Calculate button on the Assay view. You can now print the new
plots, especially that of the sulphur, to analyse them.
Tip: Go to the Blend tab,
and then to the Composite
Plot.
Save your case!
14
Oil Characterization 15
In this example, we will use our existing crude from the previous
exercise (Raw Crude) as a diluent and mix it with a heavy oil of 15 API, in
order to see what the new calculated properties of the resulting mixture
are. In characterizing the heavy oil, we have its bulk density (15 API), a
TBP curve, and will also use viscosity curves provided by the lab.
Remember: API density is
inversely proportional to
Specific Gravity so the lower
141.5
it is, the higher the density API gravity ( degrees ) = ---------------------------------------------------------------
- – 131.5
value. 60
Specific Gravity at ----------
60F
15
16 Oil Characterization
Average crude oils (including water and acid gases) are well represented
by the modified NBS method, however the Twu method is found to do a
better job of predicting the viscosities of heavier hydrocarbons
(NBP>155oF).
The method used for the mixed oil stream will depend on its
composition (NBP).
Exercise
For a proper characterization of a heavy oil it is crucial to know its bulk
density and its viscosity at two different temperatures; providing the
Watson K factor is also recommended.
16
Oil Characterization 17
Adapted from HYSYS 3.2 • An Independent assay basis, where different sample assays are
Simulation Basis Guide - done––one for the distillation curve, and a different one for each
Characterization Assays of the physical property curves. The assay fractions will likely be
different for each curve.
• A Dependent assay basis, where a common set of assay
fractions is used for both the distillation curve and the physical
property curves.
From the existing case, go to the Oil Environment and add a new Assay
with the following data:
• S. Joaquin Crude
• Standard density 15.3 API
• Viscosity @ 70 F 2040 cSt
• Viscosity @ 100 F 337 cSt
17
18 Oil Characterization
• If the 2 oils are blended within Oil Manager only 1 set of hypo
components is created, representing the blended mixture.
• However, when different crudes are coming from very different
sources, it is a good idea to blend them separately (creating two
different blends) and mix them in the Simulation Environment
instead. The reason for this is that in blending the crudes within
Oil Manager, HYSYS must generate a set of common
hypocomponents that can well predict the properties both of the
source oils––not necessarily a reasonable expectation for very
different crudes.
The S Joaquin Crude in this case differs greatly from the "Raw Crude" we
created earlier in this module (both in NBP and in physical properties).
For this reason the user is encouraged to create another blend, instead
of creating a common set of hypocomponents from the two crudes.
Optional Exercise
Test this out yourself––after completing this exercise in full, create a new
blend in the Oil Manager that is a mix of both assays. Then compare the
properties of this blend with the those of the mixed stream created in
Step #6 below.
18
Oil Characterization 19
After you've created the blend, go to the Composite Plot tab and
compare the generated curves with the input data. (You can change the
scale of the graph in order to have a better view of the viscosity by right
clicking on the plot).
4. Install the S Joaquin oil in the PFD. Go to the Install tab of the Oil
Manager and enter the stream name "S Joaquin".
5. Enter the Simulation Environment and view the S Joaquin stream.
What is the current API density of the SJoaquin stream at1 bar and 60 F?
____________________________________________________________________
You can see the importance of using the bulk density in the
characterization of the oil: go back to the Oil Environment and delete
the value that is entered there.
Restore the value 15 API for the bulk density of the heavy oil assay in the
Oil Environment before continuing.
What is the minimum quantity of Raw Crude we need to add? (Hint: Use an
Adjust) _____________________________________________________________
Is the viscosity of the mixed stream better for transportation now? _______
19
20 Oil Characterization
Save this case for your records and load the one we created prior to the
Exploring the Simulation exercise. The rest of the course materials are
built using the lighter "Raw Crude" stream as the oil source.
20
Pre-Heat Train 1
Pre-Heat Train
1
© 2004 AspenTech, Inc. - All Rights Reserved
1.3.5 Pre-Heat Train.pdf
2 Pre-Heat Train
Workshop
In this module you will continue to develop your ability to create HYSYS
simulations. Here, we will continue with the HYSYS case that was started
in the previous module.
Typically, after some preheating the first unit that a crude oil will pass
through is the desalter. This unit is responsible for removing salt, grit,
and other impurities from the oil. This unit is normally placed along the
Pre-Heat Train, needed to recover energy from products and to raise the
temperature of the oil stream before it enters the Atmospheric Crude
Column. In this module, you will learn how to build a Heat Exchanger in
HYSYS.
Logical operations and the Databook are also introduced in this module.
Learning Objectives
Once you have completed this section, you will be able to:
Prerequisites
Before beginning this section you need to complete the Oil
Characterization module.
2
Process Overview
4 Pre-Heat Train
1. Open the case you saved at the end of the previous module (Oil
Characterization).
Only the composition is known for stream Raw Crude. Add the following
data to it:
Adding a Mixer
A mixer is added to combine the raw crude with water to represent the
oil sample entering the refinery. Downstream the free water is knocked
out with the three - phase separator.
Mixer icon
4
Pre-Heat Train 5
Adding a Heater
The Pre-Heat Train consists of various heat exchangers. A heater will be
added to account for them and raise the temperature to 65°C (149°F).
Heater icon
Add a Heater, we will use a Shell and Tube Heat Exchanger later.
Figure 1
5
6 Pre-Heat Train
Adding a Stream
Before adding the Heat Exchanger, we need to define the Pumparound
stream, which will exchange heat with the Raw Crude.
3. Click the Define from Other Stream button on the bottom of the
Hot Pump Around Stream view.
4. Highlight Raw Crude in the Available streams list.
5. Uncheck all the Copy Stream Conditions boxes except for
Composition. You will be specifying your own conditions in the next
step.
Figure 2
6. Click the OK button to return to the previous menu and enter the
following values in the Hot Pump Around stream: Temperature 180
C, Pressure 200 kPa and Std Ideal Liq Vol Flow of 175 m3/h. (356°F,
30 psia and 2.6e+04 barrel/day if you are using field units).
6
Pre-Heat Train 7
Figure 3
7
8 Pre-Heat Train
Figure 4
8
Pre-Heat Train 9
You can have multiple Estimate specifications. The Heat Exchanger will
only use the Active specifications for convergence.
Figure 5
9
10 Pre-Heat Train
When you change the type of specification, the view will change
accordingly. Once all the information has been provided, the view will
be as below. Close the Temp Approach window.
Figure 6
The completed heat exchanger Specs page should look like this:
Figure 7
10
Pre-Heat Train 11
Figure 8
11
12 Pre-Heat Train
The Delta P represents the result of the pressure drop along the various
heaters.
12
Pre-Heat Train 13
13
14 Pre-Heat Train
Look at the Vapour Fraction for stream To Desalter. The feed to the
Desalter has to be liquid, in this case it is, but it could change with the
pressure. The stream parameters are calculated so there is no way you
can force the stream to calculate a bubble point. Adding a Mole Balance
allows you to create a second steam with the same molar flowrate and
composition as To Desalter, but no vapour fraction, temperature or
pressure.
3. Specify a Pressure of 915 kPa (133 psia) for the stream Bubble
Temperature.
4. Set the Vapour Fraction to calculate the bubble point temperature.
Up to what Temperature can the Feed be heated in the Pre-heat Train so that
it remains liquid?____________________________________________________
14
Pre-Heat Train 15
Figure 9
Adjust icon
2. Click the Select Var… button in the Adjusted Variable group to open
the Variable Navigator.
3. From the Object List select To Preflash. From the Variable List,
which is now visible, select Temperature.
Figure 10
Always work left to right in the Variable Navigator. Don't forget you can
use the Object Filter on the right-hand side when the Object list is large.
15
16 Pre-Heat Train
4. Click the OK button to accept the variable and return to the Adjust
property view.
5. Click the Select Var button in the Target Variable group.
6. Select Light Prod Molar Flow as the target Variable.
Figure 11
Figure 12
16
Pre-Heat Train 17
Figure 13
17
18 Pre-Heat Train
HYSYS varies the independent variables one at a time, and with each
change, the dependent variables are calculated.
Before installing the Case Study, the Adjust has to be turned off so that it
does not conflict with the Case Study.
Both the independent and the dependent variables are added to the
Databook from the Variables tab.
Figure 14
18
Pre-Heat Train 19
5. On the Variables tab, click the Insert button to open the Variable
Navigator.
6. Select the Object as To Preflash and choose Temperature as the first
variable.
7. Click the Add button to add the variable. This will leave you in the
Variable Navigator to add the second variable.
8. Select Light Prod - Molar Flow and click the Add button.
9. Close the view to return to the Databook.
10. In the Databook, switch to the Case Studies tab.
11. Click the Add button to add a new Case Study.
12. Select To Preflash Temperature as the Independent Variable and
Light Prod - Molar Flow as the Dependent Variable.
Figure 15
19
20 Pre-Heat Train
14. Enter values for Low Bound, High Bound, and Step Size of 150°C
(300°F), 250°C (482°F) and 10°C (18°F) respectively.
Figure 16
Once you have finished the Case Study, activate the Adjust operation by
unchecking the Ignored box.
20
Pre-Heat Train 21
Exercise 2
You are very concerned about the behaviour of the Pre-flash. You want
to achieve a good separation of the light components. Although you
adjusted the temperature to the required flowrate, usually this value of
the molar flow is not known, and the specification is a desired molar
Use a spreadsheet to create fraction of light products in the stream entering the Atmospheric
this new variable.
Column.
Use the Adjust to achieve a molar fraction of light products (C1, C2, C3,
i-C4, n-C4, i-C5, n-C5 and Water) in the Bttm Liq of 0.12.
21
22 Pre-Heat Train
22
Atmospheric Crude Column 1
Workshop
Atmospheric Crude Columns are one of the most important pieces of
equipment in the petroleum refining industry. Typically located after the
Desalter and the Crude Furnace, the Atmospheric Tower serves to distil
the crude oil into several different cuts. These include naphtha,
kerosene, light diesel, heavy diesel and AGO.
Learning Objectives
After completing this module, you will be able to:
Prerequisites
Before beginning this module you will need to know how to:
2
Process Overview
Column Overview
Atmospheric Crude Column 5
1. Return to the Basis Environment, enter the Oil Manager then enter
Oil Environment view.
2. Under the Cut/Blend tab, select the default crude blend and click
the View button.
The Distribution Plots tab
displays a bar chart
3. Go to the Tables tab. This is where the information is displayed.
depicting how an assay 4. Using the Oil Distributions Table Type and the Straight Run cut
would be roughly distributed
in a fractionation column.
option, complete the following table:
5
6 Atmospheric Crude Column
3. Check the Water Draw checkbox and name the stream Waste Water.
6
Atmospheric Crude Column 7
Figure 1
4. Move to the next page of the Input Expert. Enter the following data:
Figure 2
7
8 Atmospheric Crude Column
5. Move to the next page of the Input Expert. Enter the following data:
Figure 3
6. Move to the next screen of the Input Expert. Enter 0 kgmole/h in the
Vapour Rate field as shown.
Figure 4
7. After clicking Done, you are placed on the Column Property View.
Move to the Design tab and open the Monitor page.
8
Atmospheric Crude Column 9
The first side operation of each type will be added using the side ops
input expert. This tool is design to simplify the process for adding side
operations to columns.
1. On the Side Ops tab, click the Side Ops Input Expert button.
2. The Side Ops Input Expert is really five experts in one interface. The
first page of the input expert is for adding reboiled side strippers,
and the other pages are for different side operations.
When entering the stream
names, do not enter the 3. In this part of the module, a steam stripped side stripper is the
"@COL1" this term is added operation that we want to install. Click the Next button once to
automatically by HYSYS.
move to the appropriate input expert for this type of operation.
9
10 Atmospheric Crude Column
4. Click the Add Side Stripper button, and complete the view with the
following connections:
Figure 5
5. Click the Install button. HYSYS will now add the side stripper and
associated streams to the simulation.
6. The next side operation that we will add is the pump around for the
AGO section of the column. Again, this operation will be added by
using the input expert for pump around operations.
7. Click the Next button twice to get to the appropriate input expert.
8. Click the Add Pump Around button to add the operation. Define it
with the information shown below.
10
Atmospheric Crude Column 11
Figure 6
11
12 Atmospheric Crude Column
13. On the Work Sheet tab, enter the following information for the AGO
Steam stream:
After making substantial 14. Return to the Design tab and Monitor page. Ensure that the Degrees
changes to a column’s of Freedom is 0.
design, it may be necessary
to reset the specified values 15. Click the Run button to converge the column.
before the column will
converge. Simply click the
Reset icon.
2. Click the Install button when you are finished and close the view
after.
12
Atmospheric Crude Column 13
3. On the Side Ops tab, select Pump Arounds and click the Add button.
Enter the following information:
4. Click the Install button, and you will be moved to the second part of
the installation process. Under the first active and second active
specs, add the following information to complete the specifications
for this pump around.
6. Return to the Design tab and Monitor page. Ensure that the Degrees
of Freedom is 0.
7. Click the Run button to converge the column.
13
14 Atmospheric Crude Column
3. Return to the Design tab and Monitor page. Ensure the Degrees of
Freedom is 0.
4. Click the Run button to converge the column.
14
Atmospheric Crude Column 15
Adding an Energy stream that is not fully defined creates one degree of
freedom for the column. Therefore, we need to add another
specification to the column in order for it to solve.
3. Go to the Monitor page and click the Add Spec button in the
Specification group.
4. Choose Column Liquid Flow from the list that appears. Click the
Add Spec button.
5. Enter the data as shown (if using Field units, the flow value will be
3500 bbl/d) and make the specification Active.
Figure 7
15
16 Atmospheric Crude Column
Figure 8
8. Return to the Monitor page and ensure that the Degrees of Freedom
= 0. Click Run to converge the column.
16
Atmospheric Crude Column 17
The Distribution Plot page in the Oil Manager (under the Blend view)
shows the cut points that were used to generate that plot. In order to
maximize the proportion of Kerosene the Cut Point range is widened
slightly.
17
18 Atmospheric Crude Column
following table:
To maximize the products, you will need to add Cut Point specifications
to replace the product flow specifications.
Exercise 1
Maximize the Production of Full Range Naphtha
To maximize the production of Naphtha, it is necessary to increase its 95
vol% cutpoint temperature. At the same time, the Kerosene’s 5 vol%
cutpoint temperature will show a corresponding increase as the lighter
Kerosene components are transferred into the Naphtha product
(becoming the heavier Naphtha components). By changing the flow rate
specifications for both the Naphtha and Kerosene products to ASTM
D86 95% vol% cutpoints, we can maximize the production of a full range
Naphtha from the column.
18
Atmospheric Crude Column 19
Exercise 2
Maximize the Production of a Full Range Kerosene
To maximize the production of Kerosene, its boiling point range has to
be expanded. The ASTM D86 95 vol% cutpoint for Naphtha should be
lowered to 162°C (325°F), the base case value, and the 95 vol% of
Kerosene raised to 275°C (525°F). Change the Diesel product flowrate
specification to an ASTM D86 95 vol% cutpoint specification of 330°C
(625°F).
19
20 Atmospheric Crude Column
Exercise 3
Maximize the Production of a Full Range Diesel
The production of Diesel can be maximized in a similar manner to
maximizing Kerosene. The ASTM D86 95 vol% for Naphtha is 162°C
(325°F). The Kerosene ASTM D86 95 vol% is lowered to 220°C (430°F).
The ASTM 95 vol% Diesel specification should be increased to 360°C
(675°F). Since the AGO flowrate will have to change, its flowrate
specification should be changed to an ASTM D86 95 vol% cutpoint
specification of 415°C (780°F).
20
Vacuum Tower 1
Vacuum Tower
Workshop
Vacuum Towers are commonly used in the refining industry to further
process the bottoms product of the Atmospheric Column. The Vacuum
Tower distills the atmospheric bottoms product under reduced pressure,
enabling further separation of the petroleum fractions.
Learning Objectives
Once you have completed this section, you will be able to:
Prerequisites
Before beginning this section, you need to know how to:
2
Process Overview
Column Overview
Vacuum Tower 5
Add a Heater
The Atmospheric Crude Column should be converged using the Product
Flow specifications, not the Cut Point specifications.
5
6 Vacuum Tower
2. Under the Optional Side Draws group add the following data:
Each side draw adds one degree of freedom and so requires one
specification.
3. Click the Next button to move to the Pressure Profile page, and
enter the following values:
6
Vacuum Tower 7
5. On the Specs page of the Design tab, add the following draw rate
specifications.
• The draw rate for the Vacuum Ovhd is 2600 kg/h (5732 lb/hr)
• The draw rate for the LVGO is 32 m3/h (4800 bbl/d)
• The draw rate for the HVGO is 90 m3/h (13,700 bbl/d)
Ensure these specs and the top PA Rate spec is active and change the
default name to PA_1 Rate (Pa). Do the same for TopStagePA_Duty (Pa)
by changing the default name to PA_1 Duty(Pa).
6. Go to the Side Ops tab and click the Side Ops Input Expert button.
7. Click Next three times to move to the Pump-Around Input Expert
view.
8. Change the default name TopStagePA to PA 1.
9. Click the Return button to go back to the Column properties view.
7
8 Vacuum Tower
Pump Around 2
In this cell... Enter...
Name PA 2
Return Stage 5
Draw Stage 6
Rate 265 m3/h (40,000 bbl/d)
Duty -3.2e7 kJ/h (-3.0e7 Btu/hr)
Pump Around 3
In this cell... Enter...
Name PA 3
Return Stage 8
Draw Stage 9
Rate 330 m3/h (50,000 bbl/d)
Duty -1.2e7 kJ/h (-1.137e7 Btu/hr)
Return to the Design tab, Monitor page. Check that the Degrees of
Freedom is equal to zero. Make sure that the PA_1 Duty specification is
not active. Click the Run button to converge the column.
8
Vacuum Tower 9
Tray Sizing
In the second part of this module, you will learn how to size columns.
While HYSYS is able to size and rate tray sections, the values that it
provides are only a rough estimation and should be treated as such.
• Design Mode
• Rating Mode
1. Select Tools / Utilities from the Main Menu bar, or press the hot key
9
10 Vacuum Tower
CTRL U.
2. Select Tray Sizing from the list of available utilities and click the Add
Utility button.
3. Click the Select TS button, and select Vacuum Tower as the
Flowsheet and TS-1 as the Object.
HYSYS allows users to select Tray Sections and not entire columns so
Side Strippers may be sized independently from the Main Column.
4. Click the Add Section button. In the Setup Section group, change
the Internals from Valve (default value) to Packed.
HYSYS will calculate the dimensions of the column using present values
for the column internals and for the various parameters.
5. On the Specs tab you can select the tower internals. Change the
Packing Type to Ballast Rings (Plastic, random) 1_inch.
6. On the Performance tab, a summary of the calculations is
presented. Choose the Packed radio button to see the detailed
calculation.
10
Vacuum Tower 11
Obtain the flow parameters and pressure drops for a column that uses
the different packing as given in the table below.
• Maximum % Flood = 85
Case # 1 2 3
Flooding (%)
Total delta P (kPa)
11
12 Vacuum Tower
12
Heat Integration 1
Heat Integration
Workshop
Process streams at high temperature contain energy that can be
recovered. Heat integration is nowadays indispensable to reduce
product cost. In this module we will learn how to simulate this
integration,
In this workshop, you will use the recycle operation to recover heat from
the Atmospheric Crude Column and used to pre-heat the raw crude.
Learning objectives
Once you have completed this section, you will be able to:
• Export Pumparounds.
• Use the Recycle operation in HYSYS.
Prerequisites
Before beginning this module you should have completed the Vacuum
Tower modules.
2
Process Overview
4 Heat Integration
Figure 1
4
Heat Integration 5
2. In the main PFD you can check that the Kerosene_PA Draw and
Kerosene_PA Return streams appear.
Attach Mode icon You can see that the process remains yellow and no calculation is
performed. This is because HYSYS has no starting point. We need to
install a Recycle Operation.
The Recycle installs a theoretical block in the process stream. 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
In general, a Recycle
operation is required for • HYSYS uses the conditions of the assumed stream (outlet) and
material transfer and not for solves the flowsheet up to the calculated stream (inlet).
thermal recycles. • 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.
5
6 Heat Integration
You are going to add the Recycle operation just before the Column. This
way, HYSYS will start calculations at this point, and once the Kerosene
Pump Around is determined it will continue with the Heat Exchanger,
up to the ATM Feed once again, where it will compare values.
1. Click on the Break the Connection icon for the ATM Feed with the
Atmosphere Column.
Break Connection icon
2. Add the Recycle by double-clicking on the Recycle icon in the Object
Palette.
3. Select ATM Feed as the inlet stream to the recycle. Enter ATM Feed 2
as the outlet from the recycle.
Recycle icon
Figure 2
6
Heat Integration 7
On the Numerical page, you can see the options for the two types of
Recycle, Nested or Simultaneous.
Figure 3
In the Worksheet tab information about the Inlet and Outlet stream is
displayed, as usual. 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 known. When the Recycle was connected,
the known Inlet conditions were automatically passed to the Outlet
stream to serve as the starting guess.
7
8 Heat Integration
6. As a starting point, you are going to define the ATM Feed 2 as the
Raw Crude but at 400 ºC (752 ºF). Use the Define from Other Stream
option in the Stream Property View.
7. Run the column.
It may be useful to ignore
the Adjust while converging In the Monitor Page from the Design Tab of the Property view Column
both columns.
you can see how HYSYS is calculating each loop.
AGO PA_Duty
8
Heat Integration 9
9
10 Heat Integration
10
Heat Integration 11
Exercise 2: Recycles
1. Where should the Recycle be placed in this flowsheet and why?
Figure 4
Figure 5
11
12 Heat Integration
Figure 6
Figure 7
12
Rating Heat Exchangers 1
Workshop
A heat exchanger is a vessel that transfers heat energy from one process
stream to another. Until now, we have not considered the physical
parameters of the heat exchangers we have modeled. In this module we
will be entering this additional information regarding our shell and tube
heat exchanger and allowing HYSYS to determine whether or not it will
suit our needs.
Learning Objectives
In this workshop you will learn how to:
Prerequisites
We ignore the adjust so that
Before beginning this workshop you need to have completed the
it doesn’t interfere with out previous modules.
calculations.
2
Process Overview
First Part
Process Overview
Second Part
Rating Heat Exchangers 5
5
6 Rating Heat Exchangers
(1)
(M (H –H ) –Q ) – (M (H – H ) –Q ) = Balan ceError
cold out in cold leak hot in out hot loss
H = Enthalpy
The Heat Exchanger duty may also be defined in terms of the overall
heat transfer coefficient, the area available for heat exchange and the log
mean temperature difference:
Q = UA ( LM TD )F = M ( H – H ) –Q = M (H –H ) –Q
(2)
t hot in out hot loss cold out in cold leak
6
Rating Heat Exchangers 7
∆T – ∆T (3)
1 2
LMTD = -------------------------------------
Ln ( ∆T ⁄ ∆T )
1 2
The LMTD can be either terminal or weighted. This means that it can be
calculate over the exchanger as a whole (terminal) or over sections of the
exchanger (weighted). The need for this type of calculation is shown on
the next page.
The following plot is a heat loss curve for a single phase stream. It
compares the temperatures of the process streams with the heat flow
over the entire length of the exchanger. For single phase streams, these
plots are linear.
Figure 1
7
8 Rating Heat Exchangers
Figure 2
8
Rating Heat Exchangers 9
9
10 Rating Heat Exchangers
When using the Rating mode the Duty can not be fixed, that means that
the Streams entering the Heat Exchanger can not be fixed by the
Column, as they are when exporting the Pump Around.
Figure 3
10
Rating Heat Exchangers 11
Figure 4
The radio button selection in the Sizing Data group will dictate the type
of information shown at any given moment. Each parameter will be
defined later on in this module.
The TEMA Type is selected as part of the Overall sizing data. There are
three drop-down lists which allow you to specify the geometry of the
front end stationary head type, the shell type and the rear end head type
for the exchanger. The following tables provide brief descriptions for
each designated TEMA Type letter. Drawings of the various TEMA types
can be found on page 11-4 of Perry's Chemical Engineers Handbook,
Sixth Edition.
11
12 Rating Heat Exchangers
12
Rating Heat Exchangers 13
Rating Parameters
Brief explanations are provided below for each Simple Rating parameter.
The parameters are categorized according to the radio buttons in the
Sizing Data group box. Most of these parameters are only available when
the mode is chosen as Detailed as opposed to Basic.
Overall Information:
• Tube Volume per Shell. The volume inside the tubes, used only
in dynamic simulations
• Shell Volume per Shell. The volume inside the shell, used only
in dynamic simulations
• Heat Trans. Area per Shell. The total area available for heat
transfer, calculated from the specified geometry.
• Elevation. The height of the base of the exchanger, used only in
dynamic simulations.
• Tube Passes per Shell. The number of tube passes per shell.
• Orientation. The orientation of the exchanger, used only in
dynamic simulations.
• Number of Shells in Series. The number of shells in series.
• Number of Shells in Parallel. The number of shells in parallel.
• TEMA Type. Described earlier.
13
14 Rating Heat Exchangers
If you want HYSYS to use general correlations to determine the shell and
tube side pressure drops and heat transfer coefficients, select the
Detailed model on the Parameters page. This will allow HYSYS to
calculate the desired terms.
6. Go to the Parameters tab and check the Detailed radio button. Note
that the data needed for the simulation changes.
14
Rating Heat Exchangers 15
Make sure that both pressure drop cells are empty, as we said before,
HYSYS calculates the values.
Once you've broken the Pumparound, the data in the Kerosene Streams
will be deleted, it's a good idea to keep the values of Kerosene_PA Return
to provide the Outlet Recycle stream with a starting point. Create a
stream called Kerosene_PA Return Copy and defined it from
Kerosene_PA Return.
15
16 Rating Heat Exchangers
7. Add a Recycle unit and connect the Kerosene Out as the Inlet stream
and the Kerosene_PA Return as the Outlet.
8. In the Numerical page of the Parameters tab, change the Maximum
Iterations to 20.
9. You need to provide the Outlet Recycle stream with an initial guess,
so that all the streams entering the Column are defined, define it
from the Kerosene_PA Return Copy you previously created.
10. Run the Atmosphere column.
Exercise 1
In the previous module, we learned where to place Recycles. It is also
important to minimize the number of recycles used in the flowsheet.
Tip: A helpful way of doing
this is to place the Recycle
mentally in different Look at your simulation and decide where to place a single recycle to
locations and imagine the converge the case.
HYSYS calculation
sequence.
16
Rating Heat Exchangers 17
Exercise 2
You are asked to find a heat exchanger to replace the existing one.
However, since you are on a very restricted budget, you can only
consider used equipment. A heat exchanger has been found in a nearby
plant. If the critical process parameter is to maintain the To Desalter
temperature of at least 85°C (185°F), can this heat exchanger be used?
Previous experience has shown you that after about six months in
operation, the exchanger becomes fouled and the fouling factor for both
shell-side and tube-side is 0.0001°C-h-m2/kJ.
17
18 Rating Heat Exchangers
18
Crude Column Optimization 1
Workshop
A crude column with pump arounds and side-strippers can converge in
a few seconds using a wide variety of product quality specifications.
However, the complexity of the model and intrinsic interaction between
variables can make it very difficult to use the model alone as a decision-
making tool.
Learning Objectives
After completing this module, you will be able to use the Derivative
Utility to:
Prerequisites
Before beginning this module you will need to know how to:
2
Process Overview
4 Crude Column Optimization
Price Revenue
3
Revenues ($/m ) ($/h)
Naphtha 14.00 2100
Kerosene 12.00 743
Diesel 10.00 1300
AGO 6.00 180
Residue 2.00 580
Costs ($/MM kJ)
Condenser 0.12 15
Flash zone duty 3.00 287
Profits (approximately) 4600
From the cost and revenues table above, we can determine that it would
be most desirable to get the maximum quantity of Naphtha possible,
since it is the highest value product, and of course, concurrently
minimise the energy consumption. This is not a simple task because the
market requires that product quality standards be taken into account.
The following table shows these standards:
4
Crude Column Optimization 5
In this case, the prices for the Energy values are given in MMKJ/h and,
since this unit is not available in the HYSYS unit library, we will need to
define it.
5
6 Crude Column Optimization
Figure 1
6
Crude Column Optimization 7
Figure 2
7
8 Crude Column Optimization
Derivative Utility
The Derivative Utility is used to hold all the data used for defining the
HYSYS Optimizer variables, constraints, and the Objective Function.
Figure 3
8
Crude Column Optimization 9
We will use only the distillation column as the desired unit operation.
Using this mode will optimize variables pertaining to the Atmospheric
Crude Tower unit operation.
Figure 4
The needed optimization objects for the utility (in the case of the
Derivative Utility: Optimization Variables, Constraints, and Objective
Function variables) can be added directly from this view. In the
Derivative Utility Configuration group, there is a drop-down list on the
right side of the group.
9
10 Crude Column Optimization
Figure 5
7. Select OptVars and click the Add button to the left of the drop-down
list. The selection view is displayed:
Figure 6
10
Crude Column Optimization 11
Figure 7
The Object Name column lets you modify the name of the created
variables. In addition, the Attached Object and attached Property
columns are also displayed in the view, as well as the variable's current
value.
The Master and Runtime radio buttons toggle the display between all
objects and those being considered for the current evaluation. The
properties can be filtered into the following:
• Optimize flag
• Minimum
• Maximum
• Range (optional)
• Global Minimum
From the list of variables, if • Global Maximum
you uncheck the “Optimize
flag” check box for certain
variables, the Master list will
The Global inputs are appropriate only for real time applications and
still show you all the can be set at the same values as the minimum and maximum.
variables (selected and non-
selected) whereas the
Runtime list shows only the
The Optimize flag works in conjunction with Runtime and Master lists.
selected ones. When the optimization problem is being set up, this flag is evaluated for
11
12 Crude Column Optimization
each variable. If the flag is false, then the variable is not exposed to the
Optimizer and the value remains at its starting value for the length of the
solution. With this, you can easily switch between optimization
problems by turning variables and constraints on and off. The value for
the variable Range is used in the calculation of a perturbation (= range x
perturbation factor). If none is provided, the span (maximum -
minimum) is used for the calculations.
Adding Variables
We need to add all of the optimization variables in the same way. Notice
that only those variables shown as blue in the simulation (input values)
can be selected since they must be available for updating during the
optimization. In this example, those variables that are specified as
Active specs in the column will need to be accessed through this
derivative utility.
9. Click the Add button with the OptVars option selected in the drop-
down list.
10. Add the steam flowrates. Since the specified value (blue) in this case
is in the stream itself, you will be able to access it through this object
directly as you did with the Bttm Stream Flowrate.
Figure 8
12
Crude Column Optimization 13
Figure 9
Make sure that all values from the Current Value column are in blue,
since they’ll be changed later by the optimizer.
12. Select the Input view from the Variables tree on the left.
13. Complete the minimum and maximum values for each of the
variables.
Minimum Maximum
Minimum and maximum
values are the boundaries Flowrates Steam (kg/h)
for the variables in the
700 AGO Steam Flow 1600
optimization; this is the valid
range for the optimization. 2000 Bttm Steam Flowrate 4800
800 Diesel Steam Flow 1900
Flowrates Products
0 Off Gas Flowrate (kgmole/h) 10
110 Naphtha Flowrate (m3/h) 190
46 Kero Flowrate (m3/h) 80
104 Diesel Flowrate (m3/h) 156
20 AGO Flowrate (m3/h) 40
13
14 Crude Column Optimization
Minimum Maximum
Energy (MMKJ/h)
-33 Kero PA Duty -60
-25 Diesel PA Duty -50
-25 AGO PA Duty -50
Pump Around Draw Rates (m3/h)
240 Kero PA Flowrate 400
150 Diesel PA Flowrate 250
150 AGO PA Flowrate 250
Additional Specs
6 Kero Reb Duty (MMKJ/h) 10
17 Liq Flow Stg 27 (m3/h) 30
• Use flag
• Minimum
• Maximum
• Scale
14
Crude Column Optimization 15
14. Click on the Add button with the ProcCons option activated in the
drop-down list as shown:
Figure 10
We could add the distillation points from the Boiling point Curves utility,
but that would take more time than if we took the values from the
Column’s Monitor page (they will save calculation time).
Use a descriptive name as 15. Add the required Distillation Points on the Monitor page of the
this will make it easier to find Column Property view if they are not already there.
with the Object Navigator.
Figure 11
15
16 Crude Column Optimization
16. Repeat the steps in order to complete the whole list of Constraint
variables as displayed in the previous table.
17. For the heavy streams, we will include Flash Point and Pour Point
specifications by selecting them from the column.
18. Go to the Monitor page.
19. Click the Add Spec button.
We can also view these
properties with the 20. Click the Add Spec button again and select Cold Properties.
corresponding utility but it
will be better to gather all Figure 12
the information within the
Monitor page.
16
Crude Column Optimization 17
22. Add two new process constraints for the Energy streams (you can
select these directly from the stream).
Figure 13
17
18 Crude Column Optimization
All the variables with a cost associated may be listed into the
Constraints/Objective Function tab. The HYSYS SQP optimizer will only
minimize the Objective Function. For this reason the revenues have to
be expressed as negative, and the cost values positive.
Thus, every single variable will have, as a result, its current value
multiplied by the associated cost/revenue. The Jacobian will minimize
the individual values that will end in a total minimum (the sum of all the
values from the list).
Price
3
Revenues ($/m )
Naphtha 14.00
Kerosene 12.00
Diesel 10.00
AGO 6.00
Residue 2.00
Costs ($/MM kJ)
Condenser 0.12
Flash zone duty 3.00
Profits
18
Crude Column Optimization 19
23. To add Objective Function variables, click on the Add button with
the ObjFunc option selected.
Figure 15
24. For this problem, individual objective function objects are installed
as shown below. Select the Naphtha product Volume Flowrate
(because the price is in $/m3).
Figure 16
19
20 Crude Column Optimization
Figure 17
20
Crude Column Optimization 21
Optimizer
The Optimizer interface is used to collect all of the derivative utilities
within the current simulation case and provide them to the
optimization algorithm. The Optimizer is invoked by pressing F5 or by
opening the Simulation menu and selecting Optimizer.
Figure 18
21
22 Crude Column Optimization
22