Professional Documents
Culture Documents
Workshop
Fast Track to page 9.
Learning Objectives
Once you have completed this section, you will be able to:
Prerequisites
Adding Streams and Operations
Using the Spreadsheet
Process Overview
You cannot edit the default set, but you can make a copy of it by
pressing the Clone Unit Set button.
3.
4.
5.
Select m3/d_gas from the drop down menu in the Edit Bar.
6.
7.
Select m3/d from the drop down menu in the Edit Bar.
In this cell...
Enter...
Name
Feed
Temperature
10C (50F)
Pressure
Molar Flow
Component
Mole Fraction
C1
0.316
C2
0.158
C3
0.105
i-C4
0.105
n-C4
0.105
i-C5
0.053
n-C5
0.053
C6
0.027
C7
0.026
C8
0.026
C9
0.026
2.
In this cell...
Enter...
Connections
Name
Heater1
Inlet
Feed
Outlet
HotFeed1
Energy
Steam 1
Parameters
Pressure Drop
0 kPa
Duty
In this cell...
Enter...
Connections
Name
Heater2
Inlet
Stage1 Liq
Outlet
HotFeed2
Energy
Steam 2
Parameters
Pressure Drop
0 kPa
Duty
In this cell...
Enter...
Connections
Name
Heater3
Inlet
Stage2 Liq
Outlet
HotFeed3
Energy
Steam 3
Connections
Pressure Drop
0 kPa
Duty
3.
In this cell...
Enter...
Connections
Name
Stage1
Feed
HotFeed1
Liquid Outlet
Stage1 Liq
Vapour Outlet
Stage1 Vap
Parameters
Pressure Drop
0 kPa (default)
In this cell...
Enter...
Connections
Name
Stage2
Feed
HotFeed2
Liquid Outlet
Stage2 Liq
Vapour Outlet
Stage2 Vap
Parameters
Pressure Drop
In this cell...
Enter...
Connections
Name
Stage3
Feed
HotFeed3
Liquid Outlet
Liquid Product
Vapour Outlet
Stage3 Vap
Parameters
Pressure Drop
4.
In this cell...
Enter...
Connections
Name
Comp1
Inlet
Stage2 Vap
Outlet
Comp1 Out
Energy
Comp1-hp
Parameters
Adiabatic Efficiency
75% (default)
In this cell...
Enter...
Connections
Name
Comp2
Inlet
Stage3 Vap
Outlet
Comp2 Out
Energy
Comp2-hp
Parameters
Adiabatic Efficiency
5.
75% (default)
In this cell...
Enter...
Connections
Name
Gas Mixer
Inlets
Stage1 Vap
Comp1 Out
Comp2 Out
Outlet
Gas Product
Parameters
Pressure Assignment
6.
In this cell...
Enter...
The RVP of the Liquid Product stream should be about 96.5 kPa (14
psia) to satisfy the pipeline criterion.
The RVP for a stream is located in the Cold Properties Utility.
The Utility can be added by selecting Utilities from the Tools menu or
from the Utility page of the Attachments tab of the Liquid Product
stream property view.
10
The Optimizer
HYSYS contains a multi-variable Steady State Optimizer. Once your
Flowsheet has been built and a converged solution has been obtained,
you can use the Optimizer to find the operating conditions which
minimize or maximize an Objective Function. The Optimizer owns its
own Spreadsheet for defining the Objective Functions as well as any
constraint expressions to be used. This allows you to construct
Objective Functions which maximize profit, minimize utilities or
minimize exchanger UA.
10
Variables Tab
The Optimizer is not an
operation block and it will not
show up in the PFD.
When you invoke the Optimizer for the first time, you are placed on the
Configuration tab. Select the Default model. Then move to the
Variables tab. On the Variables tab you define the Process (Adjusted)
Variables to be used in the Optimization.
1.
2.
Press the Add button to add the first variable, Steam1, Heat Flow.
Set the Low Bound at 0 and the High Bound at 1.0e6 kJ/h (1.0e6
Btu/hr).
3.
Object
Variable
Description
Units
Low
Bound
High
Bound
Steam 1
Heat Flow
kJ/h (Btu/hr)
0.0 (0.0)
1.0e+6
(1.0e+6)
Steam 2
Heat Flow
kJ/h (Btu/hr)
0.0 (0.0)
1.0e+6
(1.0e+6)
Steam 3
Heat Flow
kJ/h (Btu/hr)
0.0 (0.0)
1.0e+6
(1.0e+6)
Stage2 Vap
Pressure
kPa (psia)
650 (95)
3500 (510)
Stage3 Vap
Pressure
kPa (psia)
70 (10)
1000 (145)
11
11
12
The Spreadsheet is an
operation and thus the
Spreadsheet cells get updated
when Flowsheet variables
change.
The Optimizer has its own Spreadsheet for defining the Objective and
Constraint functions. Primary Variables may be imported and
functions defined within the Optimizer Spreadsheet, which possesses
the same capabilities as the Main Flowsheet Spreadsheet.
1.
2.
3.
Adding Formulas
Complex mathematical formulas can be created, using syntax that is
similar to conventional Spreadsheets. Arithmetic, logarithmic and
trigonometric functions can be performed in the Spreadsheet.
All normal functions must be preceded by a + or = symbol. Special
Functions must be preceded by the @ symbol.
Some of the functions available are:
12
Object...
Variable...
B1
Cold Properties-1
Reid VP
B4
Liquid Product
B8
Comp1-hp
Heat Flow
B9
Comp2-hp
Heat Flow
B12
Steam 1
Heat Flow
B13
Steam 2
Heat Flow
B14
Steam 3
Heat Flow
D4
Gas Product
Molar Flow
Value...
Comment...
B2
RVP spec
B6
157.25$/m3 (25$/bbl)
Oil Price
B10
0.1 $/kw-h
Compression Cost
(2.9e-5 $/Btu)
B15
1.819$/kw-h
(0.0005$/Btu)
Steam Cost
D6
0.283 $/m3_gas
(8 $/MSCF)
Gas Price
13
13
14
14
Functions tab
The Functions tab contains two groups, the Objective Function and
the Constraint Functions.
1.
The Constraint Function is
multiplied by the Penalty
Value; the higher the Penalty
Value, the more weight that is
given to that constraint.
2.
3.
Parameters tab
The Parameters tab is used for selecting the Optimization Scheme.
15
15
16
3.
Monitor tab
The Monitor tab displays the values of the Objective Function, Primary
Variables and Constraint Functions during the Optimizer calculations.
1.
Move to the Monitor tab and press the Start button to begin the
optimization.
16
25343 (0.8950)
17.247 (108.5)
-534
2050 (300)
350 (50)
97.85 (14.19)
Optimized Case
17
17
18
18