User Guide
Allmaterial2012Chemstations,Inc.
Table of Contents
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
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
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
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
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
CHEMCADVersion6UserGuide
TableofContents Binodal Plot .....................................................................................................................................................87 Binodal/Residue Curves ..................................................................................................................................87 Residue Curves ................................................................................................................................................88 Solid/Liquid Equilibrium.................................................................................................................................88
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
CreatingaCustomSymbol ............................................................................................................... 107 CustomizedCostingCalculations.................................................................................................... 109 CreatingCustomUnitOps ................................................................................................................ 109 CreatingaCustomUnitOpDialogBox ....................................................................................... 110 CustomizingThermodynamics ........................................................................................................ 111 CreatingaCustomKvalueorEnthalpyModel......................................................................... 111 CreatingaCustomMixingRule ................................................................................................... 112 VisualBasicApplications(VBA)...................................................................................................... 113 DefiningaReaction,MixingRule,orUnitOp ............................................................................ 113 UsingaVBAdefinedReaction ..................................................................................................... 113 UsingaVBAdefinedMixingRule............................................................................................... 114 UsingaVBAdefinedUnitOp ....................................................................................................... 115 Chapter10DataInterfaces ............................................................................................................... 117 ExcelDataMapping........................................................................................................................... 118 CreatinganExcelDataMap.......................................................................................................... 118 DataMapExecutionRules ............................................................................................................ 121 CreatingExcelUnitOps ..................................................................................................................... 123 SpecificationSheets ............................................................................................................................ 124 UsingCHEMCADasanOPCServer .............................................................................................. 125 OPCApplications ........................................................................................................................... 125 OPCCompliance............................................................................................................................. 125 EnablingCHEMCADasanOPCServer ..................................................................................... 125 ReadingandWritingValuestoCHEMCADUsingOPC ......................................................... 126 OPCServerOperations.................................................................................................................. 126 CHEMCADOPCNamespace ....................................................................................................... 127 COMInterfaces ................................................................................................................................... 128 ConnectingExcelandCHEMCAD:ASimpleCOMInterface ................................................. 128
Using the VBClient Example ........................................................................................................................129 A Peek under the Hood..................................................................................................................................129
Chapter11CHEMCADTutorials ................................................................................................... 131 CCSTEADYSTATETutorial ........................................................................................................... 132 Overview.......................................................................................................................................... 132 StartingaNewSimulation ............................................................................................................ 133 SelectingEngineeringUnits .......................................................................................................... 133 DrawingtheFlowsheet .................................................................................................................. 133
Placing UnitOps.............................................................................................................................................133 Drawing Streams ...........................................................................................................................................136
CHEMCADVersion6UserGuide
vii
TableofContents
CCTHERMTutorial .......................................................................................................................... 153 OverviewoftheHeatExchangerSizingProcess ....................................................................... 154 IdentifytheTubesideStream....................................................................................................... 154 GeneratetheHeatCurve ............................................................................................................... 155 DefineGeneralSpecifications ....................................................................................................... 156 SetTubeSpecifications................................................................................................................... 157 SetShellSpecifications ................................................................................................................... 157 SetBaffleSpecifications.................................................................................................................. 158
Baffle Spacing ...............................................................................................................................................158 Baffle Cut Percent .........................................................................................................................................158
SetNozzleSpecifications ............................................................................................................... 159 SetClearanceSpecifications .......................................................................................................... 159 SetMaterialSpecifications............................................................................................................. 160 SetMiscellaneousSpecifications................................................................................................... 160 RunSizingCalculations ................................................................................................................. 161 ReviewResultsandCreatePlots .................................................................................................. 161 CCBATCHTutorial .......................................................................................................................... 164 DescriptionoftheProblem............................................................................................................ 164 OverviewoftheBatchDistillationProcess ................................................................................. 165 CreatingaNewSimulation ........................................................................................................... 166 SelectingEngineeringUnits .......................................................................................................... 166 DrawingtheFlowsheet .................................................................................................................. 166
viii
CHEMCADVersion6UserGuide
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
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
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 3
IntroductiontoCHEMCAD
CC-DYNAMICS
CC-THERM
CC-BATCH
VB/COM/OPC/Data Map Sensitivity/optimization Sizing (line/valve/orifice/vessel) Run steady state Run dynamics Run recycles Costing Reconciliation Sizing columns Sizing heat exchangers Economics Reports (incl. Excel) 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 4