+ All Categories
Home > Documents > Aspen Plus Tutorial

Aspen Plus Tutorial

Date post: 25-Nov-2015
Category:
Upload: alroman
View: 103 times
Download: 8 times
Share this document with a friend
37
ASPEN PLUS TUTORIAL Yoel Sanchez McMaster University Office: 27429 Email: [email protected]
Transcript

Slide 1

ASPEN PLUS TUTORIALYoel SanchezMcMaster UniversityOffice: 27429Email: [email protected] Plus is a process modeling tool for conceptual design, optimization, and performance monitoring for chemical processes. Aspen Plus is a core element of AspenTechs aspenONE Process Engineering applications.Some other tools offered by Aspen One: Dynamic Simulation, Heat exchanger design, Production planning, interface with Microsoft excel (Workbook).2Documentation. Where to find it?

C:\Program Files\AspenTech\DocumentationAspenPlusProcModel2006_5-StartAspenPlusSolids2006_5-Start AspenPlusPetroleum2006_5-StartAspenSimulationWkbook2006_5-Usr.Analysis, Synthesis, and Design of Chemical Processes. Turton, Bailie, Whiting, Shaeiwitz.Chemical Engineering Design, Towler, Sinnot.Working Guide to Process Equipment, Lieberman, Lieberman.Distillation Design and Control using Aspen Simulation, Luyben.Manuals and textbooks of interest for this course:3Types of Process simulation programSequential-modular programs: in which the equations describing each process unit operation (module) are solved module-by-module in a stepwise manner. Iterative techniques are then used to solve the problems arising from the recycle of information..

Simultaneous (equation-oriented) programs: in which the entire process is described by a set of equations, and the equations are solved simultaneously . Simultaneous programs can give faster convergence when multiple recycles are present. 4The Structure of a Process SimulatorComponent Database Thermodynamic Model SolverFlowsheet BuilderUnit Operation Block SolverData Output GeneratorFlowsheet SolverBasic Computational Elements in Process SimulatorSelect Chemical ComponentsSelect Thermodynamic ModelInput Topology of FlowsheetSelect Units and Select Feed stream propertiesSelect Equipment ParametersSelect Output Display OptionsSequence of Input Steps for a Simulation ProblemSelect Convergence Criteria and Run SimulationTurton, Bailie, Whiting, Shaeiwitz, Analysis, Synthesis, and Design of Chemical Processes, Second Edition, 20035Problem DescriptionPerform a Flash Calculation for the following stream:

Composition:Ethane: 40%Propane: 40%n-Butane: 20%

Pressure: 15 barTemperature: 25 CelsiusFlow: 100 kmol/hr

6Beginning the SimulationStart the Aspen program. It can be found in the All Programs menu under:All Programs/AspenTech/Aspen Engineering Suite/Aspen Plus 2006.5/Aspen Plus User InterfaceChoose what type of simulation you would like to use. We will use this time the template option. The display below will appear and for this time we will choose General with Metric units.

7Navigating the Aspen windows

Toolbar FeatureEquipment Model LibraryStream LibraryStatus BarSimulation StatusNext Button8Creating a Process Flow SheetTo place a unit operation (or piece of equipment) into the flowsheet window, select it from the Equipment Model Library and then click on the flowsheet window where you would like the piece of equipment to appear.

Streams can be added by clicking on the process flowsheet where you would like the stream to begin and clicking again where you would like the stream to end

Required StreamOptional Stream

9Some Aspen FeaturesColor Code:Red: Information is required / simulation has finished with errorsBlue: Everything is ok.Yellow: Input Information has changed / simulation has finished with warnings.

Next Button:Displays the next required input specification

Next Button10Status Indicators

11Data Browser

All of the data input for Aspen is entered in the Data Browser window. This window can be opened by clicking on the eyeglass icon or by going to Data/Data Browser in the Menu Bar. Aspen highlights the areas where the input has been complete and has not been completed with the use of either a blue check mark or a half filled red circle, as seen in the Figure.

However, you can not always assume that all of the required input has been entered, especially if you are simulating a more complex problem.

This feature will only track the minimal data input required to run a simulation and may cause problems in getting simulations to converge successfully.

It is recommended going through each icon on the left hand side one by one to make sure that you input all of the desired data for your particular application.12Specification of Chemical Components This consist of choosing the components that will be included in the mass balance and deciding which models to use for the prediction of physical properties and phase equilibrium.

Pure Components: Most of the pure components are organic compounds, but inorganic compounds and electrolytes are also included. The fact that a pure component is listed in a simulator data bank does not guarantee that any of the properties given for that component are based on measured data. If the properties of a compound are critical to process performance, then the scientific literature should be consulted to confirm that the values used in the simulation are realistic. The design engineer needs to consider carefully which components will have a significant impact on process design, operation and economics. If too few components are used, then the model will be inadequate for process design, as it will not correctly predict the performance of reactors and separation equipment. Conversely, if too many components are used, then the model can become difficult to converge, particularly if there are multiple recycles in the design. Guidelines to build a component list can be found in: Towler, Sinnott, Chemical Engineering Design , 2008.

13Specification of Chemical ComponentsPure Components: are components created by the simulator to match the boiling curves of petroleum mixtures. For diesel, crude oil, and heavy fuel oils, the number of possible compounds can be from 10^4 to >10^6. It represent an impossible task to include them all in a model. Instead, a large number of possible compounds with boiling points in a given range are lumped together and represented by a single pseudocomponent with a boiling point in the middle of that range. A set of 10 to 30 pseudocomponents can then be fitted to any petroleum assay and used to model that oil.Solids and Salts: Some solid phase components can be characterized as pure components and can interact with other components in the model through phase and reaction equilibrium. For more information about handling of solid components see AspenPlusSolids2006_5-Start.User Components: in Aspen Plus user-defined components are created trough user-defined component wizard. The minimum required information is the molecular weight and normal boiling point.

14Specification of Chemical ComponentsAspen has a big database of commonly used (and some not so commonly used) components and their physical properties. It also has an option where a user can define components that are not included in the database. If you already know the name of the component you can just type it in the define components list or you can use the find button tool

15Selection of Physical Property Model Selecting the best physical property model is an extremely important part of any simulation. If the wrong property package or model is used, the simulated results will not be accurate and cannot be trusted. The choice of models is often over looked by the novice, causing many simulation problems down the road. Important facts:The result of any process simulation are never better than the input data, especially the thermodynamic data.Everything from the energy balance to the volumetric flowrates to the separation in the equilibrium stage units depends on accurate thermodynamic data.If the thermodynamic option used by the process simulator is a mystery, the meaning of the results obtained from the simulator will be equally mysterious.One should always resimulate with either another model that is assumed to be good or with different model parameters.

16Selection of Physical Property ModelIn Aspen there is a tool to help in the selection of the property method. This expert system called Property method selection assistant can give you the first guess for your property method, but need to be considered that further evaluations are required, including resimulation with different methods.

17Selection of Physical Property ModelPeng Robinson: This property method is comparable to the RK-SOAVE property method. It is recommended for gas-processing, refinery, and petrochemical applications. Sample applications include gas plants, crude towers, and ethylene plants.

18Selection of Feed stream Properties

19Selection of Equipment Parameters

Pressure = 0 means no pressure drop through the equipment.Heat Duty = 0 means no Heat is added to the equipment.

20Flowsheet with recyclesFor a sequential-modular simulation program to be able to solve a flowsheet with a recycle, the design engineer needs to provide an initial estimate of a stream somewhere in the recycle loop. This is known as a tear stream, as the loop is torn at that point. The program can then solve and update the tear stream values with a new estimate. The procedure is repeated until the difference between values at each iteration becomes less than a specified tolerance, at which point the flowsheet is said to be converged to a solution.The choice of tear stream can have a significant impact on the rate of convergence. Simulation programs automatically identify the best tear stream.

21Convergence MethodsMost of the commercial programs include the methods described below:

Successive substitution (Direct Substitution): In this method, an initial estimate, x(k), is used to calculate a new value of the parameter, f(x(k).) The parameter is then updated using the calculated value:x(k+1) = f(x(k))x(k+2) = f(x(k+1)), etc This method is simple to code but is computationally inefficient, and convergence is not guaranteed.

22Convergence MethodsBounded Wegstein: Is the default method in most of the simulation programs. It is a linear extrapolation of successive substitution.The Weigstein method initially starts out with a direct substitution step:x(1)=f(x(0))An acceleration parameter, q, can be then calculated:q= s/s-1and, s=[f(x(k)) f(x(k-1))/[x(k)-x(k-1)]and the next iteration is thenx(k+1) = qx(k) + (1-q)f(x(k) The bounded Wegstein is usually fast and robust.23Convergence MethodsNewton and Quasi-Newton Methods: The Newton method uses an estimate of the gradient at each step to calculate the next iteration. Quasi-Newton methods such as Broydens method use linearized secants rather than gradients. This approach reduces the number of calculations per iteration, although the number of iterations may be increased.

Newton and quasi-Newton methods are used for more difficult convergence problems, for example, when there are many recycle streams, or many recycles that include operations that must be converged at each iteration, such as distilation columns. The Newton method should not normally be used unless other methods have failed, as it is more computationally intensive and can be slower to converge for simple problems.

24Running the simulationAt this point you can notice that the Simulation Status changes to Required Input Complete. There are a number of other features in the Data Browser that we will work with over the course, but for now our input is complete.

There are a few ways to run the simulation. The user could select either the Next button in the toolbar which will tell you that all of the required inputs are complete and ask if you would like to run the simulation. The user can also run the simulation by selecting the run button in the toolbar (this is the button with a block arrow pointing to the right). Finally, the user can go to run on the menu bar and select run. After the simulation is run and converged, you will notice that the Results Summary Tab on the Data Browser Window has a blue check mark. Clicking on that tab will open up the Run Status. If your simulation has converged it should state Calculations were completed normally25Running the simulation

That our simulation converged normally, it does not necessarily mean that the solution is reasonable. 26Verify your results.

Are the results reasonable?Some checks to perform include a quick material balance, a quick heat balance, and a comparison to experimental or operating data if it is available. Further along in your careers, you will be able to use your experience to notice much more quickly if the results do not appear to be reasonable. However, even then you should look at every number that is presented in the results. If your results appear to be acceptable you can move on to adding the simulation results to the process flowsheet for ease of presenting.27Select Output Display OptionsStream Table:

28Select Output Display OptionsAdding stream conditions: In a large simulation, it is often useful to add stream conditions directly to the streams themselves so the user doesnt have to search through a large stream table for values. While this is not the case in our simulation we will now the mass flow rate and vapor fraction to each of the streams to learn how to do this.This can be done in the Options window under Tools in the menu bar. When you have opened the Options window, click on the Results View Tab. Select the Mass flow rate and vapor fraction options and hit OK. You will notice those two properties will now be shown on your process flow worksheet as shown in Figure below.

29Preliminary Plan for practical sessions.Practical sessions in laboratory:Flash Calculation.Spreadsheet configuration. Generating Txy and Pxy Diagrams.Impact of the Thermodynamic Property Methods on the simulation results.Convergence Methods Behavior.Spreadsheet configuration of a flowsheet with a recycle stream to evaluate convergence methods.Analysis of Distillation Columns.Finding the optimum feed tray and Minimum Conditions/Column sizing.Comparison shortcut methods with rigorous. Heat Exchanger Design problem.Modeling Processes with solid.ReactorsSolid Library equipmentsSensitivity Analysis and OptimizationAspen Simulation Workbook

30Plan for practical sessionsTopics : (Following the course textbook content):Introduction to designFundamentals of Material BalancesFundamentals of Energy Balances and Energy Utilization (Pinch Analysis)FlowsheetingPiping and InstrumentationCosting and Project EvaluationMaterials of ConstructionDesign Information and Data.Safety and loss preventionsEquipment selection, specification, and designSeparation columnsHeat Transfer equipmentsMechanical Design of Process EquipmentGeneral site considerations

31WorkbookAspen simulation workbook is a tool for interfacing AspenTechs process simulation models with Microsoft Excel worksheets. Any number of model variables can be linked to an Excel sheet. Model variables can be input specifications, calculated results, or state parameters (such as number of stages). Once the variables are linked, the end users can follow the behavior of rigorous Aspen plus models through a friendly and easy to use Excel environment.

32WorkbookAspen Simulation Workbook adds two toolbar menus to Excel: the Aspen Simulation Workbook Design Toolbar, and the Aspen Simulation Run Toolbar. Model users using Excel version 2007 will view the toolbar menus as ribbon bar menus as shown below.

33Workbook

34Workbook

35Workbook

36Aspen Plus TutorialQUESTIONS?

37


Recommended