SlideShare a Scribd company logo
1 of 50
Download to read offline
Supported by:
Aspen HYSYS Training
Module 4: Logical Operations
Tutor:
M. Ersharry Yunashtanto
Zayyanatun Zulfa
Ikha Muliawati
Mada Harahap
• The Set Operation
• The Adjust Operation
• The Balance Operation
• The Recycle Operation
• The Spreadsheet
Logical Operations Used in HYSYS Steady State
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:
Set Operation
Y = MX + B
where: Y = Dependent (target) variable
X = Independent (source) variable
M = Multiplier (slope)
B = Offset (intercept)
How to Add Set Operation (1st method)
How to Add Set Operation (2nd method)
click
Double
click
Example Using Set in Simulation
Set Connections Tab
Click to choose Target Object
and variable to set
Click to choose Source
Object where independent
variable placed
Set Parameters Tab
Define Multiplier and offset
for dependent variable
towards independent
variable
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.
Adjust Operation
How to Add Adjust Operation (1st method)
How to Add Adjust Operation (2nd method)
click
Double
click
Example Using Adjust in Simulation
Adjusting feed
temperature to
get specific
molar flow rate
in SepLiq.
Adjust Connections Tab
Click to choose object
and variable that want to
be adjusted
Click to choose target
object and variable
Type the specified
target value
User can input
specific target
value, or choose
the value from
another object
with the same
process variable
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
SET & ADJUST OPERATION EXERCISE
Problem Description:
There are two wells (A and B) with different composition that want to be joined.
Well temperature and pressure are 120oC and 40 barg.
A : B Molar flow ratio is 80 : 20
The expected gas flowrate from well is 300 MMSCFD
And water gas ratio is 20 Sbbl/MMSCF
TARGET PFD
OPEN FILE :
SET-ADJUST EXERCISE-STARTER.HSC
BALANCE OPERATION
• Function : provides a general-purpose heat and material balance
facility.
• There are six Balance types which are defined in the table below:
Balance Operation
Type Definition
Mole An overall balance is performed where only the molar flow of each
component is conserved.
Mass An overall balance is performed where only the mass flow is conserved.
Heat An overall balance is performed where only the heat flow is conserved.
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 HYSYS will solve a set of n unknowns in the n equations developed from
the streams attached to the operation.
Component ratios may be specified on a mole, mass or liquid volume
basis.
How to Add Balance Operation (1st method)
How to Add Balance Operation (2nd method)
click
Double
click
Example Using Balance in Simulation
create a stream that
has the same molar
composition and
flow rate as another
stream, but a
different pressure
and temperature
(e.g. - at dew point
conditions)
Example Using Balance in Simulation
all the
components of gas
stream RX Inlet are
converted to pure
propane in
the outlet stream RX
Outlet at the same
pressure condition.
Determine the
temperature of RX
Outlet when there is
no accumulation
happen.
Mass in = Mass out
Balance Connections Tab
Click to choose
inlet stream
Click to choose
outlet stream
Balance Parameters Tab
Click to choose
balance type
Balance Worksheet Tab
Mass Flow for each
stream is the same
Temperature of
RX Outlet
BALANCE OPERATION EXERCISE
Problem Description:
Create a stream that has the same molar composition and flow rate as another stream, but a different
pressure and temperature (e.g. - at dew point conditions). dewpoint of the product at 6000 kPa.
TARGET PFD
OPEN FILE :
BALANCE EXERCISE-STARTER.HSC
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.
Recycle Operation
How to Add Recycle Operation (1st method)
How to Add Recycle Operation (2nd method)
click
Double
click
Example Using Recycle in Simulation
Recycle Connections Tab
Click to choose
inlet stream
Click to choose
outlet stream
Inlet stream will always
be a product stream
from a unit operation.
Outlet stream will
always be a feed
stream to a unit
operation
Recycle Parameters Tab
to set the
convergence criteria
factor for each of
the variables listed
to select the transfer
direction of the
variable
RECYCLE OPERATION EXERCISE
Problem Description:
a two-phase feed stream (FEED) is mixed with a recycled stream (RECYCLE) and fed to separator V-
100. The vapour from V-100 is expanded in expander E-100 and then reflashed in separator V-101.
Half of the liquid from this separator is fed to pump P-100 and then recycled back and mixed with
the fresh feed.
TARGET PFD
OPEN FILE :
RECYCLE EXERCISE-STARTER.HSC
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.
Spreadsheet
How to Add Spreadsheet (1st method)
How to Add Spreadsheet (2nd method)
click
Double
click
Example Using Spreadsheet in Simulation
Spreadsheet Connections Tab
Used to Add, Delete
and Edit Imported and
Exported variable
Spreadsheet Parameters Tab
Used to edit number of
column and rows on
the spreadsheet
Show cells that contain
calculated results form
formulas define on the
spreadsheet
Spreadsheet Formulas Tab
Show the results of the
calculation
Show Formulas used
for calculation
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
How to Import Data to Spreadsheet Tab (1st Method)
1. On the spreadsheet cell,
right click the mouse
and then choose import
variable
2. Select variable to be
import
3. Click OK
How to Import Data to Spreadsheet Tab (2nd Method)
1. Open stream that want to be
imported to spreadsheet
2. Right click on the variable that
want to imported. HOLD the
right click.
3. Drag the mouse to desired cell.
RELEASE the right click
How to Import Data to Spreadsheet Tab (3rd Method)
Select targeted cell
SPREADSHEET EXERCISE
From fluid composition described in the feed stream and following information, calculate reynold’s
number of the liquid.
Pipe ID : 0.02 m
TARGET
SPREADSHEET
OPEN FILE :
SPREADSHEET-STARTER.HSC
Re = Reynold number, dimensionless
ρ = liquid density (kg/m3)
D = pipe ID (m)
v = liquid flow velocity (m/s)
μ = liquid viscosity (kg/m-s)
Viscosity
1cP = 0.001 kg/m-s
Thank You
M. Ersharry Yunashtanto
Zayyanatun Zulfa
Ikha Muliawati
Mada Harahap
• Aspen Hysys Unit Operation Guide, Aspen Technology, 2011
• HYSYS.Plant Simulation Basis, Hyprotech Ltd, 2000.
• “……………….”, Process Simulation Workshop.
REFERENCES

More Related Content

What's hot

Psv scenario-and-calculation
Psv scenario-and-calculationPsv scenario-and-calculation
Psv scenario-and-calculationChingLuh Nike
 
Aspen hysys dynamic modeling
Aspen hysys dynamic modelingAspen hysys dynamic modeling
Aspen hysys dynamic modelingLara Arinelli
 
Air Cooled Heat Exchanger Design
Air Cooled Heat Exchanger DesignAir Cooled Heat Exchanger Design
Air Cooled Heat Exchanger DesignGerard B. Hawkins
 
Types of Distillation & column internals
Types of Distillation & column internalsTypes of Distillation & column internals
Types of Distillation & column internalsBharat Kumar
 
Module 1 - Introduction to Aspen HYSYS
Module 1  - Introduction to Aspen HYSYSModule 1  - Introduction to Aspen HYSYS
Module 1 - Introduction to Aspen HYSYSriezqaandika
 
Advanced Chemical Reaction Engineering-Part-1-10-Apr-2016
Advanced Chemical Reaction Engineering-Part-1-10-Apr-2016Advanced Chemical Reaction Engineering-Part-1-10-Apr-2016
Advanced Chemical Reaction Engineering-Part-1-10-Apr-2016Muhammad Rashid Usman
 
Single phase flow line sizing
Single phase flow line sizingSingle phase flow line sizing
Single phase flow line sizingVikram Sharma
 
Selection of Heat Exchanger Types
Selection of Heat Exchanger TypesSelection of Heat Exchanger Types
Selection of Heat Exchanger TypesGerard B. Hawkins
 
Centrifugal compressor head - Impact of MW and other parameters
Centrifugal compressor head - Impact of MW and other parametersCentrifugal compressor head - Impact of MW and other parameters
Centrifugal compressor head - Impact of MW and other parametersSudhindra Tiwari
 
Aspen Plus - Physical Properties (1 of 2) (Slideshare)
Aspen Plus - Physical Properties (1 of 2) (Slideshare)Aspen Plus - Physical Properties (1 of 2) (Slideshare)
Aspen Plus - Physical Properties (1 of 2) (Slideshare)Chemical Engineering Guy
 
Distillation Column Design
Distillation Column DesignDistillation Column Design
Distillation Column DesignEPIC Systems
 
Centrifugal Compressor System Design & Simulation
Centrifugal Compressor System Design & SimulationCentrifugal Compressor System Design & Simulation
Centrifugal Compressor System Design & SimulationVijay Sarathy
 
Reactors simulation note.pdf
Reactors simulation note.pdfReactors simulation note.pdf
Reactors simulation note.pdfPaulosMekuria
 
Rules of thumb for process engineer
Rules of thumb for process engineerRules of thumb for process engineer
Rules of thumb for process engineerKarnav Rana
 
Distillation Towers (Columns) presentation on Types, governing Equations and ...
Distillation Towers (Columns) presentation on Types, governing Equations and ...Distillation Towers (Columns) presentation on Types, governing Equations and ...
Distillation Towers (Columns) presentation on Types, governing Equations and ...Hassan ElBanhawi
 
Module 3 - Basic Equipment
Module 3 - Basic EquipmentModule 3 - Basic Equipment
Module 3 - Basic Equipmentriezqaandika
 

What's hot (20)

Psv scenario-and-calculation
Psv scenario-and-calculationPsv scenario-and-calculation
Psv scenario-and-calculation
 
Aspen hysys dynamic modeling
Aspen hysys dynamic modelingAspen hysys dynamic modeling
Aspen hysys dynamic modeling
 
Air Cooled Heat Exchanger Design
Air Cooled Heat Exchanger DesignAir Cooled Heat Exchanger Design
Air Cooled Heat Exchanger Design
 
Types of Distillation & column internals
Types of Distillation & column internalsTypes of Distillation & column internals
Types of Distillation & column internals
 
Module 1 - Introduction to Aspen HYSYS
Module 1  - Introduction to Aspen HYSYSModule 1  - Introduction to Aspen HYSYS
Module 1 - Introduction to Aspen HYSYS
 
distillation
distillationdistillation
distillation
 
Advanced Chemical Reaction Engineering-Part-1-10-Apr-2016
Advanced Chemical Reaction Engineering-Part-1-10-Apr-2016Advanced Chemical Reaction Engineering-Part-1-10-Apr-2016
Advanced Chemical Reaction Engineering-Part-1-10-Apr-2016
 
Single phase flow line sizing
Single phase flow line sizingSingle phase flow line sizing
Single phase flow line sizing
 
Selection of Heat Exchanger Types
Selection of Heat Exchanger TypesSelection of Heat Exchanger Types
Selection of Heat Exchanger Types
 
Centrifugal compressor head - Impact of MW and other parameters
Centrifugal compressor head - Impact of MW and other parametersCentrifugal compressor head - Impact of MW and other parameters
Centrifugal compressor head - Impact of MW and other parameters
 
Aspen Plus - Physical Properties (1 of 2) (Slideshare)
Aspen Plus - Physical Properties (1 of 2) (Slideshare)Aspen Plus - Physical Properties (1 of 2) (Slideshare)
Aspen Plus - Physical Properties (1 of 2) (Slideshare)
 
Valve sizing
Valve sizingValve sizing
Valve sizing
 
Distillation Column Design
Distillation Column DesignDistillation Column Design
Distillation Column Design
 
Centrifugal Compressor System Design & Simulation
Centrifugal Compressor System Design & SimulationCentrifugal Compressor System Design & Simulation
Centrifugal Compressor System Design & Simulation
 
Reactors simulation note.pdf
Reactors simulation note.pdfReactors simulation note.pdf
Reactors simulation note.pdf
 
Rules of thumb for process engineer
Rules of thumb for process engineerRules of thumb for process engineer
Rules of thumb for process engineer
 
Tutorial hysys
Tutorial hysysTutorial hysys
Tutorial hysys
 
Distillation Towers (Columns) presentation on Types, governing Equations and ...
Distillation Towers (Columns) presentation on Types, governing Equations and ...Distillation Towers (Columns) presentation on Types, governing Equations and ...
Distillation Towers (Columns) presentation on Types, governing Equations and ...
 
Three Phase Separators
Three Phase SeparatorsThree Phase Separators
Three Phase Separators
 
Module 3 - Basic Equipment
Module 3 - Basic EquipmentModule 3 - Basic Equipment
Module 3 - Basic Equipment
 

Similar to Module 4 - Logical Operations

Chapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdfChapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdfTsegay Berhe
 
material balance and its applications
material balance and its applicationsmaterial balance and its applications
material balance and its applicationsKarnav Rana
 
Introduction to aspen environment.khairul anwar.141021
Introduction to aspen environment.khairul anwar.141021Introduction to aspen environment.khairul anwar.141021
Introduction to aspen environment.khairul anwar.141021EveryMiscellaneousTh
 
4. chapter iv(transform)
4. chapter iv(transform)4. chapter iv(transform)
4. chapter iv(transform)Chhom Karath
 
multiple linear regression in spss (procedure and output)
multiple linear regression in spss (procedure and output)multiple linear regression in spss (procedure and output)
multiple linear regression in spss (procedure and output)Unexplord Solutions LLP
 
New calculation of thetray numbers for Debutanizer Tower in BIPC
New calculation of thetray numbers for Debutanizer Tower in BIPCNew calculation of thetray numbers for Debutanizer Tower in BIPC
New calculation of thetray numbers for Debutanizer Tower in BIPCinventionjournals
 
New calculation of thetray numbers for Debutanizer Tower in BIPC
New calculation of thetray numbers for Debutanizer Tower in BIPCNew calculation of thetray numbers for Debutanizer Tower in BIPC
New calculation of thetray numbers for Debutanizer Tower in BIPCinventionjournals
 
Using aspen plus for process simulation.pptx
Using aspen plus for process simulation.pptxUsing aspen plus for process simulation.pptx
Using aspen plus for process simulation.pptxFsehaGebremichaelGeb1
 
Turning Multivariable Models Into Interactive Animated Simulations
Turning Multivariable Models Into Interactive Animated SimulationsTurning Multivariable Models Into Interactive Animated Simulations
Turning Multivariable Models Into Interactive Animated SimulationsTom Loughran
 
Episode 58 : Tools Integration Examples
Episode 58 :  Tools Integration ExamplesEpisode 58 :  Tools Integration Examples
Episode 58 : Tools Integration ExamplesSAJJAD KHUDHUR ABBAS
 
ME401 Experimental Design Lab Report
ME401 Experimental Design Lab ReportME401 Experimental Design Lab Report
ME401 Experimental Design Lab ReportKristopher Saladin
 
Tutorial Hysys
Tutorial HysysTutorial Hysys
Tutorial HysysMan Fenix
 
Modeling separation systems_with_aspen_plus
Modeling separation systems_with_aspen_plusModeling separation systems_with_aspen_plus
Modeling separation systems_with_aspen_plusTecna
 
Lecture 5 practical_guidelines_assignments
Lecture 5 practical_guidelines_assignmentsLecture 5 practical_guidelines_assignments
Lecture 5 practical_guidelines_assignmentsDaria Bogdanova
 
Introduction to particle swarm optimization
Introduction to particle swarm optimizationIntroduction to particle swarm optimization
Introduction to particle swarm optimizationMrinmoy Majumder
 

Similar to Module 4 - Logical Operations (20)

Chapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdfChapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdf
 
material balance and its applications
material balance and its applicationsmaterial balance and its applications
material balance and its applications
 
Introduction to aspen environment.khairul anwar.141021
Introduction to aspen environment.khairul anwar.141021Introduction to aspen environment.khairul anwar.141021
Introduction to aspen environment.khairul anwar.141021
 
4. chapter iv(transform)
4. chapter iv(transform)4. chapter iv(transform)
4. chapter iv(transform)
 
Microsoft Excel Tutorial
Microsoft Excel TutorialMicrosoft Excel Tutorial
Microsoft Excel Tutorial
 
multiple linear regression in spss (procedure and output)
multiple linear regression in spss (procedure and output)multiple linear regression in spss (procedure and output)
multiple linear regression in spss (procedure and output)
 
New calculation of thetray numbers for Debutanizer Tower in BIPC
New calculation of thetray numbers for Debutanizer Tower in BIPCNew calculation of thetray numbers for Debutanizer Tower in BIPC
New calculation of thetray numbers for Debutanizer Tower in BIPC
 
New calculation of thetray numbers for Debutanizer Tower in BIPC
New calculation of thetray numbers for Debutanizer Tower in BIPCNew calculation of thetray numbers for Debutanizer Tower in BIPC
New calculation of thetray numbers for Debutanizer Tower in BIPC
 
Using aspen plus for process simulation.pptx
Using aspen plus for process simulation.pptxUsing aspen plus for process simulation.pptx
Using aspen plus for process simulation.pptx
 
Turning Multivariable Models Into Interactive Animated Simulations
Turning Multivariable Models Into Interactive Animated SimulationsTurning Multivariable Models Into Interactive Animated Simulations
Turning Multivariable Models Into Interactive Animated Simulations
 
Episode 58 : Tools Integration Examples
Episode 58 :  Tools Integration ExamplesEpisode 58 :  Tools Integration Examples
Episode 58 : Tools Integration Examples
 
Chapter.08
Chapter.08Chapter.08
Chapter.08
 
ME401 Experimental Design Lab Report
ME401 Experimental Design Lab ReportME401 Experimental Design Lab Report
ME401 Experimental Design Lab Report
 
Hysys help only at myassignmenthelp.net
Hysys help only at myassignmenthelp.netHysys help only at myassignmenthelp.net
Hysys help only at myassignmenthelp.net
 
Tutorial Hysys
Tutorial HysysTutorial Hysys
Tutorial Hysys
 
Modeling separation systems_with_aspen_plus
Modeling separation systems_with_aspen_plusModeling separation systems_with_aspen_plus
Modeling separation systems_with_aspen_plus
 
Lecture 5 practical_guidelines_assignments
Lecture 5 practical_guidelines_assignmentsLecture 5 practical_guidelines_assignments
Lecture 5 practical_guidelines_assignments
 
Crude tower simulation-hysys_v10
Crude tower simulation-hysys_v10Crude tower simulation-hysys_v10
Crude tower simulation-hysys_v10
 
Crude tower simulation-hysys_v10
Crude tower simulation-hysys_v10Crude tower simulation-hysys_v10
Crude tower simulation-hysys_v10
 
Introduction to particle swarm optimization
Introduction to particle swarm optimizationIntroduction to particle swarm optimization
Introduction to particle swarm optimization
 

Recently uploaded

INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 

Recently uploaded (20)

INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 

Module 4 - Logical Operations

  • 1. Supported by: Aspen HYSYS Training Module 4: Logical Operations Tutor: M. Ersharry Yunashtanto Zayyanatun Zulfa Ikha Muliawati Mada Harahap
  • 2. • The Set Operation • The Adjust Operation • The Balance Operation • The Recycle Operation • The Spreadsheet Logical Operations Used in HYSYS Steady State
  • 4. • 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: Set Operation Y = MX + B where: Y = Dependent (target) variable X = Independent (source) variable M = Multiplier (slope) B = Offset (intercept)
  • 5. How to Add Set Operation (1st method)
  • 6. How to Add Set Operation (2nd method) click Double click
  • 7. Example Using Set in Simulation
  • 8. Set Connections Tab Click to choose Target Object and variable to set Click to choose Source Object where independent variable placed
  • 9. Set Parameters Tab Define Multiplier and offset for dependent variable towards independent variable
  • 11. • 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. Adjust Operation
  • 12. How to Add Adjust Operation (1st method)
  • 13. How to Add Adjust Operation (2nd method) click Double click
  • 14. Example Using Adjust in Simulation Adjusting feed temperature to get specific molar flow rate in SepLiq.
  • 15. Adjust Connections Tab Click to choose object and variable that want to be adjusted Click to choose target object and variable Type the specified target value User can input specific target value, or choose the value from another object with the same process variable
  • 16. 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
  • 17. SET & ADJUST OPERATION EXERCISE Problem Description: There are two wells (A and B) with different composition that want to be joined. Well temperature and pressure are 120oC and 40 barg. A : B Molar flow ratio is 80 : 20 The expected gas flowrate from well is 300 MMSCFD And water gas ratio is 20 Sbbl/MMSCF TARGET PFD OPEN FILE : SET-ADJUST EXERCISE-STARTER.HSC
  • 19. • Function : provides a general-purpose heat and material balance facility. • There are six Balance types which are defined in the table below: Balance Operation Type Definition Mole An overall balance is performed where only the molar flow of each component is conserved. Mass An overall balance is performed where only the mass flow is conserved. Heat An overall balance is performed where only the heat flow is conserved. 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 HYSYS will solve a set of n unknowns in the n equations developed from the streams attached to the operation. Component ratios may be specified on a mole, mass or liquid volume basis.
  • 20. How to Add Balance Operation (1st method)
  • 21. How to Add Balance Operation (2nd method) click Double click
  • 22. Example Using Balance in Simulation create a stream that has the same molar composition and flow rate as another stream, but a different pressure and temperature (e.g. - at dew point conditions)
  • 23. Example Using Balance in Simulation all the components of gas stream RX Inlet are converted to pure propane in the outlet stream RX Outlet at the same pressure condition. Determine the temperature of RX Outlet when there is no accumulation happen. Mass in = Mass out
  • 24. Balance Connections Tab Click to choose inlet stream Click to choose outlet stream
  • 25. Balance Parameters Tab Click to choose balance type
  • 26. Balance Worksheet Tab Mass Flow for each stream is the same Temperature of RX Outlet
  • 27. BALANCE OPERATION EXERCISE Problem Description: Create a stream that has the same molar composition and flow rate as another stream, but a different pressure and temperature (e.g. - at dew point conditions). dewpoint of the product at 6000 kPa. TARGET PFD OPEN FILE : BALANCE EXERCISE-STARTER.HSC
  • 29. • 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. Recycle Operation
  • 30. How to Add Recycle Operation (1st method)
  • 31. How to Add Recycle Operation (2nd method) click Double click
  • 32. Example Using Recycle in Simulation
  • 33. Recycle Connections Tab Click to choose inlet stream Click to choose outlet stream Inlet stream will always be a product stream from a unit operation. Outlet stream will always be a feed stream to a unit operation
  • 34. Recycle Parameters Tab to set the convergence criteria factor for each of the variables listed to select the transfer direction of the variable
  • 35. RECYCLE OPERATION EXERCISE Problem Description: a two-phase feed stream (FEED) is mixed with a recycled stream (RECYCLE) and fed to separator V- 100. The vapour from V-100 is expanded in expander E-100 and then reflashed in separator V-101. Half of the liquid from this separator is fed to pump P-100 and then recycled back and mixed with the fresh feed. TARGET PFD OPEN FILE : RECYCLE EXERCISE-STARTER.HSC
  • 37. • 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. Spreadsheet
  • 38. How to Add Spreadsheet (1st method)
  • 39. How to Add Spreadsheet (2nd method) click Double click
  • 40. Example Using Spreadsheet in Simulation
  • 41. Spreadsheet Connections Tab Used to Add, Delete and Edit Imported and Exported variable
  • 42. Spreadsheet Parameters Tab Used to edit number of column and rows on the spreadsheet Show cells that contain calculated results form formulas define on the spreadsheet
  • 43. Spreadsheet Formulas Tab Show the results of the calculation Show Formulas used for calculation
  • 44. 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
  • 45. How to Import Data to Spreadsheet Tab (1st Method) 1. On the spreadsheet cell, right click the mouse and then choose import variable 2. Select variable to be import 3. Click OK
  • 46. How to Import Data to Spreadsheet Tab (2nd Method) 1. Open stream that want to be imported to spreadsheet 2. Right click on the variable that want to imported. HOLD the right click. 3. Drag the mouse to desired cell. RELEASE the right click
  • 47. How to Import Data to Spreadsheet Tab (3rd Method) Select targeted cell
  • 48. SPREADSHEET EXERCISE From fluid composition described in the feed stream and following information, calculate reynold’s number of the liquid. Pipe ID : 0.02 m TARGET SPREADSHEET OPEN FILE : SPREADSHEET-STARTER.HSC Re = Reynold number, dimensionless ρ = liquid density (kg/m3) D = pipe ID (m) v = liquid flow velocity (m/s) μ = liquid viscosity (kg/m-s) Viscosity 1cP = 0.001 kg/m-s
  • 49. Thank You M. Ersharry Yunashtanto Zayyanatun Zulfa Ikha Muliawati Mada Harahap
  • 50. • Aspen Hysys Unit Operation Guide, Aspen Technology, 2011 • HYSYS.Plant Simulation Basis, Hyprotech Ltd, 2000. • “……………….”, Process Simulation Workshop. REFERENCES