Professional Documents
Culture Documents
CHEMCAD 6 User Guide 2012 PDF
CHEMCAD 6 User Guide 2012 PDF
CHEMCAD 6 User Guide 2012 PDF
User Guide
Allmaterial2012Chemstations,Inc.
Table of Contents
Chapter1IntroductiontoCHEMCAD .............................................................................................. 1
OverviewofCHEMCADandItsUses ................................................................................................ 1
CHEMCADProductsandFeatures ................................................................................................. 3
CC-STEADY STATE .......................................................................................................................................3
CC-DYNAMICS ...............................................................................................................................................3
CC-BATCH .......................................................................................................................................................3
CC-THERM.......................................................................................................................................................3
CC-SAFETY NET.............................................................................................................................................3
CC-FLASH........................................................................................................................................................3
CHEMCADFeaturesbyModule...................................................................................................... 4
UnitOpsbyModule............................................................................................................................ 5
Chapter2GettingStartedwithCHEMCAD..................................................................................... 7
InstallingtheSoftware ........................................................................................................................... 7
LicensingCHEMCAD ......................................................................................................................... 10
TypesofCHEMCADLicenses........................................................................................................ 10
LicenseSettings ................................................................................................................................. 11
UpdatingaLicense ........................................................................................................................... 13
GettingHelpwithCHEMCAD .......................................................................................................... 15
OnlineHelp ....................................................................................................................................... 15
CHEMCADCoach............................................................................................................................ 15
ProcedureDemos.............................................................................................................................. 16
TheChemstationsWebSite............................................................................................................. 16
CHEMCADVersion6UserGuide
TableofContents
ContactingChemstationsTechnicalSupport ............................................................................... 16
Chapter3TheCHEMCADInterface................................................................................................ 17
TheCHEMCADWindow ................................................................................................................... 17
TheWorkspace.................................................................................................................................. 18
TheCHEMCADExplorerPane ...................................................................................................... 18
The Recent Files Tab .......................................................................................................................................19
The Simulation Tab .........................................................................................................................................19
The Visual Basic Tab.......................................................................................................................................20
ThePalettePane ................................................................................................................................ 20
Selecting a Palette............................................................................................................................................20
Customizing Palettes .......................................................................................................................................21
TheMessagesPane ........................................................................................................................... 22
The Errors and Warnings Tab..........................................................................................................................22
The Run Trace Tab ..........................................................................................................................................22
The Notes Tab .................................................................................................................................................23
TheMainMenu................................................................................................................................. 23
TheToolbar........................................................................................................................................ 23
CustomizingtheCHEMCADScreen................................................................................................. 24
ViewingandHidingScreenElements ........................................................................................... 24
ResizingandMovingItems............................................................................................................. 24
Resizing a Pane................................................................................................................................................24
Moving a Pane .................................................................................................................................................25
PinningandUnpinningPanes........................................................................................................ 25
OtherUsefulInterfaceHints............................................................................................................... 26
UndoandRedo ................................................................................................................................. 26
VisibleGrid........................................................................................................................................ 27
AdjustingYourViewoftheWorkspace........................................................................................ 27
TheCHEMCADCoachPane .......................................................................................................... 27
Chapter4WorkingwithSimulationFiles ...................................................................................... 29
AboutCHEMCADSimulationFiles.................................................................................................. 29
UserComponentsinCHEMCAD .................................................................................................. 30
ExampleFiles..................................................................................................................................... 30
OpeninganExistingSimulation ........................................................................................................ 31
CreatingaNewSimulation................................................................................................................. 31
SavingaSimulation.............................................................................................................................. 32
SavingDifferentCasesfortheSameSimulation.......................................................................... 32
EmailingaSimulation ........................................................................................................................ 33
ii
CHEMCADVersion6UserGuide
TableofContents
WorkingwithCHEMCADFilesfromPreviousVersions .............................................................. 34
Chapter5BuildingandUsingaBasicSimulation......................................................................... 35
StartingaNewSimulation .................................................................................................................. 35
SelectingEngineeringUnits................................................................................................................ 36
DrawingtheFlowsheet........................................................................................................................ 36
AddingUnitOps ............................................................................................................................... 36
Selecting a Default Icon for a UnitOp .............................................................................................................37
Manipulating UnitOp Icons .............................................................................................................................38
UnitOp ID Numbers ........................................................................................................................................38
DrawingandConnectingaStream ................................................................................................ 39
Choosing a Stream Route ................................................................................................................................39
Rerouting a Stream ..........................................................................................................................................40
Stream ID Numbers .........................................................................................................................................40
OtherDrawingTools........................................................................................................................ 41
The Text Tool ..................................................................................................................................................41
Simple Drawing Tools: Rectangle, Ellipse, and Line ......................................................................................41
Complex Drawing Tools: Multi-line and Polygon ..........................................................................................41
SelectingChemicalComponents........................................................................................................ 42
FindingaComponent ...................................................................................................................... 43
AddingaComponent....................................................................................................................... 44
ChangingtheOrderofSelectedComponents .............................................................................. 45
RemovingItemsfromtheSelectedComponentsList ................................................................. 45
SelectingKvalueandEnthalpyOptions .......................................................................................... 46
UsingtheThermodynamicsWizard .............................................................................................. 46
Selecting Components to Ignore......................................................................................................................46
Specifying Process Conditions ........................................................................................................................46
How the Thermodynamics Wizard Makes Suggestions ..................................................................................46
Should the Thermodynamics Wizard be trusted to make design decisions? ...................................................47
ManuallySelectingThermodynamicsSettings ............................................................................ 47
DefiningStreams .................................................................................................................................. 48
ThermodynamicProperties............................................................................................................. 48
StreamComposition ......................................................................................................................... 49
TotalFlowProperties ....................................................................................................................... 49
SpecifyingEquipmentParameters..................................................................................................... 49
RunningtheSimulation....................................................................................................................... 50
ReviewingtheResults.......................................................................................................................... 51
Chapter6UsingCHEMCADforHighfidelityModeling ........................................................... 53
Whatishighfidelitymodeling?......................................................................................................... 53
CHEMCADVersion6UserGuide
iii
TableofContents
CriteriaforHighfidelityModeling ................................................................................................... 54
IntroductiontoEquipmentSizing ..................................................................................................... 54
HighfidelityModelingandSizingforCommonUnitOps ............................................................ 55
Piping.................................................................................................................................................. 55
Low-fidelity .....................................................................................................................................................55
Sizing...............................................................................................................................................................55
High-fidelity ....................................................................................................................................................56
Pumps,Compressors,andExpanders ........................................................................................... 56
Low-fidelity .....................................................................................................................................................56
High-fidelity ....................................................................................................................................................56
VesselsandTanks............................................................................................................................. 56
Low-fidelity .....................................................................................................................................................56
Sizing...............................................................................................................................................................57
High-fidelity ....................................................................................................................................................57
Valves ................................................................................................................................................. 57
Low-fidelity .....................................................................................................................................................57
Sizing...............................................................................................................................................................58
High-fidelity ....................................................................................................................................................58
Columns ............................................................................................................................................. 58
Low-fidelity .....................................................................................................................................................58
Sizing...............................................................................................................................................................58
High-fidelity ....................................................................................................................................................60
HeatExchangers ............................................................................................................................... 60
Low-fidelity .....................................................................................................................................................60
Sizing...............................................................................................................................................................60
High-fidelity ....................................................................................................................................................60
ReliefDevices .................................................................................................................................... 61
Low-fidelity .....................................................................................................................................................61
High-fidelity ....................................................................................................................................................62
LicensingConsiderationsforHighfidelityModeling.................................................................... 62
Chapter7BuildingandUsingaDynamicSimulation ................................................................. 63
Whatdowemeanbydynamics? ....................................................................................................... 63
LicensingConsiderations .................................................................................................................... 63
AdditionalInputforDynamicOperation......................................................................................... 64
StrategiesforDynamicSimulations ............................................................................................... 65
SettingUpDynamicOperation .......................................................................................................... 65
SwitchingtoDynamics .................................................................................................................... 65
SettingtheRunTime ........................................................................................................................ 66
SelectingStreamsandUnitOps ...................................................................................................... 68
RunningaDynamicSimulation ......................................................................................................... 69
iv
CHEMCADVersion6UserGuide
TableofContents
RunfromInitialState ....................................................................................................................... 69
RunfromCurrentState.................................................................................................................... 69
RunOneStepataTime ................................................................................................................... 70
OtherDynamicCommands ................................................................................................................ 70
ResettoInitialState .......................................................................................................................... 70
SaveAsInitialState .......................................................................................................................... 71
OutputfromDynamicSimulations ................................................................................................... 71
ReviewingtheFlowsheetSpecifications........................................................................................ 72
PlottingDynamicResults ................................................................................................................ 72
TextbasedDynamicReports .......................................................................................................... 72
Chapter8OutputandReports........................................................................................................... 75
TextReports .......................................................................................................................................... 75
ReportOutputSetup ........................................................................................................................ 75
StreambasedReports....................................................................................................................... 76
Stream Groups .................................................................................................................................................76
Stream Compositions.......................................................................................................................................78
Stream Properties.............................................................................................................................................79
Particle Size Distribution.................................................................................................................................80
Pseudocomponent Curves................................................................................................................................80
UnitOpbasedReports...................................................................................................................... 80
UnitOp Groups ................................................................................................................................................80
Select UnitOps.................................................................................................................................................81
Spec Sheet........................................................................................................................................................82
Distillation .......................................................................................................................................................82
FlowsheetbasedReports ................................................................................................................. 83
Topology..........................................................................................................................................................83
Thermodynamics .............................................................................................................................................83
Mass and Energy Balances ..............................................................................................................................83
DynamicsReports............................................................................................................................. 83
Batch Results ...................................................................................................................................................83
Dynamics .........................................................................................................................................................83
ConsolidatedReportsandtheCHEMCADReportWriter......................................................... 84
Choosing and Ordering Report Sections..........................................................................................................84
Selecting Flowsheet Elements .........................................................................................................................85
Formatting Report Sections .............................................................................................................................85
Naming the Report and Choosing a Destination..............................................................................................86
GraphicalReports................................................................................................................................. 87
ThermophysicalDataGraphs ......................................................................................................... 87
TPXY...............................................................................................................................................................87
Binary LLE ......................................................................................................................................................87
CHEMCADVersion6UserGuide
TableofContents
Binodal Plot .....................................................................................................................................................87
Binodal/Residue Curves ..................................................................................................................................87
Residue Curves ................................................................................................................................................88
Solid/Liquid Equilibrium.................................................................................................................................88
FlowsheetbasedGraphs.................................................................................................................. 88
UnitOpbasedPlots .......................................................................................................................... 88
Column Profiles ...............................................................................................................................................88
Heat Curves .....................................................................................................................................................88
Plug Flow Reactor Profile ...............................................................................................................................88
Pipe Profile ......................................................................................................................................................88
Controller Convergence...................................................................................................................................89
DynamicPlots ................................................................................................................................... 89
UserspecifiedFile ............................................................................................................................ 89
PrintingCHEMCADReports ............................................................................................................. 89
ProcessFlowDiagrams ....................................................................................................................... 90
FlowsheetDataboxes........................................................................................................................ 90
Stream Boxes...................................................................................................................................................90
UnitOp Boxes ..................................................................................................................................................91
TP Boxes .........................................................................................................................................................91
Excel Range Boxes ..........................................................................................................................................92
UsingtheLayersFeatureforSelectiveViewingandPrinting ................................................... 93
Scenarios for Using Layers..............................................................................................................................93
Creating a New layer .......................................................................................................................................94
Assigning Objects to a Layer...........................................................................................................................95
Hiding and Viewing Layers.............................................................................................................................95
Removing an Object from a Layer ..................................................................................................................96
Deleting an Entire Layer..................................................................................................................................96
PrintingaProcessFlowDiagram ................................................................................................... 96
Chapter9CustomizingCHEMCAD ................................................................................................ 99
FlowsheetTemplates ........................................................................................................................... 99
CreatingaTemplate ....................................................................................................................... 100
ViewingaTemplatesProperties.................................................................................................. 100
ApplyingaTemplate...................................................................................................................... 100
RenamingorDeletingaTemplate................................................................................................ 100
CreatingCustomComponents ......................................................................................................... 101
AddingaSingleComponent......................................................................................................... 101
Creating the Component ................................................................................................................................101
Regressing Data into the Component ............................................................................................................104
vi
CHEMCADVersion6UserGuide
TableofContents
CHEMCADVersion6UserGuide
vii
TableofContents
SelectingComponents.................................................................................................................... 136
SelectingThermodynamicOptions.............................................................................................. 138
DefiningtheFeedStreams............................................................................................................. 140
EnterUnitOpParameters .............................................................................................................. 142
First Heat Exchanger .....................................................................................................................................142
Second Heat Exchanger.................................................................................................................................143
Flash Drum ....................................................................................................................................................143
Valve..............................................................................................................................................................143
Stabilizer Tower ............................................................................................................................................144
viii
CHEMCADVersion6UserGuide
TableofContents
Placing UnitOps.............................................................................................................................................166
Drawing Streams ...........................................................................................................................................167
SelectingComponents.................................................................................................................... 168
SelectingThermodynamicOptions.............................................................................................. 168
SpecifyingPotCharge.................................................................................................................... 170
SpecifyingtheDistillationColumn .............................................................................................. 172
DefiningtheOperatingSteps........................................................................................................ 173
Operating Step 1 ............................................................................................................................................173
Operating Step 2 ............................................................................................................................................174
Operating Step 3 ............................................................................................................................................174
Operating Step 4 ............................................................................................................................................175
Operating Step 5 ............................................................................................................................................175
The Run Time Information Dialog Box.........................................................................................................175
SimpleFlowExample..................................................................................................................... 186
Problem Statement.........................................................................................................................................186
Creating the Simulation .................................................................................................................................186
Using Controllers to Simplify the Problem ...................................................................................................188
Calculating NPSHa........................................................................................................................................189
CHEMCADVersion6UserGuide
ix
TableofContents
CHEMCADVersion6UserGuide
Chapter 1
Introduction to CHEMCAD
WelcometoCHEMCADVersion6,apowerfulandeffectivesoftwaretoolfor
chemicalprocesssimulation.WhetheryoureaneworexperiencedCHEMCADuser,
youllappreciatetheprogramsuserfriendly,featurerichinterface.Creating
flowsheetsandrunningsimulationsisfastandeasywithCHEMCAD,andthe
programishighlycustomizabletofityourneedsandthewayyouwork.
ThismanualwillhelpyougetupandrunningwithCHEMCAD,from
installationandlicensingtotutorialsthatwalkyouthroughrealworldexamples.
Thelatestchemicalengineeringtechniquesatyourfingertips
Allfunctionalityunitedinasinglesoftwareenvironment
Seamlessconnectiontothechemicalengineeringcomputingenvironment,with
linkstotoolssuchasMSExcelandWordandinterfacessuchasCOM,DCOM,
OPC,CAPEOPEN,andXML
CHEMCADVersion6UserGuide
IntroductiontoCHEMCAD
CHEMCADcombinesastateoftheartgraphicaluserinterface(GUI),an
extensivechemicalcomponentdatabase,alargelibraryofthermodynamicdata,and
alibraryofthemostcommonunitoperationstogiveuserstheabilitytoprovide
significantandmeasurablereturnsontheirinvestment.Inaddition,theprogramis
customizabletoallowcustomchemicals,thermodynamics,unitoperations,
calculations,andreportingallingredientsforapowerfuluserexperience.
CHEMCADiscapableofmodelingcontinuous,batch,andsemibatchprocesses,
anditcansimulatebothsteadystateanddynamicsystems.Thisprogramisused
extensivelyaroundtheworldforthedesign,operation,andmaintenanceofchemical
processesinawidevarietyofindustries,includingoilandgasexploration,
production,andrefining;gasprocessing;commodityandspecialtychemicals;
pharmaceuticals;biofuels;andprocessequipmentmanufacturing.
Withinalloftheseindustries,chemicalengineersworkeverydaywith
CHEMCADtoaddressavarietyofchallenges:
Initialdesignofnewprocesses
Optimizationordebottleneckingofexistingprocesses
Performancemonitoringofprocesses
Designandratingofprocessequipmentsuchasvessels,columns,heat
exchangers,piping,valves,andinstrumentation
Evaluationofsafetyreliefdevices
Heatexchangersizing
Pressureandflowbalancingofcomplexpipingnetworks
Reconciliationofplantdata
Economiccomparisonsofprocessalternatives
Advancedprocesscontrol(APC),includingmodelpredictivecontrol(MPC),
realtimeoptimization(RTO),andoperatortrainingsystems(OTS)
Scaleupofprocessesfromlabscaletopilotscale,andfrompilotscaletofull
scale
Binaryinteractionparameter(BIP)regressionfromprocessorlabdata
Batchreactionrateregressionfromprocessorlabdata
Nomatterhowcomplexyourprocess,CHEMCADiscapableofdeliveringthe
resultsyouneedtostaycompetitiveinanincreasinglyfastandfluidglobalmarket.
Easytolearnandhighlycustomizable,CHEMCADcanputfutureproofsolutions
withineasyreachofyourengineeringstaff.
CHEMCADVersion6UserGuide
IntroductiontoCHEMCAD
CC-STEADY STATE
ThemainCHEMCADproduct,knownasCCSTEADYSTATE,enablesyouto
designnewprocesses,rateexistingprocesses,andoptimizeprocessesinsteadystate.
CC-DYNAMICS
ThemoduleknownasCCDYNAMICSmakesitpossibletodesignandrateexisting
processesusingadynamicsimulation.Thismoduleisfullyintegratedwith
CHEMCADtomakeswitchingbetweensteadystateanddynamicseasyand
intuitive.UsingCCDYNAMICS,youcaneasilysimulateeverythingfromsimple
vesselaccumulationtocomplexcontrolsystemsoncolumns.Thismodulealso
providestoolsforsimulationofcontinuousstirredtankreactors(CSTRs),including
complexreactionrateandpressurecalculation.
CC-BATCH
TheCCBATCHproductenablesyoutodesign,rate,oroptimizeabatchdistillation
column.CCBATCHincludesaschedulinginterfacetoallowanoperationstep
approachtosimulationofbatchcolumns.
CC-THERM
TheCCTHERMproductletsyoudesignasingleheatexchanger,orvetavendors
heatexchangerdesign.Itisalsoidealforcustomerswhowanttorateexisting
exchangersinnewservice,ortoperformcalculationsonhypotheticalsituations.CC
THERMcansimulateshellandtube,aircooled,plateandframe,anddoublepipe
exchangers.FullintegrationwithCHEMCADmakesitpossibletocalculateexit
conditionsfromexchangergeometryforhighfidelitysimulations.
CC-SAFETY NET
TheCCSAFETYNETproductprovidesthecapabilitytodesignorratepiping
networksandsafetyreliefdevicesandsystems,inbothsteadystateanddynamic
systems.ThesteadystatefeaturesofCCSAFETYNETareincludedwithCC
STEADYSTATE.Thisproductenablesuserstomakesimultaneousflowand
pressurebalancedsimulationseveninreverseflowsituationsforsingleor
multiphaseflow.
CC-FLASH
TheCCFLASHmoduleprovidesphysicalpropertyandphaseequilibriumdata,as
wellaspropertypredictionandregression.CCFLASHisasubsetofCCSTEADY
STATE,andismeantforcustomerswhodonotneedfullflowsheetsimulationtools.
CHEMCADVersion6UserGuide
IntroductiontoCHEMCAD
Sensitivity/optimization
Sizing (line/valve/orifice/vessel)
Run dynamics
Run recycles
Costing
Reconciliation
Sizing columns
CC-FLASH
CC-SAFETY NET
CC-THERM
CC-DYNAMICS
VB/COM/OPC/Data Map
CC-BATCH
CC-STEADY STATE
Thefollowingmatrixliststhefeaturesassociatedwitheachcomponentofthe
CHEMCADsuite.Foramoredetailedexplanation,ortoinquireaboutaparticular
componentorfeature,pleasecontactChemstationsoryourCHEMCADdistributor
(seecompletecontactinformationatwww.chemstations.com/contact.htm).
Economics
DIERS
CO2 solid
Hydrates
Depress
TOC/COD
Pure regression
BIP regression
Electrolyte regression
Rate regression
Units calculator
Execute parser
Environmental report
Simple calculator
Spec sheet
CHEMCADVersion6UserGuide
IntroductiontoCHEMCAD
UnitOps by Module
Batch column
Batch reactor
Calculator
Centrifuge
Component separator
Compressor
Control valve
Controller
Crusher/grinder
Crystallizer
Cyclone
Divider
Dynamic vessel
Electrostatic precipitator
Equilibrium reactor
Excel unit
Expander
Fired heater
Flash
Gibbs reactor
Heat exchanger
Hydrocyclone
Kinetic reactor
Liquid/liquid extractor
LLV flash*
LNGH exchanger
CHEMCADVersion6UserGuide
CC-FLASH
CC-SAFETY NET
CC-THERM
CC-BATCH
CC-DYNAMICS
Baghouse filter
CC-STEADY STATE
Theavailabilityofcertainunitoperations,orUnitOps,inCHEMCADsimulationsis
afunctionofwhichmodulesyouhavelicensed.Thefollowingmatrixlistsall
availableUnitOpsandtheCHEMCADmodulesassociatedwiththem.
9
9
9
CC-SAFETY NET
CC-FLASH
Mixer
Node
Phase generator*
PID controller
Pipe simulator
Pump
Ramp controller
Recorder*
Screen
Sedimentator
Shortcut column
Solids dryer
Solids washer
Stoichiometric reactor
Stream reference
CC-THERM
CC-DYNAMICS
Loop
CC-BATCH
CC-STEADY STATE
IntroductiontoCHEMCAD
Polymer reactor
Tank
Time delay
Time switch
User-added module
Vacuum filter
Valve
Venturi scrubber
Vessel*
9
9
CHEMCADVersion6UserGuide
Chapter 2
NowthatyouhaveCHEMCADinhand,youprobablywanttogetstartedright
away.Letsgetdirectlytothepoint,withstepbystepinstructionsforinstallingand
licensingtheprogram.
Onceyouveestablished
thatyourcomputerisready
forinstallation,insertthe
CHEMCADinstallationdisc
intoanavailableCDmedia
driveandwatchforthe
CHEMCADsplashscreento
appear.
Note: IfyouinsertthediscandclosetheCDmediadrivedoor,butnothinghappens
withinoneminute,thenyoursystemisnotconfiguredtolaunchtheCDcontent
automatically.Tolaunchtheinstallationprogrammanually,gotoMyComputer,
doubleclicktheiconforyourcomputersCDmediadrive,andthendoubleclickthe
filecalledSetup.exe.
ClickInstallCHEMCADtolaunchtheInstallShieldWizard.InstallShield
inspectsyourcomputerforsoftwarecomponentsthatCHEMCADwillneed,and
promptsyoutoinstallanyneededcomponentswithascreensimilartoFigure201.
ClickInstalltocontinue.Followthepromptsonallotherscreensuntilyousee
theCHEMCADSuiteInstallShieldWizardscreen,showninFigure202.
Note:DependingonhowmanysoftwarecomponentsInstallShieldidentifies,there
maybequiteafewscreens,andtheprocedurecouldtakeseveralminutes.Once
thesecomponentsareinstalledonyourcomputer,however,youwillnotneedto
reinstallthemwithfutureCHEMCADupdates.
ClickNexttobegintheinstallationprocess.TheLicenseAgreementscreen
appears,listingtheCHEMCADstandardlicense.Onceyouvereadandunderstood
thetermsofthelicense,youllneedtoclicktheIacceptthetermsinthelicense
agreementbuttonbeforeyoucanclickNextagaintoproceed.Notethatyouhavethe
optiontoprintacopyofthelicenseagreementfromthisscreen.
FollowingthestandardCHEMCADlicenseagreement,asimilarscreenappears
withthelicensetermsoftheMicrosoftVisualStudiotools.Again,youllneedtoclick
theIacceptthetermsinthelicenseagreementbuttonandthenclickNexttoproceed.
TheDestinationFolderscreenappearsnext,displayingthenameofthefolder
intowhichtheCHEMCADfileswillbeinstalledbydefault.Normally,this
destinationisC:\ProgramFiles\Chemstations\CHEMCAD,anditisrecommended
thatyouusethislocationunlessyouhaveaspecificneedtoinstalltheprogram
elsewhere.ClicktheChangebuttonifyouwanttochangethefiledestination,or
clickNexttoacceptthesuggesteddestinationandproceed.
TheSetupTypescreennowappears,offeringachoicebetweencompleteand
custominstallation.Eachtypeofinstallationisdescribedonthescreen.Eitheraccept
thedefaultsettingofCompleteorclickCustomtoselectspecificcomponentsto
install,thenclickNexttoproceed.
TheReadytoInstalltheProgramscreennowappears.Notethatonthisscreen,
andinfactonanyscreenintheinstallationprocess,youcanclickBacktoreturntoa
previousscreenandverifyorchangeyourinstallationsettings.Ifyouaresatisfied
withyoursettingsastheyare,clickInstalltostarttheinstallation.
TheInstallingCHEMCADSuitescreenappears,showingtheprogressofyour
installationwithagreenstatusbar.
Wheninstallationiscomplete,youllseeonefinalscreen,whichstatesthatthe
InstallShieldWizardhascompletedinstallationoftheCHEMCADSuite.Ifyou
wouldliketostartCHEMCADnow,checktheLaunchCHEMCADSuiteboxbefore
clickingFinish.
Licensing CHEMCAD
BeforeyoucanuseCHEMCAD,youllneedtosetupalicensingschemeofsome
type.Dependingonyourparticularlicensingagreement,youwilluseoneofseveral
typesoflicensestorunCHEMCAD.
10
Youoryourorganizationmayuseoneofthefollowingtypesofdongles:
SuperProsingleuserdongle(parallelorUSBconnection)
SuperProNetdongle(parallelorUSBconnection)
Insomeinstances,softwarelicensingisaccomplishedwithouttheuseofa
hardwaredevice:
RMSLicenseManagersoftware,whichrunsoveralocalorwideaccess
network
SystemAuthorization,amethodthatauthorizesasingleusermachinefor
alimitedtime(usedforsoftwareevaluation)
License Settings
TorunCHEMCADforthefirsttime,makesurethatyourdongle(ifapplicable)is
pluggedinproperly,andthenstarttheprogram.FromtheWindowsStartmenu,
selectAllPrograms>Chemstations>CHEMCAD.
Theprogramopens,displayingaCHEMCADsplashscreen.Afterafew
moments,thatscreenisreplacedbytheCHEMCADLicenseMonitordialogbox,
whichdisplaysinformationaboutthelicense(s)thatyourcomputerisusingtorun
CHEMCAD.
Note:Insomecases,theCHEMCADscreenthatappearsmaydisplayaNoLicense
Foundmessage,whichindicatesthatCHEMCADhasnotyetdetectedavalidlicense.
Ifyourcomputerisexperiencingslowcommunicationwiththelicenseserver
system,CHEMCADmaysimplyneedmoretimetodetectthelicense(s).Assoonas
anyvalidlicenseisfound,CHEMCADwilldisplaytheCHEMCADLicenseMonitor
screen.
11
Normally,thisdialogboxremainsinviewforonlyafewseconds,listingall
productlicensesthatCHEMCADhasobtained.Duringthattime,youcanclick
anywhereinthedialogboxtokeepitopen.Ifyoudonotclickinthedialogbox,it
disappearsfromview,butyoucanbringitbackupatanytimebyselectingTools>
Options>Licensing.
WhiletheCHEMCADLicenseMonitordialogboxisopen,youcanviewthe
variousCHEMCADlicensesdetectedforyoursystemandseewhatmethod(and
whereapplicable,whichserver)isbeingusedtoobtainthoselicenses.Ifyour
organizationusesRMSLicenseManager,youcanalsoseewhichotherusers
currentlyholdvariousproductlicenses.
Fornetworklicenses,youcanrightclickaservernameunderaparticular
productandselectalicensingpreference(ondemand,always,ornever)asshown
below.
Youcanusethealwaysorneversettingtoturnlicensingforaproductabsolutely
onoroff,respectively.Theondemandsettingsecuresalicenseonlywhenyoubegin
touseaspecificCHEMCADfeaturecontrolledbyacertainproduct.Thissettingis
idealinmostsituations,asitleavesunneededlicensesavailableforotherusers.
ToclosetheCHEMCADLicenseMonitorscreen,clicktheContinuebutton,or
clicktheXinthetoprightcornerofthescreen.
12
Updating a License
CHEMCADdonglesrequirereprogrammingonaregularbasis,eitheronceayear
ormoreoftendependingonyourlicensingagreement.Thisisasecuritymeasureto
reducethelikelihoodthatyourdonglewillbestolenandmisused.
Thedonglethatyouuseisprogrammedtoworkonlythroughthelicensedtime
period,andwhenthattimehaselapsed,thedonglemustbeupdatedbeforeyoucan
continueusingCHEMCAD.
Updatingadongleisarelativelysimpleprocedure.Beforeyourlicense
expiration,youoryoursoftwareadministratorshouldreceiveanemailfrom
Chemstations,withwhatsknownasaconfigurationfileincludedasanattachment.
YoushouldsavethisfiletoyourWindowsdesktopassoonasyoureceiveit.
Note:Ifyouveupdatedthesamedongleinthepast,thenewconfigurationfile
shouldhavetheexactsamefilenameasthepreviousone.If,whilesavingthefileto
yourdesktop,youseeaWindowsmessageaboutanexistingfilewiththesame
name,youshouldoverwritetheoldfile(whichinanycasecannotbeusedagain),
replacingitwiththenewone.
Itsimportanttoensurethatyourconfigurationfilematchesyourdongle.The
configurationfileshouldbea.DNGfilewhosenameincludesafourorfivedigit
code;thiscodemustmatchthenumberstampedontoyourdongle.Ifthenumbers
dontmatch,contactyoursoftwareadministratororChemstationssupporttoresolve
theissue.
Theupdateemailalsospecifiesthedateonwhichyoullneedtoupdateyour
dongle.Beforethatdatearrives,followthisproceduretoperformtheupdate:
1. StarttheCHEMCADprogramandselectTools>Options>Licensing.This
bringsuptheCHEMCADLicenseMonitordialogbox,whichdisplaysthe
statusofallapplicableCHEMCADproductlicenses,alongwithyourdongle
typeandnumber.
13
2. ClicktheSetupbuttontobringuptheLicenseSetupdialogbox,thenclick
Updatedongleasshownbelow.
Figure 2-08: Clicking Update dongle within the License Setup dialog box
3. Thedialogboxnowlistsalllicensingdonglesanddisplaysafieldfor
enteringthefullpathandfilenameforthedongleupdatefile.Clickthe
Browsebuttontonavigatetotheupdatefile.
4. IntheOpendialogbox,navigatetothelocationwhereyousavedthe.DNG
configurationfile.Normally,thisistheWindowsdesktop;ifyousavedyour
configurationfilethere,clickDesktoptotellCHEMCADwheretolookfor
thefile,thenclickOpen.
5. TheLicenseSetupdialogboxnowdisplaysthedirectorypathandfilename
fortheselected.DNGfile.ClickOKtoupdatethedongle.
Figure 2-10: Updating the dongle with the selected update file
14
6. CHEMCADreprogramsthedongle,andthendisplaysapopupwindow
statingthattheupdateiscomplete.
7. ClickOKtoclosethepopupwindow.IftheCHEMCADLicenseMonitor
screenappears,clickContinuetocloseit.
YoushouldnowbeabletoproceednormallyinCHEMCAD.
Note:ForSuperProNetdonglesonly,youwillneedtostopandrestarttheWindows
servicecalledSentinelProtectionServerafterupdatingthedongle.
Online Help
AtanytimewhilerunningCHEMCADinanactivewindow,youcanpressthe[F1]
keytobringuptheCHEMCADHelpscreenthatsmostappropriatetothetaskyou
arecurrentlyperformingorthedialogboxcurrentlydisplayed.
Insomesituations,pressing[F1]willbringupthemainCHEMCADHelp
windowinsteadofaparticularhelpscreen.Fromthere,youcanclicktheContents,
Index,orSearchtabintheupperleftcorneroftheCHEMCADHelpwindow,and
usethesetoolstofindtheinformationyouneed.
YoucanalsogodirectlytothemainCHEMCADHelpwindowbyselectingHelp
>HelpTopicsfromtheCHEMCADmainmenu.Regardlessofhowyouopen
CHEMCADHelp,italwaysopensinaseparatewindowthatdoesnotinterferewith
theoperationoftheCHEMCADprogram.
CHEMCAD Coach
TheCHEMCADCoachpaneisatoolthatyoucanopenwithinCHEMCADtoview
conciseinstructionsforcommonprocedures.Toseealistofavailabletopics,select
Help>CHEMCADCoach.ThenclickonanylinkintheCHEMCADCoachwindow
toviewtheinstructionsforaspecifictask.
15
Procedure Demos
Animateddemonstrationsofcommontasksareavailabletohelpyougetstarted
usingtheCHEMCADprogram.ThedemofilesareinstalledalongwithCHEMCAD.
Toaccessthesedemos,selectStart>AllPrograms>Chemstations>Demos,and
thenbrowsethelistofavailabletopics.Whenyouselectademofromthemenu,it
willstartplayingautomatically.
ThelatestreleaseofCHEMCAD
Alistofupdatesimplementedinthemostrecentrelease
CHEMCADdocumentationanddemos
ProgrammingguidesforinterfacingwithCHEMCAD
Phone:
713.978.7700
713.978.7727
support@chemstations.com
OutsideoftheUnitedStates,pleaseseewww.chemstations.comforregional
contactinformation.
16
Chapter 3
ThischaptertakesyouonatouroftheCHEMCADscreen,includingthemenusand
toolbars,themainareasofthescreen,andtheflowsheetdrawingtools.Italsoshows
yousomewaysthatyoucancustomizethescreenlayoutsothatitbestsuitsyour
ownwayofworking.
Note:WiththereleaseofVersion6.0,theCHEMCADinterfaceunderwentamajor
transformation.Forthisreason,usersupgradingfromCHEMCAD5willbenefit
fromareviewoftheprogramsscreenlayoutandthelocationofimportantfeatures.
Workspace
CHEMCAD
Explorer pane
Palette pane
Messages pane
CHEMCADVersion6UserGuide
17
TheCHEMCADInterface
The Workspace
Theareainthemiddleofthescreenisknownastheworkspace.Thisisthemainfocus
oftheCHEMCADwindow,theplacewhereyoullbuildandeditflowsheets,view
graphs,andrunandtweakprocesssimulations.
WhenyoufirstlaunchCHEMCAD,theworkspaceissolidwhite.Whenyoustart
tobuildaflowsheetoropenanexistingsimulation,theflowsheetdisplaysinthe
workspace.
Theworkspaceusestabstoenableyoutoswitchbetweenyouropensimulation
andanyopenExcelDataMapsand/ordataplots.Atthebottomoftheworkspace
area,youllseeoneormoretabswheneverasimulationisopen.Eachtabincludesa
buttonmarkedwithanX;tocloseanytab,firstclickthetabandthenclicktheX
button.
Figure 3-01: The bottom of the workspace area, showing several tabs and their
buttons
Notethatanytimeyouveclosedasimulationandhaventyetopenedanother
one,theworkspacedisplaysasablankgrayspace.
TheCHEMCADExplorertabsarepresentedinwhatsknownasatreeformat,
withitemsorganizedintoamultilevelhierarchy.Thedefaultviewshowsonlytop
levelitems,butyoucanexpandeachitemtoviewsecondlevelitems,thirdlevel
items,andsoforth.
Attheleftofeachtoplevelitemisasmallboxwithaplussign.Toexpandan
item,clicktheplussign.Twothingshappensimultaneouslywhenyouclick:thetree
expandstoshowthatitemscontents,andtheplussignbecomesaminussign.You
canhide(orcollapse)thelowerlevelitemsagainbyclickingtheminussign,which
thenturnsbackintoaplussign.Figure303showsanexampleofaCHEMCAD
Exploreritemincollapsedandexpandedview.
18
CHEMCADVersion6UserGuide
TheCHEMCADInterface
Figure 3-03: Clicking the plus sign to expand an item (left); the resulting view (right)
ExpandingandcollapsingitemsintheCHEMCADExplorertabsisonewaythat
youcanmakethebestuseofyourscreenspacewhenworkinginCHEMCAD.
Components:Includesoneclickaccesstocomponent,electrolyte,andsolids
selection,aswellasdistillationcurves
Thermodynamics:Providesquickaccesstothermodynamicsettingsand
transportproperties
Flowsheet:AllowsquickeditingofUnitOpandstreamdata
SensitivityStudies:Providesaconvenientwaytocreate,edit,andrun
sensitivitystudies
DataMaps:EnablesyoutocreateorsetexecutionrulesforaDataMap
withoutusingthemenu
CHEMCADVersion6UserGuide
19
TheCHEMCADInterface
SavedCharts:Providesquickaccesstopreviouslysavedchartsforthis
simulation
Groups:ProvidesaneasywaytocategorizeUnitOps,streams,and
components
Layers:Allowsselectedpartsoftheflowsheettobedisplayedorhiddenfor
viewingandprinting
Templates:StoresandorganizesstreamandUnitOpspecificationsthatyou
cancloneforreuse
Expandanyoftheseitemstoseeandusespecificfeatures,whicharedescribedin
furtherdetailintheappropriatechaptersofthisuserguide.
Selecting a Palette
TheseUnitOpiconsandtoolsaregroupedintopalettesaccordingtofunctionor
equipmenttype.ThedefaultpaletteiscalledAllUnitOps,anditincludesevery
availableUnitOpiconanddrawingtool.Toselectadifferentpalette,simplyclickits
titlebar.Theselectedpaletteexpandsinplace,asshowninFigure304.
20
CHEMCADVersion6UserGuide
TheCHEMCADInterface
Customizing Palettes
AtthetopofthePalettepaneisafieldcalledSearchforUnitOp(s).Typeasearch
termhereandthenclickGo!tolocatealloftheUnitOpiconsassociatedwiththat
term.TheresultsfromthesearchappearinanewpaletteatthebottomofthePalette
pane.Figure305showsthesearchresultsforthewordvessel.
PerformingaUnitOpsearchcreateswhatisknownasauseraddedpalette.This
typeofpaletteisdesignatedwithaspecialiconattheleftendofthepaletteheading.
Thepalettecontainingyoursearchresultsremainsavailableuntilyouclose
CHEMCAD.Youcanmakeyouruseraddedpaletteavailablepermanentlybyright
clickingthenewpalettestitlebarandselectingSave.
CHEMCADVersion6UserGuide
21
TheCHEMCADInterface
Youcandothefollowingwithuseraddedpalettes:
Renameanyuseraddedpalettebyrightclickingitstitlebarandselecting
Rename.Intheresultingdialogbox,typethenameyouwantandthenclick
OK.
Deleteauseraddedpaletteatanytimebyrightclickingandselecting
Remove.
AddindividualUnitOpsortoolstoanexistinguseraddedpalette.Simply
rightclicktheiconfortheitemyouwanttoadd,selectInsertintoPalette,
andthenclickthenameoftheuseraddedpalette.
Removeanitemfromauseraddedpalettebyrightclickingtheiconand
selectingRemovefromPalette.
Createauseraddedpalettewithoutasearch.Rightclickthefirsticonthat
youdliketoincludeonanewpaletteandselectInsertintoPalette>New
Palette.TypeanameintheresultingdialogboxandclickOK.Thenaddas
manyothericonsasyoudlikeusingthemethoddescribedjustabove.
Youcannotchangethenameoriconselectionforabuiltinpalette,asyoucan
withauseraddedpalette.Youcan,however,makeacopyofabuiltinpalette,
renamethecopy,andthenaddanddeleteiconsuntilthepalettehasjustwhatyou
want.
Tocopyanypalette(whetherbuiltinoruseradded),simplyrightclickthe
paletteheadingandselectSaveCopyAs.Typeanameforthenewpaletteandclick
OK.
CHEMCADVersion6UserGuide
TheCHEMCADInterface
The Toolbar
TheCHEMCADtoolbarprovidesbuttonsthatarecommontomostWindows
applications,suchasNew,Open,Save,andPrint,alongwithbuttonsthatare
specifictochemicalprocesssimulation.
Todiscovertheuseofaparticularbutton,simplypointyourmousecursoratthe
buttonandwatchforthetooltiptoappear,asshowninFigure307.
Toolbarbuttonsprovidequick,oneclickaccesstofrequentlyusedcommands
thatarealsoavailableviatheCHEMCADmenus.
CHEMCADVersion6UserGuide
23
TheCHEMCADInterface
Resizing a Pane
Thesimplestwaytoaltertheappearanceofapaneistoresizeit.Youcanmakethe
CHEMCADExplorerandPalettepaneswiderornarrower,ormaketheMessages
paneshorterortaller,bymovingtheinsideedge,orwall,ofthepanetowardor
awayfromtheedgeofthemainwindow.
Toresizeapane,startbypositioningyourmousecursorattheinsidewallofthe
panethatis,therightedgeoftheCHEMCADExplorerpane,theleftedgeofthe
Palettepane,orthetopedgeoftheMessagespane.Whenthecursorisinthecorrect
positionforresizing,thenormalpointerwillbereplacedwithatwoheadedarrow
asshowninFigure308.
24
CHEMCADVersion6UserGuide
TheCHEMCADInterface
Figure 3-08: The two-headed arrow cursor used for resizing panes
Whenyouseethetwoheadedarrow,clickanddraginthedirectionyouwantto
movethepanewall.Athickgraylineshowsapreviewofthenewpanesize;when
youreleasethemousebutton,theresizedpaneappears.
Moving a Pane
Inadditiontoresizing,youcanalsomoveanyofthepanesintheCHEMCAD
window,eithertoadifferentedgeofthescreenortothemiddleofthescreen.You
canalsomovegroupsofbuttonsfromtheirdefaultpositionsonthetoolbar.
Initially,allofthepanesandbuttongroupsaredocked,meaningthattheyare
snappedintoanedgeofthescreenorthetoolbararea.Whenyouundockanitem,
youcanputitinthelocationofyourchoosing,awayfromthescreenedge.
Toundockapane,clickanddragthepanestitlebar,thatis,thebluebaratthe
topofthepanethatshowsthepanename.Toundockabuttongroup,youllneedto
clickanddragtherowoffourdotsrunningalongtheleftedgeoftheleftmostbutton
inthegroup.
Note:InthecaseoftheMessagespane,thetitlebarrunsalongtheleftedgeofthe
pane,andthenameisnotvisiblewhenthepaneisdocked.
Ifyoudragthepaneorbuttongroupintotheworkspacearea,youllseeagray
boxrepresentingthepositiontheitemwilloccupywhenyoureleasethemouse
button.Ifyoudontlikethenewposition,youcanclicktheitemstitlebaranddrag
itelsewhere,includingitsoriginalposition.
Youcanalsodockapanetoadifferentedgeofthescreen,ormovebutton
groupsaroundwithinthetoolbararea,insteadofundockingtheseitems.
25
TheCHEMCADInterface
Whenevereitherofthesepanesisdockedatanedgeofthescreen,itisinoneof
twostates:
Pinned,meaningthatthepaneisalwaysvisible
Unpinned,meaningthatthepaneismostlyhiddenfromview,andappearsonly
ondemand
Bydefault,allCHEMCADpanesareinitiallypinnedinplace.Youcanchooseto
unpinapaneifyouprefertohavesomeextraspaceonthescreen.Tounpinapane,
findthetinypushpiniconinthepanestitlebar,nexttotheXiconthatenablesyou
toclosethepane.Ifthepaneisstationary,youllseethatthepinisuprightwithits
pointdown.
Ifyouclickthepinicon,thepanesuddenlydisappearsfromviewbutitisnt
gone.Instead,asmallgraytabbearingthenameofthepaletteappearsattheedgeof
thescreenwherethepaneisdocked.Toseethepanereappear,youonlyhavetoroll
yourmouseoverthattab.Whenthepaneappears,youllnoticethatthepushpin
iconisnowpointedtotheside.UsethetoolsontheCHEMCADExplorerorPalette
normally;then,whenyounolongerneedthepane,justmovethemousepointer
elsewhere.Thepanewillautomaticallyhideitselfuntilthenexttimeyourollthe
mouseoverthetab.
Figure 3-10: An unpinned pane in use; note the sideways pin icon
Torepinanunpinnedpane,pointtothetabtomakethepaneappearandthen
clickthepinicon.Thepinturnssothatitisonceagainupright,andthepaneisonce
againapermanentfixtureontheCHEMCADscreen.
CHEMCADVersion6UserGuide
TheCHEMCADInterface
commandtoreversethelastchangeyoumade;simplyselectEdit>Undo,orusethe
keycombination[CTRLZ].
YoucanusetheUndocommandtoretractuptothelast99actionsthatyou
performedsincethelasttimeyouopenedthecurrentsimulationfile.
Visible Grid
Youcanturnonaworkspacegridtouseasaguidewhilecreatingyourflowsheet.
SelectView>GridVisibletotogglethisfeatureonoroff.
OthergridoptionsincludeView>SnaptoGrid,whichhelpswithalignmentof
objectsontheflowsheet,andView>ChangeGridSize,whichenablesyouto
customizethehorizontalandverticalspacingofgridlines.
SelectIntoviewtheworkspacefromcloserin,orOuttoviewfromfartheraway.
SelecteitherInataPointorOutataPoint,andthenclickapointonthe
workspace,tozoominoroutwiththatpointasafocus.
SelectZoomRectangle,andthenclickanddragontheworkspace,todesignatea
specificareathatyouwanttoview.
SelectZoomPercentagetochooseaspecificdisplaysizefortheworkspace.
SelectZoomtoFittoviewatthelargestsizethatstillpermitsalloftheexisting
flowsheetelementstoremaininthevisibleworkspace.
Ifyourcomputermouseisequippedwithascrollwheelbetweentheleftand
rightmousebuttons,youcanzoominandoutontheCHEMCADworkspacewitha
touchofyourfinger.Tozoomin,rollthewheelupthatis,pushyourfingertip
away,towardthetopedgeofthemouse.Tozoomout,rollthewheeldowntoward
thebottomofyourmouse,pullingyourfingertiptowardyourpalm.Whenyou
zoominandoutthisway,thefocalpointforthezoomisthelocationofthemouse
pointer.
Note:Youcanalsoclickandholdthemousewheeltopanacrosstheworkspace.
27
TheCHEMCADInterface
YoucandragtheCHEMCADCoachwindowtoanylocationonthescreen,
simplybyclickinganddraggingthetitlebaratthetopofthewindow.
IfyouhavefinishedusingtheCHEMCADCoachtoolandwanttocloseit,just
clicktheClosebutton(theredX)intheupperrightcorneroftheCHEMCADCoach
window.NotethatifthemainCHEMCADwindowwasmaximizedbeforeyou
openedtheCHEMCADCoachtool,youmayneedtomaximizetheCHEMCAD
windowagaintorestoreittofullscreensize.
28
CHEMCADVersion6UserGuide
Chapter 4
AlloftheworkthatyoudowithCHEMCADisstoredinsimulationfiles.Beginning
withCHEMCAD6,eachdiscretesimulationispackagedintoasinglefilethatis
portableandeasytohandle.AllthedetailsofthesimulationfromUnitOp
specificationstostreamcompositiontothermodynamicsareincludedinthisfile.
ThischapterdescribesthevariouswaysthatyoucanaccessandmanageCHEMCAD
simulationfiles.
CHEMCADVersion6UserGuide
29
WorkingwithSimulationFiles
Example Files
EspeciallyifyourenewtoCHEMCAD,itsagoodideatoopenandpractice
workingwithsomeexamplefilesbeforecreatingyourownsimulations.Forthis
purpose,wevecreatednumerousexamplesofsimulationsfortypicalchemical
processes.Youcanopen,view,andeditanyexamplefile,andevensaveacopyin
anotherlocationtojumpstartasimulationofyourown.
TheCHEMCADexamplefilesareautomaticallycopiedtoyourcomputerwitha
completeCHEMCADinstallation.Theexamplesareorganizedbyprocesstypeand
locatedinthe\MyDocuments\MySimulations\Examplesdirectory.
30
CHEMCADVersion6UserGuide
WorkingwithSimulationFiles
Ifyoushouldhavetroublelocatingaparticularsimulation,youcansearchyour
harddriveornetworkforallfileswitha.CC6fileextension.
CHEMCADVersion6UserGuide
31
WorkingwithSimulationFiles
Saving a Simulation
Tosaveallchangesinasimulationthatyouhavealreadynamed,selectFile>Save
orclicktheSavebuttononthetoolbar.
Note:Insomecases,suchasthebuiltinCHEMCADexamplefiles,existingfilesmay
besetasreadonlytopreventaccidentaloverwriting.Youcansaveacopyofaread
onlyfileusingadifferentfilenameand/orfilelocation.
Tosaveanewsimulationthatyouhaventyetnamed,selectFile>SaveAs.The
SaveAsdialogboxappears,withCHEMCAD6(*.cc6)asthedefaultfiletype.Leave
thefiletypeasitis,givethefileauniquename,andifnecessarynavigatetoanew
filelocation.ClickSavetoclosethedialogboxandreturntothesavedsimulation.
Note:UnlikepreviousversionsofCHEMCAD,thechangesyoumaketoasimulation
arenotsaveduntilyouusetheSaveorSaveAscommand.Thisoffersyougreater
flexibilityinchoosingwhichchangestosaveordiscard.
Savingandstoringallofyoursimulationsinthesamedirectoryhelpsprevent
thelosttimeandfrustrationthatcanresultwhenfilesarescatteredindifferent
locations.ItisrecommendedthatyoustoreyoursimulationsintheMySimulations
folder,whichiscreatedautomaticallywithintheMyDocumentsfolderat
installation.
32
CHEMCADVersion6UserGuide
WorkingwithSimulationFiles
Todothis,simplycreateasimulation,saveit,andthenselectFile>SaveAsto
renamethenextcase.Maketheneededchangesforthatcase,saveit,andcontinuein
thatveintocreateasmanyclonesofyouroriginalsimulationasneeded,with
whateverdifferencesyourequire.
E-mailing a Simulation
WithCHEMCAD6,emailingasimulationisasimplematterofaddingafile
attachment.Justopenyourpreferredemailprogram,createanewmessage,choose
yourrecipientsandaddyourtext,thenusetheprogramscommandforattachinga
file.Navigatetothefolderwherethesimulationislocated,selecttheappropriate
.CC6file,andaddthefileasanattachment.
Beforeyouemailasimulation,youshouldensurethatyouhavesavedany
recentchanges.Also,itsagoodideatocheckthesizeofthefilebeforeaddingthe
attachment,assimulationfilescaninsomecasesbequitelarge.
CHEMCADVersion6UserGuide
33
WorkingwithSimulationFiles
ClickSavetobringuptheSaveAsdialogbox,whereyoucaneitherkeepor
changethefilesnameandselectalocationfortheCHEMCAD6copy.ClickSaveto
createandopenthenewfile.
34
CHEMCADVersion6UserGuide
Chapter 5
Building and Using a Basic Simulation
AlthoughthetypesofsimulationsyoucancreateusingCHEMCADaremanyand
varied,thebasicprocedureforcreatingasimulationcanbebrokendownintothe
followingcommonsteps:
1. Startanewsimulation.
2. Selectengineeringunitsforthesimulation.
3. Createaflowsheetwiththeappropriatestreamsandunitoperations.
4. Selectchemicalcomponentsfortheprocess.
5. SelectKvalueandenthalpyoptionsfortheprocess.
6. Definethefeedstreamsusedintheprocess.
7. Enterspecificationsfortheunitoperations.
8. Runthesimulation.
9. Reviewtheresultsofthesimulation.
35
BuildingandUsingaBasicSimulation
Adding UnitOps
ToplaceaUnitOpicononyourflowsheet,followthesesteps:
1. OntheAllUnitOpspalette,findtheappropriateUnitOpiconforthe
equipmentyouwanttorepresent.Whenyoupointtotheiconwiththe
mouse,theboxaroundtheiconlightsup.ClicktheicontoselecttheUnitOp.
2. Moveyourmousecursortotheworkspacearea,notingthatthepointer
displaysanoutlineoftheUnitOpiconyouveselected.Pointtothelocation
36
CHEMCADVersion6UserGuide
BuildingandUsingaBasicSimulation
ontheworkspacewhereyouwanttoplacetheselectedUnitOp,andthen
clickandreleasetheleftmousebutton.TheiconfortheselectedUnitOp
appearswhereyouclicked.
3. RightclicktodeselecttheUnitOpdrawingtoolandreturntoanormal
pointer.Youcannowclickintheworkspaceareawithoutdrawingduplicate
UnitOps.
selectanewdefaulticon.
YoucanseewhichiconsofferthisfeaturebymovingyourcursorovertheAll
UnitOpspalette,notingtheboxesthatlightuparoundtheicons.AUnitOpthat
offersachoiceofdefaulticonswillhaveablacktriangleinthelowerrightcorner
whenyoupointtoitsbox.
Figure 5-01: Black triangle showing that the Divider UnitOp offers a choice of icons
ToselectanewdefaulticonforaUnitOp,clicktheblacktriangletoseeapopup
selectionboxwithallavailableicons.Clicktheiconyouwanttouse;thaticon
replacesthepreviouslydisplayedicononthepalette.Youcanchangethedefault
iconforaUnitOpasoftenasyoulike.
CHEMCADVersion6UserGuide
37
BuildingandUsingaBasicSimulation
TomovetheUnitOp,clicktheiconanddragtoitsnewlocation.
ToresizetheUnitOp,clickanysizinghandleanddraginwardor
outwardtoachievethedesiredsize.
TodeletetheUnitOp,rightclickandselectDelete,orsimplypressthe
[DELETE]keyonyourkeyboard.
UnitOp ID Numbers
WhenyouplaceUnitOpsonyourflowsheet,CHEMCADassignseachoneaUnitOp
IDnumberthatisuniquewithinthesimulation.TheUnitOpIDnumberisan
importantidentifierfortheunit,andisusedinvariousreportsandchartsasyou
workwiththesimulation.Bydefault,yourUnitOpswillbenumbered,startingat1,
intheorderinwhichyoucreatethem;alltypesofequipmentsharethesamepoolof
IDnumbers.
IfyouwanttogroupyourUnitOpsnumericallybyequipmenttype,youcanuse
theStartingIDsfeaturetoaccomplishthis.
SelectFormat>StartingIDs,whichbringsuptheStreamandUnitOpStarting
IDsdialogbox.HereyoullseeeachtypeofUnitOpavailableinCHEMCAD,each
withadefaultsettingof1.ThismeansthatanynewUnitOpwillbeassignedanID
fromthesamenumberpoolthenextnumber(1orgreater)thathasnotbeenused
yetinthissimulation.
Tosetupseparaterangesofnumbersfordifferentequipmenttypes,youcanedit
thevaluesintheStreamandUnitOpStartingIDsscreen.Forexample,youcouldset
theHeatExchangervalueto200,thePumpvalueto300,thePipevalueto400,and
soon,usinganystartingvaluesthataremeaningfultoyou.AnyUnitOptypeyou
dontassignastartingvaluewillpullIDnumbersfromthepoolstartingwith1,
skippinganynumbersthatarealreadyassigned.
38
CHEMCADVersion6UserGuide
BuildingandUsingaBasicSimulation
CHEMCADVersion6UserGuide
39
BuildingandUsingaBasicSimulation
Figure 5-03: Stream 2 with automatic routing (above) and deliberate routing (below)
Rerouting a Stream
Evenafteryouvecompletedyourflowsheetandaddeddetailedinformationabout
yourstreams,youcanstillrerouteastreamifneeded.Todothis,clickthestreamto
selectit,thenrightclickandselectReroutestream.Theoldstreamdisappears,
replacedbythebeginningofanewstreamoriginatingatthesameoutlet.
Youcannowclicktocreate90turns,thesamewayyouwouldwithanew
stream,toroutethestreamexactlywhereyouwantit.Yourlastclickmustcomplete
thestreamatthesameinletyouusedbefore.Afterastreamisrerouted,itretainsall
ofthestreamdetailthatyouhadpreviouslyentered.
Stream ID Numbers
Whenyoudrawstreamsinyourflowsheet,CHEMCADassignseachoneastream
IDnumberthatisuniquewithinthesimulation.Thestreamnumberisanimportant
identifierforthestream,andisusedinvariousreportsandchartsasyouworkwith
thesimulation.Bydefault,yourstreamswillbenumbered,startingat1,intheorder
inwhichyoucreatethem.
IfyouwanttocreateaseriesofstreamswithaseparaterangeofIDnumbers
fromtherestofyoursimulation,youcanusetheStartingIDsfeaturetoaccomplish
this.
SelectFormat>StartingIDs,whichbringsuptheStreamandUnitOpStarting
IDsdialogbox.ThenscrolldowntotheStreamoptionandclicktheadjacentnumber
column.EnterthenumberthatwillbethestartofyourseparatestreamIDpool,and
40
CHEMCADVersion6UserGuide
BuildingandUsingaBasicSimulation
clickOK.IfyoulaterneedtodrawmorestreamswithIDnumbersinthenormal
range,youcanreturntothisdialogboxandreloadthedefaultsetting.
Forexample,todrawaseriesofutilitystreamswithIDnumbersstartingat300,
youwouldsetthestreamstartingIDoptionto300anddrawthestreamsinquestion.
Thosestreamswouldbenumbered300,301,302,andsoforth.Afterdrawingallof
yourutilitystreams,youwouldthensettheStreamIDoptionbackto1,sothatthe
nextnewstreaminthemainflowsheetwouldbeassignedthenextavailablestream
IDfromtheregularpoolofnumbers.Youcanresetthestreamoptionnumberas
manytimesasneededwhileyoucreateandedityoursimulation.
41
BuildingandUsingaBasicSimulation
youwanttostartdrawing.Thenmovethecursorandclickagaintocreatethe
shapesfirstline.Keepclickingandmovingthemouseuntilyouvecreatedthe
shapeyouwant,andthendoubleclicktocompletetheshapeandturnofftheMulti
linetool.
Tocreateanirregularclosedpolygon,selectthePolygontoolandthenmove
yourcursortotheworkspace.Clickwhereyouwanttostartdrawing,andthenclick
asecondtimetocreatethefirstsideofyourpolygon.Afterthesecondclick,youll
begintoseetheopenareabeingcreated.Continuemovingthecursorandclicking
untilyouarereadytoplaceyourlastpoint,andthendoubleclicktocompletethe
shapeandturnoffthePolygontool.
Notethatyoucanholddownthe[SHIFT]keywhileusingthePolygontoolto
createarighttriangle.
42
CHEMCADVersion6UserGuide
BuildingandUsingaBasicSimulation
TheAvailableComponentscolumnliststhecontentsoftheCHEMCAD
componentdatabase,whiletheSelectedComponentscolumnliststhecomponents
currentlyincludedinthissimulation.Foranewsimulation,theSelected
Componentslistisemptyatfirst.
Everychemicalthatwillbepartoftheprocess,whetheritsafeedstream,
product,orutility,mustbelistedonthissimulationscomponentlist.
Finding a Component
BecauseofthelargenumberofcomponentsintheCHEMCADcomponentdatabase,
scrollingupanddownthelistofavailablecomponentscanbetimeconsuming.To
findaspecificcomponentquickly,usetheSearchfieldatthebottomoftheSelect
Componentsdialogbox.
TypethenameofthechemicalyouwanttofindintheSearchfield.Witheach
letterthatyoutype,CHEMCADsuggestspossiblematchesintheAvailable
Componentslist.Inthefollowingexample,typingtheletterswaintheSearchfield
hashighlightedtheWatercomponent.
CHEMCADVersion6UserGuide
43
BuildingandUsingaBasicSimulation
Figure 5-06: Using the Search field to locate the Water component
Notethatinsomesituations,thefirstresultmaynotbetheoneyouwant.For
example,typingethaneintheSearchfieldbringsuptheMethanecomponentat
first.Toseethenextmatchforyourtext,clickNext;continueclickingthisbuttonas
neededuntilyoufindthedesiredcomponent.
TheSearchfieldacceptsbothtextandnumericentries.Bydefault,CHEMCAD
willsearchforyourentryamongallchemicalnames,chemicalformulas,and
CHEMCADdatabaseIDs;ifyoulike,youcanalsosearchbyCASnumber.Toturn
anyofthesesearchoptionsonoroff,clicktheOptionsbuttonbelowtheSearchfield.
ThisbringsuptheSearchOptionsdialogbox,whereyoucanspecifywhichdatato
includeinyourcomponentsearches.
Note:YoucanaddyourowncustomcomponentstotheCHEMCADcomponent
database.Formoredetailsaboutthisfeature,seeChapter10ofthismanual.
Adding a Component
OnceyouvelocatedthecomponentyouwantintheAvailableComponentslist,
simplydoubleclickthecomponenttoaddittotheSelectedComponentslistforyour
simulation.
YoucanalsoselectmultiplecomponentsintheAvailableComponentslistand
thenclicktherightarrowbutton,locatedbetweenthetwocolumns,toaddthe
44
CHEMCADVersion6UserGuide
BuildingandUsingaBasicSimulation
componentstoyoursimulation.Toselectmultiplecomponents,useWindows
standardselectionmethodsofholdingdown[SHIFT]toselectcontiguousitemsor
holdingdown[CTRL]toselectnoncontiguousitems.
Figure 5-08: Adding multiple components using the right arrow button
Ifyouwouldliketoduplicatethecomponentlistfromanexistingsimulation,
clickCopyFromAnotherSimulation.IntheresultingOpendialogbox,navigateto
thedesiredsimulation,selectthatsimulation,andclickOpen.TheSelected
Componentslistisnowpopulatedwiththecomponentsusedinthesimulationyou
selected;youcanaddordeleteitemstocustomizethelist.
ClickToptomoveittothefirstpositiononthelist.
ClickUptomoveituponeposition.
ClickDowntomoveitdownoneposition.
ClickBottomtomoveittothelastpositiononthelist.
CHEMCADVersion6UserGuide
45
BuildingandUsingaBasicSimulation
ToremoveallcomponentsfromtheSelectedComponentslistandbeginagain,
clickClear,justtotherightofDelete.Ifyouhavechangedyourmindaboutadding
componentsatthistime,youcansimplyclickCanceltobackoutofcomponent
selection.
46
Ifallcomponentsarehydrocarbons,thewizardwilllikelysuggestan
equationofstate.
Ifwaterispresent,thewizardwilllikelyselectanactivitycoefficientmethod.
CHEMCADVersion6UserGuide
BuildingandUsingaBasicSimulation
Ifwaterandhydrocarbonsarepresent,thewizardwilllikelyselectUNIFAC.
Ifwaterandstrongelectrolytes(HCl,NaOH,etc.)aredetected,thewizard
willsuggestelectrolytemodels.
Temperatureandpressurerangewillaffecttheselectionofmodel.Ifpressureis
high,CHEMCADismorelikelytosuggestanequationofstate.Ifpressureis
atmosphericandtemperatureisbelowthenormalboilingpointofallcomponents,
CHEMCADmaychoosealiquidactivitymodeloridealvaporpressure.
2. ThisopenstheThermodynamicSettingsdialogbox.Startbydetermining,
basedonyourprocessknowledge,whetheryoursystemhastwoliquid
phasesorasingleliquidphase.IntheGlobalKValueModelfield,selecta
methodthatcancalculatethephasebehaviorrelevanttoyoursystem.
3. Basedonthespecificcircumstancesofyourprocess,makeanyneeded
alterationstotheoptionsdisplayedontheKvalueModelstab.Notethatthe
optionsappropriatetoyourselectedKvaluemethodaredisplayedinblack,
whileirrelevantoptionsaredisplayedingray.
4. ClicktheEnthalpyModelstab,selectthemostappropriatemodelinthe
GlobalEnthalpyModelfield,andmakeanyotherchangestotheoptionson
thistabasneededforyourprocess.
5. ClicktheTransportPropertiestabandverifythatthesettingsthereare
appropriateforthissimulation.Changeanysettingsasneededandthenclick
OKtoclosetheThermodynamicSettingsdialogbox.
6. Ifyouvemadeanychanges,amessageboxappears:Allstreamsshouldbe
reinitialized.Proceedwithreinitialization?ClickYestoreinitializeallstreams
now,orNoifyoudprefertowaitandreinitializethestreamslater.
CHEMCADVersion6UserGuide
47
BuildingandUsingaBasicSimulation
Defining Streams
Thestreamsthatyouhavedrawnonyourflowsheetarestilljustlineswithnodata
behindthem,sothenextstepistoeditthesestreams,populatingthemwith
compositiondataandotherproperties.
Note:Inmostsituations,thestreamsyoullneedtodefinewillbethefeedstreamsin
yourprocess.Othertypesofstreams,suchasrecyclecutstreams,mayalsorequire
definition.
Youcaneditasinglefeedstreamusingeitherofthesemethods:
Doubleclickthestream.
OntheSimulationtabintheCHEMCADExplorer,expandFlowsheetand
thenStreams,rightclickthestreaminquestion,andselectEditStream.
Youcaneditallfeedstreamsintheflowsheetatonceusingeitherofthese
methods:
SelectSpecifications>FeedStreams.
ClicktheEditFeedStreamstoolbarbutton(justtotheleftofthegreenRun
Allbutton).
Whichevermethodyouchoose,youllseetheEditStreamsdialogbox,with
eitherasinglecolumnofdataoracolumnforeachfeedstreamintheflowsheet.In
thisdialogbox,specifypropertiesforeachfeedstreamlisted.
Thermodynamic Properties
Youmustspecifyexactlytwoofthefollowingthreevariables:
Temperature
Pressure
Vaporfraction
CHEMCADwillcalculatethethirdvariableandenthalpy,basedonthetwo
variablesyouspecifyandthethermodynamicsmethodyouveselected.
48
CHEMCADVersion6UserGuide
BuildingandUsingaBasicSimulation
Stream Composition
Todefinethestreamcomposition,youllneedtospecifyacompositionunitandthe
amountofeachcomponentthatispresentinthestream.
SelectaunitfromtheCompunitdropdownlist,andthenbasedonthat
selection,populatethefieldforeachcomponentwiththeappropriateamount,
percentage,orfraction.
Forstreamcompositionsexpressedasapercentageorfraction,youcanenter
valuesthatdonottotal100%.Inthiscase,CHEMCADwillnormalizethe
compositiontofractionalvaluesthattotal1.Topreviewthenormalizedvaluesthat
CHEMCADassignstothecomponents,clickFlash.
Totalflow
Totalflowunit
Ifyouenteryourcomponentamountsasfractions,thenyoumustalsoentera
totalflowrate.Ifyouentercompositionamountsusingquantitativeflowunits,
CHEMCADcalculatesthetotalflowrateforyou.
DoubleclicktheUnitOpiconontheflowsheet.
ClicktheUnitOpiconandthenselectSpecifications>EditUnitOps>Select
UnitOps.
OntheSimulationtabintheCHEMCADExplorer,expandFlowsheetand
thenUnitOps,rightclicktheUnitOpinquestion,andselectEditUnitOp
Data.
ThedialogboxthatdisplayswhenyougotoeditaUnitOpspropertieswill
dependonthetypeofUnitOp.TheStreamMixerUnitOp,forexample,hasonlyone
specificationthatyoucanset,whiletheSCDSDistillationColumnUnitOphasfive
tabbedpagesofdetailedsettings.
CHEMCADVersion6UserGuide
49
BuildingandUsingaBasicSimulation
Figure 5-10: Two different UnitOps that require very different amounts of input
ThedetailedinformationaboutthespecificationsforeachtypeofUnitOpis
containedintheCHEMCADHelpsystem,whichyoucanaccessfromany
CHEMCADscreenbypressingthe[F1]key.
Thesespecificationscreensdo,however,havecertainrulesincommon:
Itemswithgreentextlabelsarerequiredentries.
Allotherentriesareoptional.
ClickingOKsavesyourspecificationchanges;clickingCanceldiscardsthem.
AfteryouclickOK,CHEMCADchecksyourdataforinternalconsistencyand
thenreturnserrorsorwarningsaswarranted.TheseitemsdisplayintheMessages
paneintheCHEMCADwindow.
selectRun>Run>RunSelectedUnitOps,orrightclickanyUnitOponthe
flowsheetandselectRunthisUnitOp.
50
CHEMCADVersion6UserGuide
BuildingandUsingaBasicSimulation
Chapter8,OutputandReports.
CHEMCADVersion6UserGuide
51
BuildingandUsingaBasicSimulation
52
CHEMCADVersion6UserGuide
Chapter 6
Using CHEMCAD for High-fidelity Modeling
UnitoperationspecificationsinCHEMCADvarygreatlyindetail,fromvagueand
conceptualtoextremelyspecificandrealistic.Dependingonthedemandsofyour
processandwhatyouretryingtoachievewithyoursimulation,youmayworkwith
whatwecalllowfidelitymodeling,highfidelitymodeling,orboth.
ThischapteraddressesCHEMCADscapacityforhighfidelitymodelingand
howtoachieveahighlevelofrealismwithyourUnitOps.
Lowfidelity:YouspecifythedesiredresultsandCHEMCADassumesthatyou
canachievethoseresultswiththeequipmentyouhave.
CHEMCADVersion6UserGuide
53
UsingCHEMCADforHighfidelityModeling
Highfidelity:YouspecifyenergyandequipmentparametersandCHEMCAD
calculatestheactualresults.
Figure 6-01: The Sizing menu, showing heat exchanger sizing options
Equipmentsizingcancomplementlowfidelityresults,andoftenprovidesan
excellentstartingpointforhighfidelitymodeling.Youcanusecertainsizingresults
asinputforhighfidelitymodelsofUnitOpsinyoursimulation.Specifying
geometricparametersforUnitOpscanhelpyouobtainmorerealisticresults.
Notethatforlowfidelitymodeling,sizingdoesnotchangeconvergedflowsheet
results.Also,forsomeUnitOps,certaingeometryparametersmustbeentered
regardlessoftheselectedcalculationmode.
54
CHEMCADVersion6UserGuide
UsingCHEMCADforHighfidelityModeling
Piping
Youcanuseeitherloworhighfidelitymodelingforpipinginyoursimulation.
Pipelinesizingisdonebasedonthecompositionofaselectedstream.
Low-fidelity
Forlowfidelitymodelingofpiping,youarerequiredtospecifypipediameterand
lengthinmostmodes;designmodesthatcalculatediameteraretheobvious
exceptiontothis.Thepressuredropthroughthepipeiscalculatedbasedon
diameter,length,andflowratethroughthepipe.
Sizing
Toperformsizingcalculations,selectSizing>Piping.Selectoneormorestreams,
theninthePipeSizingdialogbox,selectasizingoptionandclickOKforlinesizing
results.Youcanusetheseresults,suchassuggestedpipethicknessanddiameter,to
specifygeometryforaPipeUnitOp,orsimplyreviewthemfortheinformationyou
need.
Figure 6-02: Line sizing results from the Pipe Sizing dialog box
CHEMCADVersion6UserGuide
55
UsingCHEMCADforHighfidelityModeling
High-fidelity
Inhighfidelitypipingmodels,PipeUnitOpsinteractwithNodeUnitOpstobalance
pressureandflowrateshydraulicallyamongconnectedpiecesofflowbased
equipment.NodesmustbeplacedonbothsidesofallPipeUnitOpstobeincluded
inhydraulicbalance;pressureandflowconstraintsaresetatthenodes,notinthe
pipes.
Ahighfidelitypipingmodelcanshowchangesinflowratebasedonback
pressurewheretwopipesmix,whereasalowfidelitymodelwouldsimplyassign
theloweroftwospecifiedpressurestotheoutletwithoutconsiderationforback
pressure.
Low-fidelity
Fortheseequipmenttypes,CHEMCADcalculatespowerusageandthermaleffects
onthefluid,basedonspecifiedoutputpressureorpressureincrease.Other
parameters,suchasefficiency,areoptionalbutdoaffectresults.
High-fidelity
Toproduceahighfidelitymodelfortheseequipmenttypes,youmustselectthe
operationmodeinwhichyouspecifyperformancecurvesthatis,pressurechange
asafunctionofvolumetricflowrate.Thisperformanceinformationisgenerally
availablefromtheequipmentvendor.Basedonthevolumetricflowenteringthe
UnitOp,CHEMCADcalculatesoutletpressure.
Aswithpiping,highfidelitymodelingforpumps,compressors,andexpanders
canbeusedwithnodesaspartofahydraulicflowbalancednetwork.
Low-fidelity
Withlowfidelitymodelingofavesselortank,astreamenterstheFlashUnitOpand
separatesintovaporandliquid;CHEMCADdoesnotconsiderholduporliquid
levelinthetank.Ifyouwanttotakeasteadystatesnapshotofthevessel,youcan
manuallyadjusttheflowrateand/orthermalconditionstomakevolumetricflow
ratesmatchthevolumeofthevessel.
Note:TheTankUnitOpisspecificallyintendedforusewiththeBatchColumn
UnitOp.Itdoesnotrepresentastandardstoragetankforgeneralpurposes.
56
CHEMCADVersion6UserGuide
UsingCHEMCADforHighfidelityModeling
Sizing
Tocalculatesizingforavessel,selectaFlashUnitOpandthenselectSizing>Vessel.
ChooseeitherLVVessel(liquidvaporvessel)orLLVVessel(liquidliquidvapor
vessel),dependingonyourneeds.Intheresultingdialogboxes,enterthe
appropriatevaluesforyourvesselandclickOK.
TheresultsthatCHEMCADreturnsincludebasicvesselgeometrysuchasheight
anddiameter.
Youcanalsoperformvesselsizingonaconvergeddistillationcolumnto
calculategeometryforarefluxdrumorsimilarpieceofequipment.
High-fidelity
Youcanperformhighfidelitymodelingonlyonbatchreactorsanddynamicvessels,
andonlywithaCCDYNAMICSlicense(fordynamicvessels,aCCSAFETYNET
licensewillsuffice).IfyouspecifythegeometryofyourvesselanduseCHEMCADs
dynamicsmode,youcanstudywhathappensinthevesselovertimeasmaterialis
addedorwithdrawn.
Unlikesimpleflashvessels,batchreactorsanddynamicvesselsdoconsider
holdup,liquidlevel,andvariablepressureovertime.
Valves
ValvemodelinginCHEMCADcanbeeitherlowfidelityorhighfidelity.Youcan
sizeacontrolvalvebasedonanyflowsheetstream.
Low-fidelity
TheVALVUnitOpisusedforlowfidelitymodelingofavalve.Forthistypeof
UnitOp,youspecifyoutletpressureorpressuredecreasethroughthevalve.
CHEMCADVersion6UserGuide
57
UsingCHEMCADforHighfidelityModeling
Sizing
SelectSizing>ControlValve,thenselectastream.IntheControlValveSizing
dialogbox,specifytheoutletpressureforthetheoreticalvalve,andenterother
specificationsasappropriate.WhenyouclickOK,CHEMCADreturnsinformation
suchascapacitycoefficient(Cv)andvalvesize.
High-fidelity
TheCVALUnitOpisusedforhighfidelityvalvemodeling.Decidewhichvalues
youwillprovideandwhichvaluesCHEMCADwillcalculate,andselectthe
appropriateoperatingmodeintheControlValvedialogbox.ProvidethevalvesCv
value,andanyotherspecificationsasneeded.
Controlvalvescanbeusedwithnodesaspartofahydraulicflowbalanced
network.
Columns
ColumnsinCHEMCADcanbemodeledaseitherlowfidelityorhighfidelity.You
canperformsizingonanyconvergedcolumn.
Low-fidelity
Forlowfidelitymodelingofcolumns,usetheTower,TowerPlus,orSCDSUnitOps.
Specifyidealstagesandtheconditionsatthereboilerandcondenser,asapplicable.
Alowfidelitycolumnmodeldoesnotconsidermasstransfereffectsorcolumn
internals.
Differentcolumnspecificationscanprovidemorerealismwithouttaking
geometryintoaccount.Specifyingtoppurityisaverylowfidelitymodel,while
specifyingrefluxratioorcondenserdutycanbringyourresultsclosertoreality.
Sizing
Afterrunningyoursimulation,clicktheUnitOprepresentingthedistillationcolumn
andselectSizing>Distillation;chooseeitherTraysorPacking,basedonthetypeof
column.
58
CHEMCADVersion6UserGuide
UsingCHEMCADforHighfidelityModeling
Theresultingdialogboxespromptyoutoenterinformationaboutyourtraysor
packingandthecalculationmethodsyouwanttouseforcolumnsizing.Youwill
generallyneedtoentersomegeometryandhydraulicparameterstocomplete
columnsizing.
Figure 6-05: Specifying high-level tray data for distillation column sizing
Basedonflowsheetvaluesandyoursizinginput,CHEMCADreturnscolumn
geometryinformationsuchasheightanddiameter.Italsoprovideshydraulic
performanceinformationsuchaspredictedamountofflooding.
Note:Theresultsofcolumnsizingcalculationsdonotinteractivelychangetheresults
oftheflowsheetsimulation.
CHEMCADVersion6UserGuide
59
UsingCHEMCADforHighfidelityModeling
High-fidelity
Toperformhighfidelitymodelingofadistillationcolumninsteadystate,usethe
SCDSUnitOpandselecteitherofthemasstransfersimulationmodelsforthe
column.
Youwillneedtospecifygeometryforthecolumnandchooseacalculation
methodfortheselectedmasstransfermodel.CHEMCADcalculatescolumn
performancebasedonyourpackingortrayspecifications.
Forcolumns,masstransferbasedmodelingperformsrigorousnonequilibrium
mixingofvaporandliquid,whereaslowfidelitymodelingassumesidealmixing.
Toperformhighfidelitymodelingofadistillationcolumnindynamics,specify
thegeometryofthecolumnanddetailsaboutthecontrolsystem.Thisdynamic
distillationcanconsidercolumnholdupandtheeffectofvariableschangingover
time.
Note:TheShortcutColumnUnitOpisnotarigorouscalculationmodel.Unlessyour
systemsatisfiestheconstantmolarunderflowassumption,youshouldconsider
usingadifferenttypeofdistillationcolumn.
Heat Exchangers
Whenspecifyingaheatexchangerinasimulation,youcanuseeitherloworhigh
fidelitymodelingaswellassizing,dependingonthetypeofheatexchanger
involved.
Low-fidelity
Whencreatingasimulation,youcanusealowfidelityapproachbysimply
specifyingthethermalconditionscomingoutoftheexchanger.Specifyingheatduty
insteadofmerelyanoutlettemperaturebringsyourresultsclosertoreality,butthis
approachstilldoesntconsidergeometry.
Sizing
YoucanusetheCCTHERMmoduleforrigorouscalculationofheattransfer
coefficient(U)basedonheatexchangergeometry.Inratingmode,CCTHERM
determineswhethertheuserspecifiedheatexchangeriscapableoftheflowsheet
heatexchangerperformance.Indesignmode,CCTHERMcalculatesanexchanger
designthatiscapableoftheflowsheetperformance.
High-fidelity
Forsomeexchangercategoriesspecificallyshellandtubeanddoublepipeyou
canusetherigorousCCTHERMmodeltocalculateheatexchangerperformance.
TheflowsheetresultsarebasedonrigorouslycalculatedUvalueandthespecified
exchangergeometry.Youcanalsodetermineapproximatefoulingofaunitifactual
outlettemperaturesareknown.
60
CHEMCADVersion6UserGuide
UsingCHEMCADforHighfidelityModeling
Relief Devices
Forreliefdevices,sizingisnotnecessarilydistinctfromlowfidelitymodeling.To
modeldynamicreliefofavessel,youcaninsteadusehighfidelitymodeling.
Low-fidelity
Tomodelasteadystatesnapshotofareliefdevice,selectSizing>ReliefDevice,
specifyratingordesignmode,andselecttheappropriateoptionsforyourrelief
scenario.WhenyouclickOK,CHEMCADreturnsareliefdevicecalculation
summary.
IfyouselecttheRigorousintegralanalysisdesignmethodwhensizingarelief
device,youwillobtainamoredynamicresult.
Figure 6-08: Selecting the rigorous integral analysis method for relief device design
CHEMCADVersion6UserGuide
61
UsingCHEMCADforHighfidelityModeling
High-fidelity
YoucanperformhighfidelityreliefdevicemodelingfortheBatchReactorand
DynamicVesselUnitOps.Youcanspecifythereliefdevicenozzlearea,aswellas
otherspecificationsforyourreliefscenario.Thisenablesyoutostudythedynamic
reliefofthevessel.
62
CHEMCADVersion6UserGuide
Chapter 7
Building and Using a Dynamic Simulation
Whilesteadystatemodelingcanprovidealloftheinformationyouneedformany
purposes,itsofteninformativetolookcloselyatthechangesovertimethataffect
yourstreamsandequipment.CHEMCADsCCDYNAMICSmodulemakesit
possibletosimulateaprocessovertime.
Licensing Considerations
Tousethefunctionalitydescribedinthischapter,youmusthaveavalidlicensefor
theCCDYNAMICSmoduleofCHEMCAD.Tovieworchangethedispositionof
yourCCDYNAMICSproductlicense,seetheCHEMCADLicenseMonitorscreen
(Tools>Options>Licensingwhenasimulationisopen,orLicense>Licensing
whennosimulationisopen).
CHEMCADVersion6UserGuide
63
BuildingandUsingaDynamicSimulation
IfyoudontcurrentlyhaveaccesstothedynamicsfeaturesandwanttoaddCC
DYNAMICStoyourcopyofCHEMCAD,contactthepersonwithinyour
organizationwhohandlessoftwarelicensing,orifappropriate,youcancontact
ChemstationsoraCHEMCADdistributordirectly.Foracompletelistof
ChemstationscontactsandCHEMCADdistributorsforallpartsoftheglobe,seeour
website(www.chemstations.com/contact.htm).
Howlongwillthesimulationrun?
Whatwillbetheinterval(deltatime/stepsize)betweencalculations?
Whatisthechangethatyouwanttostudyovertime?
Ifapplicable,whatistheinitialcompositionandchargeofanydynamic
vesselsorbatchreactors?
Thebasicstepsforadynamicsimulationarelargelythesameasthosefora
steadystatesimulation,withafewvitaldifferences:
1. Createanewsimulation.
2. Selectengineeringunits.
3. Drawtheflowsheet.
4. Selectcomponents.
5. Selectthermodynamicsoptions.
6. Specifyfeedstreamsandinitialstreamconditions.
7. SetspecificationsforUnitOps.
8. Runthesimulationinsteadystatetoobtaintimezerovalues.
9. Switchthesimulationtodynamics.
10. Specifydynamicssettings,suchasruntimeandinitialcharge(s).
11. Runthesimulationindynamics.
12. Reviewtheresults.
13. Rerunorextendthesimulationasneeded.
14. Generateplotsandreportsasneeded.
Beforeyoustartworkingonadynamicsimulation,itsimportanttohaveas
muchinformationaboutyourprocessaspossible,aclearideaofwhatyouwantto
findout,andastrategyforproducingtheresultsyouneed.
64
CHEMCADVersion6UserGuide
BuildingandUsingaDynamicSimulation
Switching to Dynamics
Followthesestepstoswitchasimulationfromsteadystatetodynamicoperation:
1. OpenthesimulationandselectRun>Convergence.Thisbringsupthe
ConvergenceParametersdialogbox.
2. Inthelowerrightportionofthedialogbox,clickintheSteady
State/DynamicsfieldandselectDynamics.
CHEMCADVersion6UserGuide
65
BuildingandUsingaDynamicSimulation
3. ClickOKtosavethechangesandclosethedialogbox.
Afteryouswitchtodynamics,youllnoticethatafewthingshavechangedon
theCHEMCADscreen:
ThestatusbaratthebottomofthemainCHEMCADwindowchanges.Afew
inchesfromtherightedgeofthescreen,insteadofthewordsSteadyState,
youllnowseeDTimeandatimecounterdisplayingthenumberofminutes
yoursimulationhasrun.Beforeyourunthesimulation,theDTimesetting
displays0:00min.
ThesteadystateRunAllbuttononthetoolbarisdisabled,andthedynamics
buttonsarenowactivated.Thesebuttons,showninFigure702,are(leftto
right)SetRunTime,ResettoInitialState,RunDynamicSimulation,Plot
DynStreams,andPlotDynUnitOps.
YoucannowselectRun>DynamicstobringuptheDynamicsMenu.This
windowprovidesconvenientaccesstoalldynamicssettingsandcommands.
CHEMCADVersion6UserGuide
BuildingandUsingaDynamicSimulation
Thestepsizethatyouselectwillhaveanimpactontheaccuracyoftheresults
andthespeedofthecalculation.Smallertimestepsproducemorepreciseresults,but
alsorequiremoretimetomaketherun.Smallerisntalwaysbetter,however,as
extremelysmalltimestepscanleadtosignificantroundofferror.
Onceyouknowhowmanystepsyouneedtouseandwhatyourdatacapture
intervalwillbeforeachstep,followthesestepstosettheruntimeparameters:
1. ClickSetRunTimeontheDynamicsMenu,orclicktheSetRunTime
buttononthetoolbar.ThisbringsuptheDynamicRunTimeScheduledialog
box.
Figure 7-04: The General tab on the Dynamic Run Time Schedule dialog box
2. OntheGeneraltab,setthenumberofoperationstepsyouplantouse,or
leavethedefaultsettingof1.Themaximumnumberofstepsthatyoucan
specifyis10.
Note:Whenyouinitiallysetupdynamicsforasimulation,theCurrenttimedisplay
fieldonthistabwillbeempty.Afterthesimulationhasrun,thisfielddisplaysthe
totaltimeofacompletedrunorthecurrenttimeofaninterruptedrun.
3. NowclicktheStep1tabandspecifytheparametersforthisportionofthe
dynamicrun.EnterthetotaltimeforthisdynamicstepintheRuntimefield,
andtheintervalinminutesintheStepsizefield.
Figure 7-05: The Step 1 tab on the Dynamic Run Time Schedule dialog box
CHEMCADVersion6UserGuide
67
BuildingandUsingaDynamicSimulation
4. Ifyouhaveotherstepstospecify,clickeachtabinturnandentertheRun
timeandStepsizeinformation.
5. Whenyouhavespecifiedallsteps,clickOKtoreturntothemain
CHEMCADwindow.
TheDynamicRunTimeScheduledialogboxalsoallowsforconditionsother
thantimetodeterminethedurationofadynamicoperationstep.Ifyouselect
StreamorEquipmentinsteadofthedefaultTimeoption,youcanspecifyastream
orUnitOpparameterthatwilltriggertheendofthisstep,ifthatparameteris
reachedbeforethestepsruntimeisup.
ChecktheSelectstreamsfromflowsheetbox,clickOK,andthenusethe
mousetoaddstreamstotheSelectStreamsdialogbox.
TypethenamesofstreamsyouwanttorecordintheIDboxes.
3. Whenyouhaveselectedallthestreamsyouwanttorecord,clickOKto
returntotheDynamicsMenu.
4. NowclicktheRecordUnitOpsbutton.IntheRecordUnitOpsdialogbox,
selectUnitOpsinthesamewaythatyouselectedstreamsinstep2.
5. ClickOKtoreturntotheDynamicsMenu.
68
CHEMCADVersion6UserGuide
BuildingandUsingaDynamicSimulation
Note:InboththeRecordStreamsandRecordUnitOpsdialogboxes,youcanusethe
RunTimePlotcheckboxestoincludeselecteditemsinarealtimeplot.Selecting
itemsforruntimeplottingleadstoanotherdialogbox(eitherDynamicStreamPlot
OptionsorDynamicEquipmentPlotOptions),whereyoucanselectplotspecificsfor
eachstreamorUnitOp.Itisrecommendedthatyouuseruntimeplottingin
moderation,astoomanystreamsandUnitOpscanbecomevisuallyconfusingand
slowdowncalculationsconsiderably.
keyboardtostoptherunafterthecurrentcalculation.Whenyoudothis,youwillsee
aPrograminterruptedmessage.ClickOKtoclosethemessagebox,andtheneither
inspectyourrunresultsorselectaruncommandtocontinue.
CHEMCADVersion6UserGuide
69
BuildingandUsingaDynamicSimulation
70
CHEMCADVersion6UserGuide
BuildingandUsingaDynamicSimulation
Toreturnthesimulationtoitsinitialstatealsoknownastimezeroclickthe
ResettoInitialStatebuttonontheDynamicsMenu,orusetheResettoInitialState
buttononthemainCHEMCADtoolbar.
Note:Anadvancedfeaturetoallowspecificationeditingatanytimeisavailable,but
shouldbeusedwithextremecautiontoavoidconfusionandunintendedresults.
ThisfeatureiscontrolledbyacheckboxontheConvergenceParametersdialogbox.
CHEMCADVersion6UserGuide
71
BuildingandUsingaDynamicSimulation
BatchReactor/DVSLHistory:Thisplotdisplaysselectedvaluesforabatch
reactorordynamicvessel,includingcompositionofthevesselcontentsover
time.Thedialogboxusedtogeneratethisplotisuserfriendlyandfocuseson
themostcommonlyusedvariablesforthesetypesofequipment.
DynamicColumnHistory:Thisplotdisplaysselectedvaluesforadynamic
column,includingcompositionoftrays,distillate,andbottoms.
DynamicUnitOpHistory:ThisplotdisplaysselectedUnitOpparameters
fromanyrecordedUnitOp.YoucanalsogeneratethisreportusingthePlot
DynUnitOpstoolbarbutton.
StreamHistory:Thisplotdisplaysselectedstreampropertiesfromany
recordedstream.YoucanalsogeneratethisreportusingthePlotDyn
Streamstoolbarbutton.
Note:FortheStreamHistoryandDynamicUnitOpHistoryplots,besuretorecord
thestreamsandUnitOpsthatyouwanttostudy.Youcanonlyrequesttheseplots
forrecordedstreamsorUnitOps.
72
CHEMCADVersion6UserGuide
BuildingandUsingaDynamicSimulation
Toaccesstextbaseddynamicreports,selectReport>Dynamicsandthenselect
oneofthefollowingreports:
DynamicColumnHistory:Thisreportprovidesdynamiccolumnresultsfor
aselectedcolumn.ThePrintReportOptionsdialogboxoffersthemost
relevantitemsfordynamiccolumnreporting.
DynamicStreamHistory:Thisreportprovidesstreamhistoriesforaspecific
streamthatyouselect,basedontheintervalthatyouspecifyandincluding
thecompositions,components,andstreampropertiesthatyouselect.
DynamicUnitOpHistory:Thisreportprovidesdetailedinformationabouta
dynamicUnitOpinthesimulation,basedontheintervalthatyouspecifyand
includingtheUnitOpparametersthatyouselect.
Note:FortheDynamicStreamHistoryandDynamicUnitOpHistoryreports,besure
torecordthestreamsandUnitOpsthatyouwanttostudy.Youcanonlyrequest
thesereportsforrecordedstreamsorUnitOps.
CHEMCADVersion6UserGuide
73
BuildingandUsingaDynamicSimulation
74
CHEMCADVersion6UserGuide
Chapter 8
OneofCHEMCADsgreateststrengthsisitscapacitytoprovidedetailed,
customizedinformationaboutequipment,streams,andprocesses.Youcancreate
customreportsfromsimulations,specsheetsforUnitOps,anddataboxesforprocess
flowdiagrams,andyoucanplotorprintanyoftheseitemsinthemostappropriate
format.
Text Reports
CHEMCADcanproduceawidearrayofcustomizabletextbasedsimulationreports,
basedonstreamdata,UnitOpdata,flowsheetdata,ordynamics.Youcanalsouse
CHEMCADspowerfulReportWriterfeaturetoproducecustomizedconsolidated
reportsincorporatinganycombinationofavailabletextreports.
CHEMCADVersion6UserGuide
75
OutputandReports
Inadditiontoindividualreports,youcancreateconsolidatedreports,whichare
customizablecombinationsofdifferentindividualreports.Foranygiven
consolidatedreport,youcanusethedestinationoptionyouvesetupinthe
Preferencesdialogbox,orchangetoanyviableoutputformat:CHEMCADsinternal
reportviewer,MSWord,WordPad,orExcel.
Tochooseadefaultprogramforconsolidatedreportoutput,selectReport>
FormatConsolidatedReport.OntheFormattab,chooseanoptioninthe
Destinationdropdownlist.ClickOKtoapplyyourchange.Notethatyouwillhave
theoptiontooverridethisdefaultdestinationforanygivenconsolidatedreportthat
youcreate.
Stream-based Reports
AnumberofCHEMCADreportsareavailabletoanalyzestreamdatafroma
simulation.Toaccessanyofthefollowingreports,selecttheappropriateitemfrom
theReportmenu.Theresultswilldisplayaccordingtothewayyouhaveconfigured
CHEMCADtohandletextreports.
Note:Bydefault,thesereportswillusetheengineeringunitsyouselectedwhen
buildingthesimulation.Youcan,however,usedifferentflowrateunitswhen
runningreports.Tochangeflowrateunitsforreporting,selectReport>SetFlow
Units.IntheViewFlowRateUnitdialogbox,selecttheunitsyouwanttouseand
thenclickOK.Thenexttimeyourunstreamcompositionorpropertyreports,the
unitsthatyouveselectedherewillbethedefaultsetting;youcanchangetheflow
rateunitsasoftenasneeded.
Stream Groups
Forstreamcompositionandpropertyreports,youcancreatecustomstreamgroups
withinasimulationtostreamlineyourreportrequests.
Forexample,ifyouhaveaprocessthatinvolvestendifferentfeedstreams,and
youfrequentlyrunreportsonthisgroupofstreams,youcansetupagroup
consistingofjustthosestreams.Then,wheneveryouwanttoobtaincompositionor
propertydataforthosestreams,yourejustafewclicksawayanytimethesimulation
isopen.
76
CHEMCADVersion6UserGuide
OutputandReports
ThequickestwaytosetupanygroupistousetheCHEMCADExplorer.Follow
thesestepstocreateastreamgroup:
1. IntheCHEMCADExplorerpane,findthetoplevelitemcalledGroups.Click
theplussignnexttoGroupstoexpandthisitem.
2. NowclicktheStreamsitemunderGroups,tobringuptheNewGroup
dialogbox.Replacethedefaultname(suchasGroup1)withadescriptive
nameforyourgroup,thenclickOK.
3. IntheEditStreamGroupdialogbox,selectthestreamsforthisgroup,either
bytypinginthestreamnumbers(oneperline)orbyclickingonstreamsin
theflowsheet.ClickOKtoclosethedialogbox.
4. Assoonasyoufinishcreatingthegroup,itsnameappearsunderStreamsin
theCHEMCADExplorer.Fromhere,youcanrightclickthegroupnameand
selectanyofthefollowing:
View/Edit:OpentheEditStreamGroupdialogbox,whereyoucanadd
ordeletestreamnumberstoincludeinthegroup.
Rename:OpentheRenameGroupdialogbox,whereyoucantypeanew
nameforthestreamgroup.
CHEMCADVersion6UserGuide
77
OutputandReports
Copy:OpentheCopyGroupdialogbox,whereyoucantypeanew
groupnametomakeanexactcopyofthestreamgroup.Afteryouclick
OK,youcantheneditthenewcopyofthegrouptofityourneeds.
Delete:Removethisstreamgroupfromthesimulation.Ifyouresure
aboutdeletingthegroup,clickYesinthedialogboxthatappears.
Composition:Runaninstantstreamcompositionreportforthestreams
inthegroup.
Properties:Runaninstantstreampropertiesreportforthestreamsinthe
group.
Note:Thecommandstocreate,edit,andremovestreamgroupsarealsoofferedon
theReportmenu,underbothStreamCompositionsandStreamProperties.
Stream Compositions
Youcanrunastreamcompositionreportbasedonallstreams,oryoucanspecify
whichstreamstoinclude.Torunastreamcompositionreport,selectReport>
StreamCompositionsandthenselectfromthefollowingoptions:
78
SelectStreams:ChoosethestreamsyouwanttoincludeintheSelectStreams
dialogbox,eitherbytypinginthestreamnumbers(oneperline)orby
clickingonstreamsintheflowsheet.ClickOKtoclosethedialogboxand
displaythereport.
AllStreams:Thisreportdisplaysallstreamcompositiondatafortheentire
flowsheet.
CHEMCADVersion6UserGuide
OutputandReports
FeedStreams:Thisreportdisplaysstreamcompositiondataonlyforstreams
issuingfromaFeediconontheflowsheet.
ProductStreams:Thisreportdisplaysstreamcompositiondataonlyfor
streamsterminatinginaProducticonontheflowsheet.
UnitStreams:Thisreportdisplaysallinletandoutletstreamcomposition
dataforaspecifiedUnitOpontheflowsheet.IfnoUnitOpiconisselected
whenyourunthereport,youllseetheSelectUnitOpsdialogbox;typethe
UnitOpIDorclicktheUnitOpontheflowsheetandthenclickOKtodisplay
thedata.IfyouselectaUnitOpiconbeforerunningthereport,thedatawill
displaywithoutfurtherinput.
Youcanquicklydisplaystreamcompositionforasinglestreamatanytime,
simplybyrightclickingthestreamintheflowsheetandselectingView
Composition.
Stream Properties
Beforerunningreportsonstreamproperties,youllneedtospecifywhichproperties
toinclude.Todothis,selectReport>StreamProperties>SelectProperties.This
openstheViewPropertyOptionsdialogbox,whereyoucanreviewwhich
propertiesarecurrentlyselected.
Ifyouwanttoaddanyproperties,checktheappropriateboxes;toremove
properties,clickoncheckedboxestoclearthem.BesuretoclickthePage2taband
makeanyappropriatechangesthereaswell.Whenyouarefinished,clickOKto
returntothemainCHEMCADwindow.
Torunastreampropertiesreportforthepropertiesyouvespecified,select
Report>StreamPropertiesandthenselectfromthefollowingoptions:
SelectStreams:ChoosethestreamsyouwanttoincludeintheSelectStreams
dialogbox,eitherbytypinginthestreamnumbers(oneperline)orby
clickingonstreamsintheflowsheet.ClickOKtoclosethedialogboxand
displaythereport.
AllStreams:Thisreportdisplaysallstreampropertydatafortheentire
flowsheet.
FeedStreams:Thisreportdisplaysstreampropertydataonlyforstreams
issuingfromaFeediconontheflowsheet.
ProductStreams:Thisreportdisplaysstreampropertydataonlyforstreams
terminatinginaProducticonontheflowsheet.
UnitStreams:Thisreportdisplaysallinletandoutletstreampropertydata
foraspecifiedUnitOpontheflowsheet.IfnoUnitOpiconisselectedwhen
yourunthereport,youllseetheSelectUnitOpsdialogbox;typetheUnitOp
IDorclicktheUnitOpontheflowsheetandthenclickOKtodisplaythe
CHEMCADVersion6UserGuide
79
OutputandReports
data.IfyouselectaUnitOpiconbeforerunningthereport,thedatawill
displaywithoutfurtherinput.
Youcanquicklydisplaystreampropertiesforasinglestreamatanytime,simply
byrightclickingthestreamintheflowsheetandselectingViewProperties.
Pseudocomponent Curves
Foratextreportonpseudocomponentcurves(alsoknownasdistillationcurves),
selectReport>PseudocomponentCurves.Selectoneormorestreamscontaining
hydrocarbons,eitherbytypinginstreamnumbers(oneperline)orbyclickingon
streamsintheflowsheet.ClickOKtodisplaythereport.
UnitOp-based Reports
CHEMCADcanalsorunreportstoanalyzeUnitOpdata.Toaccessthesereports,
selecttheappropriateitemfromtheReportmenu.Theresultswilldisplayineither
WordPadorExcel,dependingonhowyouveconfiguredCHEMCADtohandletext
reports.
UnitOp Groups
FortheUnitOpsreport,youcancreatecustomUnitOpgroupswithinasimulation.
Muchliketheirstreambasedcounterparts,UnitOpgroupscansaveyoutimeand
effortwhenrequestingreports;inaddition,youcanusethesegroupswhenrunning
yoursimulation,toisolateandrunonlyselectedUnitOpsfordiagnosticorother
reasons.
Note:BecauseofthisotherfunctionalityofUnitOpgroups,theorderinwhichyou
listUnitOpIDswhensettingupthesegroupsisimportant.
ThequickestwaytosetupanygroupistousetheCHEMCADExplorer.Follow
thesestepstocreateaUnitOpgroup:
1. IntheCHEMCADExplorerpane,underGroups,clicktheUnitOpsitem.
ThisbringsuptheNewGroupdialogbox.
2. Replacethedefaultname(suchasGroup1)withadescriptivenameforyour
UnitOpgroupandthenclickOK.
80
CHEMCADVersion6UserGuide
OutputandReports
3. IntheEditUnitOpSequenceGroupdialogbox,selecttheUnitOpsforthis
group,eitherbytypingintheUnitOpIDs(oneperline)orbyclickingon
UnitOpiconsintheflowsheet.AddUnitOpsintheordertheyruninthe
simulation.ClickOKtoclosethedialogbox.
Assoonasyoufinishcreatingthegroup,itsnameappearsunderUnitOpsinthe
CHEMCADExplorer.Fromhere,youcanrightclickthegroupnameandselectany
ofthefollowing:
View/Edit:OpentheEditUnitOpSequenceGroupdialogbox,whereyou
canaddordeleteUnitOpsorreordertheexistinglist.
Rename:OpentheRenameGroupdialogbox,whereyoucantypeanew
nameforthegroup.
Copy:OpentheCopyGroupdialogbox,whereyoucantypeanewgroup
nametomakeanexactcopyoftheUnitOpgroup.AfteryouclickOK,you
cantheneditthenewcopyofthegrouptofityourneeds.
Delete:RemovethisUnitOpgroupfromthesimulation.Ifyouresureabout
deletingthegroup,clickYesinthedialogboxthatappears.
Run:RunthesimulationonlyforthoseUnitOpsincludedinthisgroup.
View:DisplayasummaryreportoftheUnitOpsincludedinthisgroup.
Specifications:BringuptheUnitOpspecificationdialogboxesforeachitem
intheUnitOpgroup,startingwiththefirstUnitOplisted.
Note:Thecommandstoadd,edit,andremoveUnitOpgroupsarealsoofferedonthe
ReportmenuunderUnitOps.
Select UnitOps
TorunareportthatcoversjusttheUnitOpsyouspecify,selectReport>UnitOps>
SelectUnitOps.IntheSelectUnitOpsdialogbox,specifytheUnitOpsyouwantto
includeinthereport,eitherbytypingintheUnitOpIDs(oneperline)orbyclicking
onUnitOpsintheflowsheet.ClickOKtoclosethedialogboxanddisplaythereport.
IfyouselectaUnitOpiconbeforerunningthereport,thedatawilldisplay
withoutfurtherinput.
CHEMCADVersion6UserGuide
81
OutputandReports
Spec Sheet
TheSpecSheetcommandexportsdetailedinformationaboutaUnitOpintoa
preformattedExcelworksheet.Thisreportisusefulfortaskssuchassolicitinga
manufacturingquoteforapieceofequipment.
TocreateaspecsheetforallUnitOpsontheflowsheet,selectReport>Spec
Sheet>AllUnits.
TocreateaspecsheetonlyforspecificUnitOps,selectReport>SpecSheet>
SelectUnit.ChoosetheUnitOpsyouwanttoincludeintheSelectUnitOps
dialogbox,eitherbytypingintheUnitOpIDs(oneperline)orbyclickingon
UnitOpiconsintheflowsheet.ClickOKtoclosethedialogboxanddisplay
thespecsheet.
ForasingleUnitOpspecsheet,youcanselecttheUnitOpiconbefore
runningthereport;Excelwillopenandthedatawilldisplaywithoutfurther
input.
Note:ForspecsheetsthatincludemultipleUnitOps,CHEMCADcreatesaseparate
worksheetforeachUnitOpsdatawithintheExcelfilethatCHEMCADcreates.
Distillation
Torunadistillationreport,selectReport>Distillationandthenselectoneofthe
following:
82
ColumnProfiles:Generatesareportdetailingtemperature,pressure,and
flowrateforadistillationcolumn
TrayCompositions:Createsareportthatshowsthevaporflowrate,liquid
flowrate,andKvalueofeachcomponentoneachstageofadistillation
column
TrayProperties:Reportsoncurrentlyselectedstreampropertiesforeach
stageofadistillationcolumn
TowerMassTransfer(SCDS):ForanSCDSdistillationcolumnthatusesa
masstransfermodel,providesmasstransfercoefficients,heightoftransfer
units,andestimatedheightoftheoreticalplates(HETP)
DynamicColumnHistory:Providesdatafromasingledynamicrunofa
column(describedindetailinChapter7,BuildingandUsingaDynamic
Simulation)
ColumnDiagnosis:Forcolumnsthathavenotsuccessfullyconverged,
providesrecommendationsforchangingcolumnsettingstoachieve
convergence
CHEMCADVersion6UserGuide
OutputandReports
Flowsheet-based Reports
InadditiontoreportsthatfocusonparticularUnitOpsandstreams,CHEMCAD
offerstextreportsthatprovideinformationaboutthesimulationasawhole.To
accessanyofthesereports,selecttheappropriateitemfromtheReportmenu.
Topology
ThisreportprovidesalistingofallUnitOpsintheflowsheet,aswellasallstream
originsanddestinations.
Thermodynamics
Thisreportlistsallcomponentsusedinthesimulationandprovidesvital
informationaboutthethermodynamicsmethodsused.
Dynamics Reports
TheReportmenuprovidesaccesstotheBatchResultsandDynamicscommands,
whichprovidereportsaboutnonsteadystateprocesses.
Batch Results
Thisreportsummarizestheresultsofabatchdistillationcolumnsimulationatthe
endofeachoperatingstep.
Dynamics
YoucanaccessthreedifferentreportsbyselectingReport>Dynamics:Dynamic
ColumnHistory,DynamicStreamHistory,andDynamicUnitOpHistory.These
reportsaredescribedindetailinChapter7,BuildingandUsingaDynamicSimulation.
CHEMCADVersion6UserGuide
83
OutputandReports
Fromhere,youcanclickGeneratetobringupadefaultconsolidatedreportthat
includestopology,convergence,massandenergybalances,andtheotherreports
listedinthedialogboxsleftcolumn.Ifthisreportisadequatetoyourneeds,simply
clickCancelaftergeneratingtheconsolidatedreport,toclosetheReportWriter
dialogbox.
Ifyouwantsomethingotherthanthedefaultconsolidatedreport,youcanalso
usetheReportWritertocustomizewhichindividualreportstoinclude,whatorder
toputthemin,whichflowsheetelementstoinclude,andmuchmore.Youcanfine
tuneyourreportsettingswithoutclosingthisdialogbox,andthensaveyourreport
configurationwithanewnamesothatyoucanrunitagaininthefuture.
84
CHEMCADVersion6UserGuide
OutputandReports
Youcandoanyofthefollowingtoaltertheexistingsectionlist:
AddasectionbydoubleclickinganyitemintheAddNewReportSection
areaoftheFormattab.Thenewitemappearsattheendofthereportlist.
RemoveasectionbyselectingitintheCurrentReportSectionslistandthen
clickingDelete.
MoveasectiontoadifferentpositionwithintheConsolidatedReportby
selectingitintheCurrentReportSectionslistandthenclickingtheUpor
Downbuttonasneeded.
Ifyouprefertobuildthesectionlistyourself,youshouldaccesstheReport
WriterbyselectingReport>NewfromtheCHEMCADtoolbar.Thisbringsupthe
ReportWriterscreenwithablankleftcolumn,readyforyoutoaddjustthereport
sectionsthatyouwantinwhateverorderyouchoose.
ForUnitOps,asectionspecificUnitOpsselectiontabandtheoptiontolimit
thenumberofcolumnsforExcelreportoutput
ForStreamProperties,asectionspecificstreamselectiontabandtheoption
tochangethedefaultlistofstreampropertiestoincludeinthereport
ForStreamComposition,asectionspecificstreamselectiontab,theoptionto
changethedefaultflowoptions,andalternativesettingsforcompositiondata
formatandprecision
ForParticleSizeDistribution,asectionspecificstreamselectiontab
CHEMCADVersion6UserGuide
85
OutputandReports
ForTrayProfile,asectionspecificUnitOpselectiontabandanoptionto
changethedefaultflowunits
ForHeatCurves,asectionspecificUnitOpselectiontabandtheoptionto
chooseacuttingmethodandnumberofcutpoints
Figure 8-06: Results of typing a new name into the Report Name field
Onceyouhavenamedthereport,youcanclickSavetosavethereportlocally
(thatis,onlyforthissimulation),orclickSaveAstosavethereportunderMy
Simulations\MyReports\GlobalReports.SavingintheGlobalReportsdirectory
makesthereportavailabletoanysimulationyoumayopeninthefuture.
86
CHEMCADVersion6UserGuide
OutputandReports
Togenerateareportthatyouhavesavedlocally,selectReport>Simulation
Reports;selectthereportbynameandclickGenerateReport.Otheroptionshereare
EdittoopenthereportintheReportWriter,Exporttocopyittoagloballocation,or
Deletetoremoveitfromthemenu.
Notethattogenerateoraccessagloballysavedreport,youcanselectReport>
Global/PoolReports.
Graphical Reports
Inadditiontotextbasedreports,CHEMCADoffersawidevarietyofgraphicalplots
thatyoucanviewonscreenorprintforreview.
TPXY
Thisselectiongeneratesvaporliquidequilibriumcurvesbetweenanytwo
components,withanoptionalthirdcomponent.YoucanincludeTPXY,TXY,activity
coefficient,andfugacitycoefficientcurves.
Binary LLE
Thisselectiongeneratesliquidliquidequilibriumcurvesbetweenanytwo
components.
Binodal Plot
Thisselectiongeneratesaternaryphasediagramshowingthedistributionofthree
selectedcomponentsintwoliquidphases,includingtielinesandplaitpoint.
Binodal/Residue Curves
Thisselectioncreatesaplotthatcombinesthecurvesfromabinodalplotanda
residuecurveplot.Thisisusefulwhenworkingwithheterogeneousazeotropic
distillation.
CHEMCADVersion6UserGuide
87
OutputandReports
Residue Curves
Thisselectiongeneratesandplotsagraphicaldisplayofdistillationzones,
azeotropes,andresiduecurvesassociatedwithauserspecifiedternarymixture.
Solid/Liquid Equilibrium
Thisselectiongeneratessolidliquidequilibriumcurvesbetweenanytwo
components.
Flowsheet-based Graphs
Toviewgraphicalreportsthatreflectyouroverallsimulation,selectoneofthe
followingfromthePlotmenu:
StreamProperties:Plotsoneselectedstreampropertyforaselectedstreamin
theflowsheet
PhaseEnvelopes:Plotsaphaseenvelopeforagivenstream,highlightingthe
criticalpointofthemixture;canincludeplotsatvaporfractionsotherthan0
(bubblepointcurve)and1(dewpointcurve)
CompositeCurves:Plotscompositeheatcurvesfortheentireflowsheet,as
wellasoptionalheatcurvesforindividualUnitOps
PseudocomponentCurves:Displaysaplotofoneormoredistillationcurves
forastream
UnitOp-based Plots
CHEMCADoffersseveralplotsthatdisplaydataforasingleUnitOp.Toaccessany
oftheseplots,selectPlot>UnitOpPlotsandthenselectoneofthefollowing
options.
Column Profiles
Thisselectionplotscompositions,temperature,andflowprofilesfordistillation
columns.
Heat Curves
Thisselectionplotsheatingandcoolingcurvesforaselectedheatexchanger.
Pipe Profile
ThisselectionplotsfluidpropertiesforpipeUnitOpsalongtheaxiallengthofthe
pipe.Thisplotrequiresthatthepipecontainmultiplesegments.
88
CHEMCADVersion6UserGuide
OutputandReports
Controller Convergence
Forcontrollersthathavenotconverged,thisplotenablesyoutodiagnosethe
controllerbehaviorthatispreventingconvergence.Theplotshowshowthe
controllererrorfunctionchangeswithiteration.
Dynamic Plots
CHEMCADoffersaseriesofplotsforusewithdynamicoperations.SelectPlot>
DynamicPlotstoaccessanyofsixgraphicaldynamicsreports.
TheseplotsaredescribedindetailinChapter7,BuildingandUsingaDynamic
Simulation.
User-specified File
IfyouhavecustomizedCHEMCADusingVBA,C++,orotherprogramming
languages,youcansaveplotdataintoatextfileandusethisfeaturetodisplaythat
dataasacurve.
SelectPlot>UserSpecifiedFiletobringupamessageboxthatprovides
instructionsonhowtoformatthetextfile.ClickOKtocontinuetoanOpendialog
box,whereyoucanselectthetextfileyouwanttouse.WhenyouclickOpen,the
curveisplottedanddisplayed.
CHEMCADVersion6UserGuide
89
OutputandReports
Flowsheet Databoxes
CHEMCADoffersfourtypesofdataboxes:
StreamBox:Liststhestreamsthatyouselectinasingletable,alongwiththe
streampropertiesthatyouchoosetoinclude
UnitOpBox:GeneratesaseparatedataboxforeachselectedUnitOp
TPBox:Generatesseparatesummarydataboxesforselectedstreams
ExcelRangeBox:ReferencesarangeofcellsfromanExcelworksheet
Stream Boxes
Tocreateastreamdatabox,startbyselectingFormat>AddStreamBox.Fromthe
SelectStreamsdialogbox,followthesesteps:
1. Determinewhichstreamstoincludeinthedatabox,usingoneofthree
methods:
ChecktheAllstreamsboxtoincludeallstreamsonyourflowsheet,then
clickOK.
Typethenumbersofthestreamsyouwanttoincludeintotheboxes
provided(onenumberperline),thenclickOK.
Choosethestreamsyouwanttoincludebyclickingtheactualstream
lineswithyourprimarymousebutton.Streamnumbersthatyouselect
willappearintheSelectStreamsdialogbox;totoggleaselectedstream
off,justclickitagain.Whenyouveselectedallthestreamsyouwant,
clickOKtocontinue.
2. AnyoftheseselectionmethodswillbringyoutotheDataboxProperty
Optionsdialogbox.Here,youcanselectwhichstreampropertiesyouwant
toincludeonthestreamdatabox.Youcankeepthedefaultsettings,orturn
anycheckboxonorofftocustomizeyourdatabox.
Note:Theselectionsyoumakeherewillbethedefaultselectionsthenexttimeyou
createastreamdataboxforthissimulation.
InadditiontothemainGeneraltab,notetheCrude/Solidtab,whichyoucan
clicktoselectcrudeoilstreampropertiesorsolidstreamproperties.When
youveselectedthestreampropertiesyouwant,clickOKtocontinue.
90
CHEMCADVersion6UserGuide
OutputandReports
3. IntheDataboxSettingsdialogbox,youcanchoosewhethertoinclude
horizontallinesorhorizontalsectiondividersinthedatabox.ClickOKto
placethedataboxonyourworkspace.
Aswithflowsheetelements,youcanmove,stretch,orresizeadataboxusing
yourmouse.
UnitOp Boxes
TheprocedureforcreatingUnitOpdataboxesissimilartothatusedtocreatestream
databoxes,withthechiefdifferencebeingthatthereisnoselectionofUnitOp
properties.
BeginbyselectingFormat>AddUnitOpBox,andtheneithertypeinUnitOp
IDsorclickUnitOpsontheflowsheet.Notethatyoudonthavetheoptionof
automaticallyincludingallUnitOps,asyoudidwithstreams;toincludeallUnitOps
inthedatabox,clickablankareaoftheflowsheetandthenpress[CTRLA]toaddall
UnitOpIDstothelist.
WhenyoucompleteyourselectionsandclickOK,theDataboxSettingsdialog
boxappears,withthesameformattingoptionsthatareavailableforstream
databoxes.Changeanysettingsyouwanthere,andthenclickOKtoplacethe
requesteddataboxesonyourworkspace.
Unlikeastreamdatabox,whichdisplaysdataformultipleitemsinasinglebox,a
UnitOpdataboxdisplaysdataonlyforasingleUnitOp.Ifyouselectedthree
UnitOpsintheUnitOpIDsdialogbox,youllseethreeseparatedataboxesappear
whenyouclickOK.Ifyouseeonlyonedataboxatfirst,trymovingthatboxto
anotherpartofthescreentoseeiftheothersarehiddenbehindit.
TP Boxes
CHEMCADcancreatedataboxes,calledTPboxes,whichdisplayanycombinationof
temperature,pressure,andflowrateforallstreamsorselectedstreamsona
flowsheet.
ToaddTPdataboxes,selectFormat>AddTPBox.IntheTPBoxSettingsdialog
box,firstselectanoptionatthetop,todeterminewhethertoaddTPboxesforall
streamsoronlyforthestreamsyouselect.
IntheDisplaycolumn,selectitemsfromthedropdownlistineachfieldto
determinewhichstreampropertiestodisplayandinwhatorder.UseNoselection
asappropriateifyouwanttodisplayfewerthanfourproperties.
IntheNumberformatcolumn,makeaselectionineachfieldtodeterminehow
numberswilldisplayintheTPboxes.IntheDigitscolumn,typethenumberof
digitstodisplayafterthedecimalpoint.Youcanalsochoosewhethertodisplay
streamIDsandengineeringunits.
CHEMCADVersion6UserGuide
91
OutputandReports
ThePreviewboxdisplaysadynamicsampleofhowtheitemsyouveselected
willappearintheTPboxes.
WhenyoufinishmakingyourselectionsintheTPBoxSettingsdialogbox,click
OK.IfyouvechosentomakeTPboxesforallstreams,theTPboxeswillappearon
theflowsheetrightaway.Ifyouveoptedtoselectthestreamsfromtheflowsheet,
youllseeaSelectStreamsdialogbox;typethestreamnumbers(oneperline)orclick
onthestreamlinesintheflowsheettoselectstreams,andthenclickOKtocreatethe
TPboxes.
CHEMCADVersion6UserGuide
OutputandReports
view.HavingalayerhiddenevenifthatlayerincludesstreamsandUnitOps
doesnotinanywayaffectthewaythesimulationrunsoranystreamorUnitOp
properties.
Severaldifferentdepartmentsneedtoreviewyourprocessflowdiagram,but
eachdepartmentwantstoseedifferentdatahighlightedindataboxes.You
cancreateonesetofTPboxeslistingonlyflowrates,forexample,andthen
assignthemalltoalayer;thenhidethatlayerandcreateanewsetofTP
boxeslistingtemperatureandpressureonly.Assignthesedataboxestotheir
ownlayer,hideit,andcontinuewithstreamboxes,UnitOpboxes,or
whateverotheritemsyouneed.Createasmanydifferentlayersasyoulike,
andeachtimeyougotoprintthediagram,viewonlythelayersthatyou
wanttoprint.
Youneedtoemailasimulationtodifferentrecipientswhowanttoview
differentdataboxes.Createsetsofdataboxesassignedtomultiplelayers,and
thenviewjustthelayersthatyouwantyourfirstrecipienttoseeupon
openingthefile.Saveandclosethesimulationbeforeattachingittoanemail
message.Openthesimulationagainforthenextrecipient,selectthelayers
youwantthatpersontosee,savethefile,andattachittoanotheremail
message.
CHEMCADVersion6UserGuide
93
OutputandReports
Youhaveaverylargeflowsheetthatencompassesanumberofdiscrete
processes.Youcancreateseparatelayersforvariousportionsoftheoverall
flowsheet,andviewonlytheportionsyoureworkingwithatagiventime.
Youcanalsohideunneededportionsoftheflowsheetforprinting.
Ifyouaretroubleshootingaprocess,orforwhateverreasonneedtomark
upaprocessflowdiagram,youcandrawshapessuchasellipsesor
rectanglesaroundcertainUnitOpsorgroupsofUnitOps,usingtextorbright
colorstodrawextraattention.Thenassignallofthesemarkupitemstoa
singlelayersothatyoucanchoosetovieweitherthemarkedupversionor
thecleanversionoftheflowsheetatanytime.
IntheNewLayerdialogbox,replacethedefaultlayernamewithadescriptive
nameofyourownandthenclickOK.
ThenewlayernowappearsundertheLayersiteminCHEMCADExplorer.If
necessary,clicktheplussignnexttoLayerstoviewthelayername.Youcanaddas
manylayersasyoulikeandviewthecompletelisthere.
94
CHEMCADVersion6UserGuide
OutputandReports
Whenalayerisfirstcreated,itisvisiblebydefault.Alayersstatusasvisibleor
hiddenisindicatedinCHEMCADExplorerbytheiconthatdisplaysnexttoits
name.Avisiblelayershowsagreencheckmark,whileahiddenlayerisgrayin
color.
Figure 8-11: Visible and hidden layers as they appear in CHEMCAD Explorer
createthelayer.Todothis,simplyclickthedesiredobject(usethe[SHIFT]click
methodformultipleobjects),thenrightclickLayers,selectNew,andassignthe
layeraname.Theselectedobjectsareautomaticallyassignedtothenewlayer.
CHEMCADVersion6UserGuide
95
OutputandReports
Atanytime,youcanhideorvieweachlayerinyoursimulationindependently.
TheiconsnexttothelayernamesintheCHEMCADExplorerprovideaconstant
reminderofwhichlayers,ifany,arecurrentlyhiddenfromview.
Eachtimeyouopenasimulationfile,CHEMCADdisplaysorhidesitslayers
accordingtothewaytheyweresetthelasttimeyousavedthesimulation.
Note:Itispossibleforanobjecttobeassignedtomorethanonelayer.Ifanobjectis
assignedtotwoormorelayers,however,itwillbedisplayedunlessallofits
associatedlayersarehidden.
CHEMCADVersion6UserGuide
OutputandReports
itself.Ifyouhavealreadycreatedtheneededitems,makesurethattheyare
currentlyvisibleandplacedwhereyouwantthem.
Whenalloftheitemsyouwanttoprintarevisible,checkoncemoretoensure
thateverythingfallswithintheCHEMCADworkspace.ThenselectFile>Print,or
clickthePrintbuttononthetoolbar.ThisbringsupthePrintSetupdialogbox,
whereyoucanselectprintingoptionsorsimplyclickOKtoprinttheprocessflow
diagram.
CHEMCADVersion6UserGuide
97
OutputandReports
98
CHEMCADVersion6UserGuide
Chapter 9
Customizing CHEMCAD
AsyoubecomemorefamiliarwiththewaythatCHEMCADworksandthevarious
optionsandtoolsthatareavailable,youmayfindyourselfwishingthatyoucould
makeyourownadditionseitherforspecializeditemsorforthoseyouuse
frequently.YoucaninfactcustomizeCHEMCADinseveralwaysthatsaveyoutime
bystreamliningandsimplifyingyourworkflow.Theseinclude:
CreatingstreamandUnitOptemplates
AddingcustomcomponentstoCHEMCADscomponentdatabase
MakingyourownsymbolsandaddingthemtotheUnitOpspalette
BuildingcustomUnitOps
CreatingcustomdialogboxesforUnitOpsettings
Definingcustomthermophysicalrules
Thischapterdiscussesallofthesetypesofcustomization,startingwiththe
simplestproceduresandthenmovingontomorecomplexcustomizationsthat
requiresomeprogrammingexperience.
Flowsheet Templates
OneofthemosteffectivewaystosavetimewhencreatingCHEMCADsimulations
istomakeuseofstreamandUnitOptemplates.Atemplateissimplyasetof
characteristics,whichyouassignanameandsaveforlateruse.Whenyousetup
streamorUnitOpspecificationsthatyouknowyoullneedtorecreateinthefuture,
youcancreateatemplateofthatstreamorUnitOp.Youcanthenduplicatethatitem
withinthesamesimulationorinanyothersimulationwithjustafewmouse
clicks.
CHEMCADVersion6UserGuide
99
CustomizingCHEMCAD
Creating a Template
Tocreateastreamtemplate,firstcreatethestreamyouwanttocloneandgiveitall
ofthecharacteristicsyouwanttoincludeinthetemplate.
ThenfindthisstreamontheCHEMCADExplorersSimulationtab.Expandthe
Flowsheetitem,thenexpandtheStreamitem,andfinallydoubleclickthe
applicablestreamID.ThisbringsupanitemcalledSave.Doubleclicktheword
SavetobringuptheEnterTemplateNamedialogbox,thentypeanameforyour
newstreamtemplateandclickOK.Thenewstreamnameisnowlistedbeneaththe
Saveitem.
TocreateaUnitOptemplate,selecttheappropriateUnitOpIDinCHEMCAD
Explorer,andthenfollowthesameprocedureusedtocreateastreamtemplate.
Applying a Template
Toapplyastreamtemplate,firstexpandtheCHEMCADExploreritemforthe
streaminquestion,eitherbyclickingtheplussigntoitsleftorbydoubleclickingthe
streamname.
Whenthestreamitemisexpanded,youllseetheSaveitembelowit,followedby
thenamesofallthestreamtemplatesthatyouhavecreated.Doubleclickthename
ofthetemplateyouwanttouse,thenclickOKtoconfirmthatyouwanttoapply
thisstreamtemplate.
100
CHEMCADVersion6UserGuide
CustomizingCHEMCAD
Note:AnystreamorUnitOptemplatethatyoucreateisavailableforusewithall
othersimulationsonthesameinstallationofCHEMCAD,untilandunlessyou
deletethetemplate.
Createahydrocarbonpseudocomponent.Thisistreatedlikeapure
componentinthatcertainaspectsofhowitbehavesorreactsareknown.
UsetheJoback/Lydersenmethod.Withthismethodyouindicatebasic
characteristics,andselectmoleculargroups(knownasJobackgroups,called
GroupAssignmentsinCHEMCAD)fromalist,toindicatehowmanyofeach
moleculargrouparepresentinthecomponent.
UsetheUNIFACmethod.ThismethodissimilartoJoback/Lydersen,except
thatthegrouplistismorespecializedtowardorganiccomponents.
Createacombustionsolid.Thismethodisusedtosimulatesolid
componentsforwhichanelementalanalysisandheatingvalueareknown,
e.g.,coal.
Createanelectrolytecomponent.Thismethodcreatesacomponentthatyou
cansubsequentlyuseinanelectrolytesimulation.
CHEMCADVersion6UserGuide
101
CustomizingCHEMCAD
Theprocedureforcreatingapurecomponentisasfollows:
1. SelectThermophysical>ComponentDatabase>CreateNewComponent.
ThisbringsuptheNewComponentdialogbox.
2. Givethenewcomponentadescriptivename;itisstronglyrecommendedthat
youmakethisnameunique.Allothercharacteristicshereareoptional,except
fornormalboilingpoint,whichisrequiredforthepseudocomponent
method.
3. SelectaCorrelationoptiontoindicatewhichoftheabovemethodsyouwill
use,andclickOKtocontinue.
4. ThedialogboxthatappearsnextdependsontheCorrelationthatyou
selected:
PseudocomponentbringsuptheHydrocarbonCorrelationdialogbox.
GroupcontributionJobackbringsuptheGroupAssignmentsdialogbox.
GroupcontributionUNIFACbringsuptheNewComponentUNIFAC
Groupsdialogbox.
CombustionsolidbringsuptheCombustionSoliddialogbox.
ElectrolytebringsuptheElectrolyteDatadialogbox.
Selecttheappropriateoptionsforyournewcomponentandspecifyasmany
characteristicsasyoulike,asaccuratelyaspossible.ClickOKtocontinue.
5. IntheSelectDestinationDatabasedialogbox,youwillseenodatabaseslisted
ifthisisyourfirsttimetoaddacomponent.Ifthisisthecase,clickNewto
bringuptheManageComponentDatabasesdialogbox.
102
CHEMCADVersion6UserGuide
CustomizingCHEMCAD
6. Normally,youllneedtoclickCreate,whichbringsuptheSaveAsdialog
box.Navigatetothelocationyouwantforyourcustomcomponentdatabase,
givethedatabaseaname,andclickSave.Ifyouwanttoaddadatabasethat
someoneelsehascreated(generallyinanetworklocation),youcanclick
Connect,whichbringsupanOpendialogbox;navigatetothatdatabases
location,highlightthedatabase,andclickOpen.
7. TheManageComponentDatabasesdialogboxnowliststhedatabasethat
youcreatedorselected.ClickOKtocontinue.
8. IntheSelectDestinationDatabasedialogbox,thenewdatabaseyouhavejust
namedisnowlisted;highlightitandclickOK.
9. TheView/EditComponentDatamenunowappears.Clickanyitemonthe
menutoaccessadialogboxwithoptionsfordefiningyournewcomponent.
Afterdefiningasmanycharacteristicsaspossible,clickExittoclosethe
menu.
Thenewcomponentisnowavailabletoaddtoyourcurrentsimulationandall
futuresimulations.Toreturnatanytimetomakechangestoauserdefined
component,dooneofthefollowing:
SelectThermophysical>ComponentDatabase>View/EditDatabase
ComponenttobringuptheSelectSingleComponentdialogbox,whichlists
allavailablecomponents.Highlightthecomponentyouwantinthelistand
clickOKtobringuptheView/EditComponentDatamenu.
ClickComponentListonthetoolbar(orselectThermophysical>
ComponentDatabase>View/EditSimulationComponent)tobringupthe
listofcomponentsinthecurrentsimulation.Doubleclickthecomponentyou
wantinthelisttobringuptheView/EditComponentDatamenu.
CHEMCADVersion6UserGuide
103
CustomizingCHEMCAD
2. SelecttheuseraddedcomponentthatyouwanttoregressandclickNew.
ThisbringsuptheEditRegressionSetdialogbox.
104
CHEMCADVersion6UserGuide
CustomizingCHEMCAD
3. Selectaregressiontypeandprovideadescriptivenameforthedata
regression,thenclickOK.Thisbringsupadialogboxthatdisplays
parametersfortheselectedregressiontype.
4. Verifythedataonthisdialogbox,makingadditionsorchangesasnecessary,
andthenclickOK.Thisbringsupadialogboxfordataentry.
5. Enteryourexperientialdatapointsinthecellsprovided.Youcanentera
valueintheWeight_factorcolumntoweighttheregressiontowardoneor
moredatapoints.Whenyouhaveenteredallofyourdatapoints,clickOK.
Note:YoucanpasteacontiguousrangeofcellsfromanExcelworksheetintothe
cellsinthisdialogbox.
6. TheregressiondataisdisplayedinatabinthemainCHEMCADwindow.
Anothertabdisplaystheregressionresultsingraphicalformat.Reviewthe
dataandplot,anddecidewhethertheregressionadequatelyrepresentsyour
experimentaldata.
7. Adialogboxappears,askinghowyouwouldlikethechangestobeapplied
toexistingsimulations.ChooseanoptionandthenclickOK.
8. Repeatthisprocedureasneededtoregressotherpropertiesforyour
component.
Pseudocomponent Range
Usingapseudocomponentcurveanothertermforthedistillationcurveportionofan
assayyoucancutahydrocarbonstreamintopseudocomponents,orfractions.A
pseudocomponentrepresentsagroupofcomponentsthatboilwithinanarrow
temperaturerange.PseudocomponentrangesareusedinCHEMCADtomodel
hydrocarbons.
Whenyoudefineapseudocomponentrangeforastream,CHEMCADcreates
entriesinthecomponentdatabaseforeachhydrocarboncut,andassignsthese
componentscompositionstothestream.
Note:Beforeyoudefineapseudocomponentrange,makesurethatyouhave
specifiedinyourcomponentlist,asappropriate,waterandanylightendsthatexist
intheassay.
1. SelectThermophysical>PseudocomponentCurves.
2. IntheDistCurveCharacterizationdialogbox,enterstreamnumber(s)and
clickOK.
3. IntheHydrocarbonCorrelationdialogbox,selecttheappropriate
correlationsforyourcurve,orusethedefaultselectionsandclickOK.
4. ThisbringsuptheCurveTemperatureCutRangesdialogbox.Foreachcut
rangethatyouwanttodefine,provideabeginningandendingtemperature,
CHEMCADVersion6UserGuide
105
CustomizingCHEMCAD
andenterthenumberofpointsthatyouwanttodefineasdiscrete
pseudocomponentswithinthatrange.ClickOKtocontinue.
5. IntheBulkPropertiesdialogbox,specifyadistillationcurvetypeandentera
totalflowrateandbulkgravityforthestream.Youcanmakeotherentries
hereasneeded,butonlythesethreeitemsarerequired.Notethatifyouhave
viscositydatathatyouwanttouse,youmustchecktheViscosityboxhere.
ClickOKtocontinue.
6. Intheresultingdialogbox,enterthedistillationcurvefromyourassay,
specifyingthevolumepercentageandboilingtemperatureforatleastfive
datapoints.ClickOKtocontinue.
7. Thenextdialogboxisoptional.Enteragravitycurvefromyourassay,listing
thevolumepercentageandspecificgravityforatleastfivedatapoints.Click
OKtocontinue.
8. Thenextdialogboxisalsooptional.Ifyouhavelightendsandwaterdefined
inyourassay,entervolumepercentagedatahereforallrelevantcomponents.
ClickOKtocontinue.
9. IfyoucheckedtheViscosityboxontheBulkPropertiesdialog,youwillnow
seetheViscosityDatadialogbox.EnteryourviscositydataandclickOK.
10. ThisbringsuptheEditDistillationCurvesmenu,showninFigure905.
11. ClickSaveandExit.Thepseudocomponentpropertiesnowdisplayinatab
inthemainCHEMCADwindow.Youcanreviewandprinttheseresults,and
leavethetabopenaslongasyoulike.Toreturntothemainworkspaceand
yourflowsheet,simplyclickthefarlefttab,whichdisplaysthenameofyour
simulation.
12. Toseethelistofpseudocomponentsthatyouhavecreated,editthe
propertiesforthestreamyouselected.Thepseudocomponentswillbelisted
afterpurecomponents,withnamesthatbeginwithNBP.
CHEMCADVersion6UserGuide
CustomizingCHEMCAD
WithinCHEMCAD,selectEdit>EditUnitOpSymbols.
FromWindows,selectStart>AllPrograms>Chemstations>Utilities>
SymbolEditor.
Oncetheeditorisopen,youllseeagriddedworkspaceandasmall,freefloating
toolpalette.
Youcanbuildasymbolfromthegroundup,butthebestwaytolearntousethis
toolistoeditanexistingCHEMCADUnitOpsymbol.Todothat,followthesesteps:
1. SelectFile>OpenfromtheSymbolEditormenu.IntheOpendialogbox,
selectafilefromSymbolsdirectoryandclickOpen.Theselectedsymbol
opensintheSymbolEditorworkspace,asshowninFigure907.
CHEMCADVersion6UserGuide
107
CustomizingCHEMCAD
Figure 9-07: The pump_1.sym file open in the Symbol Editor workspace
2. SelectFile>SaveAsandsavethefileinadifferentdirectory,usinga
distinctivenametoavoidconfusionwiththeoriginalsymbol.
3. UsethetoolsavailableinSymbolEditortochangethesymbolasneeded:
Toremoveoralteranyexistingpartofthesymbol,selectStructure>
Ungrouptobreakthesymbolintoitsindividualcomponents.
Toaddgraphicalcomponentstothesymbol,usethedrawingtoolsonthe
toolpalette,suchasRectangleandEllipse.
Toaddatextlabeltothesymbol,usetheTexttool.
Toaddaninletoroutlet,clicktheappropriateitemonthetoolpalette
andthenclicktoplacetheinletoroutletonthesymbol.
Tobackoutofachangethatyouvemade,selectEdit>Undoorpress
[CTRLZ].
4. Whenyourereadytosavethesymbol,makesurethatyouhavedeletedany
unwanteditemsontheworkspace.SelectEdit>SelectAllorpress[CTRLA],
andthenselectStructure>Group.
5. SelectFile>Savetosavethechangestoyournewsymbol.
Tocreateatotallynewsymbol,simplystartfromablankworkspace,namethe
file,andusethevariousdrawingtoolstocreatethedesiredcombinationofshapes
andtext.Addinletsandoutletsasneeded,thengroupthesymbolscomponentsand
savethefile.
108
CHEMCADVersion6UserGuide
CustomizingCHEMCAD
Onceyouvecreatedyournewsymbol,youneedtoassociateitwithaUnitOp
typeandthenadditintotheappropriateUnitOpsubpalette.
1. WithintheSymbolEditorprogram,selectFile>EditUnitOpType.The
SelectUnitOperationTypedialogboxappears.
2. SelecttheappropriateUnitOptypeandclickOK.
3. ToassignthenewsymboltoaUnitOppalette,selectFile>Addto
CHEMCADPalette.
4. CloseandrestartCHEMCADtoseeyournewsymbolappearonthe
specifiedsubpalette.
ExcelUnitOp:CreatedthroughacombinationoftheCOMinterfaceandtheData
Mapinterface
Calculator:CreatedusinganinlineCprogram
Useraddedmodule:CreatedusingVisualStudiooranotherC++compiler
VBAUnitOp:CreatedthroughtheVBAEditor,whichispartofCHEMCAD
CHEMCADVersion6UserGuide
109
CustomizingCHEMCAD
ThebasicproceduresforcreatingcustomExcelUnitOpsarecoveredinChapter
10,DataInterfaces.CalculatorUnitOpsaredefinedbyaprogramminglanguage
calledParser,thesyntaxforwhichisdocumentedintheCHEMCADCalculator/Parser
Moduleguide,availableontheChemstationswebsite.
C++useraddedmodulesaredevelopedusingMicrosoftsVisualC++
developmenttool,thesametoolsthatwereusedinthecreationofCHEMCADsown
UnitOps.TheproceduresforcreatingC++useraddedmodulesforusewith
CHEMCADaredetailedintheUseraddedModulesGuide,whichisalsoavailableon
theChemstationswebsite.
VBAUnitOpsaredefinedbyVBAsubroutines,andaredescribedlaterinthis
chapter.
ThemethodyouchooseisanimportantfirststeptowardcreatingaUnitOp,but
thechoiceisalmostentirelyuptoyou.CalculatorUnitOpscanbequickandeasyto
setup,buttheycantdoeverythingtheothermethodscan.TheExcel/VisualBasic
approachisverypowerfulandusesthefamiliarVisualBasiclanguagefor
development.Adrawbacktothismethodisthatcalculationcansometimesbeslow
duetotheuseofMicrosoftExceltodothecalculations.Themostpowerfuland
fastestcalculatingmethodistheC++useraddedmodulemethod,butifyouarenew
toC++,itmaybechallengingtouse.VBAUnitOpsareaspowerfulasthosecreated
usingC++,andaremucheasiertobuild.
WhichevermethodyouusetoprogramthecalculationsofyourUnitOp,youwill
likelyneedtocreateadialogboxtoprovideauserinterface.Adialogboxenables
userstosendinformationintoyourUnitOp,forexamplethenumberofstagesfora
distillationUnitOp.NomatterwhatmethodyouusetoprogramyourUnitOp,you
willusetheDialogEditorprogramtocreatetheuserinterface.
110
CHEMCADVersion6UserGuide
CustomizingCHEMCAD
TheDialogEditorprogramisseparatefromCHEMCAD.Tolaunchit,select
Start>AllPrograms>Chemstations>Utilities>DialogEditor.
AdetaileddescriptionofhowtousetheDialogEditorisavailableonthe
Chemstationswebsite,aswellasontheCHEMCADinstallationCDROM.
Customizing Thermodynamics
Occasionally,youmayfindthatnoneofthethermodynamicmodelsbuiltinto
CHEMCADserveyourneedsforaparticularsimulation.Ifthisshouldhappen,you
cantakeoneoftwoapproachestohandlingthermodynamicsforthesimulation:
eithercreateyourownKvalueorenthalpymodelorcreateyourownmixingrule.
111
CustomizingCHEMCAD
WhenyouvesuccessfullyaddedacustomKvaluemethod,youcanselectiton
theKvalueModelstaboftheThermodynamicSettingsdialogbox,byusingthe
GlobalKvalueOptionsettingcalledADDK.
Afteraddingacustomenthalpymodel,youcanselectitontheEnthalpyModels
taboftheThermodynamicSettingsdialogbox,byusingtheGlobalEnthalpyOption
settingcalledADDH.
112
CHEMCADVersion6UserGuide
CustomizingCHEMCAD
Reactions
Properties
UnitOps
IfyouhavewrittencodeinVBAthatyouwouldliketomakeavailablein
CHEMCAD,youcaninsertthatcodeintooneofthetemplatesthatCHEMCAD
provides,oruseanyofthesetemplatesasastartingpointandlaunchaVBAeditor
fromwithinCHEMCAD.
Use[ALTTAB]ortheWindowstaskbar,leavingtheVBAeditorwindow
open.
ClicktheViewCHEMCADbuttonatthefarleftendoftheVBAeditors
toolbartoclosetheeditorwindow.
Note:Youcanalsousethe[ALTF11]keycombinationtotogglebetweenCHEMCAD
andtheVBAeditor.
6. SavethecurrentCHEMCADsimulation,thenexpandtherelevant
CHEMCADExploreritemagaintoseeyournewlydefinediteminthelist.
113
CustomizingCHEMCAD
Batchreactor:Afterspecifyingthereactorsinitialcharge,youllseethe
BatchReactorGeneralInformationdialogbox.OntheGeneraltab,select
thekineticrateexpressionoptioncalledDefineeachreaction.
Kineticreactor:OntheGeneralSpecificationstaboftheKineticReactor
dialogbox,selectthekineticrateexpressionoptioncalledDefineeach
reaction.
3. Foreachreactionthatyoudefine,youllenterdataintoaKineticDatadialog
box.ChoosetheKineticRateExpressionoptioncalledUserVBA.This
bringsupadropdownlisttotherightoftheKineticRateExpressionfield,
whereyoucanchooseauserdefinedreaction.Selecttheappropriateoption
foreachreactionthatyoudefineforthisUnitOp,andthenclickOKto
continuetothenextreaction.
Figure 9-12: Selecting a VBA-defined reaction in the Kinetic Data dialog box
4. Whenyouhavedefinedthelastreaction,clickOKtoreturntothemain
CHEMCADwindow.
114
CHEMCADVersion6UserGuide
CustomizingCHEMCAD
CHEMCADVersion6UserGuide
115
CustomizingCHEMCAD
116
CHEMCADVersion6UserGuide
Chapter 10
Data Interfaces
CHEMCADenablesyoutoexchangedatawithotherprogramsthroughavarietyof
methods.Thissavestime,effort,andthepotentialforkeystrokeerroranddata
omissions.Insomecases,thesedatainterfacescanenableCHEMCADtolink
directlyintoyourplantinformationsystemstorunsimulationswithouthuman
intervention.
ThedatainterfacesthatCHEMCADusesareasfollows:
TheExcelDataMapinterface,whichcanlinkanyvalueinaCHEMCAD
simulationtoanycellinanExcelworksheet,orviceversa(notethatrunning
CHEMCADsimulationsfromExcelrequiresaCOMinterface,described
below)
TheVisualBasicApplicationinterface,whichenablesyoutobuildcustom
reactions,mixingrules,andUnitOps
TheOPCinterface,whichpermitsanyOPCClientapplicationtoaccess
valuesinaCHEMCADsimulation
COMinterfaces,whichallowanyCOMenabledprogram(suchasMATLAB)
toaccessandcontrolaCHEMCADsimulation
CHEMCADVersion6UserGuide
117
DataInterfaces
118
CHEMCADVersion6UserGuide
DataInterfaces
2. ClicktheBrowsebuttonandlocatethetargetworkbook.Selecttheworkbook
fileandclickOpen.
3. InthecellnexttoExcelWorksheetName,typethenameoftheworksheetto
whichyouwanttolinkyoursimulation.
Note:Ifyouneedtoverifythenameoftheworksheet,youcanclicktheOpenbutton
tolaunchExcelandviewtheworkbook.
4. DoubleclickthecellbelowMapRuletoseeadropdownlistofmapping
options:
ToWorksheetOnlyenablesyoutosenddatafromstreamsorUnitOpsin
CHEMCADtotheselectedworksheet.
ToCCOnlyenablesyoutosenddatafromanycellontheworksheetto
theselectedstreamorUnitOpparameterinyoursimulation.
Fordatareconciliationenablesyoutomanipulatethedatausing
CHEMCADsDataReconciliationfeature.
Figure 10-02: Selecting a Map Rule option in the Excel Data Map Editor
5. DoubleclickthecellbelowCCObjTypetoseeadropdownlistofmapping
options:
StreamenablesyoutolinkanExcelcellorcellrangetoastreamonthe
flowsheet.
UnitOpenablesyoutolinkanExcelcellorcellrangetoaUnitOponthe
flowsheet.
Miscenablesyoutochangedynamicflowsheetsettings.
6. ClickthecellbelowCCObjID.TypetheIDnumberofthestreamorUnitOp
towhichyouwanttolink.
7. DoubleclickthecellbelowParIDtoseeadropdownlistofparametersfor
theselectedUnitOporstream.Scrolldownandselectanoptionfromthelist.
CHEMCADVersion6UserGuide
119
DataInterfaces
Note:WhenyouareimportingcelldataintoCHEMCAD,thelistofparameter
optionsislimited,asmanyvaluesinaCHEMCADsimulationarecalculatedbased
onothervalues.
8. Ifyouchoseaparameterthatisrelatedtoaspecificcomponent(e.g.,Comp
Molefraction,oranyitemmarkedwithanarrow),youwillneedtospecifythe
component.DoubleclickthecellbelowComponenttoseeadropdownlist
ofavailablecomponents.Selectacomponentfromthelist.
Figure 10-03: Component-specific parameters marked with arrows on the Par ID list
9. ClickthecellbelowWrkShtCell/Range.Typethecelladdressorcellrange
towhichyouwanttolink.Celladdressesshouldbeformattedwiththe
columnletterandrownumber,e.g.,A1orD17.Cellrangesshouldbe
formattedastwosuchaddresses(representingtherangesfirstandlast
values)separatedbyacolon,e.g.,A1:A12orB5:E20.
10. Ifyouareperformingadatareconciliation,youcanusetheWeightcolumn
togivecertainitemsinthereconciliationmoreimportancethanothers.
11. Repeattheprocedureuntilyouhavespecifiedallofthecellsorcellranges
thatwilllinktoyoursimulation.
12. SavetheDataMapbyselectingFile>SaveAs.TypeanameforyourData
MapandthenclickOK.ThenewlycreatedDataMapnowappearsonthe
CHEMCADExplorerundertheDataMapsitem.
120
CHEMCADVersion6UserGuide
DataInterfaces
13. ToleavetheDataMapopenandreturntoyoursimulation,usethetabsatthe
bottomofthemainCHEMCADworkspace.ToclosetheDataMap,select
File>Close,orclicktheredXbuttonontheDataMapstab.
CHEMCADVersion6UserGuide
121
DataInterfaces
2. ClickthesquarebuttonnexttothefirstfieldintheSelectDataMapscolumn
tobringuptheSelectDataMapdialogbox.
3. SelectthenameoftheDataMapforwhichyouwanttosetrules,andclick
OKtoreturntotheDataMapExecutionRulesdialogbox.Repeatthisstep
forallotherDataMapswhoserulesyouwanttosetupatthistime.
4. IntheBeforeSimulationRunsfieldnexttoeachselectedDataMap,clickthe
dropdownlisttochooseanactionforthatDataMaptoperformbefore
calculationsbegin:
DoNothingperformsnoactionbeforethesimulationisrun.Youmight
usethisoptiontodisableaDataMaptemporarily.
ToWorkbooksendstherequesteddatatoExcelbeforerunningthe
simulation.Youmightusethisoptionwhenyouwanttopulldatafrom
inletstreamsorUnitOpspecifications.
ToCHEMCADsendstherequesteddatainExceltoCHEMCADbefore
runningthesimulation.Youmightusethisoptionwhenyouwanttofeed
datatoinletstreamsorUnitOpswithdatafromtheExcelworksheet.
5. IntheAfterSimulationRunsfieldnexttoeachselectedDataMap,clickthe
dropdownlisttochooseanactionforthatDataMaptoperformafter
calculationsarecomplete:
122
DoNothingperformsnoactionafteryoursimulationhasrun.Youmight
usethisoptiontodisableaDataMaptemporarily.
ToWorkbooksendstherequesteddatatoExcelafterrunningthe
simulation.Youmightusethisoptionwhenyouwanttosenddatafrom
streamsorcalculatedparametersofUnitOpstotheworkbookinExcel.
CHEMCADVersion6UserGuide
DataInterfaces
6. WhenyouhaveconfiguredalloftheDataMapsthatyouwanttouse,click
OKtosaveyourrulesandclosetheDataMapExecutionRulesdialogbox.
Youcannowrunthesimulation.IfyouopentheExcelfilesthatarelinkedtothe
simulation,youwillbeabletoseetheparametersofstreamsandUnitOpsrelatedto
theExcelDataMap.Youcanalsoperformyourowncalculationsintheworkbook
basedonthedatalinkedtoCHEMCAD.
CHEMCADVersion6UserGuide
123
DataInterfaces
7. NowyouneedtospecifyhowthisspreadsheetwilllinktoCHEMCAD.Click
theDataMapstabtolinkthespreadsheetusingoneormoreDataMaps,or
clicktheExcelMacrostabtolinkthespreadsheetusingtheCOMinterface.
OntheDataMapstab,specifytheexecutionrulesasdescribedearlierin
thischapter.
OntheExcelMacrostab,specifythenamesoftheExcelmacrosthatyou
haveprogrammedtousetheCOMinterface,intheorderthatyouwant
themtobecalculated.
8. ClickOKtoreturntothemainCHEMCADwindow.
Specification Sheets
UsingtheinterfacewithMicrosoftExcel,CHEMCADallowsyoutooutput
simulationdatatoanExcelspreadsheetresemblingavendorspecificationsheet,as
discussedinChapter8,OutputandReports.Customizingthesespecsheetssavesyou
timebyoutputtingdataintheformatrequiredbyyourcompanyorvendor.
TocustomizethespecsheetforaspecificUnitOptype,editthecorresponding
Excelspreadsheetinthefollowingdirectory:
C:\ProgramFiles\Chemstations\CHEMCAD\Program\templates
IftheUnitOptypeyouwantisnotrepresentedbytheExcelfilesinthisdirectory,
youcancopythegenericspecsheet.xlsfileanduseitasatemplateforanewUnitOp
spreadsheet.
Placethecopyinthesamedirectory,andmakeitsfilenamethestandardfour
characterabbreviationfortheUnitOptypeinquestion.Forexample,tocreateaspec
sheettemplatefortheFlashUnitOp,youwouldneedtonamethefilecopyflas.xls.
SeetheCHEMCADHelpinformationaboutyourspecificUnitOpifyouneedtolook
upthisabbreviation.
Beforeyoucontinue,youwillneedtoturnofftheReadonlyattributeforthe
newspreadsheetfile.Thequickestwaytodothisistorightclickthefilewithinthe
WindowsExplorer,selectProperties,andthencleartheReadonlycheckboxinthe
Propertiesdialogbox.
OncethecopyisrenamedandtheReadonlyattributeisturnedoff,youcan
openthespreadsheetandedititasneeded.
124
CHEMCADVersion6UserGuide
DataInterfaces
OPC Applications
OPCcanbeappliedasfollows:
Inferentialsensors:Sometimescalledsoftsensors,inferentialsensorsuseone
ormoremeasuredvariablestoestimateanothervariable.UsingCHEMCAD
simulationsanddatafromyourplantsDCS,youcanembedsimulationsto
providedatasuchasconcentrations,heatduty,andfoulingfactor,which
wouldnotnormallybeavailable.
Operatortraining:YoucancoupleanoperatorHMItoadynamicsimulation
tocreateatrainingsimulatorthatcanhelptrainoperatorsinasafeand
effectiveway.
OPC Compliance
ChemstationsisaMemberoftheOPCFoundation,anorganizationdevotedto
maintainingtheOPCstandards.CHEMCADhasbeencertifiedfor,andinterop
testedfor,OPCDAstandard2.05a.
CHEMCADVersion6UserGuide
125
DataInterfaces
Everyvaluetaghasaunitstagassociatedwithit,whichshowstheengineering
unitsusedtoreportthevalue.Tochangetheengineeringunits,selectFormat>
EngineeringUnitswithinaCHEMCADsimulation.
WhentheOPCserverfeatureisenabled,CHEMCADautomaticallyregisters
itselfasanOPCserver.IfyouwanttounregisterCHEMCADandremoveitfromthe
listofOPCservers,youcanselectStart>Runandtypethefollowingcommand:
{program directory}\CC6.Exe unregister
Forexample,ifyourprogramdirectorywereC:\Program
Files\Chemstations\CHEMCAD\Program(thedefaultdirectory),youwouldtype
thefollowing:
C:\Program Files\Chemstations\CHEMCAD\Program\CC6.exe unregister
126
RefreshServertellsCHEMCADtorefreshalldatasenttotheOPCserver.
RunSteadyStaterunsasteadystatesimulation.Whenthesimulation
finishes,theflagwillbereseteitherto0(runconverged)ortoanegative
numberindicatingthenumberoferrorsthatoccurredduringtherun.To
CHEMCADVersion6UserGuide
DataInterfaces
viewtheerrormessagetext,youmustopentheCHEMCADinterface
directly.
Restoretoinitialstatereturnsadynamicsimulationtotimezero.Areturnof
0indicatessuccess;avalueof1indicatesfailure.
RunDynamicstartsadynamicsimulation.Areturnof0indicatessuccess;a
valueof1indicatesfailure.
RunDynamicOneSteprunsasingletimestepofadynamicsimulation.A
returnof0indicatessuccess;avalueof1indicatesfailure.
SetInitialStatesetsthecurrentprocessconditionsasthetimezero
conditions,overwritingtheprevioustimezeroconditions.Areturnof0
indicatessuccess;avalueof1indicatesfailure.
StopSimulationstopsadynamicsimulation.Areturnof0indicatessuccess;
avalueof1indicatesfailure.
them.Inthesecases,weusuallydefinetwoseparatetags,onecontainingthedata
valueandtheothercontainingtheunitsstring.Allunitsstringsarereadonlyfrom
OPC.Theunitsstringsaregovernedbythesettingsinsidethesimulation.
ThegroupsinCHEMCADsOPCnamespaceareorganizedasfollows:
CHEMCAD.SimulationServer:ThisistheOPCservername.Byconvention,
thisnameisfollowedbyaversionnumber,e.g.,
CHEMCAD.SimulationServer.1,toindicatetheOPCServerversion.Thisis
theservernametowhichOPCclientswillconnect.
CHEMCADGroup:Thisgroupcontainsanyinformationthatisnot
dependentonastreamorUnitOp,andallcommandsusedtorun
CHEMCAD.
StreamsGroup:Thisgroupcontainsaseriesofsubgroups,oneforeach
streamontheflowsheetnumberedbystreamIDnumber.
UnitOperationsGroup:Thisgroupcontainsaseriesofsubgroups,onefor
eachunitoperationontheflowsheet,numberedbyUnitOpIDnumber.
CHEMCADVersion6UserGuide
127
DataInterfaces
COM Interfaces
ComponentObjectModel(COM)isaMicrosoftstandardplatformthatenables
programstosharecontentsuchasdataandcalculationroutines.Thisinterface
makesitpossibleforotherprogramstocontrolaCHEMCADsimulation.
CHEMCADactsasaCOMserver,soanyprogramthatcanactasaCOMclient
canbemadetointerfacewithCHEMCADinthisway.Ifyouarentcertainwhether
yourapplicationcanactasaCOMclient,checkwiththesoftwarevendor.
Note:UsingtheCOMinterfacetoCHEMCADisacomplicatedprocedurethat
requiressomeexperienceinprogramming.Ifyourorganizationlacksinhouse
expertiseinprogramming,considerbringinginathirdpartyresourcetoassistyou
withtheprocedure.
ThefollowingsectionisabriefwalkthroughofasimpleCOMinterfacebetween
ExcelandCHEMCAD.
OpenCHEMCAD
ReadinvaluesfromCHEMCADintoanExcelworkbook
Changeavalueinthesimulation
Runthesimulation
ReadtherevisedvaluesbackintoExcel
Normally,usingCOMinterfacesinvolvessomeprogramming.Wehavecreated
anexamplecalledVBCLient.xlstohelpyouovercomethathurdle;youdontneedto
writeanycodeatalltousethistool.Evenifyouneedtowriteyourownprogram,
thecodeinthemacrosofVBClientwillcomeinhandyasaguide.
128
CHEMCADVersion6UserGuide
DataInterfaces
CommandcontainsbuttonsforcontrollingaCHEMCADsimulation.
Streamsdisplaysallstreamdatainthesimulation.Thissheetcanbeused
forbothinputandoutputofstreamvariablestotheCHEMCAD
simulation.
UnitOpsdisplaysallUnitOprelateddataforthesimulation.Thissheet
canbeusedforbothinputandoutputofUnitOpvariablestothe
CHEMCADsimulation.
2. OntheCommandsheet,youwillseeaseriesofbuttonstoloadCHEMCAD,
loadasimulation,readdatafromthesimulation,writedatabacktothe
simulation,andrunthesimulation.ClickLoadCHEMCADtostartan
instanceofCHEMCAD.
ClickLoadSimulationtoloadasimulationintoCHEMCAD.
MakeachangetothedatashownontheStreamsandUnitOpssheets.
Note:Somevaluesarereadonly.Forexample,VBClientdoesnotallowyouto
changeastreamstotalflowratedirectly;youmustinsteadchangethecomponent
flowratestomakeachangetothetotalflowrate.
3. ClickSaveDatatopushyourchangestotheCHEMCADsimulation.
4. ClickRunAlltorunthesimulation.
5. NotethechangestothedataontheStreamsandUnitOpssheets.
CHEMCADVersion6UserGuide
129
DataInterfaces
130
CHEMCADVersion6UserGuide
Chapter 11
CHEMCAD Tutorials
AlthoughthesimulationsstoredinyourExamplesdirectoryareusefulformany
scenarios,thebestwaytolearntouseCHEMCADistocreateandrunsimulations
yourself.Thetutorialsinthischapterwalkyouthroughbasicsimulationbuilding
stepbystep,usingarealisticexampleproblemthatwillhelpprepareyouforyour
ownsimulations.
Thefirsttutorialisforasimplesteadystatesimulation,whichisthenusedasthe
basisforthesecondtutorial,inwhichyoulllearntousetheCCTHERMmoduleto
rateaheatexchanger.Thethirdtutorialwalksyouthroughabatchdistillation
problemusingCCBATCH,andthefinaltutorialcoversvariousscenariosforpiping
systems.
CHEMCADVersion6UserGuide
131
CHEMCADTutorials
Yourjobistodeterminenewoperatingconditionsforthisexistingplant,along
withanynecessarymodifications.Thedesignrequirementsareasfollows:
Thecricondenthermdewpointoftheproductgasmustbe20Forless.A
cricondenthermdewpointisthehighesttemperaturefortwophase
coexistenceofamixture.Aslongasthestreamtemperaturestaysabovethe
cricondenthermdewpoint,thestreamcontentswillnotcondense.
Thestabilizedcondensatemusthavemaximumpropanecontentof1%.
Overview
RunningaflowsheetsimulationinCHEMCADisessentiallyaninestepprocedure:
1. Startanewsimulation.
2. Selectengineeringunits.
3. Createaflowsheet.
4. Selectcomponents.
5. Selectthermodynamicsoptions.
6. Definethefeedstreams.
7. EnterUnitOpparameters.
132
CHEMCADVersion6UserGuide
CHEMCADTutorials
8. Runthesimulation.
9. Reviewtheresultsandprintasneeded.
Thestepsdonothavetobeperformedinthisorder,nordoallofthemhavetobe
doneforeachflowsheet,butyoushouldconsiderallstepsforeachproblem.
onlywhenyouusetheSavecommand.Thisprovidesyouwithgreaterflexibility
andgivesyoumorecontroloveryoursimulations,butitalsomeansthatyoushould
saveyourworkfrequently.Thisisasoundpracticeforworkinginanysoftware
application,asitcanhelpyouavoidlosingworkintheeventofapowerproblemor
computerglitch.
Placing UnitOps
1. Startyourflowsheetbyaddinganicontorepresenttheinitialfeedstream.In
theAllUnitOpspalette,findtheFeedicon,whichisanarrowpointingtothe
right.ClicktheFeedicon,thenclickintheworkspacewhereyouwantto
placethefeedstream.Whenthefeedstreamarrowappears,goaheadand
turnofftheFeeddrawingtoolbyrightclickinganyblankareaofthe
workspace.
CHEMCADVersion6UserGuide
133
CHEMCADTutorials
Note:AtanytimeafterdrawingafeedstreamoranyUnitOpicon,youcanclickthe
icontodisplaytheblacksizinghandlesateachcorner.Withtheiconselectedthis
way,youcanclicktheiconanddragittoanewlocation,orclickanysizinghandle
anddragitoutwardorinwardtoresizetheicon.
2. Nowplacethetwoheatexchangersontheflowsheet.OntheAllUnitOps
palette,pointtotheHeatExchangericonuntilitspopuplabelappears(see
Figure1102).
Figure 11-02: The pop-up label that identifies the UnitOp icon
3. ClickthelowerrightcorneroftheHeatExchangericon,ontheblacktriangle,
toopenthesubpalette.Selectthetwosidedheatexchangericonasshownin
Figure1103.Theiconthatyouclickedinthesubpalettenowappearsonthe
mainAllUnitOpspalettetorepresenttheHeatExchangerUnitOp.
4. Pointthemousecursoraboutaninchtotherightofthefeediconandclick.A
twosidedheatexchangericonappearsontheflowsheetwhereyouclicked.
Note:TheUnitOpIDlabelof1shouldappearinacirclenexttotheheatexchanger
icon.ForeachsubsequentUnitOpthatyoudraw,CHEMCADwillassignanordinal
numberinthisway,touniquelyidentifyeachpieceofequipmentontheflowsheet.
5. ReturntotheAllUnitOpspalette,andagainclicktheHeatExchangericons
blacktriangle.Toswitchfromthetwosidedmodeltoasinglesidedmodel,
youllneedtoselecttheappropriateicon(seeFigure1104)fromtheHeat
Exchangersubpalette.
134
CHEMCADVersion6UserGuide
CHEMCADTutorials
6. Againmovethecursortotheworkspace,thistimeaboutaninchtotheright
ofthefirstheatexchanger,andclickthemouse.Asinglesidedheat
exchangericonappearsontheflowsheetwhereyouclicked.Yourflowsheet
sofarshouldlooksomethinglikeFigure1105.
7. AddtheFlashandValveUnitOpiconstoyourflowsheet,usingthestandard
icons.
8. Forthecondensatestabilizer,useadistillationcolumn.Multipledistillation
UnitOpsareavailable,butfornow,assumethatthemoduleyouwanttouse
istherigorousdistillationmodelcalledTower.YoullneedaTowericonwith
traysandareboilerbutnocondenser;thisisdifferentfromthedefaultTower
UnitOpicon.ClickthelowerrightcorneroftheTowericonsboxtoviewthe
subpalette,thenselecttheiconshowninFigure1106.
9. NowthatyouhaveselectedtheappropriateTowericon,addthisUnitOpto
theflowsheet.
10. PlacethreeProducticonsontheflowsheet,oneforeachproductstream.You
canquicklyplacethreeidenticalicons,simplybyclickingrepeatedlyina
CHEMCADVersion6UserGuide
135
CHEMCADTutorials
slightlydifferentlocation.WhenyouveclickedtocreatethethirdProduct
icon,rightclicktoturnofftheProductdrawingtool.
Drawing Streams
NowthatalloftheUnitOpsareinplace,selecttheStreamtoolandconnectthe
variousUnitOpsasappropriate.Rememberthateachstreammuststartatared
outletpointontheupstreamUnitOp,andendatablueinletpointonthe
downstreamUnitOp.
ToavoidhavingtoreselecttheStreamtooleachtime,makesurethatassoonas
youclicktocompleteonestream,youmovethecursortothenextlocationandclick
tostartthenextstream.
Drawstreamstoconnectthefollowing:
Feedstreamtofirstheatexchangersleftsideinlet
Firstheatexchangersrightsideoutlettosecondheatexchangersleftside
inlet
Secondheatexchangersrightsideoutlettoflashinletofyourchoice
Flashtopoutlettofirstheatexchangerstopinlet
Firstheatexchangersbottomoutlettonearestproducticon
Flashbottomoutlettovalveinlet
Valveoutlettotowerinletofyourchoice
Towertopoutlettonearestproducticon
Towerbottomreboileroutlettonearestproducticon
Asyoudrawstreams,CHEMCADassignsstreamIDs,justasitassignedUnitOp
IDswhenyoucreatedthoseitems.ThelabelsforstreamIDsaredisplayedin
squares,todistinguishthemfromtheUnitOpIDsdisplayedincircles.
Selecting Components
Nowyouneedtoidentifythecomponentstobeusedinthissimulation.Startby
selectingThermophysical>SelectComponents.ThisbringsuptheSelect
Componentsdialogbox,showninFigure1107.
136
CHEMCADVersion6UserGuide
CHEMCADTutorials
Forthisexample,youllchoosecomponentsfromthestandardCHEMCAD
database.IntheSelectComponentsdialogbox,findandaddeachneeded
component,beginningwithnitrogen:
1. IntheSearchbox,starttypingthewordnitrogen.
2. Assoonasyouvetypedni,youshouldsee46NitrogenN2highlightedin
theAvailableComponentsarea.Clicktherightarrowbuttontoaddnitrogento
yoursimulation.
3. UsethescrollbarintheAvailableComponentsareatoreturntothetopofthe
componentlist.
4. Holddownthe[CTRL]keyonyourkeyboardasyouclickeachofthe
followingcomponentsinturn:
Methane
Ethane
Propane
IButane
NButane
5. Clicktherightarrowbutton,locatedtotherightoftheAvailableComponents
area,toaddalloftheselectedcomponentstoyoursimulation.
6. Nowaddthefollowingcomponentsbydoubleclickingeachoneinturn:
IPentane
NPentane
10
NHexane
CHEMCADVersion6UserGuide
137
CHEMCADTutorials
7. SaveyourcomponentselectionsbyclickingOK.
138
CHEMCADVersion6UserGuide
CHEMCADTutorials
thePengRobinsonmethodforboththeKvalueandenthalpycalculations.Follow
thesestepstoselectyourthermophysicaloptions:
1. AcceptthedefaulttemperatureandpressurerangesintheThermodynamics
WizardandclickOK.
2. ClickOKagaintoacceptthewizardssuggestedmethodofSRK.
3. WhentheThermodynamicSettingsdialogboxopens,findtheGlobalK
ValueModelselection,intheupperleftcorneroftheKValueModelstab.
ThecurrentsettingisSRK,butforthepurposesofthetutorial,youllneedto
selectthePengRobinsonmodel.Clickthedownarrowattherightendofthe
selectionboxtoviewalonglistofKvaluechoices,thenclickPeng
Robinson.
Figure 11-09: The new K-value selection in the Thermodynamic Settings dialog box
4. NowclicktheEnthalpyModelstab.ThePengRobinsonmethodhasalready
beenenteredastheGlobalEnthalpyModelselection;thiswasdone
automaticallybecauseyouchosePengRobinsonasyourKvaluemethod.
Whileyoudohavetheoptiontooverridethischoice,inthiscaseyoullneed
tokeepthePengRobinsonmodel;leaveallsettingsastheyareandclickOK
toreturntothemainCHEMCADworkspace.
Forthepurposeofthistutorial,thethermodynamicselectionsarenowcomplete.
Note:WhileyouarenotrequiredtousetheThermodynamicsWizard,youshould
knowhowtouseit,ifonlyasastartingpointforyoursimulations.Youcanrevisit
thewizardatanytimebyselectingThermophysical>ThermodynamicsWizard.
CHEMCADVersion6UserGuide
139
CHEMCADTutorials
EngineeringUnitSelectiondialogbox,asdescribedearlierinthistutorial.
Doubleclickthelineforstream1,yourfeedstream,tobringuptheEditStreams
dialogbox.
Youwillspecifythefeedstreamaccordingtothefollowingrules:
TheStreamNamefieldcandisplayastreamlabelofupto16alphanumeric
characters.Thisfieldisoptional,andyoucanuseanylabelyoulike.
ThenextfourfieldsTempF,Prespsia,VaporFraction,andEnthalpy
MMBtu/harethethermodynamicpropertiesofthestream.Accordingtothe
GibbsPhaseRule,onceamixturescompositionisgiven,specifyinganytwo
ofthesefourthermodynamicpropertieswilldefinetheothertwo.Assuch,
definingthecomposition,temperature,andpressureforamixtureuniquely
definesitsvaporfractionandenthalpy.Alternatively,definingthe
composition,pressure,andenthalpywilluniquelydefinethemixtures
temperatureandvaporfraction.
Sinceenthalpiesarecalculatedrelativetoadatum,thecalculationofany
givenstreamenthalpyisaninvolvedprocesswhichispronetoerrors.For
thisreason,CHEMCADdoesnotpermityoutoenterstreamenthalpyasa
constraint.
140
CHEMCADVersion6UserGuide
CHEMCADTutorials
Inadditiontodefiningthestreamscomposition,youmustdefineexactly
twoofthefollowingproperties:temperature,pressure,andvaporfraction.
Thetwovariablesthatyouspecifywilldisplayasredtext,whilethethird
variableandthevalueenthalpywillbedisplayedinblackwhenyouflashthe
stream.
Anexceptiontothisconventionallowsyoutoaddheatdutywithanempty
stream.Ifyouspecifyatotalcomponentflowrateofzero,youmayspecifya
temperature,pressure,andenthalpyrate.Astreamdefinedthiswayis
treatedasaheatduty,andisaddedtotheheatbalanceoftheunit.The
temperatureandpressurearearbitraryforthissituation.
TheTotalflowunitandCompunitfieldsworktogethertoprovideavariety
ofwaystodefinestreamcompositions.Iftheselectedcompunitismole,
mass,orvolumefraction(eithergloballyorlocally),thentheTotalflowunit
selectionisavailable.Iftheselectedcompunitisafloworamountoption,
thenthetotalflowratebecomesthesumofthecomponentflowrates,and
theTotalflowunitselectionisnotavailable.
IftheCompunitfieldselectionisanamountflowunit(asopposedtoa
fractionalunit),thenthecomponentflowratevaluesareautomaticallyadded
asyouenterthem.ThecurrentsumisdisplayedintheTotalflowfield.
YoucanclicktheFlashbuttonatanytimetoperformaflashcalculation
usingthecurrentlyspecifiedcompositionandthermodynamicproperties.
Thisenablesyoutoobtainflashcalculationsquicklyandwithoutleavingthe
dialogbox.
Fractionsthatdonotaddupto1.0areautomaticallynormalizedwhenyou
eitherclickFlashorexitthedialogbox.
Withtheserulesandbehaviorsinmind,enterthedataforyourfeedstream.
1. Beginwiththestreamtemperature.ClicktheTempFlabel,thenclickthe
emptyfieldtoitsright.Type75andthenpressthedownarrowkeyonyour
keyboardtocontinue.
2. Type200inthePrespsiafield,thenpressthedownarrowkeyseveraltimes
untilyouarriveattheNitrogenfield.
Note:Beforeyoucontinue,verifythattheCompunitfieldissettolbmol/h.
3. Type100.19intheNitrogenfield,andtheninsimilarfashion,typethe
followingnumbersinthecorrespondingfields:
Methane:4505.48
Ethane:514
Propane:214
IButane:19.2
CHEMCADVersion6UserGuide
141
CHEMCADTutorials
NButane:18.18
IPentane:26.4
NPentane:14
NHexane:14
4. ClickOKtosavethisstreaminformationandreturntothemainCHEMCAD
workspace.
purposesofthistutorial,wellusethequickestandsimplestmethod,doubleclicking
eachUnitOptoaccessitsspecificationdialogbox.
2. AswithmanytypesofUnitOps,thedialogboxforspecifyingaheat
exchangerconsistsofmultipletabbedpages.Youcanbrowsethroughthe
Specifications,Misc.Settings,andCostEstimationstabsbyclickingeach
tabinturn.
3. Thepressuredroponbothsidesofthisexchangeris5psi.Onthe
Specificationstab,findthePressureDropsarea,andenter5inboththeStream
1andStream4fields.
4. Thefirststreamoutletmustbeatitsdewpoint,soyoullneedtospecifyan
outletvaporpressureof1.InthefieldnexttoVaporfractionstream2,enter1.
142
CHEMCADVersion6UserGuide
CHEMCADTutorials
5. ClickOKtosavethespecificationsforthisUnitOpandclosethedialogbox.
3. ClickOKtosavethespecificationsforthisUnitOpandclosethedialogbox.
Flash Drum
Inthissimulation,theflashdrumisavaporliquidseparatorandrequiresno
specification.
Valve
1. DoubleclickthevalveflowsheeticontobringuptheValvedialogbox.
2. Theoutletpressureforthisunitis125psia,soenter125intheOutletpressure
field.
3. ClickOKtosavethespecificationsforthisUnitOpandclosethedialogbox.
CHEMCADVersion6UserGuide
143
CHEMCADTutorials
Stabilizer Tower
1. DoubleclickthetowericontoopentheTOWRDistillationColumndialog
box.NotethatthesettingsforthisUnitOparedividedintofivetabs.
2.
OntheGeneraltab,enterthefollowing:
Colmpressdrop:5
No.ofstages:12
Feedtrayforstream:1
3. ClicktheSpecificationstabtomakespecificationsforthecolumn.This
columnhasnocondenserorsidestreams,soyouwillonlybemaking
specificationsforthereboiler.DropdownthelistofoptionsforSelectreboiler
mode,andselectthemodecalled4Bottommoleflowrate.
4. Nowyouneedtospecifythenumericvalueofthereboilerflowrate.Inthe
Specificationfieldimmediatelytotherightofyourreboilermodeselection,
enteravalueof30.
5.
ClickOKtosavethespecificationsforthisUnitOpandreturntothemain
CHEMCADworkspace.
Allofthedataentryfortheflowsheetisnowcomplete.Beforeyoucontinue,you
shouldsaveyoursimulation.Asnotedearlier,itsagoodideatodothisperiodically
asyoubuildthesimulation,butcompletionofyourUnitOpspecificationsisa
particularlygoodtimetostopandsave.
CHEMCADVersion6UserGuide
CHEMCADTutorials
dewpointtemperatureoftheproductgasistoplotallofthedewpointtemperatures
oftheproductgas,i.e.,toplotaphaseenvelope.
1. StartwiththePlotmenu,whichprovidesaccesstoalltypesofgraphical
reports.SelectPlot>PhaseEnvelopes.IntheSelectStreamsdialogbox,
specifystream5,thenclickOKtobringupthePhaseEnvelopedialogbox.
2. Noentriesarerequiredonthisscreensinceyouonlyneedtolookatthe
dewpointline,buttomaketheplotmoreinteresting,displaythe0.25andthe
0.5vaporfractionlinesinadditiontothenormalphaseenvelopeboundaries.
CompletethedialogboxasshowninFigure1113.
Figure 11-13: Plotting vapor fraction lines along with the cricondentherm dewpoint
3. ClickOKtocontinue.CHEMCADperformtherequiredflashcalculationsto
generatethespecifiedphaseenvelope.Phaseenveloperesultsareproduced
intwoformats:
Anumericaltabulation(table)ofthetemperature,pressure,vapor
fraction,vaporcompressibilityfactor,andtheliquidcompressibility
factor
Agraphicalplotoftemperatureandpressureforeachvaporfractionline
requested
Thetabularresultswillappearfirst;sinceyoureinterestedinthegraphical
results,closethewindowdisplayingthetable.Thescreenwillnowlook
similartoFigure1114.NotethatthemainCHEMCADbuttontoolbaris
largelyunavailablenow,andthemenuitemshavechanged.
CHEMCADVersion6UserGuide
145
CHEMCADTutorials
4. Todeterminewhetherthecricondenthermdewpointofstream5is20For
less,zoominonthefarrightportionofthedewpointcurve.Todothis,click
anddragwithyourmousetohighlightthatportionofthegraph
approximately400to1000psiand0to30F.Whenyoureleasethemouse
button,theselectedareawillfilltheentireplotwindow,givingyouaclose
upviewofspecificdatapoints.
5. Asthisviewshows,thehighestdewpointofthismixtureisalittlelessthan
20F,sothecricondenthermdewpointisindeedwithinthetargetproduct
gasspecification.Rightclickthemouseanywhereintheplotwindowto
returntothefullplotview.
6. Toprintthephaseenvelopeplot,clickthePrintbuttonandthenfollowany
promptsfromyourprinter.
146
CHEMCADVersion6UserGuide
CHEMCADTutorials
7. YoucanalsotrythefollowingtopracticeworkingwithplotsinCHEMCAD:
Editthetextoftheplottitle(inthiscase,PhaseEnvelopeforStream5)orthe
graphaxislabelsbyselectingChart>EditTitles.IntheChartTitles
dialogbox,makeanydesiredchangesandthenclickOKtoviewthe
updatedchart.
SelectChart>EdittoopentheChartExplorer,whichprovidesaccessto
settingsforcolor,size,layout,andvariousotheraspectsoftheplot
presentation.
8. Returntothemainsimulationwindowbyclickingthecharttabsredx
button,orleavethechartwindowopenandclickthemainsimulationtabat
thebottomleftoftheCHEMCADworkspace.
4. Returntothemainsimulationwindowbyclickingthereporttabsredx
button.
CHEMCADVersion6UserGuide
147
CHEMCADTutorials
WithFlowsheetQuickviewturnedon,pointyourmousecursoratstream9on
theflowsheet.Afteramoment,apopupinformationwindowappears,listing
streampropertiesincludingcomposition.Thevalueforpropaneshouldbe1orvery
closeto1,asshowninFigure1118.
148
CHEMCADVersion6UserGuide
CHEMCADTutorials
Nowthatyouhaveachievedtheresultsthatyousetouttoproduce,savethe
simulation,usingeitherFile>SaveortheSavebuttononthetoolbar.
ForStreams1,5,8,and9,thestreamcompositioninmassflowratesand
molefractions,aswellasthedefaultstreamproperties
Theequipmentsummariesforeverypieceofequipmentintheflowsheet
Towertrayprofilesforthecondensatestabilizer
Becauseyouwantareportwithabroadrangeofinformationaboutyour
simulation,usetheConsolidatedReportoption.
1. SelectReport>ConsolidatedReporttobringuptheReportWriterdialog
box.Fromhere,youcanspecifyexactlywhatyouwanttoincludeinyour
report.
2. Startbyspecifyingwhichstreamsyouwanttoinclude.ClicktheSelect
Streams&UnitOpstabandchecktheSelectStreams(OverrideDefaults)
box.Thisprovidesaccesstotheotherstreamselectionsettings.
3. ClicktheSelectFromFlowsheetbutton,whichbringsuptheSelectStreams
dialogbox.Eithertypeinthenumbers1,5,8,and9orclickthe
correspondingstreamsontheflowsheettoaddthenumbers.ClickOKto
returntotheSelectStreams&UnitOpstab.
4. TheAllUnitOpsoptionisselectedbydefault.Inthiscase,youdowantto
includeallUnitOpsinthereport,soleavethesettingsontherightsideofthe
tabastheyare.
5. ClickStreamPropertiesintheleftcolumntoviewthestreamproperties
options.ThenclickthePropertiestab,whichlistsacollapsedlistofall
availablestreamproperties.YoucanchecktheStreamProperties(Override
CHEMCADVersion6UserGuide
149
CHEMCADTutorials
Defaults)boxtoexplorethevariouspropertiesandseewhichonesare
selected,butforthepurposeofthistutorial,usethedefaultsettingsonthis
tab.
6. ClickStreamCompositionintheleftcolumntoviewthestreamcomposition
options.ThenclicktheStreamCompositionstab,whichlistsavailableand
selectedflowoptions.ClicktheStreamComposition(OverrideDefaults)
boxtogainaccesstotheseoptions.KeeptheMassFlowRateoption,and
doubleclickMoleFractionsintheleftcolumntoaddthisoptiontothelistof
selectedflowoptionsatright.
7. Finally,verifythattheTrayprofilereportsectionisincludedinthe
ConsolidatedReport.Youcanalsodeleteanyreportsectionsthatyoudont
need,andreorderthedesiredsectionstosuityourneeds.
8. ClickGeneratetorunanddisplaythereport.Youcannowreviewthe
results,rerunifdesired,savethereportforlateruse,andprintthereportas
needed.
9. Whenyoufinishreviewingandworkingwiththereport,clickCancelto
closetheReportWriterdialogboxandreturntothemainCHEMCAD
workspace.
150
CHEMCADVersion6UserGuide
CHEMCADTutorials
3. IntheDataboxPropertyOptionsdialogbox,reviewthedefaultselections,
indicatedbycheckedboxes.Forthepurposesofthistutorial,leavethe
selectionsastheyareandclickOKtocontinue.
4. IntheDataboxSettingsdialogbox,youcanindicatewhethertousedividing
lineswithinthebox.AcceptthedefaultsettingshereandclickOK.
5. ThestreamdataboxappearsintheupperleftcorneroftheCHEMCAD
workspace,butyouwanttoplaceitbelowtheflowsheet.Thedataboxis
alreadyselected,sopointyourmousecursoranywhereinsidetheboxand
thenclickanddragtorepositionit.Movethedataboxuntilitiscentered
belowtheflowsheetdiagram.
Note:Youcanalsoresizeadataboxbyselectingtheboxandthenclickingand
dragginganyofthesizinghandlesatthecorners.Dragintomakethedatabox
smaller,orouttomakeitlarger;noticethatthetextadjustsinsizetofitthebox.
6. NowplaceatitleonthePFDtodescribetheprocess.IntheAllUnitOpsor
DrawingSymbolspalette,findandselecttheTexttool.
7. Movethecursortoapointsomewhereabovetheflowsheetandclickthe
primarymousebutton.Averticalinsertionpointlinebeginstoblinkwhere
youhaveclicked.TypethewordsCondensateStabilizerPFDandthenclick
anyblankspotontheCHEMCADworkspace.
8. Tomakethistextlarger,selectFormat>Font.IntheFontdialogbox,change
theSizesettingto18andthenclickOK.
9. Clickanddragthenewheadingtocenteritabovetheflowsheetdiagram.
10. Finally,setupalayerforyourstreamdataboxandtitlesothatyoucan
displayorhidetheseitemsasasingleunit.AtthebottomoftheCHEMCAD
Explorerpane,clicktheSimulationtab,thenrightclicktheLayersitemand
selectNew.
CHEMCADVersion6UserGuide
151
CHEMCADTutorials
11. IntheNewLayerdialogbox,typeanameforthenewlayer.Forthis
example,namethelayerPFDElements,thenclickOKtocreatethelayer.
12. NowaddthetwoPFDelementstothelayer.Clickthetitlethatyouplaced
abovetheflowsheet,thenholddownthe[SHIFT]keyandclickinsidethe
streamdataboxthatyouplacedbelowtheflowsheet.Bothitemsshouldnow
beselected,withsmallblackboxesvisibleineachcorner.
13. IntheCHEMCADExplorerpane,doubleclicktheLayersitemtoexpandit,
thenrightclickonyournewlycreatedPFDElementslayerandclickAdd
Selected.
14. ThetitleandstreamdataboxarenowpartofthePFDElementslayer.This
layerisvisible,asindicatedbythegreencheckmarkonitsicon.Clickthis
iconorthenamePFDElementstotogglethelayeroff,causingthetitleand
streamdataboxtodisappear;thenclickagaintomakethemvisible.
15. WiththePFDelementsvisible,selectView>ZoomOptions>ZoomtoFit.
ThiscustomfitstheentirePFDtotheavailableworkspaceforoptimal
printing.Toprint,youcaneitherselectFile>PrintorclickthePrintbutton
onthemainCHEMCADtoolbar.Followthepromptsforyourprinterto
completetheprintingprocess.
16. TocloseCHEMCAD,selectFile>Close,orclicktheClosebuttoninthe
upperrightcorneroftheCHEMCADwindow.ClickYesatthemessage
askingwhetheryouwanttoexitCHEMCAD,thenclickYesagaintosave
changestothesimulation.
152
CHEMCADVersion6UserGuide
CHEMCADTutorials
CC-THERM Tutorial
Thistutorialwalksyouthroughtheratingofaheatexchanger.Theexampleyoull
workwithisthecondensatestabilizerexampledescribedintheCCSTEADYSTATE
tutorial,whichlookslikethis:
WhileitsrecommendedthatanewCHEMCADuserbuildthissimulationfrom
thegrounduptogainproficiencywiththesoftware,areadymadeexamplecalled
CHEMCADTutorial.CC6isalsoavailable.Thisfileislocatedbydefaultinthe
directorycalledMyDocuments\MySimulations\Examples\Tutorials.
Yourobjectiveistoratethefirstheatexchangerinthisflowsheet.Theequipment
youreworkingwithisacountercurrentgas/gasheatexchangerwiththefollowing
geometryanddimensions:
TEMAclass=R
TEMAtype=BEM
Foulingfactors=0.001bothsides
Shellinsidediameter=27
Numberoftubes=646
Tubeoutsidediameter=0.75
Tubewallthickness=0.065
Tubelength=20
Tubepattern=rotatedtriangular(60)
Tubepitch=0.9375
Baffles:10,equallyspaced
Baffletype=singlesegmental
Bafflecut=35%(diameter)
Impingementplatepresent
Shellsidenozzles=one,12
CHEMCADVersion6UserGuide
153
CHEMCADTutorials
Tubesidenozzles=one,12
BaffletoshellI.D.clearance=0.3125(diameter)
ShellI.D.toOTLclearance=0.35433(diameter)
Tubetobaffleholeclearance=0.035(diameter)
Spaceattopofbundle=2.8
Carbonsteeltubes;allothermaterialsA285C
5rowspersealingstrip
154
CHEMCADVersion6UserGuide
CHEMCADTutorials
4. CCTHERMdisplaysdataforallfourstreamsaroundtheexchangerina
separatereportwindow.Revieworprintthedataasneededandthenclose
thereportwindow.
Toaccountforthechangeinphysicalpropertiesacrosstheheatexchanger,CC
THERMdividestheanalysisintozones.Thesezonesarethermodynamicsegments
basedonequaltemperaturechangesorequalenthalpyincrements.Therearetwo
optionstochoosefrom:
Equalenthalpy:Incrementsofequalenthalpychange
Bubbledewpoint:Incrementsofequalenthalpychangebetweenthedew
andbubblepoints,withseparatezonesforsuperheatingandsubcoolingif
present
Thedefaultsettingisthebubbledewpointoption.Foreithersegmentation
method,youcanalsodecidehowmanyzonestocalculatefortheexchanger.The
morezonesyouspecify,themoreaccuratethecalculationswillbe,butcalculations
willalsobeslower.Theindustrystandardis10zones(11points),whichisthe
defaultentryhere,butyoucanselectanynumberbymakinganentryinthe
Numberofcuttingpointsfield.Bearinmindthatthenumberofpointsequalsthe
numberofzonesplusone.
Forthistutorial,leaveallthedefaultsettingsandclickOKtocontinue.CC
THERMcalculatesthe11pointsneededfortheheatcurveanddisplaysaplotlike
theoneshowninFigure1122.
CHEMCADVersion6UserGuide
155
CHEMCADTutorials
Thisplotenablesyoutoinspectthecalculatedheatcurveforanyobvious
problemsinthesetupoftheanalysis.ClickOKtoclosethiswindowandcontinue.
156
Calculationmode:Thisentrydetermineswhetheryouaredesigningor
ratingaheatexchanger.UsethedefaultsettingofRating.
TEMAclass/standard:ThisentryspecifiestheexchangersTEMAclass,
whichisprimarilyafunctionofitsmechanicaldetails.Usethedefaultsetting
ofTEMAR.
Orientation:Thisentryspecifieswhethertheexchangerismounted
horizontallyorvertically.UsethedefaultsettingofHorizontal.
TEMAfrontendhead,TEMAshelltype,andTEMArearendhead:To
establishthebasicconfigurationoftheexchanger,youmustdefinethese
characteristicsoftheexchangeraccordingtoTEMAdesignations.The
simplestandmostcommonkindofexchangerisafixedtubesheet,orBEM,
TEMAtype.SelectBBonnetforthefronthead,EOnePassfortheshell
type,andMFixedTubesheet(Bhead)fortherearhead.
Processtype:Insomecases,youmustidentifytheprocesstype,forexample
inthecaseofpoolboilingorfallingfilmcondensation.Inthiscase,usethe
CHEMCADVersion6UserGuide
CHEMCADTutorials
defaultselectionofSensibleFlowforbothtubesideandshellside,asthere
isnophasechangeoneithersideoftheexchanger.
FoulingfactorToallowforfoulingontheinsideandoutsideofthetube,
youcanenterfoulingfactors.Usethedefaultsettingof0.001(Englishunits)
onbothsides.
OntheModelingMethodstab,youcanselecttheformulastobeusedincertain
aspectsoftheheatexchangercalculations.Forthepurposesofthistutorial,usethe
programsdefaultselections.ClickOKtocontinue.
Enter646intheNumberoftubesfieldandclickOKtocontinue.
CHEMCADVersion6UserGuide
157
CHEMCADTutorials
Theonlyvaluethatyouneedtospecifyhereistheshelldiameter.CCTHERM
assumesthatthevalueenteredhereistheactualshellinsidediameter.Type2.25(the
equivalentinfeetto27)intheShelldiameterfieldandthenclickOKtocontinue.
Note: TheCHEMCADsuitehasahandybuiltinconversionfeaturethatcanhelp
wheninputfieldsrequireadifferentunitofmeasurethanthedatayouhave.Place
yourcursorinanynumericdataentryfield,andthenpress[F6]tobringupadialog
boxthatoffersconversionunitsrelevanttotheselectedfield.Typethevalueyou
haveintheappropriatefieldandpress[ENTER]toconverttootherunits.Verifythe
resultsoftheconversionandthenclickOK.CHEMCADautomaticallyselectsthe
appropriateunitsforthefieldandentersthatconvertedvalue.
Mostofthedefaultentrieshereareappropriateforthisexample;youdo,
however,needtospecifythebafflespacingandbafflecut.
Baffle Spacing
Allthatyouknowforthepurposesofbafflespacingisthatthereare10baffles
equallyspaced.Eraseanydefaultvaluesforspacingandenter10intheNumberof
bafflesfield.CCTHERMwillcalculateequalspacingforthebaffles.
158
CHEMCADVersion6UserGuide
CHEMCADTutorials
Thedefaultentriesareacceptableforthisexample,soyouonlyneedtoenterthe
insidediameterfortheinletandoutletnozzlesonboththetubeandshellsides.All
ofthesenozzleshave1internaldiameters.
Enter1ineachofthefourfieldsatthetopofthedialogbox,thenclickOKto
continue.
CCTHERMalwaysdefaultstoTEMAclearances,sonormallynoentryis
requiredinthisdialogbox.Inthiscase,theclearancesareknown,soyoushould
enterthemintheeventtheydonotconformexactlytoTEMA.Youcanusethe[F6]
featurenotedearlierinthistutorialtoconvertthegivenclearancesfrominchesto
feet.
CHEMCADVersion6UserGuide
159
CHEMCADTutorials
Also,becausethereisanimpingementplate,youneedtoenterthespaceatthe
topofthebundle.Type0.233333intheSpaceatTopofBundlefieldandthenclick
OKtocontinue.
Here,youcanspecifythematerialsofconstructionfortheheatexchanger.For
thisexample,usethedefaultentries:carbonsteelforthetubesandA285Cforall
othermaterials.ClickOKtocontinue
TheonlyfieldthatisimportanttothisexampleisRowsperSealingStrip.The
defaultentryof5iswhattheexamplecallsfor,soleavethedialogboxasitisand
clickOKtocontinue.
160
CHEMCADVersion6UserGuide
CHEMCADTutorials
ClicktheCalculatebuttononthemenu.Thecalculationwillrunveryfast,
showingruntimemessagesonthestatusbarandthenreturningyoutotheShelland
TubeExchangermenu.
CHEMCADVersion6UserGuide
161
CHEMCADTutorials
Clickanyofthesebuttonstoviewvariousreportsoneverythingfrombaffle
parameterstovibrationanalysis.Whenyouselectareport,thedatadisplaysina
separatewindow,whichyoucanrevieworprintandthenclose.Toreturntothe
ShellandTubeExchangermenuatanytime,clicktheExitbutton.
YoucanalsodisplayresultsgraphicallybyclickingPlot.ThisopensthePlot
menu,fromwhichyoucanselectavarietyofzonebyzonegraphs.
Theseplotsopeninaplotwindow,justliketheheatcurveplotthatyouwesaw
atthebeginningofthistutorial.WhenyouclickOKtocloseanyplot,youwillreturn
totheShellandTubeExchangermenu.
Youcanalsoprinttabulated,hardcopyreportsusingtheSelectReportsand
GenerateReportsoptionsontheShellandTubeExchangermenu.First,clickSelect
ReportstobringuptheReportSelectiondialogbox.
162
CHEMCADVersion6UserGuide
CHEMCADTutorials
Selectareportviewer,andchecktheboxesforthereportsthatyouwantto
generate.ClickOKtoreturntotheShellandTubeExchangermenu,thenclick
GenerateReports.Allofthereportsthatyouselectedwillbegeneratedand
displayedusingtheviewerthatyouchose.
ClickExittoclosetheShellandTubeExchangermenu,thenclickYeswhen
askedwhetheryouwanttosaveyourchanges.Youcannowrevieworprintthe
report.
CHEMCADVersion6UserGuide
163
CHEMCADTutorials
CC-BATCH Tutorial
ThistutorialwalksyouthroughtheprocessofusingCCBATCHtosimulateabatch
distillationcolumn.
Thefollowingaredetailedspecificationsforthisproblem:
ThermodynamicSelections
ColumnSpecifications
K-value:PengRobinson
No.ofinternalstages:8
Enthalpy:PengRobinson
No.ofoperations:5
Internalstageholdup:0.01ft3
Condenserholdup:0.1ft3
Condenserpressure:14.7psia
Columnpressuredrop:2psia
164
InitialChargeConditions
InitialChargeComposition(molefrac)
Temperature:Calculated
Pressure:16.7psia
VaporFraction:0atbubblepoint
Totalamountofcharge:
100lbmol
Propane: 0.1
N-Butane: 0.3
N-Pentane: 0.1
N-Hexane: 0.5
CHEMCADVersion6UserGuide
CHEMCADTutorials
OperatingStep1
OperatingStep2
Purpose:Propaneremoval
Purpose:Propaneremoval
Refluxratio:5
Refluxratio:20
Distillatemolarflowrate:2
Distillatemolarflowrate:2
Stopwhen:Distillatemole
fractionofNButaneis0.2
Stopwhen:Distillatemolefractionof
NButaneis0.985
Materialstobeaddedatstart:
None
Materialstobeaddedatstart:None
OperatingStep3
OperatingStep4
Purpose:Butaneproduction
Purpose:Pentaneremoval
Refluxratio:25
Refluxratio:15
Distillatemolarflowrate:2
Distillatemolarflowrate:2
Stopwhen:Accumulatormole
fractionofNButaneis0.99
Stopwhen:Distillatemolefractionof
NHexaneis0.2
Materialstobeaddedatstart:20
lbmolofmolefraction40%N
Butane/60%NHexane,atits
bubblepointat16.7psia
Materialstobeaddedatstart:None
OperatingStep5
Purpose:Pentaneremoval
Refluxratio:25
Distillatemolarflowrate:2
Stopwhen:Bottommolefraction
ofNHexaneis0.9998
Materialstobeaddedatstart:
None
165
CHEMCADTutorials
6. Specifypotcharge.
7. Specifythedistillationcolumn.
8. Defineoperatingsteps.
9. Runthesimulation.
10. Reviewtheresultsandprintasneeded.
Placing UnitOps
BeginbyplacingtheBatchColumnunitonthescreen.
1. OntheAllUnitOpspalette,clicktheBatchcolumntool(seeFigure1135)
andthenclickinthemainCHEMCADworkspace.Thebatchcolumnicon
appearswhereyouclicked.
2. ClicktheTanktool(seeFigure1136).Ontheworkspace,clicktotherightof
thebatchcolumntoplaceatankicon.Thenclickjustbelowthefirsttank,and
166
CHEMCADVersion6UserGuide
CHEMCADTutorials
clickagainbelowthesecondtank.Whenyouhaveplacedallthreetankson
theflowsheet,rightclicktodeactivatetheTanktool.
3. ClicktheProducttool(seeFigure1137)andinsimilarfashion,placethree
productarrowsontheflowsheet,eachonebelowandtotherightofatank
icon.RightclicktodeactivatetheProducttool.
Drawing Streams
NowthatalloftheUnitOpsareinplace,selecttheStreamtoolandconnecteach
tanksoutlettothenearestproductarrow.Thesearetheonlystreamsthatyouneed
forthistutorial.
Note:Inthissimulation,thebatchdistillationcolumntransfersproductstothetanks
baseduponbatchoperationparametersthatyouprovide.Streamconnections
betweenthecolumnandthetanksarenotnecessary,andareambiguousgiventhe
dynamicnatureofsuchstreams.
Rememberthateachstreammuststartataredoutletpointontheupstream
UnitOp,andendatablueinletpointonthedownstreamUnitOp.Toavoidhavingto
reselecttheStreamtooleachtime,makesurethatassoonasyouclicktocomplete
onestream,youmovethecursortothenextlocationandclicktostartthenext
stream.
Asyoudrawstreams,CHEMCADassignsstreamIDs,justasitassignedUnitOp
IDswhenyoucreatedthoseitems.ThelabelsforstreamIDsaredisplayedin
squares,todistinguishthemfromtheUnitOpIDsdisplayedincircles.
Atthispoint,theflowsheetshouldlooksimilartoFigure1134.
CHEMCADVersion6UserGuide
167
CHEMCADTutorials
Selecting Components
Nowyouneedtoidentifythecomponentstobeusedinthissimulation.Startby
selectingThermophysical>SelectComponents.
Forthisexample,youllchoosecomponentsfromthestandardCHEMCAD
database.IntheSelectComponentsdialogbox,findandaddeachneeded
component.
1. Holddownthe[CTRL]keyonyourkeyboardasyouclickeachofthe
followingcomponentsinturn:
Propane
NButane
NPentane
10
NHexane
2. Clicktherightarrowbutton,locatedtotherightoftheAvailableComponents
area,toaddalloftheselectedcomponentstoyoursimulation.TheSelect
ComponentsdialogboxshouldnowlooklikeFigure1138.
3. SaveyourcomponentselectionsbyclickingOK.
CHEMCADVersion6UserGuide
CHEMCADTutorials
3. Ifthemethodisanactivitymodel,theprogramthenlooksattheBIP
databasetoseewhichmodelhasthemostdatasetsforthecurrentproblem.
ItthencalculatesthefractionalcompletenessoftheBIPmatrix.Ifthatfraction
isgreaterthantheBIPthresholdparameter,itusesthechosenactivity
method;ifnot,itusesUNIFAC.
TheThermodynamicsWizardisnoreplacementforengineeringjudgment.Thistool
usesanalgorithmbasedongeneralrules,andisthereforefallible.Thesuggested
modelmightnotalwaysbethebestmodelforthesystem.
Selectingthermodynamicoptionsbasicallymeansselectingamodelormethod
forcalculatingvaporliquid(orvaporliquidliquid)phaseequilibrium(calledtheK
valuemodel)andselectingamethodormodelforcalculatingtheheatbalance(called
theenthalpymodel).Thecommandsfortheseselectionsarelocatedonthe
Thermophysicalmenu.
CHEMCADhasalibraryofdozensofKvaluemodelswithavarietyofoptions
andabout12enthalpymodels.Makingtheproperselectionfromtheselibrariescan
sometimesbedifficult.Forthepurposesofthistutorial,assumethatyouwanttouse
thePengRobinsonmethodforboththeKvalueandenthalpycalculations.Follow
thesestepstoselectyourthermophysicaloptions:
1. AcceptthedefaulttemperatureandpressurerangesintheThermodynamics
WizardandclickOK.
2. ClickOKagaintoacceptthewizardssuggestedmethodofSRK.
3. WhentheThermodynamicSettingsdialogboxopens,findtheGlobalK
ValueModelselection,intheupperleftcorneroftheKValueModelstab.
ThecurrentsettingisSRK,butforthepurposesofthetutorial,youllneedto
selectthePengRobinsonmodel.Clickthedownarrowattherightendofthe
selectionboxtoviewalonglistofKvaluechoices,thenclickPeng
Robinson.
Figure 11-39: The new K-value selection in the Thermodynamic Settings dialog box
CHEMCADVersion6UserGuide
169
CHEMCADTutorials
4. NowclicktheEnthalpyModelstab.ThePengRobinsonmethodhasalready
beenenteredastheGlobalEnthalpyModelselection;thiswasdone
automaticallybecauseyouchosePengRobinsonasyourKvaluemethod.
Whileyoudohavetheoptiontooverridethischoice,inthiscaseyoullneed
tokeepthePengRobinsonmodel;leaveallsettingsastheyareandclickOK
toreturntothemainCHEMCADworkspace.
Forthepurposeofthistutorial,thethermodynamicselectionsarenowcomplete.
Note:WhileyouarenotrequiredtousetheThermodynamicsWizard,youshould
knowhowtouseit,ifonlyasastartingpointforyoursimulations.Youcanrevisit
thewizardatanytimebyselectingThermophysical>ThermodynamicsWizard.
TheTempF,Prespsia,VaporFraction,andEnthalpyMMBtu/hfieldsare
thethermodynamicpropertiesofthecharge.AccordingtotheGibbsPhaseRule,
onceamixturescompositionisgiven,specifyinganytwoofthesefour
thermodynamicpropertieswilldefinetheothertwo.Assuch,definingthe
composition,temperature,andpressureforamixtureuniquelydefinesits
vaporfractionandenthalpy.Alternatively,definingthecomposition,
pressure,andenthalpywilluniquelydefinethemixturestemperatureand
vaporfraction.
Sinceenthalpiesarecalculatedrelativetoadatum,thecalculationofany
givenenthalpyisaninvolvedprocesswhichispronetoerrors.Forthis
reason,CHEMCADdoesnotpermityoutoenterenthalpyasaconstraint.
Inadditiontodefiningthepotcomposition,youmustdefineexactlytwoof
thefollowingproperties:temperature,pressure,andvaporfraction.Thetwo
variablesthatyouspecifywilldisplayasredtext,whilethethirdvariable
andthevalueenthalpywillbedisplayedinblackwhenyouflashthecharge.
170
TheTotalflowunitandCompunitfieldsworktogethertoprovideavariety
ofwaystodefinechargecomposition.Iftheselectedcompunitismole,mass,
orvolumefraction(eithergloballyorlocally),thentheTotalflowunit
selectionisavailable.Iftheselectedcompunitisanamountoption,thenthe
totalchargebecomesthesumofthecomponentquantities,andtheTotal
flowunitselectionisnotavailable.
IftheCompunitfieldselectionisanamountunit(asopposedtoafractional
unit),thenthecomponentchargevaluesareautomaticallyaddedasyou
enterthem.ThecurrentsumisdisplayedintheTotalflowfield.
CHEMCADVersion6UserGuide
CHEMCADTutorials
YoucanclicktheFlashbuttonatanytimetoperformaflashcalculation
usingthecurrentlyspecifiedcompositionandthermodynamicproperties.
Thisenablesyoutoobtainflashcalculationsquicklyandwithoutleavingthe
dialogbox.
Fractionsthatdonotaddupto1.0areautomaticallynormalizedwhenyou
eitherclickFlashorexitthedialogbox.
Withtheserulesandbehaviorsinmind,enterthedataforyourpotcharge:
1. DoubleclickthebatchcolumntoopentheEditBatchChargedialogbox.
2. InthePrespsiafield,type16.7,thenpress[TAB]andtype0intheVapor
Fractionfield.
Note:Itsimportantthatyouactuallytypea0overtheexisting0entryintheVapor
Fractionfield.ThistellsCCBATCHthatyouarechoosingtospecifyavapor
fraction.
3. IntheCompunitfield,selectmolefrac.Youcannowtypeavalueof100in
theTotalflowfield.
4. Type0.1inthePropanefield,andtheninsimilarfashion,typethefollowing
numbersinthecorrespondingfields:
NButane:0.3
NPentane:0.1
NHexane:0.5
5. ClickOKtosavethischargeinformationandcontinue.
CHEMCADVersion6UserGuide
171
CHEMCADTutorials
MakethefollowingentriesontheGeneraltabofthisdialogbox:
Numberofstages:8
Numberofoperationsteps:5
Stageholdup:.01
Condenserholdup:1
Condpressure:14.7
Colmpresdrop:2
Whenyouhaveenteredtheseparameters,clickOKtosavethedataand
continue.
172
CHEMCADVersion6UserGuide
CHEMCADTutorials
Inthisdialogbox,youlldefinetheparametersforeachoperatingstepofthe
batchcampaign.Beforeyoubegin,youneedtounderstandhowCCBATCHhandles
tankassignments.
TheProductassignmentfieldsidentifytheaccumulatortowhichaproductor
decantstreamwillbesent.Youcanusethisoptionevenifyoudonotplacetankson
theflowsheet;simplydesignatingaUnitOpIDnumberissufficient.Inthiscase,its
importantthatyoudesignateaUnitOpIDthatisnotalreadyinuse.
SinceCCBATCHpermitsvaporliquidliquiddistillation,theremaybetwo
liquidphasesinthecondenser,possiblygivingrisetodecantingofonephaseorthe
other.TheDistillateTank#fieldentryrepresentsthetankthataccumulatesthe
distillate.TheDecanterTank#fieldentryrepresentsthetankthataccumulatesthe
decantedliquid,ifany.
Operating Step 1
Foroperatingstep1,makethefollowingentriesintheBatchOperationParameters
dialogbox:
ChangetheStartupoptionfieldto1Startwithtotalreflux.
IntheProductassignmentarea,enter2intheDistillatetank#field.
IntheFirstspecvaluefield,enter5asthevalueoftherefluxratio.
IntheSecondspecvaluefield,enter2.
CHEMCADVersion6UserGuide
173
CHEMCADTutorials
IntheOperationstepstopoptionsarea,settheStopwhenoptiontoDistillate,
settheMeasuredvariableoptiontoMolefraction,andenter0.2intheStop
valuefield.IntheComponentfieldthatnowappears,select2NButane.
IntheMin.runtimefield,enter0.5.
Whenyouhavemadetheseentries,clickOKtomoveontothenextoperating
step.
Operating Step 2
Foroperatingstep2,makethefollowingentriesintheBatchOperationParameters
dialogbox:
Enter2intheDistillatetank#field.
Enter20intheFirstspecvaluefieldand2intheSecondspecvaluefield.
StoptheoperationwhenthemolefractionofNButaneinthedistillateis
0.985.
Whenyouhavemadetheseentries,clickOKtomoveontothenextoperating
step.
Operating Step 3
Followthesestepsforoperatingstep3:
1. MakethefollowingentriesintheBatchOperationParametersdialogbox:
Enter3intheDistillatetank#field.
Enter25intheFirstspecvaluefieldand2intheSecondspecvaluefield.
StoptheoperationwhenthemolefractionofNButaneinthe
accumulatoris0.99.
2. ClicktheAdditionalSettingstab.Hereyouwillspecifytheadditionof20
molesofmixturetothepot,withacompositionof40%butaneand60%
hexane.ChecktheAddmaterialtopotboxandthenclickOKtobringupthe
EditBatchChargedialogbox.
3. InthePrespsiafield,type16.7,thenpress[TAB]andtype0intheVapor
Fractionfield.
4. Enterthefollowingcompositionsettings:
SettheCompunitfieldtomolefrac.
Enter0.4intheNButanefield.
Enter0.6intheNHexanefield.
Enter20intheTotalflowfield.
5. ClickOKtocontinuetothenextoperatingstep.
174
CHEMCADVersion6UserGuide
CHEMCADTutorials
Operating Step 4
Foroperatingstep4,makethefollowingentriesintheBatchOperationParameters
dialogbox:
Enter4intheDistillatetank#field.
Enter15intheFirstspecvaluefieldand2intheSecondspecvaluefield.
StoptheoperationwhenthemolefractionofNHexaneinthedistillateis0.2.
IntheMin.runtimefield,enter0.5.
Whenyouhavemadetheseentries,clickOKtomoveontothefinaloperating
step.
Operating Step 5
Foroperatingstep5,makethefollowingentriesintheBatchOperationParameters
dialogbox:
Enter4intheDistillatetank#field.
Enter25intheFirstspecvaluefieldand2intheSecondspecvaluefield.
StoptheoperationwhenthemolefractionofNHexaneintheresidual
chargeatthebottomofthecolumnis0.9998.
IntheMin.runtimefield,enter0.5.
Whenyouhavemadetheseentries,clickOKtocontinue.
CHEMCADVersion6UserGuide
175
CHEMCADTutorials
Forthisexample,thedefaultdisplayaplotofdistillatemolefractionsforall
fourcomponentsiswhatyouwant,soclickOKtobringuptheBatchDistillation
menu.
Thismenuprovidesaccesstotheentryscreensforalldefinedoperationsteps,as
wellasoptionsforinserting,deleting,andcopyingoperationsteps.Youmightwant
toreviewtheoperatingstepsandverifyyourentriesbeforerunningthesimulation.
Whenyouarefinished,clicktheExitbuttontoclosethemenu.
Errormessagesmustbefixedbeforethesimulationcanproceed.Under
specificationofthebatchcolumnwouldbeanexampleofthistypeoferror.
Warningmessagesareusuallyinputomissions,whichmayormaynotcause
problemsuponexecution.Thesearenonfatalerrorsthatdonotnecessarily
needtobecorrectedpriortosimulation.
Assumingthatyoucorrectlyspecifiedthepotchargeandsubsequentoperation
steps,youshouldseenomessages;theprogramwillproceeddirectlytothe
calculation.
Youwillseethedistillatemolefractionsplottedonthescreeninaplotwindow.
Eachtimetheprogramproceedstothenextoperatingstep,anewplotwindowwill
open,alongwithanewtabatthebottomofthemainCHEMCADworkspace.
Duringtherun,onlythecurrentstepsplotisvisible.Whenthesimulationis
finished,thedynamicplotwillquitscrollingandaRunfinishedmessagewillappear
atthefarleftendoftheCHEMCADstatusbar.
Aftertherun,youcanviewtheplotforaparticularoperatingstepbyclicking
thecorrespondingtabatthebottomoftheCHEMCADworkspace.Tocloseany
plotstab,clicktheClosebutton(markedwithanx)onthetab.Tocloseallofthe
plottabsatthesametime,selectWindow>CloseAllCharts.
176
CHEMCADVersion6UserGuide
CHEMCADTutorials
4. ClickOKtoviewthecompositeplot,whichshouldresembleFigure1146.
CHEMCADVersion6UserGuide
177
CHEMCADTutorials
Revieworprinttheresultsasneeded,andthenclosetheplottabtoreturntothe
simulation.
Operatingstepresults
Batchcolumnhistory
Finalbatchcolumnholdup
Becauseyouwantareportwithabroadrangeofinformationaboutyour
simulation,usetheCHEMCADReportWritertool.
1. SelectReport>NewtobringuptheReportWriterdialogbox.
2. IntheAddNewReportSectionlist,thefirstthreeitemsareBatch
DistillationResults,BatchHistory,andBatch/DynamicColumnHoldup.
DoubleclickeachoftheseitemsinturntoaddthemtotheCurrentReport
Sectionslistatleft.
178
CHEMCADVersion6UserGuide
CHEMCADTutorials
3. ClickGeneratetocreatethereport.Youcanthenedit,save,andprintthe
reportasneeded.
4. Whenyoufinishreviewingandworkingwiththereport,clickCancelto
closetheReportWriterdialogboxandreturntothemainCHEMCAD
workspace.
CHEMCADVersion6UserGuide
179
CHEMCADTutorials
Piping Tutorial
Apipingnetworkrepresentstheflowoffluidsthroughseveralpiecesofequipment.
Ifsufficientvariables(flowrateandpressure)arespecifiedonthepipingnetwork,
CHEMCADcalculatestheunknownvariables.
Forfluidflowthroughequipment,flowratemaybecalculatedasafunctionof
theinletandoutletpressure.Ifyouknowanytwoofthesethreevariables,
CHEMCADcancalculatethethird.
Inthistutorial,youwillworkwithCHEMCADspipingfeatures.Youwill
performcontrolvalveandorificesizingandrating;simulatecomplexpiping
networks;usefeedbackcontrollers;calculateNPSH;andmakeappropriate
equipmentselections.
Problem Statement
Forthispartofthetutorial,referencetheflowsheetshowninFigure1148.This
exampleiscalledExample1,anditslocatedintheMy
Simulations\Examples\Pipingfolder.
D-1
-9F
225 psig
D-2
-1F
15 psig
D-3
-28F
0.2 psig
Youneedtosizecontrolvalvesforhandlingaflowof113,000lb/hrofliquid
ammoniaineachlinecomingfromvesselD1.Youmustselectproperlysizedvalves
andthendeterminethepercentopenforeachvalveattheratedservice.
Toperformtheinitialsizing,allyouneedarestreamswiththecorrectproperties
(seeFigure1149).Itisnotnecessarytomodelthetanks.
180
CHEMCADVersion6UserGuide
CHEMCADTutorials
1
1
AllthreestreamsinFigure1149areattheinletconditionsof9Fand225psig.
Thedividersplitsthe226,000lb/hrflowintotwoequalflowsof113,000lb/hrof
ammonia.
Toperformtheinitialsizing,followthesesteps:
1. ClicktheRunAllbuttononthemainCHEMCADtoolbartocalculatethe
flowinformationforstreams2and3.Bothstreamsshouldbeat9F,225
psig,and113,000lb/hrofammonia.
2. Clickstream2toselectit.Thestreamisselectedwhenitisshownbracketed
byblacksquares.SelectSizing>ControlValvetobringuptheControlValve
Sizingdialogbox.
3. IntheDownstreampressurefield,enter15.ClickOKtodisplayacontrol
valvesizingreportinaseparatewindow.CHEMCADreportstheproperties
ofthestreamandthecalculatedparametersforthevalve.
4. Repeattheprocedureforstream3,usingadownstreampressureof0.2psig.
Rating Case
Thenexttaskistoratethesevalvesinasimulation.Youneedtodeterminethevalve
positionforthesevalvesinthisserviceat113,000lb/hr.Sincethistaskmodelsthe
behaviorofthecontrolvalves,youwillneedaslightlylargerflowsheet,asshownin
Figure1151.
CHEMCADVersion6UserGuide
181
CHEMCADTutorials
1
1
3
2
4
8
5
9
TheflashUnitOpsattheendarenotnecessary;theyareincludedtoillustratethe
vaporandliquidflowratesinseparatestreamsifflashingoccurs.
Thedividerisstillsetto113,000lb/hr,andtheflashtanksaresettothemode
calledSpecifyTandP;calculateV/FandHeat.FlashUnitOp#2issetto1Fand15
psig.FlashUnitOp#3issetto28Fand0.2psig.
Followthesestepstoratethecontrolvalves:
1. Doubleclicktheiconforcontrolvalve#4toopentheControlValvedialog
box.
182
CHEMCADVersion6UserGuide
CHEMCADTutorials
2. IntheValveflowcoefficient(Cv)field,enter36.IntheDownstream
pressurefield,enter15.SelecttheOperatingmodeoptioncalledFix
flowrate,adjustvalveposition.ClickOK.
3. Nowdoubleclicktheiconforcontrolvalve#5.Forthisvalve,selectthesame
operatingmodethatyouusedforvalve#4.Specifyavalveflowcoefficientof
54andadownstreampressureof0.2psig,andthenclickOK.
4. ClicktheRunAllbuttononthetoolbartorunthesimulation.
5. Toviewtheresults,firstclickablankareaoftheCHEMCADworkspaceto
ensurethatnoUnitOpsarecurrentlyselected.ThenselectReport>UnitOps
>SelectUnitOps.
6. IntheSelectUnitOpsdialogbox,type4,press[RETURN],andthentype5.
ClickOKtobringupareportforthesetwovalves.
Thereportshowsthatvalve#4isat72.5%open,andvalve#5isat53.3%open.
Toseehowmuchvaporizationoccursacrossvalve#5,rightclickthevalveand
selectViewStreamProperties.ThisvolumechangeiswhyCHEMCADchosea
largervalveforthesecondstream.Withthevaporizationoccurringinthevalve,a
smallertwoinchvalvebodywouldbeapproachingsonicvelocitythroughthevalve
body.
CHEMCADVersion6UserGuide
183
CHEMCADTutorials
D-1
-9 F
225 psig
D-2
-1 F
30 psig (UPSET condition)
Cv =36
72.5 % open
Cv =54
53.3% open
D-3
-28F
0.2 psig
Toanswerthisquestion,youneedaspecialUnitOpcalledanode.Anodeisa
pointinthesimulationthathasapressure,aflowcomingin,andaflowgoingout.
Thenodeunitscreateanetwork,solvingforflowrateateachpointbasedonthe
fixedpressures.Nodesareplacedontheflowsheetimmediatelyupstreamand
downstreamfromeachcontrolvalve.Figure1154showsthesystemwithnodesin
place.
11
6
10
11
17
7
13
15
18
12
12
19
10
8
14
16
20
Figure 11-54: Nodes located upstream and downstream from control valves
Thefunctionofthedividertosplittheincomingflowisnowhandledbynode
#6.Thenodewillbalancetheflowratessothatallstreamsenteringandexitingthe
nodeareatthesamepressure.Nodesarealsoplacedbetweentheflashvesselsand
thecontrolvalves.Atthenodesyoucanfixthepressures,andlettheflowratevary
asafunctionofvalvepositionandpressuredifference.
Toseehowthesenodesaresetup,youcandoubleclicknode#6toopenthe
Nodedialogbox.
184
CHEMCADVersion6UserGuide
CHEMCADTutorials
Thefixedpressureatthisnodeis225psig.TheinletflowmodeissettoFreeinlet
stream,andthetwooutletstreamsaresettoFlowsetbyUnitOp.Theflowintoeach
controlvalvewillbedeterminedbythecontrolvalveopeningpositionandthe
pressuredifferenceacrossthevalve.
Fornode#9,thefixedpressureissetto30psig,andfornode#10,thepressureis
0.2psig.Flowintoeachofthesenodesiscontrolledbythecontrolvalveusingthe
FlowsetbyUnitOpmode;flowoutissettoFreeOutletstream.
Thecontrolvalvesneedtobechangedtofixthevalvepositionandcalculateflow
rate.Todothis,settheOperatingmodeforeachvalvetoFixvalveposition,adjust
flowrate.
Aftermakingthischange,clicktheRunAlltoolbarbuttontorunthesimulation.
Afterrunning,youcanviewthestreamsaroundnode#6byrightclickingthenode
andselectingViewstreamcomposition.Theresultingreport(Figure1156)shows
thattheflowrateforstream11(upstreamfromD2)hasdroppedfrom113,000lb/hr
to109,138lb/hr.Thisillustratestheeffectofbackpressureontheflowratesthrough
thevalves.
CHEMCADVersion6UserGuide
185
CHEMCADTutorials
Problem Statement
Thepipingsystemshownmustbedesignedtotransport120gpmofglacialacetic
acidat70140F.Thepressureattheinletisknownat20psia,andtheoutletmustbe
nolessthan20psia.Thepipingsystemanditsindividualelementsmustbesizedfor
designconditionsandthenratedatoperatingconditions.Thegoalistodetermine
theNPSHaandheadrequirementsforfuturepumpselection.
ThisexampleiscalledExample2,anditslocatedinthelocatedintheMy
Simulations\Examples\Pipingfolder.
186
CHEMCADVersion6UserGuide
CHEMCADTutorials
3. SelecttheTypicalsizingforsinglephaseoptionandusestandardschedule
40pipe.ClickOKtoviewalinesizingreportfortheselectedstream.
Note:Sincethefluidinthissystemissubcooledliquidandallflowsareconstant,
thiscalculatedlinesizeshouldapplytoallpipinginthesystem.Theexceptionisthe
pumpsuctionpipe,whichasageneralruleshouldbeonesizelarger.
4. SelectSizing>Orificeandselectthestreamonthedischargesideofthe
pump.IntheOrificeSizingdialogbox,selectDandD/2pressuretaps,enter
3asthepipeinsidediameter,andenter100asthewaterdifferentialpressure.
ClickOKtobringupanorificesizingreportfortheselectedstream.
Note:Usingthecalculatedborehole,CHEMCADdeterminestheflowresistance
factoroftheorificeasshown:
C = Cd /( (1 4 )
1 2
Kr 2 4
C
TheorificesizingreportgivestheKrvalue,whichyouwilluselaterinthePipe
SizingandRatingdialogbox.
5. Tosizethecontrolvalve,selectstream#1andthenselectSizing>Control
Valve.IntheDownstreampressurefield,enter15,andselecttheSingleseat
option.Sincestream#1isat20psia,youaresimplysizingacontrolvalveto
produceapressuredropof5psi.ClickOKtoviewacontrolvalvesizing
reportfortheselectedstream.
6. Doubleclickcontrolvalve#4toopentheControlValvedialogbox.Enterthe
valveflowcoefficient(Cv)ofthevalvefromthesizingreport,setthevalve
positionto50%,andsettheoperatingmodetoFixflowandposition,
calculatePout.ClickOKtosavethesesettingsandclosethedialogbox.
CHEMCADVersion6UserGuide
187
CHEMCADTutorials
7. DoubleclicktheheatexchangericontoopentheSimpleHeatExchanger
dialogbox.Enterapressuredropof2psiandsettheoutlettemperatureto
140F.ClickOKtocontinue.
8. Tabulateandspecifythevalves,fittings,pipelengths,andelevationchanges
ofeachsectionofpipe.Forallofthesepipes,settheMethodfieldto2Single
Phaseflow,settheSizingoptionto0Rating,anduseflangedfittings
throughout.
Pipe#1
Pipe#3(beforecontrolvalve)
1entrance,wellrounded
1swingcheckvalve,clearway
2ballvalves
2ballvalves
4standardelbows,90degree
2tee,flowthroughrun
1tee,flowthroughbranch
1orificeplate(aspreviouslydetermined)
35feetofpiping
14feetofpiping
8elevationchange
14elevationchange
Pipe#5(aftercontrolvalve)
Pipe#7(afterE1515)
2ballvalves
1ballvalve
2tee,flowthroughrun
4standardelbows,90degree
3standardelbows,90degree
1tee,flowthroughrun
1exitfrompipe
1wellroundedentrance
24feetofpiping
1exitfrompipe
2footelevationchange
157feetofpiping
5elevationchange
9. Specifythepumpoutletpressureatsomearbitraryvalue(try25psia)and
makeatrialrun.Checkthecalculatedoutletpressure.Youcantheniterateto
findtherequiredpumphead.
CHEMCADVersion6UserGuide
CHEMCADTutorials
1. Rightclickstream#8andselectInsertunit.ClickOKatthepopupmessage
andthenclicktheControllertoolintheAllUnitOpspalette.
2. Clickneartheexistingstreamtoplaceacontrollericonontheflowsheet.The
streamautomaticallyreroutesthroughthisicon,asshowninFigure1159.
7
7
3. IntheControllerdialogbox,specifythefollowingandthenclickOK:
Controllermode:Feedbackward
Adjustthisvariable:UnitOp,IDnumber2,Variable2Outputpressure
Untilthis:Stream,IDnumber8,Variable2Pressure
Isequaltothistarget:Constant20,Units4Pressure
Whenyourunthesimulation,thecontrollerwillautomaticallychangethepump
outletpressureuntilthepressureleavingthelastpipeunitisequalto20psia.You
nowknowtheheadrequirementsforyourpump.
Calculating NPSHa
Thenetpositivesuctionhead,betterknownasNPSH,isdefinedasthetotalpressure
availableatthepumpsuctionminusthepumpingfluidsvaporpressure.Itisalmost
alwaysreportedinfeetofpumpedfluidorwater.
EverypumphasaspecifiedNPSHrequirement(NPSHr)atagivenoperating
speed.Toensurereliableoperation,theavailableNPSH(NPSHa)mustbegreater
thantheNPSHr.Ifnot,cavitationandshortenedservicelifemayresult.
Toselecttheappropriatepump,youneedtocalculateNPSHa.InCHEMCAD,
thisisaneasytask.SimplychecktheCalculateNPSHaboxinthePumpdialogbox,
andthenrunthesimulation.NowwhenyoupullupthePumpdialogbox,the
calculatedNPSHaisdisplayed.
Note:ItisimportanttotheNPSHacalculationthattheinletpipingtothepumpbe
correctlyspecified.Ifthepipingspecificationsarenotcomplete,thepressureatthe
inletmaynotbeaccurate,leadingtoaninaccurateNPSHacalculation.
CHEMCADVersion6UserGuide
189
CHEMCADTutorials
Problem Statement
Thepreviouspipingsystemhasbeenchanged.Duetothebranchedflowtothetwo
heatexchangers,theproblemisnolongerasimpleone.
ThisexampleiscalledExample3,anditslocatedinthelocatedintheMy
Simulations\Examples\Pipingfolder.
Thebranchedflowisadifficultproblemtosolveusingthecontrollerapproach.
Bothexchangershavedifferentpipingandthereforedifferentflowrates.Youneed
anapproachwhereyousplitandrecombineflows,andhavethesimulationcalculate
thepressureandflowratesinaniterativemanner.TheNodeUnitOpgivesyouthis
flexibility.
Rememberthatanodeisapointwherepressureisuniform.Theremaybe
multipleinletsandoutlets.Theflowratesforeachstreamwillbebalancedby
CHEMCADtoreachasinglepressure.Youcanspecifythepressureorallowitto
vary.
190
CHEMCADVersion6UserGuide
CHEMCADTutorials
InCHEMCAD,PipeUnitOpsareusedtorepresententiresectionsofpiping,
includingfittings.NodeUnitOpsareplacedwherepressureorflowrateare
unknown.
Forthisexample,assumeapressuredropof2psiacrosseachheatexchanger.
Tabulatethevalves,fittings,pipelengths,andelevationchangesofeachsectionof
pipe.Useflangedfittingsthroughout.
Pipe#1
Pipe#2(beforecontrolvalve)
1entrance,wellrounded
1swingcheckvalve,clearway
2ballvalves
2ballvalves
4standardelbows,90degree
2tee,flowthroughrun
1tee,flowthroughbranch
1orificeplate(asdeterminedabove)
35feetofpiping
14feetofpiping
Pipe#3(aftercontrolvalve)
Pipe#4(toE1514)
1ballvalve
1tee,flowthroughbranch
1tee,flowthroughrun
1ballvalve
2standardelbows,90degree
1exitfrompipe
10feetofpiping
3standardelbows,90degree
26feetofpiping
CHEMCADVersion6UserGuide
191
CHEMCADTutorials
Pipe#5(fromE1514)
Pipe#6(toE1515)
1ballvalve
1ballvalve
1wellroundedentrance
1exitfrompipe
3standardelbows,90degree
1tee,flowthroughrun
1tee,flowthroughbranch
1standardelbows,90degree
30feetofpiping
14feetofpiping
Pipe#7(fromE1515)
Pipe#8(toV1522)
1standardelbow,90degree
3standardelbows,90degree
1ballvalve
1exitfrompipe
1wellroundedentrance
147feetofpiping
1tee,flowthroughrun
10feetofpiping
Atthistimeyoudontknowthepumpspecifications,sosetthepumptoSpecify
OutletPressureandleavethepressurespecificationblank.TheNodeUnitOpwill
solveforthepressureincrease,andsetthepumpoutletpressureaccordingly.
Setupthenodeswiththefollowinginformation:
192
Node3:Variablepressure,usecurrentstreamrateforinlet,flowsetby
UnitOpforoutlet,elevation=20feet
Node5:Variablepressure,flowsetbyUnitOpforbothinletandoutlet,
elevation=34feet
Node7:Variablepressure,flowsetbyUnitOpforbothinletandoutlet,
elevation=34feet
Node9:Variablepressure,flowsetbyUnitOpforbothinletandoutlet,
elevation=34feet
Node12:Variablepressure,flowsetbyUnitOpforbothinletandoutlet,
elevation=50feet
Node16:Variablepressure,flowsetbyUnitOpforbothinletandoutlet,
elevation=38feet
Node18:Variablepressure,flowsetbyUnitOpforbothinletandoutlet,
elevation=42feet
Node20(lastnode):Fixedpressure,20psia,flowsetbyUnitOpforinlet,free
outletstreamforoutlet,elevation=43feet
CHEMCADVersion6UserGuide
CHEMCADTutorials
Selecting a Pump
Thefollowingpumpcurvedataisrepresentativeofthetypeofequipmentthat
wouldbeappropriateforthisapplication.
Pump Curve
90
Head (ft)
80
1750 rpm
70
60
50
1450 rpm
40
1150 rpm
30
20
0
40
80
120
160
200
Flow (gpm)
0.6
1450 rpm
0.55
Efficiency
1750 rpm
0.5
0.45
1150 rpm
0.4
0.35
0.3
0
40
80
120
160
200
Flow (gpm)
Figure 11-62: Combined pump curves for a sample pump
Toenterthiscurveintoyourpump,openthePumpdialogboxandselect
SpecifyPerformanceCurveforthepumpmode.Thissettingallowsyoutoenter
multiplespeedlinesandanoperatingspeed.Forthepurposesofthistutorial,enter1
CHEMCADVersion6UserGuide
193
CHEMCADTutorials
forthenumberofspeedlinesandsetthepumpspeedto1750RPM.ClickOKto
bringupthePerformanceCurvedialogbox.
Hereyoucanenterasmanypointsasyouwanttodefineyourcurve.
CHEMCADwillfitaquadraticequationtothepoints,creatingasmoothcurvefitfor
yourdata.
Nowthatyouhaveenteredthepumpperformancecurve,youmustaddnode
UnitOpstothesuctionsideofthepumptoallowtheflowratetovary.Inthisway,
youcancalculatethemaximumflowrateofyoursystem.
194
CHEMCADVersion6UserGuide
Index
.CC6files,29
CHEMCAD
Addingasinglecomponent,101
Mainmenu,23
Addingcomponentstoasimulation,42
Toolbar,23
AllUnitOpspalette,37
Tutorials,131
Applyingatemplate,100
Gettinghelpwith,15
Assigningobjectstoalayer,95
Installing,7
Attachingasimulationfiletoanemail,33
Interface,17
BatchReactor/DVSLHistoryplot,72
Licensing,10
BatchResultsreport,83
Modules,3
BinaryLLEplot,87
Openingolderfiles,34
BinodalPlot,87
Overview,1
Binodal/ResidueCurvesplot,87
Productsandfeatures,3
Buildingabasicsimulation,35
Systemrequirements,7
BulkPropertiesdialogbox,106
Usercomponentsin,30
CallingChemstations,16
CHEMCADCoachpane,27
Cases,saving,32
CHEMCADDialogEditor,110
CCBATCHtutorial,164
CHEMCADExplorer,introduced,18
CCDYNAMICS,63
CHEMCADReportWriter,84
CCSTEADYSTATEtutorial,132
CHEMCADSymbolEditor,107
CCTHERMtutorial,153
CHEMCADVersion6UserGuide
195
Index
CHEMCADtutorials
Customizingthermodynamics,111
CCBATCH,164
DatainterfacestoCHEMCAD,117
CCSTEADYSTATE,132
DataMapExecutionRulesdialogbox,121
CCTHERM,153
DataMaps,creating,118
Piping,180
Databoxes,90
Chemicalcomponents,selecting,42
DefaulticonforUnitOp,37
Chemstationswebsite,16
Definingstreams,48
Coach,27
DefiningUnitOps,49
ColumnProfiles,88
Deletingatemplate,100
COMinterfaces,128
Dialogbox,customizing,110
ComponentObjectModel(COM),128
DialogEditorutility,110
Components
DistCurveCharacterizationdialogbox,105
Adding,44
Distillationreport,82
Finding,43
Dongle
Removing,45
ForCHEMCADlicensing,10
Selecting,42
Reprogramming,13
CompositeCurvesplot,88
Drawingaflowsheet,36
ConnectingstreamstoUnitOps,39
Drawingstreamsonaflowsheet,39
Consolidatedreporting,84
Drawingtools,41
ControlValveSizingdialogbox,58
DynamicColumnHistoryplot,72
ControllerConvergenceplot,89
DynamicColumnHistoryreport,73
ConvergenceParametersdialogbox,65
Dynamicoperation,settingup,65
Costingcalculations,customized,109
Dynamicplots,89
CreatingacustomUnitOpdialogbox,110
DynamicRunTimeScheduledialogbox,67
Creatingalayer,94
Dynamicsimulation,running,69
Creatinganewsimulation,31
Dynamicsimulations,strategiesfor,65
Creatingatemplate,100
DynamicStreamHistoryplot,72
CreatinganExcelDataMap,118
DynamicStreamHistoryreport,73
Creatingcustomcomponents,101
DynamicUnitOpHistoryreport,73
CreatingExcelUnitOps,123
DynamicsMenu,66
CreatingcustomUnitOps,109
Dynamicsreports,83
CurveTemperatureCutRangesdialogbox,105
Dynamics
Customcomponents,101
Additionalinputfor,64
Customenthalpymodel,111
Defined,63
CustomKvaluemodel,111
Output,71
Custommixingrule,creatingusingVBA,113
Plottingresults,72
Customreaction,creatingusingVBA,113
RecordingstreamsandUnitOps,68
CustomUnitOpicon
Runningonestepatatime,70
Creating,107
Textbasedresults,72
Addingtoasubpalette,109
Toolbarbuttonsfor,66
CustomUnitOp,creatingusingVBA,113
EditDistillationCurvesmenu,106
CustomUnitOps,creating,109
EditFeedStreamsbutton,48
Customizedcostingcalculations,109
EditStreamGroupdialogbox,77
CustomizingCHEMCAD,99
EditStreamsdialogbox,48
CustomizingtheCHEMCADscreen,24
Ellipsetool,41
196
CHEMCADVersion6UserGuide
Index
Emailingasimulation,33
Linetool,41
EngineeringUnitSelectiondialogbox,36
LockedforEditingdialogbox,31
Engineeringunits
Lowfidelitymodeling,defined,53
Changingforreports,76
Mainmenu,23
Selecting,36
ManageComponentDatabasesdialogbox,102
Enthalpyoptions,selecting,46
MassandEnergyBalancesreport,83
Equipmentparameters,specifying,49
Messagespane,22
Equipmentsizing,introduction,54
Movingapane,25
ErrorsandWarningstab,onMessagespane,22
MovingUnitOpicons,38
Examplefiles,30
Multilinetool,41
ExcelDataMapEditor,118
MySimulationsdirectory,32
ExcelDataMappingfeature,defined,118
Neutralfileimport,106
ExcelDataboxSettingsdialogbox,92
NewComponentdialogbox,102
Excelrangeboxes,92
Newsimulation,creating,31
ExcelUnitOps,creating,123
Notestab,onMessagespane,23
Flowsheetdataboxes,90
OlderCHEMCADfiles,34
Flowsheettemplates,99
OLEforProcessControl(OPC),125
Flowsheets,drawing,36
OPC
Flowsheetbasedgraphs,88
Applications,125
GlobalEnthalpyModel,47
Compliance,125
GlobalKValueModel,47
Namespace,127
Graphicalreports,87
Serveroperations,126
Grid,27
OPCserver,usingCHEMCADas,125
Groups
Opencommand,31
Stream,76
Openinganexistingsimulation,31
UnitOp,80
OpeninganolderCHEMCADfile,34
HeatCurvesplot,88
Palettepane,introduced,20
Hidingalayer,95
Palettes,customizing,21
Highfidelitymodeling,defined,53
ParticleSizeDistributionreport,80
HydrocarbonCorrelationdialogbox,105
PFDprinting,96
Icons,creating,107
PFDs,90
InstallingCHEMCAD,7
PhaseEnvelopesplot,88
Jobfiles,29
Pinningandunpinningpanes,25
Kvalueoptions,selecting,46
PipeProfileplot,88
Layers,93
Pipingtutorial,180
Assigningobjectsto,95
PlotsinCHEMCAD,87
Creating,94
Plots,dynamic,89
Deleting,96
Plottingdynamicresults,72
Hidingandviewing,95
PlugFlowReactorProfileplot,88
Removingobjectsfrom,96
LicenseMonitorscreen,11
Polygontool,41
Printingaprocessflowdiagram,96
LicensingCHEMCAD,10
PrintingCHEMCADreports,89
Licensing,fordynamics,63
Processflowdiagrams,90
Licensing,forhighfidelitymodeling,62
Properties,ofstreams,48
Linesizing,55
PseudocomponentCurvesplot,88
CHEMCADVersion6UserGuide
197
Index
PseudocomponentCurvesreport,80
Selectingcomponents,42
Pseudocomponentrange,defining,105
Selectingengineeringunits,36
RecordStreamsdialogbox,68
SelectingKvalueandenthalpyoptions,46
RecordingstreamsandUnitOpsfordynamics,68
Selectiveprinting,93
Rectangletool,41
Settingruntimefordynamics,66
Redocommand,26
Simulationfiles
Regressingdataintoauseraddedcomponent,104
Introduced,29
Reliefdevicesizing,61
Creating,31
Removingcomponentsfromasimulation,45
Emailing,33
Renamingatemplate,100
Opening,31
ReportWriter,84
Overviewofbuilding,35
Reportsfordynamicsimulations,71
Saving,32
Reports
Simulation,running,50
CHEMCADReportWriter,84
Singlecomponent,adding,101
Dynamics,83
Sizing,introduction,54
Printing,89
Specsheetreport,82
Streamcompositions,78
Specsheets,outputtoExcel,124
Streamproperties,79
SpecifyingUnitOps,49
UnitOpbased,80
Startinganewsimulation,31
Reprogrammingadongle,13
Streamboxes,90
Reroutingastream,40
Streamcompositionreports,78
ResettoInitialStatebutton,70
Streamcomposition,viewing,79
ResidueCurvesplot,88
Streamgroups,creating,76
Resizingapane,24
StreamPropertiesplot,88
ResizingUnitOpicons,38
Streampropertyreports,79
Results,reviewing,51
Streams
Reviewingrunresults,51
Drawingonaflowsheet,39
Routingstreams,39
Defining,48
RunfromCurrentStatebutton,69
Rerouting,40
RunfromInitialStatebutton,69
Switchingtodynamics,65
Runtime,setting,66
SymbolEditorutility,107
RunTracetab,onMessagespane,22
Symbols,creating,107
Runningadynamicsimulation,69
Technicalsupport,contacting,16
Runningasimulation,50
Templates
SaveAscommand,32
Applying,100
SaveasInitialStatebutton,71
Creating,100
Savingasimulation,32
Defined,99
Savingdifferentcases,32
Deleting,100
SearchforUnitOp(s)field,21
Renaming,100
SearchOptionsdialogbox,44
Textreports,75
SelectComponentsdialogbox,43
Texttool,41
SelectDataMapdialogbox,122
ThermodynamicSettingsdialogbox,47
SelectDestinationDatabasedialogbox,102
Thermodynamicsreport,83
SelectRegressionDataSetdialogbox,104
Thermodynamicssettings,manuallyselecting,47
SelectSingleComponentdialogbox,103
ThermodynamicsWizard,46
198
CHEMCADVersion6UserGuide
Index
Thermodynamics,customizing,111
UnitOpbasedplots,88
Thermophysicaldatagraphs,87
UnitOpbasedreports,80
Toolbar,23
UpdateSimulationFormatdialogbox,34
Topologyreport,83
UpdatingaCHEMCADlicense,13
TPboxes,91
Userspecifiedfile,plotting,89
TPXYplot,87
ValveTraydialogbox,59
TraySizingdialogbox,59
VBA
Undocommand,26
UnitOpboxes,91
Customreactions,113
UnitOpdialogbox,customizing,110
CustomUnitOps,113
UnitOpgroups,creating,80
UsingtocustomizeCHEMCAD,113
UnitOpicons
VBAdefinedmixingrule,using,114
Creatingcustomized,107
VBAdefinedreaction,using,113
Manipulating,38
VBAdefinedUnitOp,using,115
UnitOps
Custommixingrules,113
VesselSizingdialogbox,57
Addingtoaflowsheet,36
ViewPropertyOptionsdialogbox,79
Selectingdefaulticonfor,37
View/EditComponentDatamenu,103
Listingofallavailable,5
Viewingalayer,95
Specifying,49
WebsiteforChemstations,16
ZoomOptionsmenu,27
CHEMCADVersion6UserGuide
199
Index
200
CHEMCADVersion6UserGuide