Abstract
Process intensification and new technologies require tools for process design that can be integrated into well-known simulation software, such as Aspen Plus®. Thus, unit operations that are not included in traditional Aspen Plus software packages can be simulated with Matlab® and integrated within the Aspen Plus interface. In this way, the user can take advantage of all of the tools of Aspen Plus, such as optimization, sensitivity analysis and cost estimation. This paper gives a detailed description of how to implement this integration. The interface between Matlab and Aspen Plus is accomplished by sending the relevant information from Aspen Plus to Excel, which feeds the information to a Matlab routine. Once the Matlab routine processes the information, it is returned to Excel and to Aspen Plus. This paper includes the Excel and Matlab template files so the reader can implement their own simulations. By applying the protocol described here, a hybrid distillation-vapor permeation system has been simulated as an example of the applications that can be implemented. For the hybrid system, the effect of membrane selectivity on membrane area and reboiler duty for the partial dehydration of ethanol is studied. Very high selectivities are not necessarily required for an optimum hybrid distillation and vapor permeation system.
Highlights
Process intensification and new technologies require tools for process design that can be integrated into well-known simulation software, such as Aspen Plus®
This paper describes a detailed protocol for using the Aspen Plus user interface for calling Matlab user models
A protocol is described for integrating Matlab user models within the Aspen Plus interface
Summary
Parameters are a specific type of information that is required or calculated by the Matlab user model. The structure of the Matlab template file is: function [ParEnt,ParReal,CorSal] =usermodel(ParEnt,ParReal,CorEnt) % % The corresponding Matlab code of the user model is inserted here % end where ParEnt and ParReal are column vectors of integer and real parameters, respectively. Within the MUM routine (file: usermodel.m), the user calculates the outlet stream properties (CorSal) and the unknown values of elements in the real and integer parameter vectors. The inlet streams to a MUM can come from other unit operations that are simulated within Aspen Plus or by other routines, such as Excel, Fortran or Matlab. The MUM file (usermodel.m) is an example routine that evaluates a vapor permeation membrane (VP) unit for the selective removal of water from ethanol. 3. Specify the name of the Excel workbook file that calls the Matlab routine that represents the unit operation model for the block.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.