Aspen HYSYS Training: Module 4: Logical Operations
Aspen HYSYS Training: Module 4: Logical Operations
Aspen HYSYS Training: Module 4: Logical Operations
Supported by:
SET OPERATION
Set Operation
Function : used to set the value of specific Process Variable (PV)
in relation to another PV.
The set operation only can be used to define relationship
between the same PV in two like objects,
i.e.: relationship between two temperatures of two different
streams.
The dependent, or target variable is defined in terms of
independent, or source variable according to the following linear
relation:
Y = MX + B
Double
click
click
ADJUST OPERATION
Adjust Operation
Function : varies the value of one stream variable (the independent
variable) to meet a required value or specification (the dependent
variable) in another stream or operation (automatically conduct the
trial and error iterations.)
Unlike set operation, Adjust can be used for both different and same
Process Variable in two different objects.
Double
click
click
Adjusting feed
temperature to
get specific
molar flow rate
in SepLiq.
Adjust ParametersTab
Define convergence criteria on this tab.
Method:
Broyden: used this to quickly converge
to the desired value
Secant: generally results in good
convergence once the solution has
been bracketed
Tolerance: The maximum difference
between the Target Variable and the
Target Value
Step Size: The initial step size
employed until the solution is
bracketed
Minimum/Maximum: The upper and
lower bounds for the independent
variable (optional) are set in this field
Maximum Iterations: The number of
iterations before HYSYS quits
calculations
TARGET PFD
OPEN FILE :
SET-ADJUST EXERCISE-STARTER.HSC
BALANCE OPERATION
Balance Operation
Function : provides a general-purpose heat and material balance
facility.
There are six Balance types which are defined in the table below:
Type
Definition
Mole
Mass
Heat
Mole and
Heat
An overall balance is performed where the heat and molar flow are
conserved.
Mass and
Heat
An overall balance is performed where the overall mass flow and heat flow
are conserved.
General
Double
click
click
Click to choose
outlet stream
Click to choose
balance type
OPEN FILE :
BALANCE EXERCISE-STARTER.HSC
RECYCLE OPERATION
Recycle Operation
Use this operation every time you need to recycle a stream.
The logical block connects the two streams around the tear stream
(stream with temporary specification).
Before you can install the RECYCLE the flowsheet must have
completed. That means there need to be values for both
the assumed stream and the calculated stream.
Once the Recycle is attached and running, HYSYS compares the
two values, adjusts the assumed stream, and runs the flowsheet
again. HYSYS repeats this process until the two streams match
within specified tolerances.
Double
click
click
Click to choose
outlet stream
Outlet stream will
always be a feed
stream to a unit
operation
to set the
convergence criteria
factor for each of
the variables listed
OPEN FILE :
RECYCLE EXERCISE-STARTER.HSC
SPREADSHEET
Spreadsheet
The Spreadsheet applies the functionality of Spreadsheet programs
to flowsheet modeling. With essentially complete access to all
process variables, the Spreadsheet is extremely powerful and has
many applications in HYSYS.
The HYSYS SPREADSHEET has standard row/column
functionality. You can import a variable, or enter a number or
formula anywhere in the spreadsheet.
Complex mathematical formulas can be created, using syntax which
is similar to conventional Spreadsheets. Arithmetic, logarithmic, and
trigonometric functions are examples of the mathematical
functionality available in the Spreadsheet.
Double
click
click
Spreadsheet Tab
Color Code:
Blue: Show
independent value
imported from stream
in the simulation or
value/text that we
manually type on the
spreadsheet.
Black: Show
dependent value
imported from stream
in the simulation.
Red: Show cell that
contain formulas
2.
3.
SPREADSHEET EXERCISE
From fluid composition described in the feed stream and following information, calculate reynolds
number of the liquid.
Pipe ID : 0.02 m
Re = Reynold number, dimensionless
= liquid density (kg/m3)
D = pipe ID (m)
v = liquid flow velocity (m/s)
= liquid viscosity (kg/m-s)
TARGET
SPREADSHEET
OPEN FILE :
SPREADSHEET-STARTER.HSC
Viscosity
1cP = 0.001 kg/m-s
Thank You
M. Ersharry Yunashtanto
Zayyanatun Zulfa
Ikha Muliawati
Mada Harahap
REFERENCES
Aspen Hysys Unit Operation Guide, Aspen Technology, 2011
HYSYS.Plant Simulation Basis, Hyprotech Ltd, 2000.
., Process Simulation Workshop.