Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
3.1 Introduction......................................................................................3
3.2 SteadyStateSimulation..................................................................4
3.2.1 ProcessDescription.................................................................4
3.2.2 SettingYourSession Preferences...........................................5
3.2.3 DefiningtheFluid Package......................................................8
3.2.4 DefiningtheReaction............................................................17
3.2.5 Enteringthe Simulation Environment....................................26
3.2.6 UsingtheWorkbook..............................................................28
3.2.7 InstallingEquipmentonthePFD...........................................46
3.2.8 Viewing Results.....................................................................66
3.3 DynamicSimulation......................................................................76
3.3.1 SimplifyingtheSteadyStateFlowsheet................................ 77
3.3.2 UsingtheDynamicsAssistant...............................................78
3.3.3 ModelingaCSTROpentotheAtmosphere.......................... 82
3.3.4 Adding ControllerOperations................................................86
3.3.5 Monitoringin Dynamics.........................................................92
3-1
3-2
The complete case for this
tutorial has been pre-built and
is located in the file
TUTOR3.HSC in your
HVSVS\Samples directory.
3.1 Introduction
In this tutorial, a flowsheet for the production of propylene glycol is
presented. Propylene oxide is combined with water to produce
propylene glycol in a continuously-stiffed-tank reactor (CSTR). The
reactor outlet stream is then fed to a distillation tower, where essentially
all the glycol is recovered in the tower bottoms. A flowsheet for this
process appears below.
Figure 3.1
Reacto( RebDuty
'---'=-"=t--Oi;tOI
Tower
The following pages will guide you through building a HYSYS case for
modeling this process. This example will illustrate the complete
construction of the simulation, including selecting a property package
and components, defining the reaction, installing streams and unit
operations, and examining the final results. The tools available in HYSYS
interface will be utilized to illustrate the flexibility available to you.
Before proceeding, you should have read Chapter A - HYSYS Tutorials
which precedes the tutorials in this manual.
3-3
Thesimulationwillbebuilt
usingthesebasicsteps:
1. Createaunitset.
2. Chooseaproperty
package.
3. Selectthecomponents.
4, Definethereaction.
5. Createandspecifythe
feedstreams.
6. InstallanddefinetheMixer
andReactor.
7. Installanddefinethe
Distillation Column.
TheWorkbookdisplays
informationaboutstreamsand
unitoperationsinatabular
format, whilethePFDisa
graphicalrepresentationofthe
flowsheet.
3.2 State Simulation
3.2.1 Process Description
The process being modeled in this example is the conversion of
propylene oxide and water to propylene glycol in a CSTR Reactor. The
reaction products are then separated in a distillation tower. A flowsheet
for this process appears below.
Figure3.2
i Re"";;tor -
.....
Oxide L,. . Mir
Out
--- MIX100 Reactor r Coolant
__
.._---
RebDu!V
TOwsr
The propylene oxide and water feed streams are combined in a Mixer.
The combined stream is fed to a Reactor, operating at atmospheric
pressure, in which propylene glycol is produced. The Reactor product
stream is fed to a distillation tower, where essentially all the glycol is
recovered in the bottoms product.
The two primary building tools, Workbook and PPD, are used to install
the streams and operations, and to examine the results while
progressing through the simulation. Both ofthese tools provide you with
a large amount of flexibility in building your simulation and in quickly
accessing the information you need.
The Workbook is used to build the first part ofthe flowsheet, including
the feed streams and the mixer. The PPD is then used to install the
reactor, and a special sequence of views called the Input Expert will be
used to install the distillation column.
3-4
3.2.2 Setting Your Session Preferences
Start HYSYS and create a new case. Your first task is to set your Session
Preferences.
1. From the Tools menu, select Preferences. The Session Preferences
view appears.
Figure3.3
.... ... ..JQJU.
10'=-----1
jDodttop ! ir U ModoIP!cporIyV_ P CarHmModoSwileho. ,
i
Namilg
IIP R."",dTinoWhenN_AleModrlOd r E""bleSingleClickAcboN!
: TooHips i i P EnableCmH... OnPFD P EnableCoiEcUlIton I
i I ....::;
jPetr;Jll11oOl'lCe i ir ;
!I.iconoing I'i r
I
I::Wrldow .. 1 I . - -.. -
I.T'__ ... __ ._.__
2. The Simulation tab, Options page should be visible. Ensure that the
Use Modal Property Views checkbox is unchecked.
3. Click the Variables tab, then select the Units page.
3-5
Creating aNew Unit Set
Thefirsttaskyouperformwhenbuildingthesimulationcaseis
choosingaunitset.HYSYSdoesnotallowyoutochangeanyofthethree
defaultunitsetslisted,however,youcancreateanewunitsetbycloning
anexistingone.Forthistutorial,youwillcreateanewunitsetbasedon
theHYSYSFieldset,thencustomizeit
1. IntheAvailableUnitsSetslist,selectField.
ThedefaultunitforLiq.Vol. Flowisbarrellday;nextyouwillchangethe
Liq.Vol. FlowunitstoUSGPM.
Figure3.4
ThedefaultPreferencefileis
namedHYSYS.prf.Whenyou
modifyanyofthepreferences,
youcansavethechangesina
newPreferencefilebyclicking
theSavePreferenceSet
button.HYSYSpromptsyouto
provideanameforthenew
Preferencefile, whichyoucan
laterrecallintoanysimulation
casebyclickingtheLoad
PreferenceSetbutton.
2. ClicktheClonebutton.AnewunitsetnamedNewUserappearsin
theAvailableUnitSetslist.
3. IntheUnitSetNamefield,changethenametoField-USGPM.You
cannowchangetheunitsforanyvariableassociatedwiththisnew
unitset.
4. FindtheLiq.Vol.Flowcell.Clickinthebarrel/daycellbesideit.
5. Toopenthelistofavailableunits,clickthedownarrow ..::J, orpress
theF2keythentheDownarrowkey.
36
6. From the list, select USGPM.
Figure 3.5
_ e ~ ~ l o n Pteference'li (hys-yS-.PRf) ';9
7. Your new unit set is now defined. Close the Session Preferences view.
3-7
New Case Icon
All commands accessed via
the tool bar are also available
as menu items.
HYSYS displays the current
Environment and Modein the
upper right corner of the view.
Whenever you begin a new
case, you are automatically
placed in the Basis
Environment, where you can
define your property package
and components.
The Simulation Basis
Manager allows you to create,
modify, and otherwise
manipulate Fluid Packages in
your simulation case. Most of
the time, as with this example,
you will require only one Fluid
Package for your entire
simulation.
HYSYS has created a Fluid
Package with the default name
Basls-1. You can change the
name of this fluid package by
typing a new name in the
Name cell at the bottom of the
view.
3.2.3 Defining the Fluid Package
1. Click the New Case icon.
2. The Simulation Basis Manager appears.
Figure 3.6
The next task is to create a Fluid Package. A Fluid Package, at minimum,
contains the components and property method that HYSYS will use in
its calculations for a particular flowsheet. Depending on what a specific
flowsheet requires, a Fluid Package may also contain other information
such as reactions and interaction parameters.
Creating aFluid Package
1. Click the Fluid Pkgs tab of the Simulation Basis Manager.
2. Click the Addbutton. The Fluid Package property view appears.
Figure 3.7
3-8
TheFluidPackagepropertyviewallowsyoutosupplyallthe
informationrequiredtocompletelydefinetheFluidPackage.Inthis
tutorialyouwillusethefollowingtabs:SetUp,BinaryCoeffs(Binary
Coefficients),andRxns(Reactions).
YouchoosethePropertyPackageontheSetUptab.Thecurrently
selectedpropertypackageis<none>.Thereareanumberof waysto
selectthedesiredbasepropertypackage,inthiscaseUNIQUAC.
3. Dooneofthefollowing:
Begintyping UNIQUAC,andHYSYSfindsthematchtoyour
input.
UsetheverticalscrollbartomovedownthelistuntilUNIQUAC
becomesvisible,thenclickonit.
Figure3.8
ThePropertyPkgindicatorbaratthebottomoftheviewnowindicates
UNIQUACisthecurrentpropertypackageforthisFluidPackage.
Alternatively,youcanselecttheActivityModelsradiobuttoninthe
PropertyPkgFiltergroup,producingalistofonlythoseproperty
packageswhichareActivityModels.UNIQUACappearsinthefiltered
list,asshownhere.
Figure3.10
39
IntheComponentListSelectiondrop-downlist,HYSYSfilterstothe
librarycomponentstoincludeonlythoseappropriatefortheselected
PropertyPackage.Inthiscase,nocomponentshaveyetbeendefined.
Selecting Components
Nowthatyouhavechosenthepropertypackagetobeusedinthe
simulation,yournexttaskistoselectthecomponents.
1. IntheComponentListSelectiongroup,clicktheViewbutton.The
ComponentListViewappears.
Figure 3.11
Eachcomponentcanappearinthreeforms,correspondingtothethree
radiobuttonsthatappearabovethecomponentlist.
Feature I Description
SlmName The name appearing within the simulation.
FuliNamelSynonym IUPAC name (or similar). and synonyms for many components.
Formula The chemical formula of the component. This is useful when you
are unsure of the library name of a component, but know its
formula.
310
Basedontheselectedradiobutton,HYSYSlocatesthecomponent(s)
thatbestmatchestheinformationyoutypeintheMatchfield.
Inthistutorialyouwillusepropyleneoxide,propyleneglycolandH20.
First,youwilladdpropyleneoxidetothecomponentlist.
2. EnsuretheSimNameradiobuttonisselectedandtheShow
Synonymscheckboxischecked.
3. IntheMatchfield, starttypingpropyleneoxide,asoneword.HYSYS
filtersthelistasyoutype,displayingonlythosecomponentsthat
matchyourinput.
Figure3.12
4. Whenpropyleneoxideisselectedinthelist,addittotheSelected
ComponentsListbydoingoneof thefollowing:
PresstheENTER key.
ClicktheAdd Pure button.
Double-clickon PropyleneOxlde.
3-11
filters
rPropeltyPackageFllterl
Ir Re.;on,lnehdedOnl;/ I
II<none> 31
1____._.___.__----1
rFamily Type
IP' UseFilter i
Ir Hydloearbor\s !
Ir Solid$
I
r Ml:celaneous
r Amines
1r AIcoI1oI;
Ir Ketones
ir Aldehydes
Ir Etbilrs
!r CaboHylicAcids
Ir Halogens
IrN..
'I r Phenok
r Ethers
! r User.l)efined
I
j
AI
---,nv-ert--.....
II
Ii
L -.1
ThecomponentnowappearsintheSelectedComponentsList.
Figure3.13
Addea.pan,.
:
I
Electrol\<.
. Hypolheiiool
I:Othel
i
I
I
AnothermethodforfindingcomponentsistousetheViewFiltersto
displayonlythosecomponentsbelongingtocertainfamilies.
Next,youwilladdPropyleneGlycoltothecomponentlistusingthe
filter.
5. EnsuretheMatchfieldisemptybypressingALTMandthenthe
DELETEkey.
6. ClicktheViewFiltersbutton.TheFiltersviewappears.
7. ClicktheUseFiltercheckboxtoactivatethefiltercheckboxes.
8. SincePropyleneGlycolisanalcohol,clicktheAlcoholscheckbox.
3-12
9. IntheMatchfield,begintypingpropyleneglycol,asoneword.
HYSYSfiltersasyoutype,displayingonlythealcoholsthatmatch
yourinput.
Figure 3.14
I
T,-""
.
0",," ,-_Pur. I
(s_,I
R...-..> I
s...WoII
I!lelch IpI1l!lIOie
(,' SinN.... r F..",-IS_
T,iCa-G1/COI "'->01.81
10. WhenPropyleneGlycolisselectedinthelist,presstheENTERkeyto
addittotheSelectedComponentslist.
Finally.youwilladdthecomponentH20.
11. IntheFilterview. cleartheAlcoholscheckboxbyclickingonit.
12. EnsuretheMatchfieldisemptybypressingALTMandthenthe
DELETEkey
13. H20doesnotfitintoanyofthestandardfamilies,soclickonthe
Miscellaneouscheckbox.
14. ScrolldownthefilteredlistuntilH20isvisible.thendouble-clickon
H20toaddittotheSelectedComponentslist.
313
Acomponent can be
removed from the Selected
Components list by
selecting it and clicking the
Remove button or the
DELETE key.
15. Thefinalcomponentlistappearsbelow.
Figure 3.15
YieUJing Component Properl'ies
Toviewthepropertiesofoneormorecomponents,selectthe
component(s)andclicktheViewComponentbutton,HYSYSopensthe
propertyview(s)forthecomponent(s)youselect.
1. Clickon12C3diolintheSelectedComponentsList.
2. ClicktheViewComponentbutton.Thepropertyviewforthe
componentappears.
FIgure 3.16
...:r. 17 C3dm' :J
I
...-_.. -.---___
3-14
TheComponentpropertyviewprovidesyouwithcompleteaccesstothe
purecomponentinformationforviewingonly.Youcannotmodifyany
parametersforalibrarycomponent,however,HYSYSallowsyouto
clonealibrarycomponentintoaHypotheticalcomponent,whichcan
thenbemodifiedasdesired.RefertoChapter3- Hypotheticalsinthe
SimulationBasismanualformoreinformationoncloninglibrary
components.
3. Closetheindividualcomponentview,thenclosetheComponent
ListViewtoreturntotheFluidPackage.
Providing 8inarq
ThenexttaskindefiningtheFluidPackageisprovidingthebinary
interactionparameters.
1. ClicktheBinaryCoeffstabof theFluidPackageview ..
Figure 3.17
IntheActivityModelInteractionParametersgroup,theAij interaction
tableappearsbydefault.HYSYSautomaticallyinsertsthecoefficients
foranycomponentpairsforwhichlibrarydataisavailable.Youcan
changeanyofthevaluesprovidedbyHYSYS ifyouhavedataofyour
own.
3-15
Inthiscase,theonlyunknowncoefficientsinthetableareforthe
12C30xidel12-C3diolpair.Youcanenterthesevaluesifyouhave
availabledata,however,forthisexample,youwilluseoneofHYSYS'
built-inestimationmethodsinstead.
Next,youwillusetheUNIFACVLEestimationmethodtoestimatethe
unknownpair.
2. IntheCoeffEstimationgroup,ensuretheUNIFACVLEradiobutton
isselected.
3. ClicktheUnknownsOnlybutton.HYSYSprovidesvaluesforthe
unknownpair.ThefinalActivityModelInteractionParameterstable
fortheAij coefficientsappearsbelow.
Figure 3.18
4. ToviewtheBijcoefficienttable,selecttheBi;radiobutton.Forthis
example,all theBijcoefficientswillbeleftatthedefaultvalueof
zero.
316
BasisIcon
Thesestepswillbefollowed in
definingourreaction:
1. CreateanddefineaKinetic
Reaction.
2. Createa Reaction Set
containingthereaction.
3. ActivatetheReactionset
tomakeitavailableforuse
intheflowsheet.
3.2.4 Defining the Reaction
1. ReturntotheSimulationBasisManagerviewbyclickingonitstitle
bar,orbyclickingtheBasisicon.
2. ClicktheReactionstab.Thistaballowsyoutodefineanthe
reactionsfortheflowsheet.
Figure3.19
Thereactionbetweenwaterandpropyleneoxidetoproducepropylene
glycolisasfollows:
(3.1)
Selecting the Reaction Components
Thefirsttaskindefiningthereactionischoosingthecomponentsthat
willbeparticipatinginthereaction.Inthistutorial,allthecomponents
thatwereselectedintheFluidPackageareparticipatinginthereaction,
soyoudonothavetomodifythislist.Foramorecomplicatedsystem,
however,youwouldaddorremovecomponentsfromthelist.
Toaddorremoveacomponent,clicktheAddCompsbutton.The
ComponentListViewappears.RefertotheSelectingComponents
sectioninSection3.2.3DermingtheFluidPackageformore
information.
3-17
Creating the Reaction
Oncethereactioncomponentshavebeenchosen,thenexttaskisto
createthereaction.
L IntheReactionsgroup,clicktheAddRxnbutton.TheReactions
viewappears.
Figure3.20
2. Inthelist,selecttheKineticreactiontype,thenclicktheAdd
Reactionbutton.TheKineticReactionpropertyviewappears,
openedtotheStoichiometrytab.
Figure3.21
can specifywhichofthe Rxn
Componentsareinvolvedin
OntheStoichiometry'tab, you
~ : Kmehc Beilr.hot'l film1 I ' ~ l ] EI
theparticularreactionaswell
asthestoichiometryandthe
reaction order.
Oftenyouwillhavemorethan
onereactionoccurringin your
simulationcase.Onthe
Stoichiometrytabofeach
reaction,selectonlytheRxn
Componentsparticipatingin
thatreaction.
3. IntheComponentcolumn,clickinthecelllabeled**AddComp**.
4. SelectWaterasareactioncomponentbydoingoneofthefollowing:
Openthedrop-downlistandselectH20fromthelistofavailable
reaction components.
TypeH20.HYSYSfiltersasyoutype,searchingforthe
componentwhichmatchesyourinput. When H20isselected,
presstheENTER keytoaddittotheComponentlist.
5. Repeatthisproceduretoadd12C30xideand12-C3dioltothe
reactiontable.
3-18
Thenexttaskistoenterthestoichiometricinformation.Anegative
stoichiometriccoefficientindicatesthatthecomponentisconsumedin
thereaction,whileapositivecoefficientindicatesthecomponentis
produced.
6. IntheStoichCoeffcolumn,clickintheempty cell
correspondingtoH20.
7. Type-1 andpresstheENTER key.
8. Enterthecoefficientsfortheremainingcomponentsasshownin
theviewbelow:
Figure 3.22
Oncethestoichiometriccoefficientsaresupplied,theBalanceErrorcell
willshow0 (zero),indicatingthatthereactionismassbalanced.HYSYS
willalsocalculateanddisplaytheheatofreactionintheReactionHeat
cell.Inthiscase,theReactionHeatisnegative,indicatingthatthe
reactionproducesheat(exothermic).
HYSYS providesdefaultvaluesfortheForwardOrderandReverseOrder
basedonthereactionstoichiometry.ThekineticdataforthisTutorialis
basedonanexcessof water,sothekineticsarefirstorderinPropylene
Oxideonly.
3-19
9. IntheFwdOrdercellforH20,changethevalueto0toreflectthe
excessof water.TheStoichiometrytabisnowcompletelydefined
andappearsasshownbelow.
Figure3.23
Noticethatthedefaultvalues
fortheForwardOrderand
ReverseOrderappearin red,
indicatingthattheyare
suggestedbyHYSYS.When
you enterthenewvaluefor
H20,itwillbeblue, indicating
thatyouhavespecifiedit.
Thenexttaskistodefinethereactionbasis.
10. IntheKineticReactionview,clicktheBasistab.
11. IntheBasiscell,acceptthedefaultvalueofMolarConcn.
12. ClickintheBaseComponentcell.Bydefault,HYSYShaschosenthe
firstcomponentlistedontheStoichiometrytab,inthiscaseH20,as
thebasecomponent.
13. ChangethebasecomponenttoPropyleneOxidebydoingoneofthe
following:
Openthedrop-downlistofcomponentsandselect12C30xide.
Begintyping12C30xide,andHYSYSfiltersasyoutype.When
12C30xideisselected,pressthe ENTER key.
3-20
You can have the same
reaction occurring in different
phases with different kinetics
and have both calculated in
the same REACTOR.
14. IntheRxn Phasecell,selectCombinedLiquidfromthedrop-down
list.ThecompletedBasistabappearsbelow.
Figure 3.24
TheMin.Temperature,Max.Temperature,BasisUnitsandRateUnitsare
acceptableattheirdefaultvalues.
15. ClicktheParameterstab.OnthistabyouprovidetheArrhenius
parametersforthekineticreaction.Inthiscase,thereisnoReverse
Reactionoccurring,soyouonlyneedtosupplytheForward
Reactionparameters:
16. IntheForwardReactionAcell,enter1.7eI3.
17. IntheForwardReactionEcell(activationenergy),enter3.24e4(Btu!
lbmole).
Thestatusindicatoratthebottomof theKineticReactionpropertyview
changesfromNotReadytoReady,indicatingthatthereactionis
completelydefined.ThefinalParameterstabappearsbelow.
Figure 3.25
. I "E.,.,H........
I
i 8 I-j I -- - - .-
. ..........................J I r: .. A.-pl-E' I AT
! TinKoMn "
_._.' ..............__._._..J
3-21
Basis Icon
The same reaction(s) can be
in multiple Reaction Sets.
18. CloseboththeKineticReactionpropertyviewandtheReactions
view.
19. ClicktheBasis icontoensuretheSimulationBasisManagerviewis
active.OntheReactionstab,thenewreaction,Rxn-1,nowappears
intheReactionsgroup.
Figure 3.26
Thenexttaskistocreateareactionsetthatwillcontainthenew
reaction.In theReactionSetslist,HYSYSprovidestheGlobalRxnSet
(GlobalReactionSet)whichcontainsallofthereactionsyouhave
defined.Inthistutorial,sincethereisonlyoneREACTOR,thedefault
GlobalRxnSetcouldbeattachedtoit,however,forillustration
purposes,anewreactionsetwillbecreated.
Creating aReaction Set
ReactionSetsprovideaconvenientwayof groupingrelatedreactions.
Forexample,consideraflowsheetinwhichatotalof five reactionsare
takingplace.InoneREACTORoperation,onlythreeofthereactionsare
occurring(onemainreactionandtwosidereactions).Youcangroupthe
threereactionsintoaReactionSet,thenattachthesettotheappropriate
REACTORunitoperation.
3-22
Thedrop-downlistcontainsall
reactionsintheGlobal
ReactionSet.Currently, Rxn1
istheonlyreactiondefined,so
itistheonlyavailableselection.
1. IntheReactionSetsgroup,clicktheAddSetbutton.TheReaction
SetpropertyviewappearswiththedefaultnameSet-I.
Figure3.27
Red!"onSet Set 1 Illllill2
J5et.1
....
..
,S- M_AliIive
2. IntheActiveList,clickinthecelllabeled<empty>.
3. Openthedrop-downlistandselectRxn-I.
AcheckboxlabeledOKautomaticallyappearsnexttothereactioninthe
ActiveList.ThereactionsetstatusbarchangesfromNotReadytoReady,
indicatingthatthenewreactionsetiscomplete.
4. ClosetheReactionSetviewtoreturntotheSimulationBasis
Manager.ThenewreactionsetnamedSet-1 nowappearsinthe
ReactionSetsgroup.
Figure3.26
3-23
Making the Reaction Set Rvailable to the Fluid Package
ThefinaltaskistomakethesetavailabletotheFluidPackage,which
alsomakesitavailableintheflowsheet.
1. ClickonSet-lintheReactionSetsgroupontheReactionstab.
2. ClicktheAddtoFPbutton.TheAdd 'Set-I'viewappears.
ThisviewpromptsyoutoselecttheFluidPackagetowhichyou
wouldliketoaddthereactionset.Inthisexample,thereisonlyone
FluidPackage,Basis-I.
Figure 3.29
3. SelectBasis-I,thenclicktheAddSettoFluidPackagebutton.
324
L!_..._.. --......--....-.... ...-......- .........:."":C-7] '1..:.'._:.
4. Click the Fluid Pkgs tab to view a summary ofthe completed Fluid
Package.
Figure 3.31
III
\J:Mi!'.e dI'
Ij
'1'
I .. :,li:;
I Ilk .QtI_ru:tPkll 1.-::8.-".-:.,---'-----,
The list of Current Fluid Packages displays the new Fluid Package, Basis-
I, showing the number of components (NC) and property package (PP).
The new Fluid Package is assigned by default to the Main Simulation, as
shown in the Flowsheet-Fluid PkgAssociations group. Now that the
Basis is defined, you can install streams and operations in the
Simulation environment (also referred to as the Parent Simulation
environment or Main Simulation environment).
3-25
EnterSimulation
EnvironmentIcon
3.2.S Entering the Simulation Environment
To leave the Basis environment and enter the Simulation environment,
do one of the following:
Clickthe Enter Simulation Environment buttononthe
SimulationBasisManager.
Clickthe Enter Simulation Environment icononthetoolbar.
When you enter the Simulation environment, the initial view that
appears is dependent on your current preference setting for the Initial
Build Home View. Three initial views are available, namely the PFD,
Workbook and Summary. Any or all of these can be displayed at any
time, however, when you first enter the Simulation environment, only
one is displayed. For this example, the initial Home View is the
Workbook (HYSYS default setting).
Figure3.32
III"J 4-611 t HI HI(At !Hih ..c H'lSV!;:) t 6eta <
3-26
You cantogglethepalette
openorclosedbypressingF4,
orbychoosingOpen/Close
ObjectPalettefromthe
Flowsheetmenu.
SaveIcon
Open CaseIcon
Whenyou chooseto openan
existingcaseby Clickingthe
OpenCasebutton,orby
selectingOpenCasefromthe
Filemenu,HYSYSallowsyou
to retrievebackup(* .bk*)and
HYSIM(*.slm)filesinaddition
to standardHYSYS(*.hsc)
files.
Ifyou enteranamethat
alreadyexistsinthecurrent
directory,HYSYSwillaskyou
forconfirmation beforeover-
writingtheexistingfile.
ThereareseveralthingstonoteabouttheMainSimulation
environment.Intheupperrightcorner,theEnvironmenthaschanged
fromBasistoCase(Main).Anumberofnewitemsarenowavailableon
theMenuandToolbar,andtheWorkbookandObjectPaletteareopen
ontheDesktop.Thesetwolatterobjectsaredescribedbelow.
Features IDeSCription
Amultiple-tabviewcontaininginformationabouttheobjects
(streamsandunitoperations)inthe simulationcase. Bydefault,the
Workbookhasfourtabs,namelyMaterial Streams,Compositions,
EnergyStreamsandUnitOps. You can edittheWorkbookby
addingordeletingtabsand changingtheinformationdisplayedon
anytab.
Workbook
ObjectPalette Afloating paletteofbuttonsthatcanbeusedtoadd streamsand
unitoperations.
Beforeproceedinganyfurthertoinstallstreamsorunitoperations,save
yourcase.
1. Dooneofthefollowing:
ClicktheSaveiconon thetoolbar.
From the Filemenu, selectSave.
PressCTRLS.
If thisisthefirsttimeyouhavesavedyourcase,theSaveSimulation
CaseAsviewappears.Bydefault,theFilePathistheCasessub-directory
inyourHYSYSdirectory.
2. IntheFileNamecelltypeanameforthecase,forexampleGLYCOL.
Youdonothavetoenterthe.hscextension;HYSYSautomatically
addsitforyou.
3. Onceyouhaveenteredafilename,presstheENTER keyortheOK
button.HYSYSwillnowsavethecaseunderthenameyouhave
givenitwhenyouSaveinthefuture.TheSaveAsviewwillnot
appearagainunlessyouchoosetogiveitanewnameusingtheSave
Ascommand.
327
WorkbookIcon
HYSYSacceptsblank
spaceswithinastreamor
operationname.
3.2.6 Using the Workbook
Installing the Feed Streams
Ingeneral,thefirsttaskyouperformwhenyouentertheSimulation
environmentistoinstalloneormorefeedstreams.Inthissection,you
willinstallfeedstreamsusingtheWorkbook.
1. ClicktheWorkbookicononthetoolbartomaketheWorkbook
active.
2. OntheMaterialStreamstab,clickinthe**NewcellintheName
row.
3. TypethenewstreamnamePropOxide,thenpressENTER. HYSYS
automaticallycreatesthenewstream.
Figure3.33
WhenyoupressedENTERaftertypinginthestreamname,HYSYS
automaticallyadvancedtheactivecelldownonecell,toVapour
Fraction.
Nextyouwilldefinethefeedconditionsfortemperatureandpressure,in
thiscase75Fand1.1 atm.
4. ClickintheTemperaturecellforPropOxide.
3-28
5. Type75 intheTemperaturecell.IntheUnitdrop-downlist,HYSYS
displaysthedefaultunitsfortemperature,inthiscaseR
Figure 3.34
",..kim"" CllSO IMam) _ I
6. Sincethisisthecorrectunit,pressENTER.HYSYSacceptsthe
temperature.
7. ClickinthePressurecellforPropOxide.
If youknowthestreampressureinanotherunitbesidesthedefaultof
psia,HYSYSwillacceptyourinputinanyoneofanumberofdifferent
unitsandautomaticallyconverttothedefaultforyou.Forexample,you
knowthepressureof PropOxideis1.1atm.
8. Type 1.1.
9. PresstheSPACEBARorclickon ...:J. Begintyping'atm'.HYSYSwill
matchyourinputtolocatetheunitof yourchoice.
Figure 3.35
329
TheInputCompositionfor
StreamviewisModal,
indicatedbythethickborder
andtheabsenceofthe
MinimizelMaximlzebuttonsin
theupperrightcorner.Whena
Modalviewisvisible,youwill
notbeabletomoveoutside
the viewuntilyoufinishwithit,
byclickingeithertheCancel
orOKbutton.
10. Onceatmisselectedinthelist,presstheENTERkey, andHYSYS
acceptsthepressureandautomaticallyconvertstothedefaultunit,
psia.
Alternatively,youcanspecifytheunitsimplybyselectingitfromthe
unitdrop-downlist.
11. ClickintheMolarFlowcellforPropOxide,enter150lbmole/hr,
thenpressENTER.
Providing Composinonallnput
Nowthatthestreamconditionshavebeenspecified,yournexttaskisto
inputthecomposition.
12. IntheWorkbook,double-clicktheMolarFlowcellof thePropOxide
stream.
TheInputCompositionforStreamviewappears.Thisviewallows
youtocompletethecompositionalinput.
Figure3.36
Input Composition fOl Stream PropOl'ude EJ
3-30
Thefollowingtablelistsandexplainsthefeaturesavailabletoyouonthe
InputCompositionforStreamview.
Features I Description
Compositional Basis
Radio Buttons
You can input the stream composition in some fractional basis
other than Mole Fraction, or by component flows, by selecting
the appropriate radio button before providing your input.
i
i
Normalizing The Normalizing feature is useful when you know the relative
ratios of components; for example, 2 parts N2, 2 parts CO2,
120 parts C1, etc. Rather than manually converting these
ratios to fractions summing to one, simply enter the individual
numbers of parts and click the Normalize button. HYSYS
computes the individual fractions to total 1.0.
Normalizing is also useful when you have a stream consisting
of only a few components. Instead of specifying zero fractions
(or flows) for the other components, simply enter the fractions
(or the actual flows) for the non-zero components, leaving the
others <empty>. Click the Normalize button, and HYSYS
forces the other component fractions to zero.
Calculation statusi
colour
As you input the composition, the component fractions (or
flows) initially appear in red, indicating the final composition is
unknown. These values become blue when the stream
composition is calculated. Three scenarios result in the stream
composition being calculated:
Input the fractions of all components, including any zero
components, such that their total is exactly 1.0000. Click
the OK button.
Input the fractions (totalling 1.000), flows or relative
number of parts of all non-zero components. Click the
Normalize button, then click the OK button.
.
Input the flows or relative number of parts of all
components, including any zero components, then click
the OK button.
These are the default colours;
yours may appear differently
depending on your settings on
the Colours page of the
Session Preferences.
13. IntheCompositionBasisgroup,ensurethattheMoleFractions
radiobuttonisselected.
14. Clickontheinputcellforthefirstcomponent,12C30xide.This
streamis 100% propyleneoxide.
15. Type1forthemolefraction, thenpressENTER.
Inthiscase, 12C30xideistheonlycomponentinthestream.
3-31
If you want to delete a stream,
click on the Name cell for the
stream, then press DELETE.
HYSYS asks for confirmation
of your action.
16. ClicktheNormalizebuttontoforcetheothervaluestozero.The
compositionis nowdefinedforthisstream.
Figure 3.37
17. ClicktheOK button.HYSYSacceptsthecomposition.Thestream
specificationisnowcomplete,soHYSYS willflashitatthe
conditionsgiventodeterminetheremainingproperties.
Thevaluesyouspecifiedareadifferentcolour(blue)thanthecalculated
values(black).
Figure 3.38
3-32
MaterialStream Icon
Theseparametersarein
defaultunits.sothereisno
needtochangetheunits.
Rdding RnotherStream
Next,youwilluseanalternativemethodforaddingastream.
18. Toaddthesecondfeedstream,doanyoneofthefollowing:
PressF11.
FromtheFlowsheetmenu,selectAddStream.
Double-clicktheMaterialStreamiconontheObjectPalette.
ClicktheMaterialStreamiconontheObjectPalette,thenclick
thePalette'sAddObjectbutton.
AnewstreamappearsintheWorkbookandisnamedaccordingtothe
AutoNamingsettinginyourSessionPreferencessettings.Thedefault
settingnamesnewmaterialstreamswithnumbers,startingat1(and
energystreamsstartingatQ-I00).
Whenyoucreatethenewstream,thestream'spropertyviewalso
appears,displayingtheConditionspageoftheWorksheettab.
19. IntheStreamNamecell,changethenametoWaterFeed.
20. IntheTemperaturecell,enter75F.
21. InthePressurecell,enter16.17psia.
Figure3.39
Waterfeed =
I
IP,"I>OI\ioo
I
IKVolue
U""VariobIo.
,NOlet
!CoMP.._
j
I I
D
.. .
3-33
For the current Composition
Basis setting, you want to
enter the stream composition
on a mass flow basis.
22. SelecttheCompositionpagetoenterthecompositionalinputfor
thenewfeedstream.
Figure 3.40
Wdter ':
,:;:,........ I'
1,,--
!"v....
ju...v_.
1Nolet
ICooIP.,_
!
Tot.!
. ..
23. ClicktheEditbuttonnearthebottomof theCompositionpage.The
InputCompositionforStreamviewappears.
24. IntheCompositionBasisgroup,changethebasistoMassFlowsby
selectingtheappropriateradiobutton,orbypressingALTA.
25. IntheCompMassFlowcellforH20,type11,000(lb/hr), thenpress
ENTER.
Figure 3.41
3-34
26. Sincethisstreamhasnoothercomponents,clicktheNormalize
button.Theothercomponentmassflows areforcedtozero.
Figure 3.42
27. ClicktheOK buttontoclosetheviewandreturntothestream
propertyview.
HYSYSperformsaflashcalculationtodeterminetheunknown
propertiesofWaterFeed,andthestatusbardisplaysagreenOK
message.Usethehorizontalscrollbarinthetabletoviewthe
compositionsofeachphase.
Figure 3.43
Water feed ~ '"
... ..
335
Sizing Arrow Icon
ThecompositionscurrentlyappearinMassFlow,butyoucanchange
thisbyclickingtheBasisbuttonandchoosinganotherComposition
Basisradiobutton.
2B. ClicktheConditionspagetoviewthecalculatedstreamproperties.
Youcandisplaythepropertiesofallphasesbyresizingtheproperty
view
29. Placethecursorovertherightborderoftheview.Thecursor
changestoadouble-endedsizingarrow.
30. Withthesizingarrowvisible,clickanddragtotherightuntilthe
horizontalscrollbardisappears,makingtheentiretablevisible.
Figure 3.44
" " ~ !
re=-;-I
I
~
I: v .... , I
lu....v..-. !
IN.,... I'
ICost P-.anetelS ,
.. If>
New or updated information Inthiscase,theaqueousphaseisidenticaltotheoverallphase.
is automatically and instantly
transferred among all
31. ClosetheWaterFeedpropertyviewtoreturntotheWorkbook.
locations in HYSYS.
336
WorkbookIcon
You can alsofilterthelistby
selectingthePiping
Equipmentradio buttonin
theCategoriesgroup, then
useoneoftheabove
methodstoinstallthe
operation.
Double-clickingonalisted
operationcan alsobeused
insteadoftheAddbuttonor
theENTER key.
Installing Unit Operations
Nowthatthefeedstreamsareknown,yournexttaskistoinstallthe
necessaryunitoperationsforproducingtheglycol.
Installing the Hixer
ThefirstoperationisaMixer,usedtocombinethetwofeedstreams.As
withmostcommandsinHYSYS, installinganoperationcanbe
accomplishedinanumberofways.OnemethodisthroughtheUnitOps
taboftheWorkbook.
1. ClicktheWorkbookicontoensuretheWorkbookisactive.
2. ClicktheUnit OpstaboftheWorkbook.
3. ClicktheAddUnitOpbutton.TheUnitOpsviewappears,listingall
availableunitoperations.
WhenyouclicktheAddbuttonorpressENTERinsidethisview,
HYSYS addstheoperationthatiscurrentlyselected.
4. SelectMixerbydoingoneof thefollowing:
Starttyping 'mixer'.
Scrolldownthelistusingtheverticalscrollbar,thenselectMixer.
Figure3.45
UmlOp, C.se(Ma'nl 1llll1ilE3
.l!ddi.!"
I,;
5. WithMixerselected,clicktheAddbutton,orpressENTER.
3-37
Thedefaultnamingscheme
forunitoperationscanbe
changedin yourSession
Preferences.
ThepropertyviewfortheMixerappears.
Figure3.46
> MIX 100 Pi[i]1:3
C ~ J'.'IIIIII.............- r ~ I
Theunitoperationpropertyviewcontainsalltheinformationrequired
todefinetheoperation,organizedintotabsandpages.TheDesign,
Rating,WorksheetandDynamicstabsappearinthepropertyviewfor
mostoperations.Propertyviewsformorecomplexoperationscontain
moretabs.HYSYShasprovidedthedefaultnameMIX-lOOfortheMixer.
Manyoperations,liketheMixer,acceptmultiplefeedstreams.
WheneveryouseeatableliketheoneintheInletsgroup,theoperation
willacceptmUltiplestreamconnectionsatthatlocation.Whenthe
Inletstableisactive,youcanaccessadrop-downlistofavailable
streams.
Next,youwillcompletetheConnectionspagefortheMixer.
6. IntheInletstable,clickintheStream cell.Thestatusindicator
atthebottomoftheviewindicatesthattheoperationneedsafeed
stream.
338
7. Openthedrop-downlistofinletsbyclickingon
theF2keythenSPACEBAR.
...::::J orbypressing
Figure3.47
MIX 100 l1li00
Alternatively, you can
8. SelectPropOxidefromthedrop-downlist.ThePropOxidestream
connectthestream by
appearsintheInletstable,andStream automaticallymoves
typingtheexactstream
namein the Stream
downtoanewemptycell.
cell,then pressingENTER.
9. IntheInletstable,clickthenewemptyStream cellandselect
WaterFeedfromthelist.Thestatusindicatornowdisplays'Requires
aproductstream'.
10. MovetotheOutlet fieldbypressingTAB, orbyclickinginthecell.
11.TypeMixerOutinthecell,thenpressENTER. HYSYS recognizesthat
thereisnoexistingstreamwiththisname,soitcreatesthenew
stream.
Figure3.48
r MIX 11111 1!ll1iii.IE3
3-39
ThestatusindicatordisplaysagreenOK, indicatingthattheoperation
andattachedstreamsarecompletelycalculated.TheConnectionspage
is nowcomplete.
12. ClicktheParameterspage.
13. IntheAutomaticPressureAssignmentgroup,keepthedefault
settingofSetOutlettoLowestInlet.
Figure3.49
, MIX 100 PlIilE3
-...=::-c-..,.-" ____________ r Ignored
HYSYShascalculatedthe
oulletstream bycombining
thetwoinletsandflashing
themixtureatthelowest
pressureoftheinlet
streams.In thiscase,both
inletshavethesame
pressure(16.17psia),so
theoutletstreamissetto
16.17psia.
14. ClicktheWorksheettabintheMIX-100propertyviewtoviewthe
calculatedoutletstream.ThistabisacondensedWorkbooktab
displayingonlythosestreamsattachedtotheoperation.
Figure3.50
, MIX 100 1lll1ilE3
15. ClosetheMIX-I00propertyviewtoreturntotheWorkbook.
3-40
16. IntheWorkbook,clicktheUnitOpstab.Thenewoperationappears
inthetable.
Figure3.51
ThetableshowstheoperationName,ObjectType,theattachedstreams
(InletandOutlet),whetheritisIgnored,anditsCalc.Level.Whenyou
clicktheViewUnitOpbutton,thepropertyviewforthecurrently
selectedoperationappears.Alternatively,bydouble-clickingonanycell
(exceptInletorOutlet)associatedwiththeoperation,youwillalsoopen
itspropertyview.
YoucanalsoopenastreampropertyviewdirectlyfromtheWorkbook
UnitOpstab.Whenanyof thecellsName,ObjectType,IgnoredorCalc.
Levelareselected,thegrayboxatthebottomoftheviewdisplaysall
streamsattachedtothecurrentoperation.Currently,theNamecellfor
MIX-lOOhasfocus,sotheboxdisplaysthethreestreamsattachedtothis
operation.
Forexample,toopenthepropertyviewforthePropOxidestream
attachedtotheMixer,dooneofthefollowing:
Double-clickon PropOxidein theboxatthebottomoftheview.
Double-clickontheInletscellforMIX-100.Thepropertyviewfor
thefirstlistedfeedstream, inthiscasePropOxide,appears.
3-41
Any utilities attached to the
stream with focus in the
Workbook are also displayed
in (and are accessible from)
this box.
Workbook Features
Before installing the remaining operations, you will examine a number
of Workbook features that allow you to access information quickly and
change how information is displayed.
Recessing Unit Operations from the Workbook
While you can easily access the property view for a unit operation from
the Unit Ops tab of the Workbook, you can also access operations from
the Material Streams, Compositions, and Energy Streams tabs.
When your current location is a Workbook streams tab, the gray box at
the bottom ofthe Workbook view displays the operations to which the
current stream is attached. For example, click on any cell associated
with the stream Prop Oxide. The gray box displays the name of the mixer
operation, MIX-IOO.
If the stream Prop Oxide was also attached to another unit operation,
both unit operations would be listed in the box. To access the property
view for the Mixer, double-click on its name in the gray box.
Figure 3.52
.. Wurkbuok ~ Case (MdiO) I ' ~
3-42
Hdding aTab to the Workbook
WhentheWorkbookisactive,theWorkbookitemappearsintheHYSYS
menubar.ThisitemallowsyoutocustomizetheWorkbook.
NextyouwillcreateanewWorkbooktabthatdisplaysonlystream
pressure,temperature,andflow.
1. Dooneofthefollowing:
FromtheWorkbookmenuitem, selectSetup.
Objectinspect(right-click)theMaterial Streams tabin the
Workbook, thenselectSetup from themenuthatappears.
TheWorkbookSetupviewappears.
Figure 3.53
rWOIkbookTain
, Mr i ~ Sire.....
~
!E_Streomt
IllnilOJ>O
I
I
I
I
I
, , , ~ , - ....-.
ThefourexistingtabsarelistedintheWorkbookTabsarea.Whenyou
addanewtab,itwillbeinsertedbeforethehighlightedtab(currently
MaterialStreams).YouwillinsertthenewtabbetweentheMaterials
StreamstabandtheCompositionstab.
2. IntheWorkbookTabslist,selectCompositions,thenclicktheAdd
button.TheNewObjectTypeviewappears.
3-43
3. Clickthe+besideStreamtoexpandthetree.
Figure3.54
.... 1 ........lI ... K_....
EnergyStleam
: Una Opel'alions:
:Ves$els
'" Heal Tr.....ler
'+;.. Rotal;,g
't> Equipment
:i Solid;HandlingOperaliom
if} Reactors
,+.. Prob"Colum",
if' ShortCut Caumn.
if- Sub-Flowsheets
,.,.Logical Operatial.
Electroi!(e