chemcad 6 user guide - online

Upload: sandeep-challa

Post on 19-Oct-2015

25 views

Category:

Documents


0 download

DESCRIPTION

ChemCAD user guide. Detailed description

TRANSCRIPT

  • CHEMCAD Version 6 User Guide

  • Allmaterial2007Chemstations,Inc.

  • CHEMCADVersion6UserGuide i

    CHEMCAD Version 6 User Guide

    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 ........................................................................................................................... 12

    GettingHelpwithCHEMCAD .......................................................................................................... 14 OnlineHelp ....................................................................................................................................... 14 CHEMCADCoach............................................................................................................................ 15 ProcedureDemos.............................................................................................................................. 15 TheChemstationsWebSite............................................................................................................. 15 ContactingChemstationsTechnicalSupport ............................................................................... 15

  • TableofContents

    ii CHEMCADVersion6UserGuide

    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................................................................................................. 23 ViewingandHidingScreenElements ........................................................................................... 24 ResizingandMovingItems............................................................................................................. 24

    Resizing a Pane................................................................................................................................................24 Moving a Pane .................................................................................................................................................25

    PinningandUnpinningPanes........................................................................................................ 25 OtherUsefulInterfaceHints............................................................................................................... 26 UndoandRedo ................................................................................................................................. 26 VisibleGrid........................................................................................................................................ 26 AdjustingYourViewoftheWorkspace........................................................................................ 27 TheCHEMCADCoachPane .......................................................................................................... 27

    Chapter4WorkingwithSimulationFiles ...................................................................................... 29 AboutCHEMCADSimulationFiles.................................................................................................. 29 UserComponentsinCHEMCAD .................................................................................................. 30 ExampleFiles..................................................................................................................................... 30

    OpeninganExistingSimulation ........................................................................................................ 31 CreatingaNewSimulation................................................................................................................. 31 SavingaSimulation.............................................................................................................................. 32 SavingDifferentCasesfortheSameSimulation.......................................................................... 32

    EmailingaSimulation ........................................................................................................................ 33 WorkingwithCHEMCADFilesfromPreviousVersions .............................................................. 33

  • TableofContents

    CHEMCADVersion6UserGuide iii

    Chapter5BuildingandUsingaBasicSimulation ........................................................................ 35 StartingaNewSimulation .................................................................................................................. 35 SelectingEngineeringUnits................................................................................................................ 36 DrawingtheFlowsheet........................................................................................................................ 36 AddingUnitOps ............................................................................................................................... 36 SelectingaDefaultIconforaUnitOp ............................................................................................ 37 ManipulatingUnitOpIcons ............................................................................................................ 38 DrawingandConnectingaStream ................................................................................................ 38

    Choosing a Stream Route ................................................................................................................................39 Rerouting a Stream ..........................................................................................................................................39

    OtherDrawingTools........................................................................................................................ 40 The Text Tool ..................................................................................................................................................40 Simple Drawing Tools: Rectangle, Ellipse, and Line......................................................................................40 Complex Drawing Tools: Multi-line and Polygon ..........................................................................................40

    SelectingChemicalComponents........................................................................................................ 41 FindingaComponent ...................................................................................................................... 41 AddingaComponent....................................................................................................................... 42 ChangingtheOrderofSelectedComponents .............................................................................. 43 RemovingItemsfromtheSelectedComponentsList ................................................................. 43

    SelectingKvalueandEnthalpyOptions .......................................................................................... 44 UsingtheThermodynamicsWizard .............................................................................................. 44

    Selecting Components to Ignore......................................................................................................................44 Specifying Process Conditions ........................................................................................................................44 How the Thermodynamics Wizard Makes Suggestions ..................................................................................44 Should the Thermodynamics Wizard be trusted to make design decisions? ...................................................45

    ManuallySelectingThermodynamicsSettings ............................................................................ 45 DefiningStreams .................................................................................................................................. 46 ThermodynamicProperties............................................................................................................. 46 StreamComposition......................................................................................................................... 46 TotalFlowProperties ....................................................................................................................... 47

    SpecifyingEquipmentParameters..................................................................................................... 47 RunningtheSimulation....................................................................................................................... 48 ReviewingtheResults.......................................................................................................................... 48

  • TableofContents

    iv CHEMCADVersion6UserGuide

    Chapter6UsingCHEMCADforHighfidelityModeling........................................................... 49 Whatishighfidelitymodeling?......................................................................................................... 49 CriteriaforHighfidelityModeling ................................................................................................... 50 IntroductiontoEquipmentSizing ..................................................................................................... 50 HighfidelityModelingandSizingforCommonUnitOps ............................................................ 51 Piping.................................................................................................................................................. 51

    Low-fidelity .....................................................................................................................................................51 Sizing...............................................................................................................................................................51 High-fidelity ....................................................................................................................................................51

    Pumps,Compressors,andExpanders ........................................................................................... 52 Low-fidelity .....................................................................................................................................................52 High-fidelity ....................................................................................................................................................52

    VesselsandTanks............................................................................................................................. 52 Low-fidelity .....................................................................................................................................................52 Sizing...............................................................................................................................................................53 High-fidelity ....................................................................................................................................................53

    Valves ................................................................................................................................................. 53 Low-fidelity .....................................................................................................................................................53 Sizing...............................................................................................................................................................54 High-fidelity ....................................................................................................................................................54

    Columns ............................................................................................................................................. 54 Low-fidelity .....................................................................................................................................................54 Sizing...............................................................................................................................................................54 High-fidelity ....................................................................................................................................................55

    HeatExchangers ............................................................................................................................... 56 Low-fidelity .....................................................................................................................................................56 Sizing...............................................................................................................................................................56 High-fidelity ....................................................................................................................................................56

    ReliefDevices .................................................................................................................................... 57 Low-fidelity .....................................................................................................................................................57 High-fidelity ....................................................................................................................................................58

    LicensingConsiderationsforHighfidelityModeling.................................................................... 58 LicenseSettings ................................................................................................................................. 58

    Chapter7BuildingandUsingaDynamicSimulation ................................................................. 59 Whatdowemeanbydynamics? ....................................................................................................... 59 LicensingConsiderations .................................................................................................................... 59 LicenseSettings ................................................................................................................................. 60

    AdditionalInputforDynamicOperation......................................................................................... 60 StrategiesforDynamicSimulations ............................................................................................... 61

  • TableofContents

    CHEMCADVersion6UserGuide v

    SettingUpDynamicOperation .......................................................................................................... 61 SwitchingtoDynamics .................................................................................................................... 61 SettingtheRunTime........................................................................................................................ 63 SelectingStreamsandUnitOps ...................................................................................................... 65

    RunningaDynamicSimulation ......................................................................................................... 66 RunfromInitialState ....................................................................................................................... 66 RunfromCurrentState.................................................................................................................... 66 RunOneStepataTime ................................................................................................................... 67

    OtherDynamicCommands ................................................................................................................ 67 ResettoInitialState .......................................................................................................................... 67 SaveAsInitialState .......................................................................................................................... 68

    OutputfromDynamicSimulations ................................................................................................... 68 ReviewingtheFlowsheetSpecifications........................................................................................ 68 PlottingDynamicResults ................................................................................................................ 69 TextbasedDynamicReports .......................................................................................................... 69

    Chapter8OutputandReports........................................................................................................... 71 TextReports .......................................................................................................................................... 71 ReportSetup ...................................................................................................................................... 71 StreambasedReports....................................................................................................................... 72

    Stream Groups .................................................................................................................................................72 Stream Compositions.......................................................................................................................................74 Stream Properties.............................................................................................................................................75 Particle Size Distribution.................................................................................................................................76 Pseudocomponent Curves................................................................................................................................76

    UnitOpbasedReports...................................................................................................................... 76 UnitOp Groups ................................................................................................................................................76 Select UnitOps.................................................................................................................................................77 Spec Sheet........................................................................................................................................................77 Distillation .......................................................................................................................................................78

    FlowsheetbasedReports ................................................................................................................. 78 Topology..........................................................................................................................................................78 Thermodynamics .............................................................................................................................................78 Mass and Energy Balances ..............................................................................................................................79

    DynamicsReports............................................................................................................................. 79 Batch Results ...................................................................................................................................................79 Dynamics .........................................................................................................................................................79

    ConsolidatedReport......................................................................................................................... 79

  • TableofContents

    vi CHEMCADVersion6UserGuide

    GraphicalReports................................................................................................................................. 80 ThermophysicalDataGraphs ......................................................................................................... 80

    TPXY...............................................................................................................................................................80 Binary LLE......................................................................................................................................................80 Binodal Plot .....................................................................................................................................................80 Binodal/Residue Curves ..................................................................................................................................80 Residue Curves ................................................................................................................................................80

    FlowsheetbasedGraphs.................................................................................................................. 80 UnitOpbasedPlots .......................................................................................................................... 81

    Tower Profiles .................................................................................................................................................81 Heat Curves .....................................................................................................................................................81 Plug Flow Reactor Profile ...............................................................................................................................81 Pipe Profile ......................................................................................................................................................81 Controller Convergence...................................................................................................................................81

    DynamicPlots ................................................................................................................................... 81 UserspecifiedFile ............................................................................................................................ 81

    PrintingCHEMCADReports ............................................................................................................. 82 ProcessFlowDiagrams ....................................................................................................................... 82 FlowsheetDataboxes........................................................................................................................ 82

    Stream Boxes...................................................................................................................................................82 UnitOp Boxes ..................................................................................................................................................83 TP Boxes .........................................................................................................................................................83 Excel Range Boxes ..........................................................................................................................................84

    UsingtheLayersFeatureforSelectiveViewingandPrinting ................................................... 85 Scenarios for Using Layers..............................................................................................................................85 Creating a New layer .......................................................................................................................................86 Assigning Objects to a Layer...........................................................................................................................87 Hiding and Viewing Layers.............................................................................................................................88 Removing an Object from a Layer ..................................................................................................................88 Deleting an Entire Layer..................................................................................................................................88

    PrintingaProcessFlowDiagram ................................................................................................... 88 Chapter9CustomizingCHEMCAD ................................................................................................ 91 FlowsheetTemplates ........................................................................................................................... 91 CreatingaTemplate ......................................................................................................................... 92 ViewingaTemplatesProperties.................................................................................................... 92 ApplyingaTemplate........................................................................................................................ 92 RenamingorDeletingaTemplate.................................................................................................. 92

  • TableofContents

    CHEMCADVersion6UserGuide vii

    CreatingCustomComponents ........................................................................................................... 93 AddingaSingleComponent........................................................................................................... 93

    Creating the Component ..................................................................................................................................93 Regressing Data into the Component ..............................................................................................................95

    PseudocomponentRange ................................................................................................................ 96 ImportingaNeutralFile .................................................................................................................. 97

    CreatingaCustomSymbol ................................................................................................................. 98 CustomizedCostingCalculations.................................................................................................... 100 CreatingCustomUnitOps ................................................................................................................ 100 CreatingaCustomUnitOpDialogBox ....................................................................................... 101

    CustomizingThermodynamics ........................................................................................................ 102 CreatingaCustomKvalueorEnthalpyModel......................................................................... 102 CreatingaCustomMixingRule ................................................................................................... 104

    VisualBasicApplications(VBA)...................................................................................................... 104 DefiningaReaction,MixingRule,orUnitOp ............................................................................ 104 UsingaVBAdefinedReaction ..................................................................................................... 105 UsingaVBAdefinedMixingRule............................................................................................... 106 UsingaVBAdefinedUnitOp ....................................................................................................... 106

    Chapter10DataInterfaces ............................................................................................................... 107 ExcelDataMapping........................................................................................................................... 107 CreatinganExcelDataMap.......................................................................................................... 108 DataMapExecutionRules ............................................................................................................ 111

    CreatingExcelUnitOps ..................................................................................................................... 113 SpecificationSheets ............................................................................................................................ 113 UsingCHEMCADasanOPCServer .............................................................................................. 114 OPCApplications ........................................................................................................................... 114 OPCCompliance............................................................................................................................. 114 EnablingCHEMCADasanOPCServer ..................................................................................... 115 ReadingandWritingValuestoCHEMCADUsingOPC ......................................................... 115 OPCServerOperations.................................................................................................................. 115 CHEMCADOPCNamespace ....................................................................................................... 116

    COMInterfaces ................................................................................................................................... 117 ConnectingExcelandCHEMCAD:ASimpleCOMInterface ................................................. 117

    Using the VBClient Example ........................................................................................................................118 A Peek under the Hood..................................................................................................................................118

  • TableofContents

    viii CHEMCADVersion6UserGuide

    Chapter11CHEMCADTutorials ................................................................................................... 121 CCSTEADYSTATETutorial ........................................................................................................... 122 Overview.......................................................................................................................................... 122 StartingaNewSimulation ............................................................................................................ 123 SelectingEngineeringUnits .......................................................................................................... 123 DrawingtheFlowsheet .................................................................................................................. 123

    Placing UnitOps.............................................................................................................................................123 Drawing Streams ...........................................................................................................................................126

    SelectingComponents.................................................................................................................... 126 SelectingThermodynamicOptions.............................................................................................. 128 DefiningtheFeedStreams............................................................................................................. 130 EnterUnitOpParameters .............................................................................................................. 132

    First Heat Exchanger .....................................................................................................................................132 Second Heat Exchanger .................................................................................................................................133 Flash Drum ....................................................................................................................................................133 Valve..............................................................................................................................................................133 Stabilizer Tower ............................................................................................................................................134

    RuntheSimulation ......................................................................................................................... 134 ReviewtheResultsandPrintasNeeded..................................................................................... 134

    Checking the Cricondentherm Dewpoint.......................................................................................................134 Checking the Bottoms Stream Purity.............................................................................................................137 Re-running the Simulation.............................................................................................................................138 Producing a Text Report ................................................................................................................................139 Generating a Process Flow Diagram..............................................................................................................140

    CCTHERMTutorial .......................................................................................................................... 144 OverviewoftheHeatExchangerSizingProcess ....................................................................... 145 IdentifytheTubesideStream....................................................................................................... 145 GeneratetheHeatCurve ............................................................................................................... 146 DefineGeneralSpecifications ....................................................................................................... 147 SetTubeSpecifications................................................................................................................... 148 SetShellSpecifications ................................................................................................................... 148 SetBaffleSpecifications.................................................................................................................. 149

    Baffle Spacing ...............................................................................................................................................149 Baffle Cut Percent .........................................................................................................................................149

    SetNozzleSpecifications ............................................................................................................... 149 SetClearanceSpecifications .......................................................................................................... 150 SetMaterialSpecifications............................................................................................................. 151 SetMiscellaneousSpecifications................................................................................................... 151 RunSizingCalculations................................................................................................................. 151

  • TableofContents

    CHEMCADVersion6UserGuide ix

    ReviewResultsandCreatePlots .................................................................................................. 152 CCBATCHTutorial .......................................................................................................................... 154 DescriptionoftheProblem............................................................................................................ 154 OverviewoftheBatchDistillationProcess ................................................................................. 155 CreatingaNewSimulation ........................................................................................................... 156 SelectingEngineeringUnits .......................................................................................................... 156 DrawingtheFlowsheet .................................................................................................................. 156

    Placing UnitOps.............................................................................................................................................156 Drawing Streams ...........................................................................................................................................157

    SelectingComponents.................................................................................................................... 158 SelectingThermodynamicOptions.............................................................................................. 158 SpecifyingPotCharge.................................................................................................................... 160 SpecifyingtheDistillationColumn.............................................................................................. 162 DefiningtheOperatingSteps........................................................................................................ 163

    Operating Step 1 ............................................................................................................................................163 Operating Step 2 ............................................................................................................................................164 Operating Step 3 ............................................................................................................................................164 Operating Step 4 ............................................................................................................................................165 Operating Step 5 ............................................................................................................................................165 The Run Time Information Dialog Box.........................................................................................................165

    RunningtheSimulation ................................................................................................................. 166 ReviewingandPrintingResults ................................................................................................... 167

    Plotting the Results ........................................................................................................................................167 Generating Text Reports................................................................................................................................168 Generating a Full Report ...............................................................................................................................168

    PipingTutorial .................................................................................................................................... 170 ControlValveSizingExample ...................................................................................................... 170

    Problem Statement.........................................................................................................................................170 Rating Case....................................................................................................................................................171 Flow Rate as a Function of Pressure..............................................................................................................173

    SimpleFlowExample..................................................................................................................... 176 Problem Statement.........................................................................................................................................176 Creating the Simulation .................................................................................................................................176 Using Controllers to Simplify the Problem ...................................................................................................178 Calculating NPSHA.......................................................................................................................................179

    BranchedFlowExample ................................................................................................................ 180 Problem Statement.........................................................................................................................................180 Creating the Simulation .................................................................................................................................180 Running the Simulation .................................................................................................................................182 Selecting a Pump ...........................................................................................................................................183

    Index ........................................................................................................................................ 185

  • TableofContents

    x CHEMCADVersion6UserGuide

  • CHEMCADVersion6UserGuide 1

    Chapter 1

    Introduction to CHEMCAD

    WelcometoCHEMCADVersion6.0,apowerfulandeffectivesoftwaretoolforchemicalprocesssimulation.WhetheryoureaneworexperiencedCHEMCADuser,youllappreciatetheprogramsuserfriendly,featurerichinterface.CreatingflowsheetsandrunningsimulationsisfastandeasywithCHEMCAD,andtheprogramishighlycustomizabletofityourneedsandthewayyouwork.

    ThismanualwillhelpyougetupandrunningwithCHEMCAD,frominstallationandlicensingtotutorialsthatwalkyouthroughrealworldexamples.

    Overview of CHEMCAD and Its Uses Todayschemicalprocessingindustry(CPI)facesnumerouschallenges:risingfuelandfeedstockcosts,reducedengineeringstaff,shorterproductlifecycles,increasedglobalcompetition,andincreasedregulation.ThesechallengesrequirethatCPIcompaniesseekoutandusethebesttoolstoincreaseproductivityandimproveengineeringdecisions.

    CHEMCADisapowerfulandflexiblechemicalprocesssimulationenvironment,builtaroundthreekeyvaluesofinnovation,integration,andopenarchitecture.ThesevaluescreateimportantadvantagesforCHEMCADusers:

    Thelatestchemicalengineeringtechniquesatyourfingertips Allfunctionalityunitedinasinglesoftwareenvironment Seamlessconnectiontothechemicalengineeringcomputingenvironment,with

    linkstotoolssuchasMSExcelandWordandinterfacessuchasCOM,DCOM,OPC,CAPEOPEN,andXML

  • IntroductiontoCHEMCAD

    2 CHEMCADVersion6UserGuide

    CHEMCADcombinesastateoftheartgraphicaluserinterface(GUI),anextensivechemicalcomponentdatabase,alargelibraryofthermodynamicdata,andalibraryofthemostcommonunitoperationstogiveuserstheabilitytoprovidesignificantandmeasurablereturnsontheirinvestment.Inaddition,theprogramiscustomizabletoallowcustomchemicals,thermodynamics,unitoperations,calculations,andreportingallingredientsforapowerfuluserexperience.

    CHEMCADiscapableofmodelingcontinuous,batch,andsemibatchprocesses,anditcansimulatebothsteadystateanddynamicsystems.Thisprogramisusedextensivelyaroundtheworldforthedesign,operation,andmaintenanceofchemicalprocessesinawidevarietyofindustries,includingoilandgasexploration,production,andrefining;gasprocessing;commodityandspecialtychemicals;pharmaceuticals;biofuels;andprocessequipmentmanufacturing.

    Withinalloftheseindustries,chemicalengineersworkeverydaywithCHEMCADtoaddressavarietyofchallenges:

    Initialdesignofnewprocesses Optimizationordebottleneckingofexistingprocesses Performancemonitoringofprocesses Designandratingofprocessequipmentsuchasvessels,columns,heat

    exchangers,piping,valves,andinstrumentation

    Evaluationofsafetyreliefdevices Heatexchangersizing Pressureandflowbalancingofcomplexpipingnetworks Reconciliationofplantdata Economiccomparisonsofprocessalternatives Advancedprocesscontrol(APC),includingmodelpredictivecontrol(MPC),

    realtimeoptimization(RTO),andoperatortrainingsystems(OTS)

    Scaleupofprocessesfromlabscaletopilotscale,andfrompilotscaletofullscale

    Binaryinteractionparameter(BIP)regressionfromprocessorlabdata Batchreactionrateregressionfromprocessorlabdata

    Nomatterhowcomplexyourprocess,CHEMCADiscapableofdeliveringtheresultsyouneedtostaycompetitiveinanincreasinglyfastandfluidglobalmarket.Easytolearnandhighlycustomizable,CHEMCADcanputfutureproofsolutionswithineasyreachofyourengineeringstaff.

  • IntroductiontoCHEMCAD

    CHEMCADVersion6UserGuide 3

    CHEMCAD Products and Features TheCHEMCADsuiteconsistsofseveralmodulesthatservespecificpurposes.Dependingonyourparticularneeds,youmayhavepurchasedsomeorallofthesemodules.ThefollowingarebriefdescriptionsofthevariousCHEMCADmodulesandtheirmostcommonuses.

    CC-STEADY STATE ThemainCHEMCADproduct,knownasCCSTEADYSTATE,enablesyoutodesignnewprocesses,rateexistingprocesses,andoptimizeprocessesinsteadystate.

    CC-DYNAMICS ThemoduleknownasCCDYNAMICSmakesitpossibletodesignandrateexistingprocessesusingadynamicsimulation.ThismoduleisfullyintegratedwithCHEMCADtomakeswitchingbetweensteadystateanddynamicseasyandintuitive.UsingCCDYNAMICS,youcaneasilysimulateeverythingfromsimplevesselaccumulationtocomplexcontrolsystemsoncolumns.Thismodulealsoprovidestoolsforsimulationofcontinuousstirredtankreactors(CSTRs),includingcomplexreactionrateandpressurecalculation.

    CC-BATCH TheCCBATCHproductenablesyoutodesign,rate,oroptimizeabatchdistillationcolumn.CCBATCHincludesaschedulinginterfacetoallowanoperationstepapproachtosimulationofbatchcolumns.

    CC-THERM TheCCTHERMproductletsyoudesignasingleheatexchanger,orvetavendorsheatexchangerdesign.Itisalsoidealforcustomerswhowanttorateexistingexchangersinnewservice,ortoperformcalculationsonhypotheticalsituations.CCTHERMcansimulateshellandtube,aircooled,plateandframe,anddoublepipeexchangers.FullintegrationwithCHEMCADmakesitpossibletocalculateexitconditionsfromexchangergeometryforhighfidelitysimulations.

    CC-SAFETY NET TheCCSAFETYNETproductprovidesthecapabilitytodesignorratepipingnetworksandsafetyreliefdevicesandsystems,inbothsteadystateanddynamicsystems.ThesteadystatefeaturesofCCSAFETYNETareincludedwithCCSTEADYSTATE.Thisproductenablesuserstomakesimultaneousflowandpressurebalancedsimulationseveninreverseflowsituationsforsingleormultiphaseflow.

    CC-FLASH TheCCFLASHmoduleprovidesphysicalpropertyandphaseequilibriumdata,aswellaspropertypredictionandregression.CCFLASHisasubsetofCCSTEADYSTATE,andismeantforcustomerswhodonotneedfullflowsheetsimulationtools.

  • IntroductiontoCHEMCAD

    4 CHEMCADVersion6UserGuide

    CHEMCAD Features by Module ThefollowingmatrixliststhefeaturesassociatedwitheachcomponentoftheCHEMCADsuite.Foramoredetailedexplanation,ortoinquireaboutaparticularcomponentorfeature,pleasecontactChemstationsoryourCHEMCADdistributor(seecompletecontactinformationatwww.chemstations.net/contact.htm).

    CC-S

    TEA

    DY

    STA

    TE

    CC-D

    YNA

    MIC

    S

    CC-B

    ATC

    H

    CC-T

    HER

    M

    CC-S

    AFE

    TY N

    ET

    CC-F

    LASH

    VB/COM/OPC/Data Map 9 9 Sensitivity/optimization 9 9 9 Sizing (line/valve/orifice/vessel) 9 9 9 Run steady state 9 9 9 9 9 Run dynamics 9 9 Run recycles 9 9 9 Costing 9 9 9 Reconciliation 9 9 Sizing columns 9 9 9 Sizing heat exchangers 9 Economics 9 9 Reports (incl. Excel) 9 9 9 9 9 9 DIERS 9 9 9 CO2 solid 9 9 9 9 Hydrates 9 9 9 9 Depress 9 9 9 9 TOC/COD 9 9 9 9 Pure regression 9 9 9 9 9 9 BIP regression 9 9 9 9 9 9 Electrolyte regression 9 9 9 9 9 9 Rate regression 9 9 Units calculator 9 9 9 9 9 9 Execute parser 9 9 Environmental report 9 9 9 9 9 9 Simple calculator 9 9 9 9 9 9 Spec sheet 9 9 9 9 9

  • IntroductiontoCHEMCAD

    CHEMCADVersion6UserGuide 5

    UnitOps by Module Theavailabilityofcertainunitoperations,orUnitOps,inCHEMCADsimulationsisafunctionofwhichmodulesyouhavelicensed.ThefollowingmatrixlistsallavailableUnitOpsandtheCHEMCADmodulesassociatedwiththem.

    CC-S

    TEA

    DY

    STA

    TE

    CC-D

    YNA

    MIC

    S

    CC-B

    ATC

    H

    CC-T

    HER

    M

    CC-S

    AFE

    TY N

    ET

    CC-F

    LASH

    Baghouse filter 9 9 Batch column 9 Batch reactor 9 Calculator 9 9 Centrifuge 9 9 Component separator 9 9 Compressor 9 9 9 Control valve 9 9 9 Controller 9 9 9 Crusher/grinder 9 9 Crystallizer 9 9 Cyclone 9 9 Divider 9 9 9 9 Dynamic vessel 9 9 Electrostatic precipitator 9 9 Equilibrium reactor 9 9 Excel unit 9 9 Expander 9 9 9 Fired heater 9 9 Flash 9 9 9 9 Gibbs reactor 9 9 Heat exchanger 9 9 9 9 Hydrocyclone 9 9 Kinetic reactor 9 9 Liquid/liquid extractor 9 9 LLV flash* 9 9 LNGH exchanger 9 9

  • IntroductiontoCHEMCAD

    6 CHEMCADVersion6UserGuide

    CC-S

    TEA

    DY

    STA

    TE

    CC-D

    YNA

    MIC

    S

    CC-B

    ATC

    H

    CC-T

    HER

    M

    CC-S

    AFE

    TY N

    ET

    CC-F

    LASH

    Loop 9 9 Mixer 9 9 9 9 Node 9 9 9 Phase generator* 9 9 PID controller 9 9 9 Pipe simulator 9 9 9 Polymer reactor

    Pump 9 9 9 Ramp controller 9 9 9 Recorder* 9 Run subflowsheet META unit 9 9 SCDS distillation column 9 9 Screen 9 9 Sedimentator 9 9 Shortcut column 9 9 Solids dryer 9 9 Solids washer 9 9 Stoichiometric reactor 9 9 Stream reference 9 9 Tank 9 Time delay 9 9 Time switch 9 9 Tower distillation column 9 9 Tower plus distillation column 9 9 User-added module 9 9 Vacuum filter 9 9 Valve 9 9 9 Venturi scrubber 9 9 Vessel* 9 9

    * These UnitOps will be phased out eventually.

  • CHEMCADVersion6UserGuide 7

    Chapter 2

    Getting Started with CHEMCAD

    NowthatyouhaveCHEMCADinhand,youprobablywanttogetstartedrightaway.Letsgetdirectlytothepoint,withstepbystepinstructionsforinstallingandlicensingtheprogram.

    Installing the Software StartbyensuringthatyourPCmeetstheminimumsystemrequirements,aslistedbelow.ItsalsoagoodideatofindoutbeforeyoubeginwhetheryourcopyofCHEMCADwillrelyonanetworklicense;ifitwill,makesuretoaskyournetwork

    administratorforalltheinformationthatyoullneedwheninstallationiscompleteanditstimetosetuplicensing.

    Onceyouveestablishedthatyourcomputerisreadyforinstallation,inserttheCHEMCAD6.0discintoanavailableCDmediadriveandwatchfortheCHEMCADsplashscreentoappear.

    CHEMCAD System Requirements Processor speed: 500 MHz or higher Operating system: Windows 2000, XP, or Vista RAM: 256 MB Video card: 128 MB or higher video memory

    Display resolution: 1024 x 768 or higher Hard disk space: 500 MB (750 MB during installation)

    Productivity software: Some features require Microsoft Office

  • Getting Started with CHEMCAD

    8 CHEMCADVersion6UserGuide

    Note: IfyouinsertthediscandclosetheCDmediadrivedoor,butnothinghappenswithinoneminute,thenyoursystemisnotconfiguredtolaunchtheCDcontentautomatically.Tolaunchtheinstallationprogrammanually,gotoMyComputer,doubleclicktheiconforyourcomputersCDmediadrive,andthendoubleclickthefilecalledSetup.exe.

    ClickInstallCHEMCADtolaunchtheInstallShieldWizard.InstallShieldinspectsyourcomputerforsoftwarecomponentsthatCHEMCADwillneed,andpromptsyoutoinstallanyneededcomponentswithascreensimilartoFigure201.

    Figure 2-01: InstallShield Wizard screen listing software components to be installed

    ClickInstalltocontinue.FollowthepromptsonallotherscreensuntilyouseetheCHEMCADSuiteInstallShieldWizardscreen,showninFigure202.

    Note:DependingonhowmanysoftwarecomponentsInstallShieldidentifies,theremaybequiteafewscreens,andtheprocedurecouldtakeseveralminutes.Oncethesecomponentsareinstalledonyourcomputer,however,youwillnotneedtoreinstallthemwithfutureCHEMCADupdates.

  • Getting Started with CHEMCAD

    CHEMCADVersion6UserGuide 9

    Figure 2-02: The CHEMCAD Suite InstallShield Wizard screen

    ClickNexttobegintheinstallationprocess.TheLicenseAgreementscreenappears,listingtheCHEMCADstandardlicense.Onceyouvereadandunderstoodthetermsofthelicense,youllneedtoclicktheIacceptthetermsofthelicenseagreementbuttonbeforeyoucanclickNextagaintoproceed.Notethatyouhavetheoptiontoprintacopyofthelicenseagreementfromthisscreen.

    Figure 2-03: The Standard License screen

    TheDestinationFolderscreenappearsnext,displayingthenameofthefolderintowhichtheCHEMCADfileswillbeinstalledbydefault.Normally,thisdestinationisC:\ProgramFiles\Chemstations\CHEMCAD,anditisrecommendedthatyouusethislocationunlessyouhaveaspecificneedtoinstalltheprogramelsewhere.ClicktheChangebuttonifyouwanttochangethefiledestination,orclickNexttoacceptthesuggesteddestinationandproceed.

    TheSetupTypescreennowappears,offeringachoicebetweencompleteandcustominstallation.Eachtypeofinstallationisdescribedonthescreen.EitheracceptthedefaultsettingofCompleteorclickCustomtoselectspecificcomponentstoinstall,thenclickNexttoproceed.

  • Getting Started with CHEMCAD

    10 CHEMCADVersion6UserGuide

    TheReadytoInstalltheProgramscreennowappears.Notethatonthisscreen,andinfactonanyscreenintheinstallationprocess,youcanclickBacktoreturntoapreviousscreenandverifyorchangeyourinstallationsettings.Ifyouaresatisfiedwithyoursettingsastheyare,clickNexttostarttheinstallation.

    TheInstallingCHEMCADSuitescreenappears,showingtheprogressofyourinstallationwithagreenstatusbar.

    Figure 2-04: Status bar showing the progress of CHEMCAD installation

    Wheninstallationiscomplete,youllseeonefinalscreen,whichstatesthattheInstallShieldWizardhascompletedinstallationoftheCHEMCADSuite.ClickFinishtoclosetheinstallationprogramandopenCHEMCAD6.

    Licensing CHEMCAD BeforeyoucanuseCHEMCAD,youllneedtosetupalicensingschemeofsometype.Dependingonyourparticularlicensingagreement,youwilluseoneofseveraltypesoflicensestorunCHEMCAD.

    Types of CHEMCAD Licenses ThevarioustypesofCHEMCADlicensesaredesignedtofitdifferentuserssoftware,hardware,andnetworkingneeds.Mostlicensesrequiretheuseofahardwaredevice,commonlyknownasadongle,toruntheprogram.

    ThedonglesimplyplugsintoeitheraUSBportoraparallelportonthecomputer,andmustbepluggedinanytimetheprogramruns.IfyouworkonanetworkwithotherCHEMCADusers,yourlicensemayrelyonadonglepluggedintoanetworkserverelsewhereinyourorganization,ratherthanonepluggeddirectlyintoyourcomputer.

  • Getting Started with CHEMCAD

    CHEMCADVersion6UserGuide 11

    Youoryourorganizationwilluseoneoffourtypesofdongles:

    SuperProsingleuserdongle(parallelorUSBconnection) SuperProNetdongle(parallelorUSBconnection) SentinelScribesingleuserdongle(parallelconnection) NetSentinelnetworkdongle(parallelconnection)

    Insomeinstances,softwarelicensingisaccomplishedwithouttheuseofahardwaredevice:

    LicenseManagersoftware,whichrunsoveralocalorwideaccessnetwork

    SystemAuthorization,amethodthatauthorizesasingleusermachineforalimitedtime(usedforsoftwareevaluation)

    License Settings TorunCHEMCADforthefirsttime,makesurethatyourdongle(ifapplicable)ispluggedinproperly,andthenstarttheprogram.FromtheWindowsStartmenu,selectAllPrograms>Chemstations>CHEMCAD.

    Theprogramopens,displayingaCHEMCADsplashscreen.Afterafewmoments,thatscreenisreplacedbytheLicenseSettingsscreen.

    Figure 2-05: The License Settings screen with default settings

    ThecheckedboxesontheleftsideofthisscreenindicatethetypesoflicensinghardwareandsoftwarethatCHEMCADwillsearchforwhenyouclickOK.Notethatnetworklicensingmethodsarenotchecked;thissavestimeformanyusers,becausesearchingforanetworkdonglecanbetimeconsuming.

  • Getting Started with CHEMCAD

    12 CHEMCADVersion6UserGuide

    Note:Ifyouareusingoneofthenetworklicensingmethods(NetSentinel,SuperProNet,orLicenseManager),youllneedtochecktheappropriateboxbeforeclickingOK.YoucanalsoclicktheotherboxestocleartheircheckmarksandspeedupCHEMCADssearchforyourlicense.

    Ontherightsideofthescreen,theNetworkdeviceproductcheckoutarealetsnetworkuserschoosewhetherornottorequestlicensesforspecificCHEMCADmodules.Foreachlistedproduct,youcanelecttosecurealicenseAlways,Asneeded,orNever.

    ThedefaultsettingforalloftheseslidercontrolsisAsneeded,whichsecuresalicenseonlywhenyoubegintouseaspecificCHEMCADfeaturecontrolledbyacertainproduct.Thissettingisidealinmostsituations,asitleavesunneededlicensesavailableforotherusers.Tochangeanymodulescheckoutsetting,simplyclicktotheleftorrightofthecurrentsettingtomovetheslider.

    Inmostcases,youwontneedtomakeanychangesontheLicenseSettingsscreen,althoughyoumaywanttocleartheAlwaysshowthisscreenatstartupcheckbox,toavoidseeingthisscreeneachtimeyoustartCHEMCAD.

    Note:Ifyouveturnedoffthischeckbox,youcanstillopentheLicenseSettingsdialogboxatanytime.EitherselectTools>Options>LicenseSettingsfromwithinanopensimulation,orselectLicense>LicenseSettingswithnosimulationopen.

    Whenyouvemadeanychangesneeded,clickOK.OnceCHEMCADhaslocatedyourvalidlicense,youllseetheLicensesinUsescreen,whichlistsalllicensedproductsalongwiththetypeoflicensedeviceorsoftwarevalidatingeachproduct.ClickOKtoclosethisscreenandaccessthemainCHEMCADwindow.

    Updating a License CHEMCADdonglesrequirereprogrammingonaregularbasis,eitheronceayearormoreoftendependingonyourlicensingagreement.Thisisasecuritymeasuretoreducethelikelihoodthatyourdonglewillbestolenandmisused.

    Thedonglethatyouuseisprogrammedtoworkonlythroughthelicensedtimeperiod,andwhenthattimehaselapsed,thedonglemustbeupdatedbeforeyoucancontinueusingCHEMCAD.

    Updatingadongleisarelativelysimpleprocedure.Beforeyourlicenseexpiration,youoryoursoftwareadministratorshouldreceiveanemailfromChemstations,withwhatsknownasaconfigurationfileincludedasanattachment.YoushouldsavethisfiletoyourWindowsdesktopassoonasyoureceiveit.

  • Getting Started with CHEMCAD

    CHEMCADVersion6UserGuide 13

    Note:Ifyouveupdatedthesamedongleinthepast,thenewconfigurationfileshouldhavetheexactsamefilenameasthepreviousone.If,whilesavingthefiletoyourdesktop,youseeaWindowsmessageaboutanexistingfilewiththesamename,youshouldoverwritetheoldfile(whichinanycasecannotbeusedagain),replacingitwiththenewone.

    Itsimportanttoensurethatyourconfigurationfilematchesyourdongle.Theconfigurationfileshouldbea.DNGfilewhosenameincludesafourorfivedigitcode;thiscodemustmatchthenumberstampedontoyourdongle.Ifthenumbersdontmatch,contactyoursoftwareadministratororChemstationssupporttoresolvetheissue.

    Theupdateemailalsospecifiesthedateonwhichyoullneedtoupdateyourdongle.Beforethatdatearrives,followthisproceduretoperformtheupdate:

    1. StarttheCHEMCADprogram;youshouldseetheLicenseSettingsdialogboxappearautomatically.Ifnecessary,youcanopenthisdialogboxusingeitherTools>Options>LicenseSettings(withasimulationopen)orLicense>LicenseSettings(withnosimulationopen).

    2. WithintheLicenseSettingsdialogbox,clickthetabwiththesamenameasthetypeofhardwaredonglethatyouuse:SentinelScribe,NetSentinel,SuperPro,orSuperProNet.

    3. Onthetabyouveselected,findtheReprogrambuttonReprogramSentinelSuperPro,forexample.Clickthisbuttontobeginthereprogrammingprocedure.

    Figure 2-06: Re-programming a SuperPro dongle from the License Settings dialog box

    4. WhentheBrowseforFolderdialogboxappears,navigatetothelocationwhereyousavedthe.DNGconfigurationfile.Normally,thisistheWindowsdesktop;ifyousavedyourconfigurationfilethere,clickDesktoptotellCHEMCADwheretolookforthefile,thenclickOK.

  • Getting Started with CHEMCAD

    14 CHEMCADVersion6UserGuide

    Figure 2-07: Selecting the location where the configuration file resides

    5. CHEMCADreprogramsthedongleandthendisplaysasuccesspopupwindow.

    Figure 2-08: Successful re-programming of a CHEMCAD dongle

    6. ClickOKtoclosethepopupwindow.IftheLicensesinUsescreenappears,clickOKtocloseit.

    YoushouldnowbeabletoopenCHEMCADandproceednormally.

    Getting Help with CHEMCAD IfyoufindthatyouhavequestionsthatarenotaddressedinthisUserGuide,youcanturntoseveralresourcesforCHEMCADhelp.

    Online Help AtanytimewhilerunningCHEMCADinanactivewindow,youcanpressthe[F1]keytobringuptheCHEMCADHelpscreenthatsmostappropriatetothetaskyouarecurrentlyperformingorthedialogboxcurrentlydisplayed.

    Insomesituations,pressing[F1]willbringupthemainCHEMCAD6Helpwindowinsteadofaparticularhelpscreen.Fromthere,youcanclicktheContents,Index,orSearchtabintheupperleftcorneroftheCHEMCAD6Helpwindow,andusethesetoolstofindtheinformationyouneed.

    YoucanalsogodirectlytothemainCHEMCAD6HelpwindowbyselectingHelp>HelpTopicsfromtheCHEMCADmainmenu.RegardlessofhowyouopenCHEMCADHelp,italwaysopensinaseparatewindowthatdoesnotinterferewiththeoperationoftheCHEMCADprogram.

  • Getting Started with CHEMCAD

    CHEMCADVersion6UserGuide 15

    CHEMCAD Coach TheCHEMCADCoachpaneisatoolthatyoucanopenwithinCHEMCADtoviewconciseinstructionsforcommonprocedures.Toseealistofavailabletopics,selectHelp>CHEMCADCoach.ThenclickonanylinkintheCHEMCADCoachwindowtoviewtheinstructionsforaspecifictask.

    Procedure Demos AnimateddemonstrationsofcommontasksareavailabletohelpyougetstartedusingtheCHEMCADprogram.Topicscoveredincludethevariousstepsinvolvedincreatingabasicsimulation;proceduresforsimulationsinvolvingbatchreactors,heatexchangersizing,andpiping;controlvalveratingandsizing;creatinganExcelDataMap;andupdatingalicensingdongle.

    ThedemofilesareinstalledalongwithCHEMCAD.Toaccessthesedemos,selectStart>AllPrograms>Chemstations>Demos,andthenbrowsethelistofavailabletopics.ClickthebuttonforthedemoyoudliketoviewandthenclickPlaytorunthedemo.

    The Chemstations Web Site TofindthemostrecentupdatesoftheCHEMCADsoftware,manuals,andvarioustrainingtools,gotowww.chemstations.net.Thereyoullfindthefollowingitemsavailablefordownload:

    ThelatestreleaseofCHEMCAD Alistofupdatesimplementedinthemostrecentrelease ThelatestversionofCHEMCAD6.0Help CHEMCAD6.0InteractiveDemos ProgrammingguidesforinterfacingwithCHEMCAD

    Contacting Chemstations Technical Support Ifyouareunabletosolveaproblemorfindtheanswertoaquestionusingthismanualortheothertoolslistedhere,youcancontactChemstationstechnicalsupportstaffforassistance.

    Ourtechnicalsupportengineersareavailableviaemail,orbyphoneMondaythroughFriday,7:00AMthrough6:00PMCentralStandardTime.

    OutsideoftheUnitedStates,pleaseseewww.chemstations.comforregionalcontactinformation.

    Phone: 713.978.7700

    Toll-free (U.S. and Canada): 800.243.6223

    FAX: 713.978.7727

    E-mail: [email protected]

  • Getting Started with CHEMCAD

    16 CHEMCADVersion6UserGuide

  • CHEMCADVersion6UserGuide 17

    Chapter 3

    The CHEMCAD Interface

    WiththereleaseofVersion6.0,theCHEMCADinterfacehasundergonequiteatransformation.Forthisreason,evenlongtimeusersofCHEMCADwillbenefitfromareviewoftheprogramsscreenlayoutandthelocationofimportantfeatures.

    ThischaptertakesyouonatouroftheCHEMCADscreen,includingthemenusandtoolbars,themainareasofthescreen,andtheflowsheetdrawingtools.Italsoshowsyousomewaysthatyoucancustomizethescreenlayoutsothatitbestsuitsyourownwayofworking.

    The CHEMCAD Window WhenyoulaunchtheCHEMCADprogramforthefirsttime,youllseeascreenwithalargewhiteareainthemiddleandvariouspanes,orspecializedareas,attheedgesofthescreen.

    Workspace CHEMCAD Explorer pane Palette pane Messages pane

  • TheCHEMCADInterface

    18 CHEMCADVersion6UserGuide

    The Workspace Theareainthemiddleofthescreenisknownastheworkspace.ThisisthemainfocusoftheCHEMCADwindow,theplacewhereyoullbuildandeditflowsheets,viewgraphs,andrunandtweakprocesssimulations.

    WhenyoufirstlaunchCHEMCAD,theworkspaceissolidwhite.Whenyoustarttobuildaflowsheetoropenanexistingsimulation,theflowsheetdisplaysintheworkspace.

    TheworkspaceusestabstoenableyoutoswitchbetweenyouropensimulationandanyopenExcelDataMapsand/ordataplots.Atthebottomoftheworkspacearea,youllseeoneormoretabswheneverasimulationisopen.EachtabincludesabuttonmarkedwithanX;tocloseanytab,firstclickthetabandthenclicktheXbutton.

    Figure 3-01: The bottom of the workspace area, showing several tabs and their X buttons

    Notethatanytimeyouveclosedasimulationandhaventyetopenedanotherone,theworkspacedisplaysasablankgrayspace.

    The CHEMCAD Explorer Pane AlongtheleftedgeoftheCHEMCADwindow,youllseeanareawithatitlebaratthetopthatreadsCHEMCADExplorer.AtthebottomoftheCHEMCADExplorerpanearethreetabscalledRecentFiles,Simulation,andVisualBasic.Toviewthecontentsofatab,simplyclickitsname.

    Figure 3-02: CHEMCAD Explorer tabs

    TheCHEMCADExplorertabsarepresentedinwhatsknownasatreeformat,withitemsorganizedintoamultilevelhierarchy.Thedefaultviewshowsonlytoplevelitems,butyoucanexpandeachitemtoviewsecondlevelitems,thirdlevelitems,andsoforth.

    Attheleftofeachtoplevelitemisasmallboxwithaplussign.Toexpandanitem,clicktheplussign.Twothingshappensimultaneouslywhenyouclick:thetreeexpandstoshowthatitemscontents,andtheplussignbecomesaminussign.Youcanhide(orcollapse)thelowerlevelitemsagainbyclickingtheminussign,whichthenturnsbackintoaplussign.Figure303showsanexampleofaCHEMCADExploreritemincollapsedandexpandedview.

  • TheCHEMCADInterface

    CHEMCADVersion6UserGuide 19

    Figure 3-03: Clicking the plus sign to expand an item (left); the resulting view (right)

    ExpandingandcollapsingitemsintheCHEMCADExplorertabsisonewaythatyoucanmakethebestuseofyourscreenspacewhenworkinginCHEMCAD.

    The Recent Files Tab TheRecentFilestabisselectedbydefaultwhenyoufirstlaunchCHEMCAD.Thistablistsallofthesimulationfilesthatyouhaveopenedlately,startingwiththemostrecent.WhenyoufirstinstallCHEMCAD,thelistisempty,butwitheverysimulationthatyouopennewfilesorexistingonessuchasbuiltinexamplesthelistwillgrow,providingconvenientaccesstofilesthatyouusefrequently.

    ToopenasimulationfromtheRecentFileslist,simplydoubleclickonthefilenameinthelist.

    The Simulation Tab TheSimulationtabdisplaysbydefaultanytimeasimulationisopen.Itprovidesaseriesofshortcutstocommoncommandsandsettings,including:

    Components:Includesoneclickaccesstocomponent,electrolyte,andsolidsselection,aswellasdistillationcurves

    Thermodynamics:Providesquickaccesstothermodynamicsettingsandtransportproperties

    Flowsheet:AllowsquickeditingofUnitOpandstreamdata DataMaps:EnablesyoutocreateorsetexecutionrulesforaDataMap

    withoutusingthemenu

  • TheCHEMCADInterface

    20 CHEMCADVersion6UserGuide

    Groups:ProvidesaneasywaytocategorizeUnitOps,streams,andcomponents

    Layers:Allowsselectedpartsoftheflowsheettobedisplayedorhiddenforviewingandprinting

    Templates:StoresandorganizesstreamandUnitOpspecificationsthatyoucancloneforreuse

    Expandanyoftheseitemstoseeandusespecificfeatures,whicharedescribedinfurtherdetailintheappropriatechaptersofthisuserguide.

    The Visual Basic Tab IfyouuseVisualBasictocustomizeCHEMCAD,thistabprovidesquickandeasyaccesstoyourVisualBasiccode.YoucanexpandtheReactions,Properties,orUnitOpsitemtoviewavailablesubroutinesforthatcategory.ClickingthenameofasubroutineopensaVisualBasiceditorinaseparatewindow.

    The Palette Pane AlongtherightsideoftheCHEMCADwindowisapanetitledPalette,whichisarepositoryforthevariousunitoperationiconsandothertoolsneededtodrawflowsheets.

    Selecting a Palette TheseUnitOpiconsandtoolsaregroupedintopalettesaccordingtofunctionorequipmenttype.ThedefaultpaletteiscalledAllUnitOps,anditincludeseveryavailableUnitOpiconanddrawingtool.Toselectadifferentpalette,simplyclickitstitlebar.Theselectedpaletteexpandsinplace,asshowninFigure304.

    Figure 3-04: The expanded Piping and Flow palette

  • TheCHEMCADInterface

    CHEMCADVersion6UserGuide 21

    Customizing Palettes AtthetopofthePalettepaneisafieldcalledSearchforUnitOp(s).TypeasearchtermhereandthenclickGo!tolocatealloftheUnitOpiconsassociatedwiththatterm.TheresultsfromthesearchappearinanewpaletteatthebottomofthePalettepane.Figure305showsthesearchresultsforthewordvessel.

    Figure 3-05: Search results showing all vessel UnitOps

    PerformingaUnitOpsearchcreateswhatisknownasauseraddedpalette.Thistypeofpaletteisdesignatedwithaspecialiconattheleftendofthepaletteheading.

    ThepalettecontainingyoursearchresultsremainsavailableuntilyoucloseCHEMCAD.YoucanmakeyouruseraddedpaletteavailablepermanentlybyrightclickingthenewpalettestitlebarandselectingSave.

    Figure 3-06: Saving search results for future use

  • TheCHEMCADInterface

    22 CHEMCADVersion6UserGuide

    Youcandothefollowingwithuseraddedpalettes:

    RenameanyuseraddedpalettebyrightclickingitstitlebarandselectingRename.Intheresultingdialogbox,typethenameyouwantandthenclickOK.

    DeleteauseraddedpaletteatanytimebyrightclickingandselectingRemove.

    AddindividualUnitOpsortoolstoanexistinguseraddedpalette.Simplyrightclicktheiconfortheitemyouwanttoadd,selectInsertintoPalette,andthenclickthenameoftheuseraddedpalette.

    RemoveanitemfromauseraddedpalettebyrightclickingtheiconandselectingRemovefromPalette.

    Createauseraddedpalettewithoutasearch.RightclickthefirsticonthatyoudliketoincludeonanewpaletteandselectInsertintoPalette>NewPalette.TypeanameintheresultingdialogboxandclickOK.Thenaddasmanyothericonsasyoudlikeusingthemethoddescribedjustabove.

    Youcannotchangethenameoriconselectionforabuiltinpalette,asyoucanwithauseraddedpalette.Youcan,however,makeacopyofabuiltinpalette,renamethecopy,andthenaddanddeleteiconsuntilthepalettehasjustwhatyouwant.

    Tocopyanypalette(whetherbuiltinoruseradded),simplyrightclickthepaletteheadingandselectSaveCopyAs.TypeanameforthenewpaletteandclickOK.

    The Messages Pane TheMessagespaneislocatedatthebottomedgeoftheCHEMCADworkspace.Atthebottomofthispanearethreetabs:ErrorsandWarnings,RunTrace,andNotes.

    The Errors and Warnings Tab Thistabdisplaysarunninglistoferrorandwarningmessagesthathavebeengeneratedwhilethecurrentsimulationfilehasbeenopen.Theoldestmessagesdisplayatthetopofthelist.Whentherearetoomanycumulativemessagestodisplayinthepane,themostrecentmessagesdisplayandtheoldermessagesscrolloffthetopedgeofthepane.Ifneeded,youcanusetheverticalscrollbarontherightsideofthepanetoscrollupandreviewearliermessages.

    The Run Trace Tab ThistabdisplaysdiagnosticmessagesfromeachUnitOpeachtimeasimulationisrun.Thisinformationishelpfulintroubleshootingasimulationthatisnotworkingproperly.

    ThetextontheRunTracetabisnotsavedwiththesimulation,butrefresheswitheachrunandclearswhenyouclosethesimulation.

  • TheCHEMCADInterface

    CHEMCADVersion6UserGuide 23

    The Notes Tab Thistabprovidesahandyplacetostoreadditionalinformation,intextform,aboutthesimulation.Youcanuseittolistanydetailsaboutthesimulation,suchasitsoriginandanyassumptionsthatarebeingmade.

    Anynotesthatyouaddorchangearesavedaspartofthesimulation.Todeletetextfromanote,simplyclickanddragtoselectthetextandthenpress[DELETE]onyourkeyboard.

    The Main Menu ThemainCHEMCADmenuislocatedjustunderthetitlebaratthetopoftheprogramwindow.SomeitemsonthemainmenuarecommontonearlyallWindowsprogramsnamelyFile,Edit,Format,andHelpwhileothermenuitemssuchasThermophysicalandSizingaremorespecifictochemicalprocesssimulation.

    Touseamenucommand,clicktherelevantmainmenuitemandthenclickthecommandinthedropdownlistthatappears.

    Toexecutemenucommandswithoutusingthemouse,youcanholddownthe[ALT]keyonyourkeyboardasyoupresstheletterkeythatcorrespondstotheunderlinedletterinthedesiredmenuitem,forexample[ALTF]fortheFilemenu.Youcanthenusetheupanddownarrowkeystoselectanitemonthemenuandpress[ENTER]toexecutetheselectedcommand.

    The Toolbar TheCHEMCADtoolbarprovidesbuttonsthatarecommontomostWindowsapplications,suchasNew,Open,Save,andPrint,alongwithbuttonsthatarespecifictochemicalprocesssimulation.

    Todiscovertheuseofaparticularbutton,simplypointyourmousecursoratthebuttonandwatchforthetooltiptoappear,asshowninFigure307.

    Figure 3-07: Viewing a buttons tooltip

    Toolbarbuttonsprovidequick,oneclickaccesstofrequentlyusedcommandsthatarealsoavailableviatheCHEMCADmenus.

    Customizing the CHEMCAD Screen WhenyoufirstinstallCHEMCAD,thescreenislaidoutwiththeCHEMCADExplorerpaneontheleft,thePalettepaneontheright,andtheMessagespanebelowtheworkspace.

  • TheCHEMCADInterface

    24 CHEMCADVersion6UserGuide

    Ifhavingalloftheseitemsvisibleleavesyoulessworkspacethanyouwouldprefer,orifthelocationofoneormorepanesislessthanoptimalforthewaythatyouwork,youcanhideormovepanestocustomizeyourCHEMCADscreen.

    Viewing and Hiding Screen Elements YoucanvieworhideanyoftheCHEMCADscreenspanes,aswellasgroupsoftoolbarbuttons,tomakeoptimaluseofyourscreenspace.

    Totoggleapaneonoroff,selecttheViewmenuandthenchooseCHEMCADExplorer,Palette,orMessages.Itemswithacheckmarkarecurrentlydisplayed,whileitemswithnocheckmarkarecurrentlyhidden.YoucanalsochoosetovieworhidethestatusbaratthebottomoftheCHEMCADwindow.

    Toselectivelyvieworhidegroupsoftoolbarbuttons,selectView>Toolbars.IntheToolbarsdialogbox,eachgroupofbuttonsislistedunderadescriptivename;initially,allofthesegroupshavecheckmarks,indicatingthattheyarecurrentlydisplayed.Tohideanygroupofbuttons,clicktoremovethecheckmarkandthenclickClosetoreturntothemainCHEMCADwindow.

    Resizing and Moving Items Nowthatyouhavedeterminedwhichpanesandtoolbarbuttongroupstodisplay,youcanfurthercustomizeyourCHEMCADwindowtodetermineexactlywhereeachoftheseitemswillappear.

    Resizing a Pane Thesimplestwaytoaltertheappearanceofapaneistoresizeit.YoucanmaketheCHEMCADExplorerandPalettepaneswiderornarrower,ormaketheMessagespaneshorterortaller,bymovingtheinsideedge,orwall,ofthepanetowardorawayfromtheedgeofthemainwindow.

    Toresizeapane,startbypositioningyourmousecursorattheinsidewallofthepanethatis,therightedgeoftheCHEMCADExplorerpane,theleftedgeofthePalettepane,orthetopedgeoftheMessagespane.Whenthecursorisinthecorrectpositionforresizing,thenormalpointerwillbereplacedwithatwoheadedarrowasshowninFigure308.

    Figure 3-08: The two-headed arrow cursor used for resizing panes

  • TheCHEMCADInterface

    CHEMCADVersion6UserGuide 25

    Whenyouseethetwoheadedarrow,clickanddraginthedirectionyouwanttomovethepanewall.Athickgraylineshowsapreviewofthenewpanesize;whenyoureleasethemousebutton,theresizedpaneappears.

    Moving a Pane Inadditiontoresizing,youcanalsomoveanyofthepanesintheCHEMCADwindow,eithertoadifferentedgeofthescreenortothemiddleofthescreen.Youcanalsomovegroupsofbuttonsfromtheirdefaultpositionsonthetoolbar.

    Initially,allofthepanesandbuttongroupsaredocked,meaningthattheyaresnappedintoanedgeofthescreenorthetoolbararea.Whenyouundockanitem,youcanputitinthelocationofyourchoosing,awayfromthescreenedge.

    Toundockapane,clickanddragthepanestitlebar,thatis,thebluebaratthetopofthepanethatshowsthepanename.Toundockabuttongroup,youllneedtoclickanddragtherowoffourdotsrunningalongtheleftedgeoftheleftmostbuttoninthegroup.

    Note:InthecaseoftheMessagespane,thetitlebarrunsalongtheleftedgeofthepane,andthenameisnotvisiblewhenthepaneisdocked.

    Ifyoudragthepaneorbuttongroupintotheworkspacearea,youllseeagrayboxrepresentingthepositiontheitemwilloccupywhenyoureleasethemousebutton.Ifyoudontlikethenewposition,youcanclicktheitemstitlebaranddragitelsewhere,includingitsoriginalposition.

    Youcanalsodockapanetoadifferentedgeofthescreen,ormovebuttongroupsaroundwithinthetoolbararea,insteadofundockingtheseitems.

    Pinning and Unpinning Panes Inadditiontomovingandresizingthevariouspanes,theresanotherwaythatyoucancustomizeyourCHEMCADscreen:pinningandunpinningtheCHEMCADExplorerandPalettepanes.

    Thesetwopanescantakeupafairamountofhorizontalscreenspace,andmakingthemverynarrowisntanidealwaytowork.PinningandunpinningprovideawaytoviewfullwidthCHEMCADExplorerandPalettepaneswhenyouneedthesetools,whilealsofreeingupspacewhenyouarentusingthem.

    Whenevereitherofthesepanesisdockedatanedgeofthescreen,itisinoneoftwostates:

    Pinned,meaningthatthepaneisalwaysvisible Unpinned,meaningthatthepaneismostlyhiddenfromview,andappearsonly

    ondemand

    Bydefault,allCHEMCADpanesareinitiallypinnedinplace.Youcanchoosetounpinapaneifyouprefertohavesomeextraspaceonthescreen.Tounpinapane,

  • TheCHEMCADInterface

    26 CHEMCADVersion6UserGuide

    findthetinypushpiniconinthepanestitlebar,nexttotheXiconthatenablesyoutoclosethepane.Ifthepaneisstationary,youllseethatthepinisuprightwithitspointdown.

    Figure 3-09: The icon indicating a pinned, or stationary, pane

    Ifyouclickthepinicon,thepanesuddenlydisappearsfromviewbutitisntgone.Instead,asmallgraytabbearingthenameofthepaletteappearsattheedgeofthescreenwherethepaneisdocked.Toseethepanereappear,youonlyhavetorollyourmouseoverthattab.Whenthepaneappears,youllnoticethatthepushpiniconisnowpointedtotheside.UsethetoolsontheCHEMCADExplorerorPalettenormally;then,whenyounolongerneedthepane,justmovethemousepointerelsewhere.Thepanewillautomaticallyhideitselfuntilthenexttimeyourollthemouseoverthetab.

    Figure 3-10: An unpinned pane in use; note the sideways pin icon

    Torepinanunpinnedpane,pointtothetabtomakethepaneappearandthenclickthepinicon.Thepinturnssothatitisonceagainupright,andthepaneisonceagainapermanentfixtureontheCHEMCADscreen.

    Other Useful Interface Hints ThefollowingarehelpfulitemsthatcanhelptomakeyourCHEMCADexperienceeasierandmoreefficient.

    Undo and Redo AswithmostWindowsbasedprograms,CHEMCADallowsyoutobackoutofactionsyouhavejusttakenwhileworkingwithafile.YoucanusetheUndocommandtonegatethelastchangeyoumade;simplyselectEdit>Undo,orusethekeycombination[CTRLZ].

    YoucanusetheUndocommandtoretractuptothelast99actionsthatyouperformedsincethelasttimeyouopenedthecurrentsimulationfile.

    Visible Grid Youcanturnonaworkspacegridtouseasaguidewhilecreatingyourflowsheet.SelectView>GridVisibletotogglethisfeatureonoroff.

  • TheCHEMCADInterface

    CHEMCADVersion6UserGuide 27

    OthergridoptionsincludeView>SnaptoGrid,whichhelpswithalignmentofobjectsontheflowsheet,andView>ChangeGridSize,whichenablesyoutocustomizethehorizontalandverticalspacingofgridlines.

    Adjusting Your View of the Workspace TheView>ZoomOptionsmenuoffersawholeseriesofoptionsformovingandresizingyourviewoftheCHEMCADworkspace.

    SelectIntoviewtheworkspacefromcloserin,orOuttoviewfromfartheraway. SelecteitherInataPointorOutataPoint,andthenclickapointonthe

    workspace,tozoominoroutwiththatpointasafocus.

    SelectZoomRectangle,andthenclickanddragontheworkspace,todesignateaspecificareathatyouwanttoview.

    SelectZoomPercentagetochooseaspecificdisplaysizefortheworkspace. SelectZoomtoFittoviewatthelargestsizethatstillpermitsalloftheexisting

    flowsheetelementstoremaininthevisibleworkspace.

    Ifyourcomputermouseisequippedwithascrollwheelbetweentheleftandrightmousebuttons,youcanzoominandoutontheCHEMCADworkspacewithatouchofyourfinger.Tozoomin,rollthewheelupthatis,pushyourfingertipaway,towardthetopedgeofthemouse.Tozoomout,rollthewheeldowntowardthebottomofyourmouse,pullingyourfingertiptowardyourpalm.

    Note:Whenyouzoominandoutusingthescrollwheel,thefocalpointforthezoomisthelocationofthemousepointer.

    The CHEMCAD Coach Pane TheCHEMCADCoachpaneisnotdisplayedbydefault,butyoucanaccessitatanytimebyselectingHelp>CHEMCADCoach.ThepurposeofCHEMCADCoachistoprovideconciseinstructionsforcommonprocedures.IfyouvelearnedhowtoperformacommonprocedureinCHEMCADbuthaveforgottentheexactmenucommandtouse,CHEMCADCoachcanhelpjogyourmemoryandputyouontherighttrack.

    YoucandragtheCHEMCADCoachwindowtoanylocationonthescreen,simplybyclickinganddraggingthetitlebaratthetopofthewindow.

    IfyouhavefinishedusingtheCHEMCADCoachtoolandwanttocloseit,justclicktheClosebutton(theredX)intheupperrightcorneroftheCHEMCADCoachwindow.NotethatifthemainCHEMCADwindowwasmaximizedbeforeyouopenedtheCHEMCADCoachtool,youmayneedtomaximizetheCHEMCADwindowagaintorestoreittofullscreensize.

  • TheCHEMCADInterface

    28 CHEMCADVersion6UserGuide

  • CHEMCADVersion6UserGuide 29

    Chapter 4

    Working with Simulation Files

    AlloftheworkthatyoudowithCHEMCADisstoredinsimulationfiles.WiththeadventofCHEMCAD6,eachdiscretesimulationispackagedintoasinglefilethatisportableandeasytohandle.AllthedetailsofthesimulationfromUnitOpspecificationstostreamcompositiontothermodynamicsareincludedinthisfile.ThischapterdescribesthevariouswaysthatyoucanaccessandmanageCHEMCADsimulationfiles.

    About CHEMCAD Simulation Files SimulationscreatedinCHEMCAD6usethefileextension.CC6,whichdistinguishesthemfromotherfilesonyourcomputer,includingsimulationfilescreatedusingearlierversionsofCHEMCAD.

    Oneofthemostnotabledifferencesbetween.CC6filesandpredecessorssuchas.CCXfilesistheirportability.A.CC6simulationfileisaseasytoworkwith,transport,andshareasanMSWorddocumentoranExcelspreadsheet.WhereasCHEMCADsimulationsoncerequiredextrastepsbeforetheycouldbeemailedormoved,simulationscreatedwithCHEMCAD6canbehandledasstandalonefiles.

  • WorkingwithSimulationFiles

    30 CHEMCADVersion6UserGuide

    Figure 4-01: Stand-alone CHEMCAD 6 files in the My Simulations directory

    User Components in CHEMCAD AnotherdeparturefrompreviousversionsofCHEMCADisthatsimulationsarenowselfcontainedwithrespecttothedataneededtorunthem.Allcustomcomponentsthatyoucreatearestoredinadatabasesothatyoucanusetheminmanydifferentsimulations.Usercomponentsarealsostoredwithinthesimulationsthatusethem,soyounolongerhavetoworryaboutlosingusercomponentswhenmovingasimulationfromplacetoplace.

    Eachtimeyouopenasimulation,CHEMCADcomparesanyusercomponentsinthesimulationwiththecopiesofthosesamecomponentsinthedatabase.Ifthetwocopiesdonotmatch,youwillbeofferedachoice:youcankeepusingthelocalcopystoredinthesimulation,orusetheupdatedcopyfromthedatabase.

    YourcopyofCHEMCADcannowhavemultipleuserdatabases,andevensharethemonnetworkswithotherusers.Tolearnmoreaboutusercomponentsandbestpracticesformanagingandsecuringusercomponentdatabases,seeChapter10,CustomizingCHEMCAD.

    Example Files EspeciallyifyourenewtoCHEMCAD,itsagoodideatoopenandpracticeworkingwithsomeexamplefilesbeforecreatingyourownsimulations.Forthispurpose,wevecreatednumerousexamplesofsimulationsfortypicalchemicalprocesses.Youcanopen,view,andeditanyexamplefile,andevensaveacopyinanotherlocationtojumpstartasimulationofyourown.

    TheCHEMCADexamplefilesareautomaticallycopiedtoyourcomputerwithacompleteCHEMCADinstallation.Theexamplesareorganizedbyprocesstypeandlocatedinthe\MyDocuments\MySimulations\Examplesdirectory.

  • WorkingwithSimulationFiles

    CHEMCADVersion6UserGuide 31

    Opening an Existing Simulation SelectFile>OpentobringuptheOpendialogbox.Navigatetothefolderwherethesimulationislocated,selecttheappropriate.CC6file,andclickOpen.

    IfyouuseCHEMCADonanetworkandsharefileswithotherusers,itspossiblethatyoucouldtrytoopenasimulationthatisalreadyopenforeditingbyanotheruser.Ifyoushouldattempttoopenasimulationthatisunavailableforediting,amessageboxwillappear.Youcanchoosetosavethesimulationwithanewnameand/orlocation,openareadonlycopyofthesimulation,orcanceltheopenoperation.

    Figure 4-02: Notification that a simulation is already in use

    Ifyoushouldhavetroublelocatingaparticula