question
stringlengths 19
6.88k
| answer
stringlengths 38
33.3k
|
---|---|
Problem Statement: How to simulate a Reactive Divided Wall Column (RDWC) and solve possible convergence issues. | Solution: ThisSolution illustrates how to simulate in Aspen Plus a Reactive Divided Wall Column (RDWC). An example file is also provided. The synthesis of Methyl Acetate and the reverse reaction, the hydrolysis of Methyl Acetate are popular test systems for studies of Reactive Distillation. The equilibrium reaction of Methyl Acetate with Water to Acetic Acid and Methanol is displayed below:
Using Reactive Distillation it is possible to increase conversion by continuously removing the products from the reaction zone. The products Methanol and Acetic Acid and remaining water are withdrawn from the Reactive Distillation Column as a bottom product and are separated in at least one further column.
A disadvantage of this Reactive Distillation Process is that the products and remaining water are not separated in this column and have long residence time in the sump of the column and the downstream piping. So the formation of Methyl Acetate as a back reaction will happen and it is not possible to produce Methanol free of Methyl Acetate.
By combining the Reactive Distillation Column and the following separation column in a Reactive Divided Wall Column with Methanol as a side product stream, the residence time of Methanol together with Acetic Acid and water in the sump is reduced to a minimum. Furthermore no piping is needed before the Methanol is separated from the water and the Acetic Acid and the number of needed columns is reduced also.
A typical flowsheet of such a simulation is presented in the following pictures:
The operation is simulated using two combined RadFrac columns. The stages 6 to 17 of the left column are simulated as reactive stages in which the reactions, that means the hydrolysis of the Methyl Acetate and in some cases as back reaction the formation of Methyl Acetate from Methanol and Acetic Acid, takes place.
The following table shows the experimental results obtained for the aforementioned conditions (S. Sander, C. Flisch; IChemE, Symposium Series No. 152. Page 253-263)
The simulation file attached shows a highly accurate approximation to the experimental results.
In order to converge the simulation, it is important to tighten the tolerance in both columns below the tear streams tolerance, for example 1E-5, so the numerical noise coming from columns keeps low enough for the recycle solver to converge. Broyden or Newton method is recommended for this example, since tear stream variables are in this case highly interdependent (enthalpy and pressure are bind to molar fraction compositions for the column withdraws). These are a summary of the convergence modifications in made:
Columns:
- Outside loop tolerance = 1e-5
- Algorithm = Newton
- Maximum number of iteration OL = 100
Tear stream solver:
- Method = Broyden
- Wait = 4
- Iterations = 100
A hierarchy block can be created from both columns to represent an apparent single model.
Keywords: Reactive Divided Wall Column, convergence.
References: : S. Sander, C. Flisch; IChemE Symposium, Series No. 152. Pages 253-263. |
Problem Statement: Can Aspen Plus simulations be run asynchronously through the ActiveX interface? | Solution: Yes. This can be accomplished with Release 10.1 of Aspen Plus and higher.
Visual Basic applications are not required to wait for Aspen Plus to complete its calculations after simulations are launched. For example, a Visual Basic application can launch an Aspen Plus simulation, perform other calculations and then check back later to determine if results are available.
Runs by default are synchronous. The Visual Basic line following the one from which a simulation is launched will not be executed until Aspen Plus completes its calculations. For asynchronous runs, use the Run2 IHAPEngine method, ie. go_Simulation.Engine.Run2 (True). In this example, go_Simulation is an IHapp object that is associated with an Aspen Plus GUI run using the VB Set statement. The True logical parameter specifies an asynchronous run.
The IsRunning IHAPEngine property should be used in conjunction with asynchronous runs. Using the preceeding example, go_Simulation.Engine.IsRunning will be True while Aspen Plus is running. It will change to False after the calculations have completed.
It is possible to build applications using Run2 and IsRunning that run Aspen Plus in the background and retrieve results once they are available.
Keywords: Visual Basic
VB
asynchronous
run
run2
IsRunning
ActiveX
References: None |
Problem Statement: How to import and export property data using the IK-CAPE neutral file (*.ikc) format. | Solution: Aspen Plus 10 and higher supports the IK-CAPE neutral file as a way to transfer select physical property parameters and data between different applications. Currently, only some scalar parameters are exported; however, some temperature-dependent parameters such as the DIPPR ideal gas heat capacity correlation paramters (CPIGDP) will be added in the future. These files are ASCII (text) files, similar to Aspen Plus *.inp files.
To enable the data transfer, Aspen Plus provides functions to import and export property data in this format. It is used, for example, to transfer data from DETHERM to Aspen Plus.
Import of property data
The IK-CAPE neutral file (*.ikc) format is among the ASCII file types that you can choose when selecting Import from the File menu of the user interface.
Export of property data
Exporting an *.ikc file requires the keyword 'PROPERTY-REPORT NEUTRAL' in your Aspen Plus input file. There are two ways to add this keyword to your input:
2.1 Using the graphical user interface
Add the following line
PROPERTY-REPORT NEUTRAL
on the Flowsheeting Options Add-Input Add After Sheet. Run the simulation. Open the current working folder for example, with the Windows Explorer. Among the files with the temporary RunID (a random name composed of an underscore ( _ ) followed by four digits and three characters for example, _1234abc) search for the *.ikc file and rename it to prevent it from being deleted after closing Aspen Plus.
2.2 Using the Simulation Engine
Add the following line
PROPERTY-REPORT NEUTRAL
to your Aspen Plus input (*.inp) file. Run the simulation (aspen input_file [RunID]). Aspen Plus will create a file named RunID.ikc in your current working folder (where RunID is the identifier for the simulation run).
The IK-CAPE file format goes back to a national (German) standard which was introduced to define key standard property models and data exchange format for use in computer-aided process engineering (CAPE). Aspen Plus supports the most up-to-date version (V1.6) of this file format. For a detailed description of the IK-CAPE neutral file format, please follow this link:
http://www.dechema.de/infsys/dsd/download/ikcppdx16.pdf
On the other hand, the CAPE-OPEN file format (*.cota) is part of a global attempt to standardize the information exchange between applications for computer-aided process engineering.
For information on how to import and export property data using the Cape-Open Property Package file (*.cota) format, please seeSolution 104226.
Keywords: Import and Export of Property Data
Interface to Third-Party Data
IK-CAPE Neutral File (*.ikc)
References: None |
Problem Statement: I would like to program a CAPE-OPEN unit. Is there any help available? | Solution: Attached to thisSolution you will find a project wizard, to be used with Visual Basic 6.0 SP3.
To install the wizard:
1 - Unzip the attached archive to a temporary folder
2 - Start the setup.exe and follow the directions.
To use the wizard double-click on CAPE-OPEN Unit Operation Wizard.vbz in \Program Files\CAPE-OPEN\Unit Wizard or whereever you installed it.
The wizard is a deliverable of the CAPE-OPEN project - not an AspenTech product. It is intended to help users getting started with building CAPE-OPEN Unit Operations. This wizard helps you to quickly generate the supporting files for a CAPE-OPEN unit.
It's been tested on Windows 2000 SP2 and Windows NT SP4.
You need Visual Basic 6.0 SP3 installed to use it. (It may work with other versions, but it has been tested with Visual Basic 6.0 SP3).
The Unit Operations it generates have been tested with:
Aspen Plus 11.1,
Hysys 2.2 with latest CAPE-OPEN add-on,
CAPE-OPEN Test program from www.co-lan.org
The wizard generates a unit operation using the CAPE-OPEN 0.9.3 version. Since this version of CAPE-OPEN unit operations is supported in Aspen Plus 12.1 and 2004, the wizard should also work in that release.
While the wizard is not covered by AspenTech Customer Support, we would be pleased to hear any feedback you may have.
Keywords: cape
open
References: None |
Problem Statement: How is the new Hierarchy structure used? How can I get a large flowsheet into Hierarchy blocks? | Solution: Use Hierarchy blocks to provide hierarchical structure to complex simulations. Also, Hierarchy blocks may be added automatically when importing templates into a simulation. Hierarchy blocks may contain streams and other blocks (even other Hierarchy blocks), as well other features like design specifications and sensitivity problems.
Hierarchy blocks contain Setup and Properties forms with some of the same information as the top-level Setup and Properties forms. The settings on these forms override the settings on the corresponding forms at higher-level Hierarchy blocks or the top level of the simulation for blocks within the Hierarchy block. Hierarchy blocks also contain forms for Streams, Blocks, Convergence, Flowsheeting Options, Model Analysis Tools, and Results Summary. These forms are used for working with such objects within the Hierarchy block, and will not affect higher-level Hierarchy blocks or the top level of the simulation except through the outlet streams of the Hierarchy block.
A Hierarchy block may have any number of inlet and outlet streams of any types (material, heat, and work). Each external stream connected to the Hierarchy block is attached to a stream within the Hierarchy block. Each stream within the Hierarchy block with an unconnected source or destination creates a port to which an external stream may be connected.
A simulation may contain up to ten hierarchy levels, each appearing as a single block in its parent and each capale of being used as a standalone simulation by other users. Hierarchies can be nested; multiple Process Flowsheet windows can be opened to view different parts of the flowsheet concurrently.
To access the flowsheet within a Hierarchy block, double-click on the block. A new flowsheet window will open, containing the flowsheet inside the Hierarchy block.
To make a flowsheet containing many blocks into a flowsheet containing hierarchies:
Open the flowsheet.
Select the blocks and streams that you want to move into a new hierarchy block.
Right mouse click and select Move Selection.
Name the new hierarchy block that you want created or select the hierarchy block where you want to move the selections.
If you want to also move non-flowsheet objects such as design specs into the hierarchy, click the Show advanced selection dialog box.
Repeat
To merge a number of flowsheets into one flowsheet with a number of hierarchy blocks:
Open a new flowsheet.
Drag a hierarchy block on the flowsheet from the User Models tab of the Model Library.
Right click on the hierarchy block and select Import.
Choose the backup (.bkp) file that you wish to put inot the hierarchy block.
Repeat
To connect streams from one hierarchy to another:
Click on Streams in the Model Library.
Click on a port on the hierarchy block
Select the stream inside the hierarchy that you wish to connect from the dialog box.
Keywords:
References: None |
Problem Statement: Why are specific heat results for mixtures that exhibit vapor phase association different from literature values ? | Solution: Aspen Plus always reports the specific heat including the reactive heat effects, while the literature data are referenced to the ideal-gas equivalent heat capacity, which in AspenPlus is called CPIG.
The attached ZIP archive contains a report based on pure acetic acid, showing quantitatively the discrepancies and demonstrating how they can be rigorously justified.
The reader is also strongly advised to read the section entitled Vapor Phase Association in the Aspen Plus 10.2 Physical Properties Methods and Models
Keywords: Acetic acid, dimerization, dimers, hexamers, carboxylic acids, NRTL, NRTL-HOC, NRTL-NTH, NRTL-RK, Nothnagel, Hayden and O''Connell
References: Manual, Chapter 1, pages 27-33. |
Problem Statement: How to import and export property data using the CAPE-OPEN Property Package file (*.cota) format. | Solution: Aspen Properties (as well as Aspen Plus) 10.2 and higher supports the CAPE-OPEN Property Package file as a way to transfer physical property parameters and data between different applications. To enable this, Aspen Properties provides functions to import and export property data in this CAPE-OPEN (.cota) format. These files are ASCII (text) files, but like .bkp files they are not readable.
Version 11.1 supports version 0-9-3 of the CAPE-OPEN standard. This version is very similar to the version 0-9-0 supported in Aspen Plus 10.2 but there are some clarifications which can be found at http://www.co-lan.org/ .
AES 12.1 and later support Version 1.0 of the CAPE-OPEN standard, including the CAPE-OPEN error handling specification for the CO thermodynamic and physical property components. You can now use CAPE-OPEN Property Packages to calculate transport properties as well as thermodynamic properties. In addition, the calculation performance of the CAPE-OPEN interface has been reatly enhanced.
In Version 11.1, AspenTech delivered example CAPE-OPEN property packages in the Aprsystem directory (for example, D:\Program Files\AspenTech\APRSYSTEM 11.1\Engine\CapeOpen Property Packages\default.cota). In Version 12.1 and later, these example property packages are delivered in the Profiles directory for All Users in a folder named for the internal version number, typically C:\Documents and Settings\All Users, in the subdirectory Application Data\AspenTech\CAPE-OPEN Property Packages\xxxx. All exported CAPE-OPEN property packages are stored in this directory by default. You can also specify a different location when you export the property package.
Import of property data
Click on the Import CAPE-OPEN Property Package button on the Aspen Properties Toolbar.
In the Available Property Packages window, select the property package you would like to use and click OK. This view lists all the *.cota files that are available.
Aspen Properties can import CAPE-OPEN compliant property packages prepared by other vendors. The imported property packages will be used in physical property calculations.
Export of property data
Click on the Export CAPE-OPEN Property Package button on the Toolbar. The CAPE-OPEN Aspen Property Package Manager dialog box appears.
Click on the save button.
Enter the name of the property package.
Note: The exported Aspen Properties property packages are not intended for use by Aspen Properties User Interface or Aspen Plus. However, they are used for the Aspen Excel Properties interface.
Use and Benefits
The availability of the *.cota file format is one element in supporting the CAPE-OPEN (CO) initiative. This is a consortium representing a wide range of users, researchers and vendors from three continents with the objective to deliver the power of component software and open standard interfaces in computer-aided process engineering.
CAPE-OPEN compliant physical property packages can be used in Aspen Plus and Aspen Properties to perform property calculations. You can also use Aspen Plus or Aspen Properties to prepare a CAPE-OPEN property package for use in other applications, such as a spreadsheet, an in-house program, or another process simulator which is CAPE-OPEN compliant. For detailed information about the CAPE-OPEN COM Thermodynamic Interface see the Aspen Plus User Models
Keywords: Import and Export of Property Data
Interface to Third-Party Data
Cape-Open Property Package File (*.cota)
References: Manual, Chapter 27.
On the other hand, IK-CAPE represents a consortium of German companies which cooperate to define key standard property models and data exchange format for use in computer-aided process engineering. The IK-CAPE file format is currently used for data exchange with DECHEMA's DETHERM database.
For information on how to import and export property data using the IK-CAPE neutral file (*.ikc) format, please see |
Problem Statement: DCOM (Distributed COM) allows creating objects (and executing methods, getting and modifying properties on them, catching events) on remote computers. This option could be used to:
Run Aspen Plus from a remote light client
Run the same file on several servers in parallel from the same client | Solution: The Visual Basic project attached to thisSolution is the simplest possible standalone client to demonstrate accessing Aspen Plus using the DCOM interface. The readme.doc document contains more information, including:
A simple description of the concepts involved in the DCOM technology
Some pointers to the Microsoft support web site for more information
Troubleshooting techniques
Keywords: Distributed COM Common Object Model Visual Basic VB
References: None |
Problem Statement: I have created a stream library, which I am using to retrieve stream data to use in my problem. Why is the data not being picked up when I run the problem? | Solution: Stream library values do not overwrite the user input so if the user has entered values in the input form, these will be used.
The stream should be cleared before loading the stream library values.
Keywords:
References: None |
Problem Statement: If you compute the heat capacity of liquid propane at 303.15 K using the DIPPR equation, the result will be 1.22519 E+05 J/(kmol K), but if you retrieve the parameter results and try to reproduce the computation using the form of the equation documented in the Aspen Plus 10.2 Physical Property Methods and Models | Solution: The reason is because AspenPlus is using another form of the DIPPR equation for propane, as you can see by generating a text report for the simulation (Menu->View->Report->Simulation).
In this report, you can also have the THRSWT displayed. A thermoswitch (THRSWT) is a parameter that controls which form of an equation is used to calculate a thermodynamic property when there are multiple equations available. Thermoswitches and the form of the equations used are documented in the Physical Properties Models and Methods
Keywords: specific heat CPLDIP physical property thermo switches PURE10 databank
References: Manual, Chapter 3, page 107 (page 106 in the 10.1 version) you''ll get -2.42E+10 J/(kmol K). |
Problem Statement: How do I figure out variable names in the Variable Explorer? For some reason, these names do not always have anything to do with the input language names? | Solution: Many of the Aspen Plus variable names are quite cryptic and others are all similar due to historical reasons. This can make it difficult to locate the variable of interest in the Variable Explorer when trying to develop a VB application.
In Aspen Plus 11.1 and higher, there is a Go To dialog in the variable explorer.
There are two ways to access the Aspen Plus variable names in the variable explorer. One is to copy the path-to-node name from the top of the variable explorer directly into your source code, and the other is to copy the FINDNODE syntax into your source code.
To use the path-to-node syntax, please follow these steps:
Click on a field in an Aspen Plus input or result form.
Copy the variable of interest to the clipboard.
Open Variable Explorer.
Right Mouse button click on the tree view.
Click on the Goto Node button.
Click on the OK button on the resulting dialog box.
Go to the top of the variable explorer and find the PATH TO NODE field. Highlight the entire path to node name, except for the portion that says APPLICATION. Click the right mouse button, copy the path-to-node name to the clipboard, and paste it into your source code.
Many times, the path-to-node name will need elements qualifiers added.
For example, if you wanted to retrieve the liquid flow on stage 2 in the Radfrac Block B6 in the attached example, the retrieved path-to-node name would be:
Application.Tree.Data.Blocks.B6.Output.LIQ_FLOW.2
To format the syntax correctly (assuming the AspenPlus object has a local object name of go_simulation), the syntax would become:
go_Simulation.Tree.Data.Blocks.B6.Output.LIQ_FLOW.elements(2).value
To use the FINDNODE, use these steps:
Click on a field in an Aspen Plus input or result form.
Copy the variable of interest to the clipboard.
Open Variable Explorer.
Right Mouse button click on the tree view.
Click on the Goto Node button.
When the FINDNODE dialog appears, copy the displayed FINDNODE string to the clipboard.
Paste the FINDNODE string to your source code and format the syntax.
In the above example, the FINDNODE dialogue would display the following string for the tray 2 liquid:
\Data\Blocks\B6\Output\LIQ_FLOW\2
The formatted syntax for your VBA source code is:
go_Simulation.Tree.FindNode(\Data\Blocks\B6\Output\LIQ_FLOW\2).value
Note:
As the above examples demonstrate, the FINDNODE approach requires less user re-formatting of the syntax. However, there are some cases where the FINDNODE approach does not work, but the PATH-TO-NODE approach does work. The best way to test this syntax is via the immediate window in the VB or VBA editor after you have used VB code to open a simulation.
Keywords: VB
VBA
Excel
FINDNODE
path to node
path-to-node
References: None |
Problem Statement: Potential savings on CAPEX, OPEX and Energy consumed by process plants, lost due to use of simple heat exchanger models in Aspen HYSYS flowsheets | Solution: Rigorous heat exchanger models incorporated in process flow sheets enhances the fidelity of the flowsheet enabling you to reduce CAPEX, OPEX and Energy consumed.
Aspen HYSYS enables you to develop rigorous heat exchanger models in just few clicks, from within the flowsheet.
Here we demonstrate how you can develop rigorous heat exchanger models of
· A Shell & Tube heat exchanger and
· An Air Cooled heat exchanger
from an Aspen HYSYS Flowsheet.
Please follow the steps below
1. Download the below files (attached with thisSolution)
a. Size HX from Aspen HYSYS.pdf
b. CDU_Model.zip
c. Pre-heat_AES_TEMPLATE .edt
d. AC-TEMPLATE.edt
2. Follow the instruction on the file ‘Size HX from Aspen HYSYS.pdf’. This is a guide that would take you step by step through the exercise.
By the end of this exercise you would have learnt how to convert simple heat exchanger models in your Aspen HYSYS flowsheet to rigorous models without leaving the flowsheet, and how to make use of EDR templates to comply with your company standards so as to capture savings from your process flowsheets.
Keywords: Design fin fan heat exchangers, Improve flowsheet accuracy, improve process accuracy, simple heat exchanger models, heat exchanger templates, design templates, EDR templates, company standards, design shell and tube, design air coolers, troubleshoot operational problems, preliminary heat exchanger design, initial heat exchanger design
References: None |
Problem Statement: Is it possible to read the temperature profile in an RPLUG reactor into Microsoft Excel via VBA? | Solution: Below is the code fragment from the attached models. The basic premise is to sample the collection of temperature profile points from the RPLUG results. In this example, a count of the children under Blocks.RPLUG.Output.B_TEMP.MIXED is accessed using the elements qualifier (see below).
Public Sub rplugTprofile()
Dim lo_RTemp As IHNode
Dim li_Counter As Integer
Dim lo_Profile As IHNode
Dim NumberOfProfiles As Integer, i As Integer
''
'' -- clear entries from previous simulation --
Range(Range(RPLUG), _
Range(RPLUG).End(xlDown).Offset(0, 3)) _
.ClearContents
'' -- set intermediate object to simplify --
Set lo_Profile = go_Simulation.Tree.Data.Blocks.RPLUG.Output.B_TEMP.MIXED
'' -- set counter to zero --
li_Counter = 0
''
NumberOfProfiles = lo_Profile.Elements.Count - 1
For i = 0 To NumberOfProfiles
'' -- Write the RPLUG profile''s reference reactor length Range(RPLUG).Offset(li_Counter, 0).Value = _
go_Simulation.Tree.Data.Blocks.RPLUG.Output.LENGTH_PXY.Elements.Item(i).Value
'' -- write the current profile''s temperature and temperature dim units -- Range(rplug).Offset(li_Counter, 1).Value = lo_Profile.Elements.Item(i).Value Range(rplug).Offset(li_Counter, 2).Value = lo_Profile.Elements.Item(i).UnitString li_Counter = li_Counter + 1
Next i
End Sub
Keywords: Visual Basic
VBA, RPlug, tmeprature profile
References: None |
Problem Statement: In the Aspen Properties 11.1 Toolkit reference manual (APROP 111 Toolkit.pdf), the interface to access the physical property calculation routines of Aspen Plus / Aspen Properties from a standalone executable is documented. This interface was available to customers in the past but was not documented.
In the manual on page 4-2, the aspelink command is mentioned, but it does not seem to be available in any of the shipped versions of Aspen Plus.
Can you provide the aspelink utility? Can you provide a working example? | Solution: If you are starting a new project, you may consider using the CAPE-OPEN interface as a more modernSolution to this problem. The difference is that the latter relies on a COM interface and typically requires programming in Visual Basic or C++. SeeSolutions:
http://support.aspentech.com/webteamcgi/SolutionDisplay_view.cgi?key=104226 http://support.aspentech.com/webteamcgi/SolutionDisplay_view.cgi?key=106628
The aspelink command was not shipped with 10.x or 11.x.
Starting from 11.1 SP1, a new option for the built-in asplink command is provided (genexe) to produce an executable. Type asplink help in a Simulation Engine window to get more information.
The 10.1, 10.2 and 11.1 versions of the aspelink command are attached as ZIP archives.
The fourth zip archive included, an example (based on the code provided in the Aspen Properties 11.1 Toolkit
Keywords:
References: Manual) with the necessary accessory files and a pre-compiled executable for versions 10.2 and 11.1.
Start the example by typing:
flcurve.102 case1 hcgas.102
or
flcurve.111 case1 hcgas.111
depending on the versions. |
Problem Statement: In Aspen Plus 10.2 it is not possible to access directly any User3 block variables via the User Interface. This | Solution: describes the procedure to access User3 block variables to use in a design-spec. You will be able to access variables in the usual way in a future release.Solution
As an example of the procedure needed to access User3 block variables, the example in thisSolution uses the cyclohexane example. The files are contained in the Aspen Custom Modeler installation under \Program Files\AspenTech\Aspen Custom Modeler 10.2\Examples\FlowsheetExport
The files for this example are also included in the attachment to this document. This means you don''t have to re-export the model from Aspen Custom Modeler and can start working straight away on the Aspen Plus bkp file. Place all files from the attachment in the same directory.
cyclohexane.zip contains the following:
cyclohexane.bkp - the file using the user3 block exported plus a design-spec and calculator block in the Add Input, Add After sheet
cyclohexane.acmf - the original acmf file
cyclohexane.apm - the A+ model library file
cyclohexane.dll - the dll file
cyclohexane.inp - the input file exported from cyclohexane.bkp with the sentence line added to the User3 block
Cyclohexane.zip contains an example to illustrate the implementation, which is described below. A design-spec has been implemented to achieve a spec of 11.3 GJ/hr in the User3 block by varying the specifed outlet temperature of the heat exchanger.
You can implement this procedure:
either in the inp file and then run in the Simulation Engine window
or in the Aspen Plus User Interface using the Add Input form. This option still requires editing the input before running to add a Y SENTENCE to the User3 Block
This example shows the implementation of the second option, using the User Interface
FINDING THE VARIABLES'' NUMBERS
Before we can implement the design-spec we need to find the variable numbers for the variables we need to access in the Design-Spec. These need to have a Y sentence defined in the User3 block using their variable numbers.
Unfortunately you cannot find the variable numbers from within the Aspen Plusl User Interface. You need to run the problem using the input language file in the Aspen Plus Simulation Engine window and execute the User3 block by running the input file interactively. First you need to edit the input file to include extra keywords that will halt the run when the block is to be executed. This allows you to enter extra commands manually to query the system as the run proceeds. Steps 1 to 3 below include detailed instructions on how to implement this interactive run.
1 -. Export and edit an .inp file of your simulation. In the PARAMETERS sentence of that block add INTER=YES at the end as shown below:
BLOCK B1 USER3
SUBROUTINE MODEL=ACM101
PARAMETERS SUM=VARS BYPASS-USER=YES LOADLIB=Cyclohexane INTER=YES
2 - Open the Aspen Plus Simulation Engine window, move to the directory containing the .inp file and run the .inp file with the command ASPEN <filename>.
3 - When the run completes, execute the following commands interactively:
> LOAD LIBRARY libname
> add Block oomfbln as blockname
> print var *
> exit
where :
libname is the library name, in this case ciclohexane blockname is the user3 block name, in this case B1
You can use a combination of a string of text and * in the print var command if you know variable names you are interested in and you want to reduce the size of the list. Make sure you can scroll back in your DOS window by having a big enough buffer size.
From the resulting list of variables and their numbers identify the ones you are interested in and note down their corresponding numbers.
In this example pick the variable number 79 for the duty and variable number 100 for the rate in the reactor. This example does not use the rate anywhere but illustrates how to use several numbers in the Sentence.
4 - You can now delete INTER=YES from the .inp file.
DEFINING THE DESIGN-SPEC IN THE ASPEN PLUS FILE
Once you have all the variables'' numbers, you need to add the following input language either at the end of the. inp file or using the Add Input form in the Aspen Plus User Interface and type in the code in sheet Add After:
DESIGN-SPEC TESTACM
DEFINE DUTY BLOCK-VAR BLOCK=B1 VARIABLE=FINAL & SENTENCE=Y ID1=79
SPEC DUTY TO 11.3
TOL-SPEC 0.001
VARY BLOCK-VAR BLOCK=E-102 VARIABLE=T-COLD LIMITS 280 350
In the DEFINE paragraph you define your target, you must use SENTENCE=Y and ID1, which is 79 for the calculated reactor duty. You must also define what the sentence variable type is. In this case you are getting a result variable from User3 to generate a Spec so you must use FINAL. If you were manipulating a User3 input variable in order to achieve a specification on another variable then you would have to use INIT.
The rest of the DESIGN-SPEC block is what you would normally use if you were using input language as is described in the manual.
INCLUDING THE SENTENCE IN THE USER3 BLOCK
You need to add the following line to the end of the user3 block:
Y 79 / 100
This line will define the Y sentence and the variable numbers you can use with it. You can define as many variable numbers as you need separating them by the / character.
There is no direct way of adding this line in the Aspen Plus User Interface to the .bkp file. The command needs to be added in the .inp file. Hence you can:
either choose to run the simulation in the Aspen Plus Simulation Engine window by editing the .inp file and running it at the command line level,
or you can run the simulation in the User Interface if you switch on the option Edit keyword input before starting calculations in the Tools, Options, Run tab. This will open an editor with the .inp file when you click run. You can then paste in the command line and save and exit from the editor. The run will then proceed. Unfortunately you will always have to repeat this procedure each time if you want to use the User Interface.
A similar implementation can be used for Calculator blocks, Sensitivity Analysis, etc.
Keywords: User3, Variables
References: None |
Problem Statement: How does Aspen Plus extrapolates temperature-dependent property equations at the lower and upper temperature limits? | Solution: The default extrapolation method is linear extrapolation. That is, the slope at the temperature limit is used to extrapolate linearly beyond the temperature limit.
Exception 1 - If the property equation has the form:
ln (Prop) = a + b/T
Extrapolation will be based on the slope of ln(prop) versus 1/T. This extrapolation rule applies to the Antoine vapor pressure equation and the liquid viscosity.
Exception 2 - The Henry constant equation does not follow the Exception 1 rule. Instead the extrapolation will be based on the slope of ln(Henry) versus T.
Exception 3 - The Aspen Ideal Gas Heat Capacity model uses an explicit equation when the temperature is below the lower temperature limit. The equation is:
Cp = C9 + C10*T^C11 for T<C7
where, C9, C10 and C11 are ideal gas heat capacity model parameters for the given component. C7 is the lower temperature limit.
Above the upper temperature limit, the default linear extrapolation method is used.
Exception 4 - For the Wagner vapor pressure equation, we use the Wagner equation as is beyond the temperature limits. That is, there is no extrapolation.
Exception 5 - Likewise, for temperature-dependent binary interaction parameters, Aspen Plus uses the equation without extrapolation beyond the temperature limits.
Exception 6 - The Aly-Lee equation for CPIGDP has no extrapolation rule. I.e., the equation is used as is even if T is outside the bounds. The equation is known to have correct behavior and no extrapolation is required.
Exception 7 - Water solubility and hydrocarbon solubility methods do not use extrapolation.
Exception 8 - Liquid density models
Rackett model extrapolates linearly from a reduced temperature (Tr) of 0.99.
For Tr > 0.99, an extrapolation method is used to smooth the transition to constand molar volume equal to the critical volume.
DIPPR model has built-in temperature limits (DNLDIP/6 and 7) and is extrapolated linearly from those limits or above 0.995*Tc .
Keywords: PL
PLXANT
MUL
CPIG
WATSOL
RHOL
property parameter
t-dependent
References: None |
Problem Statement: How do I use PPMON_CALPRP, the general property monitor to retrieve thermodynamic and transport properties with derivatives? | Solution: See attached subroutine below.
Keywords: propery monitor
SUBROUTINE PPMON_CALPRP(T, P, X, NX, N, IDX, NBOPST, KDIAG,
1 KBASE, PROPS, NPROP, PHASES, NPHASE, RESULT, NRESULT,
2 IRESULT, KERR)
C
References: None |
Problem Statement: Clean fuels legislation in North America, Europe and elsewhere requiring the introduction of ultra low sulfur diesel (ULSD) fuels has created major challenges for refiners, equipment manufacturers and engineering, procurement and construction (EPC) companies. Refineries that wish to compete in the ULSD market face tight deadlines to adopt desulfurisation technologies if they are to switch production to the new specifications, which take effect over the next five years. | Solution: The featured publication Design without delay by Matt Reinsdorf and Larry Short (Fluor Corporation) and Brian Wood (Aspen Technology) in the March 2005 issue of Hydrocarbon Engineering presents a newSolution to simplify and accelerate the initial process design phase of ULSD projects. It uses Aspen HYSYS as the basis for thisSolution model. With its open architecture and design capabilities tailored to the petroleum industry, Aspen HYSYS has made it possible to generate rapid, specialized and customized designs that fully meet customer requirements.
Please refer to the attached paper for details.
Keywords: Clean fuel, design, ultra low sulfur diesel, application, publication, Fluor
References: None |
Problem Statement: What does NaN mean? | Solution: NaN stands for Not-a-Number and is used to represent that no numeric value is available to be displayed. This is the IEEE (Institute for Electrical and Electronics Engineers) arithmetic representation for Not-a-Number. This value would result from operations which have undefined or unavailable numerical results.
For details about what may cause NaN to appear on displays, refer to further articles:
Graphics pages display -999 or NaN in data fields, instead of the real value.
Why does Graphics Editor display *** when viewing BAD data from InfoPlus.21?
Keywords: None
References: None |
Problem Statement: Value or Time in Visual Basic are keywords in Visual Basic.
VALUE and TIME are, for example, needed to access a Design-spec in a RadFrac block and time profiles in BatchFrac, respectively. VB automatically changes them to lower case keywords ( Value and Time). This results in a run-time error when running the code. | Solution: The workaround is to use .Elements(VALUE) or .Elements(TIME) to access the Aspen Plus variables. For example to set the Target value for the first Design Spec in a RadFrac block (named B1) to 0.99:
go_Simulation.Tree.Data.Blocks.B1.Input.Elements(VALUE).Elements(0).Value = 0.99
go_Simulation being an object of type IHapp or HappLS.
Keywords: Visual Basic, Value, Time
References: None |
Problem Statement: How is it possible to transfer mass flowrates from Aspen Plus to a USER2 Excel model? In the example provided in the Getting Started guide ''Customizing Unit Operation Models'', only molar flowrates are passed from Aspen Plus to the Excel worksheet. | Solution: Modify the USRXLS.F routine that acts as an interface between Aspen Plus and Excel. This routine is described in the Aspen Plus 10.2 User Models guide. page 5-23 and in the Aspen Plus 10.2 Getting Started guide ''Customizing Unit Operation Models'', page 2-25.
By default, Aspen Plus passes only a limited number of variables to Excel (material stream molar flow, temperature, pressure etc ...). If you want to pass any other variables to the Excel Aspen_Input sheet in the USER2 Excel spreadsheet, you should modify the USRXLS.F routine and include it to your simulation. In the Getting Started Guide Chapter 2, you will find an example of how to pass the mixture viscosity to the Excel file.
USRXLS.F routine was modified such that it retrieves the pure components molecular weight and multiply the individual component molar flowrate by the MW before passing them to the Excle spreadhseet. It is also necessary to divide the mass flowrates which are passsed back from Excel to Aspen Plus by the component MWs such that Aspen Plus receives the component molar flowrates. If you use the attached USRXLS-MASS.F routine, all the individual component flowrate will be on a mass basis (i.e. in kg/s).
The attached example has two feed streams and two outlet streams. The unit operation separates water from the other pure components. Water is sent to outlet stream WATER.
Visual Fortran 6.1 or above is required to run this example. You should include it in the Setup form for the USER2 block, entering the name USRXLS in the ''User2 Subroutines Model'' textbox. USRXLS.F should be compiled as any other user model routine, using aspcomp, and asplink if required.
To run this example:
Create a working directory (e.g. C:\work)
Copy the Excel file, the Fortran code and the BKP file in this directory.
Open the Aspen Plus 10.2 Simulation Engine window ( Start -> Programs -> AspenTech -> Aspen Engineering Suite 10.2 -> Aspen Plus 10.2 -> Aspen Plus Simulation Engine Window)
Go to your working folder (e.g. cd c:\work)
type: aspcomp usrxls-mass.f
Open the BKP file. Go to block USER2-XL . In the Setup form , in the ''Excel File Name'', type the location of the Excel file (e.g. C:\WORK\TESTXL.XLS)
Make sure that in the Setup form for the USER2-XL model, the text box User2 subroutines - Model'' contains the name of the Fortran routine used to pass the parameters to Excel, i.e. USRXLS.
No DLOPT file is needed as Aspen Plus 10.2 will just link the USRXLS_MASS.OBJ file to the simulation at run-time.
Files for this example are in the attached ZIP file.
Keywords: USER2
Excel
usrxls.f
References: None |
Problem Statement: How to calculate HCOMB using the higher and lower heating values | Solution: Let's take an example on the coal.
Given: High Heating Value = 5300 Btu/lb (wet-based ,ash included)
Low Heating Value = 4800 Btu/lb
Coal Composition (wet based) = moisture 38 %, Ash 10 %, the other 52%
The heat released during complete combustion with oxygen is known as heat of combustion. High heating value is determined by bringing all products of combustion back to original pre-combustion temperature with condensing any vapor produced while in case of low heating value we won't condense any vapor produced.
Δ Hcomb (Heat of Combustion) = Higher Heating Value if H2O formed as a liquid
= Lower Heating Value if H2O formed as vapor
HCOMB is the heat of combustion on a dry basis. Use the following equation to convert the heat of combustion on a wet basis to a dry basis.
HCOMB = Heat of Combustion (wet) * (100/(100 - %Moisture))
Using the data given above we can calculate HCOMB as follows:
HCOMB = 8548.38 if H2O formed as a liquid
= 7741.935 if H2O formed as vapor
Keywords: Heating value, heat of combustion
References: None |
Problem Statement: Is there a quick reference guide for ACM modeling and task language? | Solution: See the attached documents (Word 2003 and pdf file). The document applies to version 2004.1 but only a few features do not apply to previous versions.
Keywords: None
References: None |
Problem Statement: How do I resolve version compatibility problems with Aspen HYSYS VBA macros? | Solution: Depending on how a macro is coded, you may or may not run into issues on a machine that has multiple versions of Aspen HYSYS installed. Here are some general guidelines for how to resolve issues that may arise in this case.
Check the version of the referenced HYSYS type library
In VBA, you can add a reference to the HYSYS type library by going to Tools |
Keywords: Aspen HYSYS COM VBA ActiveX automation versions
References: s:
You can browse for a specific version by clicking on Browse... and looking under the following directory:
C:\Program Files (x86)\AspenTech\Aspen HYSYS V#.#\hysys.tlb
HYSYS type libraries are version specific, and the macro can only link to the corresponding version of the HYSYS application. Thus, a macro that references HYSYS 9 Type Library can only be used with Aspen HYSYS V9.0.
Check which versions of HYSYS are installed on the machine
This is a known issue with VBA as a programming language. When the code is built, VBA determines object types using the referenced HYSYS library. However, on run-time, VBA always loads the highest registered version of the HYSYS library. This discrepancy results in a run-time error due to incompatible interfaces between different versions of HYSYS libraries.
For example, if a user has V8.8 and V9.0 of HYSYS installed on a machine and runs a macro that references the V8.8 library, the code will fail because VBA loads the V9.0 library on run-time. If the user wishes to run the macro in V8.8, one option would be to use command prompt to unregister V9.0 and force the V8.8 library to load on run-time.
To unregister a version of HYSYS, open Command Prompt as administrator and type in the following two lines:
cd C:\Program Files (x86)\AspenTech\Aspen HYSYS V9.0
aspenhysys.exe /unregserver
If successful, a message will display that reads OLE Registration Removed.
To register a version, use the following two lines:
cd C:\Program Files (x86)\AspenTech\Aspen HYSYS V9.0
aspenhysys.exe /regserver
If successful, a message will display that reads OLE Registration Successful.
To check the HYSYS libraries that are registered on the machine, open regedit and navigate to the following key:
HKEY_CLASSES_ROOT\TypeLib\{DFC1C58B-AE9F-11CF-8EB2-0020AF119B90}
Each subkey corresponds to a registered HYSYS library.
Use late binding instead of early binding
In early (static) binding, objects types are determined the when code is compiled or built. This can be accomplished by explicitly declaring an object with a specific object type.
Example written in VBA:
Dim hysysApp As HYSYS.Application
Set hysysApp = CreateObject(HYSYS.Application.V9.0)
In late (dynamic) binding, objects are declared with a generic datatype. The actual object type is determined at run-time. In VBA, this is done by declaring it as a generic Object datatype:
Dim hysysApp As Object
Set hysysApp = CreateObject(HYSYS.Application.V9.0)
If you use early binding, you must also add a reference to a HYSYS type library, thus making the macro version-specific. On the other hand, a macro that uses late binding works with all versions of Aspen HYSYS, even if there are higher versions of HYSYS installed and registered. However, there are several disadvantages to late binding:
Slower run-times
No access to auto-complete when writing code
Cannot create HYSYS BackDoor objects |
Problem Statement: Why “Edit Properties” pops up every time I try to load Tags or run the file from AOT? | Solution: This issue happens between AOT and Aspen Plus Dynamics file. When we try to load Tags or run AOT , the following message pops up although properties is already configured in that Aspen Plus Dynamics file:
To resolve this issue, we need to first create an “.aprbkp” file from Aspen Plus steady state file:
Then load this “.aprbkp” file in Aspen Plus Dynamics file(.dynf):
Now, this new “.dynf” can be linked and opened from AOT without any issues.
Key Words
Aspen Plus Dynamics, Properties. AOT
Keywords: None
References: None |
Problem Statement: How can I reduce the load on the PCWS so that it is faster to navigate and/or does not crash from overloading? | Solution: Here are some best practices for reducing loading on the web server:
When there are a lot of IQ applications, the Aspen APC Web Data Provider Service could be spending much of its time trying to store history in the plot backup history files. For each IQ application, lower the MAXPLOTHOURS and PLOTHOURS to 24 or 12 if possible (the lower the better).
Virus scanner exclusions. Virus scanning always impacts performance for any application, especially “Endpoint protection” and “On access” scanners. If the sever is isolated enough, or it is a VM with a recent snapshot you can restore easily, then you could theoretically remove the on-access and endpoint scanning and schedule a whole system scan periodically to reduce this overhead. Regardless, the following files should be explicitly called out in the virus scanner exclusions:
C:\Windows\SysWOW64\inetsrv\w3wp.exe
C:\Windows\System32\inetsrv\w3wp.exe
C:\Program Files (x86)\AspenTech\APC\Web Server\bin\WebDataProviderSvc.exe
C:\Program Files (x86)\AspenTech\BPE\AfwSecCliSvc.exe
C:\ProgramData\AspenTech\APC\Web Server\ (folder and subfolders)
All other recommended folders are in Appendix D of the APC Installation Guide and can also be found in KB article 49932.
When viewing APC controllers, the Plots view (multi-plot window) can have a significant impact on server performance. The key is to keep this window size small. The larger the window, the more CPU intensive it is to generate plot images to fill those pixels. The web server generates a plot image for each variable in the plots view, so the number of cells displayed also has an effect. It is recommended that you only show variables needed and close this window when it is not really needed.
The number of applications and variables has an impact on memory size. The web provider service naturally has its limitations and cannot host an infinite number of applications. So, when performance becomes a serious issue, it is best to offload the web server by splitting up the load among two servers. It is better to open two browsers, each accessing a different web server to be able to see all the applications.
Some other items that are less commonly changed, but could have an effect, are settings in the configuration file for the WebDataProviderSvc (see screenshot below for reference):
plotHistoryMaxHours: This limits the maximum hours allowed for plot history and it will override any settings you define in the IQ apps, for example. It affects all app types, not just IQ.
plotHistoryBackupIntervalInMinutes: this changes the frequency at which the plot history is backed up to disk (so it can be recalled when you restart the service). It could be that the system is getting overwhelmed by the sheer number of data values being updated and 15 minutes is too often. You could change this to 30 to see if it has an effect.
maxMessagesTotal: This is an in-memory storage queue for messages and 20,000 is the default. This may lower the memory size slightly but not as many messages for the applications will be visible.
maxMessagePerUpdate: This is limiting how many messages are requested from the Online server at a time.
ignoreApps: This feature can be used to “ignore” (not mirror the data for) selected applications from data services on a particular host. This is one way the applications from a single data service can be split between two web servers. This is mostly useful when you have a large number of apps on one online server that you want to split up between different web servers. The feature is commented out by default.
Keywords: Reduce, load, PCWS, production control, web, server, web page, data, provider, service, apc, slow, fast, crash, overload
References: None |
Problem Statement: How to draw disconnected streams in APEA? | Solution: New streams can be drawn and connected to the equipments in the Process Flow Diagram, to do so, follow the procedure below:
Go to View | Process Flow Diagram
Select the Draw Disconnected Stream button to choose streams that you want to draw and attach it to the process equipment of desire.
The Disconnected Streams window will pop-up. In here, all the streams that aren’t currently attached to the process will appear. Select the one that you want to connect to your process and click in the OK button.
Once you hit the Ok button, click anywhere in the diagram and hover your mouse over the equipment to which you want to attach the stream. You will see that the ports to which you can attach the stream to the equipment will be highlighted in green. For example:
Select the part of the equipment to which you want to attach the stream and draw it.
To review the stream creation procedure in APEA see the article 96998
Keywords: Draw, create, modify, delete, connect, utility, streams
References: None |
Problem Statement: In the building component, do the costs generated by control building selection include the elevated false floor often installed in control buildings? | Solution: Unlike most Components, buildings are done on a cost per area (ie, $/square foot). The added cost from an elevated, false, floor, can be taken into account by using the High or Very High cost adjustment, or entering your own cost per area. There is a complete discussion of buildings in the Icarus
Keywords: control building, control, building, false, floor, elevated
References: Manual, Chapter 26. |
Problem Statement: Aspen Plus can perform simultaneous phase and chemical equilibrium computations in the RGIBBS block. This computation is required to build distributed high-temperature models such as:
metallurgical applications (blast furnace)
combustion processes
Is it possible to call the RGIBBS reactor model of Aspen Plus from an external program (like Matlab, a CFD package, Excel ...) as a function? | Solution: Yes, you can call an Aspen Plus model using the COM interface. For more on the COM interface see the Aspen Plus 10.2 User Guide, Chapter 38 and the examples in D:\Program Files\AspenTech\Aspen Plus 10.2\GUI\vbexample.
The attached example runs within Excel 2000. The same code can be used to wrap RGIBBS in a function in any environment that supports COM and Visual Basic.
When you open the spreadsheet, none of the cells are recalculated so Aspen Plus will not be opened. Change the path to the file boudouard.BKP in cell A1 and click on Open Sim to establish the link with Aspen Plus. Then, change the cell contents in the columns CO, CO2 or T and the results will be automatically refreshed (each function call takes 700 ms on my PC). Do not forget to click on Close Sim to clean up at the end.
The code is provided below:
'' Global variables
Dim mysimulation As HappLS
filename = E:\Public\2ndlevel\rgibbsvba\Boudouard.bkp,
'' initialize globals
Set mysimulation = CreateObject(Apwn.Archive)
mysimulation.SuppressDialogs = True
mysimulation.InitFromArchive2 filename, 0
...
'' cleanup
Set mysimulation = Nothing
'' actual function to wrap Aspen Plus
Public Function GIBBS(CO As Double, CO2 As Double, T As Double) mysimulation.Tree.Data.Streams.FEED.Input.FLOW.MIXED.Elements(CO).Value = CO mysimulation.Tree.Data.Streams.FEED.Input.FLOW.MIXED.Elements(CO2).Value = CO2 mysimulation.Tree.Data.Blocks.Elements(F).Input.TEMP.Value = T
'' run the simulation
mysimulation.Run2
'' get results
GIBBS = mysimulation.Tree.Data.Streams.Elements(PROD).Output.MOLEFLOW.CISOLID.Elements (FE).Value End Function
Note that it is advantageous to have a global variable to store the object connected to Aspen Plus via the COM interface between calls, to avoid the overhead of re-establishing every time the connection.
Keywords: Visual Basic for Application ActiveX Equilibrium Reactors Iron Oxide Blast Furnace
References: None |
Problem Statement: How to resolve the time out warning in AOT? | Solution: When a Hysys file is run from AOT, following timeout warning messages may be generated on AOT message window:
These warning messages aren’t critical. Every time we exchange data between AOT, OPC server/client and simulators, we have a time limit, the warning message means some transactions abort and we use previous transactions data to continue. If the next transaction is ok, the whole simulation could catch up with the correct data.
To stop this warning message, please go to AOT > File > Option > Configuration and increase the Thread Read and Write Delay to a larger time limit
Key Words
Timeout, AOT, Delay
Keywords: None
References: None |
Problem Statement: How to modify Heater Dynamic temperature spec from Event Scheduler? | Solution: In a Heater block, the temperature spec in the Dynamic tab determines the Heater outlet temperature during a dynamic run.
From Event Scheduler, if you want to manipulate this variable, please make sure to select “T Spec, Product T Control” variable. There are several other Temperature variable available like Fluid T, Zone T which will not work.
An example file is attached here.
Key Words
Heater, Dynamic Temperature, Even Scheduler
Keywords: None
References: None |
Problem Statement: The Aspen DMC/DMC3 Controller can read tag values but cannot write them to Siemens’ DCS PCS7 using Aspen CIM-IO for OPC server. Test API confirms this behavior as it is successful in testing Get but fails in testing Put.
The following errors can be seen in the CIMIO_MSG.log:
CIMIO_OPC_CONNECTSINK_FAILED, Failed to Connect Sink, the Dadvise Method Failed
AsyncDlgp (PID 3004) - Error after a PUT. Consult device manual for a proper error description. A value other than S_OK (0) was received. hresult is [0x80070005,-2147024891] - Access is denied.
How do I set the configuration so that the controller can write tag values to the DCS? | Solution: Siemens OPC server uses synchronous writes, whereas the default settings are asynchronous writes because it works well for other vendors. To change these settings, please follow these steps:
Open Cim-IO Interface Manager
Stop the OPC server
Select OPC Interface on the left side
Check the box for Perform synchronous writes
Save the configuration
Keywords: Siemens, OPC, cannot, write, tags, DCS, synchronous, writes, asynchronous, cim-io, cimio
References: None |
Problem Statement: Aspen Mtell quick installation and start up guide | Solution: This article will explain how to install Aspen Mtell Server and Desktop Application.
Note: Please refer Aspen Mtell V11.1 Installation Guide for detailed information:
Prerequisites Installation:
1. Install Microsoft .NET Framework 4.6.2, refer KB: 000014359 for steps to install Microsoft .NET Framework 4.6.2.
2. Install Microsoft .NET Framework 3.5 SP1, refer KB: 000044464 for steps to install Microsoft .NET Framework 3.5.1.
3. Install Microsoft SQL Server 2012 R2, refer KB: 000044437 for steps to install Microsoft SQL Server 2012 R2
Note: Aspen Mtell V11 supports Microsoft SQL Server 2016 SP1, Microsoft SQL Server 2014 SP2, Microsoft SQL Server 2012 SP2 and Microsoft SQL Server 2008 R2 SP3.
4. Install Microsoft Internet Information Services (IIS), refer KB:000095490 for steps to install IIS.
Aspen Mtell installation:
1. Run setup.exe from aspenONE V1x APM media
2. Select Install aspenONE Products
3. Accept the terms and click Next
4. Select specific products for Client and Server install:
a. Client Machine install, select Desktop Applications and click Next
b. Server Machine install, select all the options and click Next.
5. Enter the license server hostname or IP Address and click Add Server, click Next
6. Click Install Now
Keywords: Mtell install
deployment
implementation
References: None |
Problem Statement: When I do the project export to Excel the bulk items spreadsheets are empty, why? | Solution: Aspen Capital Cost Estimator generates the bulk items automatically and this will be reflected in the project report. When the project is exported to an Excel spreadsheet, the user will only be able to see the bulk items that were manually entered inside ACCE.
If the volumetric models are loaded, such as the Pipe and Instrumentation bulks, then this will be shown in the Excel spreadsheet. This is not true for the Duct, Civil, Steel, Electrical, Insulation and Paint bulk items.
Additionally, if you add the bulk items directly into the Excel spreadsheets remember to link them to the correct User Tag Number, this is the way that ACCE will know to which item the bulk belongs.
Keywords: Bulk items, empty, export, volumetric model, Excel, spreadsheet
References: None |
Problem Statement: Is the ASME stamp included in the vessel price? | Solution: Vessels manufactured in the United States will carry the ASME code stamp certifying that these vessels have been designed and fabricated to code standards. This stamp is included in the price.
Vessel manufactured outside the United States are to be designed and fabricated according to code standards as well, but they don't need to carry the code stamp.
Keywords: ASME stamp, vessel
References: None |
Problem Statement: I am getting an error referring to a problem with one of my areas, and I can't figure out why or what area it is referring to. It seems to refer to a component reference number, but that doesn't make sense...
>ERROR> ' - 0' INVALID AREA LENGTH AND/OR WIDTH error for AREA | Solution: The error message is confusing when it refers to a component reference id number and component name. Actually, it is incorrect, however, check each of your AREA SPECS to make sure that you have not input an invalid length and width.
If you input a question mark (?), this error message will be generated.
If you input anything less than 1, then this error message will also be generated. You cannot use less than 1M or 1FT for the area specs for length and width.
Keywords: invalid, area
References: None |
Problem Statement: How does the Blend Recipe Stabilization work within the Global Optimization in MBO? | Solution: When there is a non-zero value in the Deviation Penalty field,
MBO adds a penalty term in the objective function with a negative coefficient of the magnitude entered in the field.
This penalty term is made up of a summation of the percentage difference for each blend and each component vs the average recipe (set in the Products dialog).
Keywords: None
References: None |
Problem Statement: What are the steps needed to change Audit Property Status settings using the ChangeAuditAttribute.exe utility? | Solution: ChangeAuditAttribute changes the AUDIT_PROPERTY setting. The ChangeAuditAttribute.exe utility is located in folder:
64-bit Aspen InfoPlus.21: %ProgramFiles%\AspenTech\InfoPlus.21\db21\code
32-bit Aspen InfoPlus.21: %ProgramFiles(x86)%\AspenTech\InfoPlus.21\db21\code
A DOS prompt appears and it asks for the following information: definition record name and the field name. In the example below, it shows you what to enter for a Get record.
Enter definition record name: IOGETDEF
Enter field name: IO_DATA_STATUS
Current attribute = <Never>
Always
Never
Controlled
Enter new attribute:3
For bulk attribute setting, all you need to do is create a DOS batch file that calls ChangeAuditAttribute.exe multiple times, specifying the record, field and attribute as three parameters for each call. Usage:
ChangeAuditAttribute.exe [record=name field=fieldname attrib=setting] setting: 1=Always, 2=Never, 3=Controlled
Eg. ChangeAuditAttribute.exe IP_AnalogDef IP_DESCRIPTION 2
Result: <IP_AnalogDef> <IP_DESCRIPTION> attribute changed from <Always> to <Never>
NOTE: The behavior of Controlled fields is the same in Audit only or in Compliance mode. That is, if a Controlled field is written to by an Exempt task, no audit message is generated. If a Controlled field is written to by a non-exempt task, an audit message is generated.
Keywords: A&CM
AuditProperties
Alarm and Event
References: None |
Problem Statement: Why do I get strange component efficiency result from RadFrac Rate Based modeling? | Solution: Normally, the efficiency should be between 0 and 1. However, in the rate-based mode, the liquid and vapor phases leaving a stage are at different temperatures. Therefore the K-values are not well defined. Aspen Plus uses the liquid temperature, liquid compositions and vapor compositions to re-calculate the K-values that are rigorously calculated. Then they are used to calculate the Murphree efficiencies. The users don't have access to the re-calculated K-values. The back calculated Murphree efficiencies do not have any physical meanings. That is why the efficiencies could look strange even if the predicted compositions are accurate.
Key Words
Component efficiency
Rate Based modeling
RadFrac
Keywords: None
References: None |
Problem Statement: How can I have all my reports from ACCE generated in one single file? | Solution: In ACCE V11.0, the New Reporter creates the reports in separate PDF files, but to get all of the reports in one single file the Old Reporter must be used. This can be set in Tools | Options | Preferences | General over Reporter Options
Once this is done, the Capital Costs can be run. After that the Standard Reports must be selected to create a Word Document that will contain all the selected reports:
Keywords: Capital Costs, reports
References: None |
Problem Statement: How to send a successful Aspen Online model run time (timestamp) to a data historian? | Solution: Follow the steps mentioned below:
Define an output string tag in your historian to receive the timestamp
Define the same tag in the Aspen OnLine project and this should be a formula tag. Note that the “CIM-IO Source” should be “ASC” for this tag instead of typically “DBVL”
The formula should be something as shown below. This formula needs to reference an output tag of the specific model.
If([output_tag] <> -1e10, TEXT(NOW(), dd-mm-yyyy hh:mm), Bad)
Sample result screenshot of a formula tag (string Data type) which is linked to the output tag AOL_OUT002 of the AOL Project
Keywords: Aspen Online, Time stamp of successful simulation model run, ASC, DBVL, Formula tag
References: None |
Problem Statement: How to export datasheet from Excel Datasheet editor in Aspen Basic Engineering? | Solution: To export a current datasheet from Excel Datasheet editor:
1. Go to the Document group on the Aspen Datasheet tab and click Detach
2. Select the location and name for the exported document and click OK.
Note: After a file is exported, the new XLSM file is independent of the Aspen Basic Engineering database. Editing either the database or the spreadsheet does not result in a corresponding change in the other.
Keywords: Datasheet Editor, Datasheet, Excel File, Export
References: None |
Problem Statement: Are trays installed in the shop by the vendor or in the field? | Solution: By default the trays are installed in the shop and so the material and labor costs are included in the equipment cost. The labor for installing the trays is not part of the setting cost.
You can force the program to install the trays in the field by removing the trays from the column ? this is done by excluding the tray material in the column definition. You can then add a Tray Stack as necessary for the internals ? the Tray Stack is under the Single Diameter Towers. The tray stack setting costs then become the cost of installing the column internals.
Keywords: trays, workshop, column, shop
References: None |
Problem Statement: Does my building cost include the foundation for the building? | Solution: No. You enter the foundation cost through the civil installation bulk form for the building. The field on the main Project Component form for the Foundation type does not actually create a foundation. It is a descriptive field to let you know what type of foundation the building will be built upon.
Keywords: foundation, building
References: None |
Problem Statement: In the Sulsim subflowsheet, for the incinerator operation there is a section in the parameters tab called Breakthrough. What does that mean and what does it do for incinerators? | Solution: The breakthrough percents determine how much of the given components is inhibited from the reaction. The default values are 50% for CO and Hydrogen and 0% for all other components. The default calculations assume complete oxidation of all combustible components, including hydrocarbons and H2S, COS and CS2.
For example, when you see a value of 0.71% for H2S, that means the 0.71% of the total inlet H2S is not oxidize (burned) in the incinerator.
Remember that the percent you entered is not the value you see in the composition of the outlet stream. HYSYS determines the total of H2S (100%) and then keeps the percentage specified.
Keywords: extension, incinerator & stack, Claus
References: None |
Problem Statement: Does Aspen Capital Cost Estimator include weld rod in the cost estimate? | Solution: Aspen Capital Cost Estimator does not count weld rod cost. If a user wants to add this cost to the estimate, it can be added as consumable and small tools under Project basis view | Basis for capital cost | Indirects.
Keywords: Indirect
References: None |
Problem Statement: How do I resolve the DLL error when Publishing results in APS? | Solution: When you try to publish results in APS sometimes you might run into the below error:
This could be caused due to the wrong version of MS Access Db engine installed which replaces the supported version of MS Access DB Engine.
To Resolve this, uninstall the existing version of Access database engine and install the 32- bit MS Access Db Engine 2010.
Keywords: None
References: None |
Problem Statement: How do you identify the number of active sites and the relative activity of each active site of a Ziegler-Natta catalyst, using molecular weight distribution as measured by GPC from a single-stage lab or plant data set? | Solution: Attached is an Excel based MWD deconvolution utility. This utility was developed by AspenTech to help interpret measured molecular weight distributions to infer the number of active sites and to understand the relative contribution of each type of active site.
If you encounter errors when using this program, please document them and file the issue with AspenTech customer support, and ask them to assign to the Aspen Polymers team.
Note: Documentation is included in the Excel Spreadsheet Based MWD Deconvolution.pdf file. Some of the screen images in this file apply to older versions of Excel, however there is no substantial change to workflow. Instructions for setting up the Excel add-ins are based on Excel 2016. Refer to Microsoft on-line help for instructions to set up the solver add-in on other versions of Excel.
The supplied VBA code comprises four separate VBA macros:
1. SetupDeconMWD() – Linked to Excel spreadsheet button 1) Set Up Files
Execution of this macro assembles the data in the worksheet to allow further manipulation and fitting.
2. PlotPeaks() – Linked to Excel spreadsheet button 2) Plot
This macro creates a chart page and formats it as an Excel XY chart with smoothed lines and no data points. Focus is shifted to the chart sheet. The plot can be generated before or after the solve step.
3. SolverRunner() – linked to Excel spreadsheet button 3) Solve
This macro conducts the fitting exercise. Before it can be used for the first time, it is imperative that the user identify the Excel Solver engine as a reference source for the project. This only needs to be done once per user, however Excel needs to be re-started after the solver add-in is activated.
4. Cleaner() – linked to Excel spreadsheet button 4) Clear Sheet
This macro is used to return the worksheet to a desired starting point prior to entering a new set of MWD data. This macro would be executed when fitting excercises have been completed on one set of data, and the user wishes to move on to a new set of data. Note that this macro does not delete the existing data from the worksheet. It is important that the user ensure that the new data set is entered properly.
Known Issues
Multi-Modal distributions
The Excel solver engine is not a rigorous solver, and at times will land on a local minimum that prevents further reduction in the model error (RSS) even though visual inspection of the graphs indicate a poor fit. This tends to occur when the molecular weight distribution has a definite multiple modality (e.g. traditional bimodal distributions from Phillips slurry processes). The test for modality is in examination of the 1st derivative of the log(MW) vs Ci graph – if the derivative crosses the zero Y axis more than once, there is modality in the peak and you may encounter this error.
Magnitude of Concentration Values
The concentration column can be in any units you desire, there is no need to normalize. However, from some commercial GPC units, the numerical values of the concentration are very, very small numbers. The minimization therefore is looking for very small differences in very, very small numbers, which strains the solver engine. As a rule of thumb, if the concentration values are expressed as numbers which are less than 1E-04, it is advisable to multiply these values by some constant to increase their absolute magnitude. (I often set up a goal seek scenario that varies my multiplier such that the smallest concentration value in the column is one (1)).
Keywords: None
References: None |
Problem Statement: How do you identify the number of active sites and the relative activity of each active site of a Ziegler-Natta catalyst, using molecular weight distribution as measured by GPC from a single-stage lab or plant data set? | Solution: Attached is an Excel based MWD deconvolution utility. This utility was developed by AspenTech to help interpret measured molecular weight distributions to infer the number of active sites and to understand the relative contribution of each type of active site.
If you encounter errors when using this program, please document them and file the issue with AspenTech customer support, and ask them to assign to the Aspen Polymers team.
Note: Documentation is included in the Excel Spreadsheet Based MWD Deconvolution.pdf file. Some of the screen images in this file apply to older versions of Excel, however there is no substantial change to workflow. Instructions for setting up the Excel add-ins are based on Excel 2016. Refer to Microsoft on-line help for instructions to set up the solver add-in on other versions of Excel.
The supplied VBA code comprises four separate VBA macros:
1. SetupDeconMWD() – Linked to Excel spreadsheet button 1) Set Up Files
Execution of this macro assembles the data in the worksheet to allow further manipulation and fitting.
2. PlotPeaks() – Linked to Excel spreadsheet button 2) Plot
This macro creates a chart page and formats it as an Excel XY chart with smoothed lines and no data points. Focus is shifted to the chart sheet. The plot can be generated before or after the solve step.
3. SolverRunner() – linked to Excel spreadsheet button 3) Solve
This macro conducts the fitting exercise. Before it can be used for the first time, it is imperative that the user identify the Excel Solver engine as a reference source for the project. This only needs to be done once per user, however Excel needs to be re-started after the solver add-in is activated.
4. Cleaner() – linked to Excel spreadsheet button 4) Clear Sheet
This macro is used to return the worksheet to a desired starting point prior to entering a new set of MWD data. This macro would be executed when fitting excercises have been completed on one set of data, and the user wishes to move on to a new set of data. Note that this macro does not delete the existing data from the worksheet. It is important that the user ensure that the new data set is entered properly.
Known Issues
Multi-Modal distributions
The Excel solver engine is not a rigorous solver, and at times will land on a local minimum that prevents further reduction in the model error (RSS) even though visual inspection of the graphs indicate a poor fit. This tends to occur when the molecular weight distribution has a definite multiple modality (e.g. traditional bimodal distributions from Phillips slurry processes). The test for modality is in examination of the 1st derivative of the log(MW) vs Ci graph – if the derivative crosses the zero Y axis more than once, there is modality in the peak and you may encounter this error.
Magnitude of Concentration Values
The concentration column can be in any units you desire, there is no need to normalize. However, from some commercial GPC units, the numerical values of the concentration are very, very small numbers. The minimization therefore is looking for very small differences in very, very small numbers, which strains the solver engine. As a rule of thumb, if the concentration values are expressed as numbers which are less than 1E-04, it is advisable to multiply these values by some constant to increase their absolute magnitude. (I often set up a goal seek scenario that varies my multiplier such that the smallest concentration value in the column is one (1)).
Keywords: None
References: None |
Problem Statement: Best Practices: Aspen Report Writer Data Functions and Data Placement Functions | Solution: In Aspen Report Writer, data functions and data placement functions play crucial roles to create a template. Users could follow best practices to make the template well organized and performed.
Best Practices for Data Functions:
Create a “Data Sets” worksheet as the first worksheet, and place all database and data set functions that perform database queries on this worksheet.
Create Excel Defined Names for cells containing data functions. It is easier to visualize which data set a data placement function is using.
Data placement functions work faster on smaller data sets. Consider using a ATDSFilter function on individual worksheets to create smaller data sets for functions on those worksheets to utilize
Best Practices for Data Placement Functions:
Be sure to anchor cell addresses ($A$1 instead of A1) for all function parameters that might be effected by inserted or deleted rows/columns. If using one of the range replication functions, you may want to only anchor the row part (e.g., A$1) or column part (e.g., $A1) of a cell address”
ATGColAcross and ATGColDown functions are much faster than individual ATGValue functions
In template mode you CAN NOT use more than one ATGValue function in a single cell. In interactive mode, multiple ATGValue functions may be used in a single cell if necessary
Keywords: None
References: None |
Problem Statement: Once the user has defined the cut points, and mapped the crudes and their properties, sometimes you might see that the transfer button is grayed out. | Solution: This can happen because the user has not selected the Assay Data Source in the Map Crudes section for Assay Manager to be able to transfer the data. Please refer to the screenshots below. In the first screenshot, the source is not selected:
You have to use the Change Selection Sources button and specify the source, as below:
Once you do this, the Transfer button should be enabled.
Keywords: None
References: None |
Problem Statement: How to filter small coefficients in PIMS models? | Solution: To filter and find small coefficients is important to make PIMS modelSolution stable and optimization process converge well. Matrix analyzer provide the option to filter coefficients in the matrix file.
To use this function, users need to open matrix analyzer and go to Tools>> Program Options>> Filter Tolerance. The Small Coefficient filter coefficient values smaller than the tolerance set up. Large Ratio filter variable ratio values larger than the tolerance, which could also be used to filter small coefficients defined in ratio calculations.
Keywords: None
References: None |
Problem Statement: How can I transfer only the stream composition using the transfer manipulator? | Solution: Follow the steps described below to transfer just the composition of one stream to another:
Have the Origin and Objective streams defined.
Add a Transfer manipulator to copy the entire information from the origin stream to the objective stream.
Add a Calculator manipulator to overwrite the operation variables of the objective stream.
Specify the Sequence of the Calculator block to be executed right after the Transfer block
Attached you will find the example file for this in Aspen Plus V10.
Keywords: Transfer composition, Aspen Plus
References: None |
Problem Statement: From Aspen Petroleum Scheduler interface, one can select Actual data to be displayed in trends. Where is the Actual data stored in the database? | Solution: Actual or Plant values are stored in ORION_MGR_PLANT_VALUES table. The data in this table can be displayed in the following screens:
Model Accuracy (as Plant Values)
Planning Targets (as Actual)
Events (as Actual)
For the Planning Targets and Events screens, if there are multiple records per day with the same plant ID, only the latest record will be displayed on the KPI grid and associated trends.
For more information on how to import data into this table, please refer to the following article:
https://esupport.aspentech.com/S_Article?id=000096992
Keywords: Model Accuracy, PIMS Integration
References: None |
Problem Statement: What is the difference between Iteration and Recursion Passes in DR (Distributive Recursion)? | Solution: An iteration can be viewed as a simplex iteration where the Objective Function Value improves from one iteration to another on a constant matrix, whereas recursion passes update the matrix coefficients calculated from the optimal activity values of distributive recursion terms.
In some instance the iteration number is zero, however the recursion passes continue to increase. This is because, when the iteration number is zero, the solver has found the optimal OBJFN (Objective function) values for a particular estimate of the distributive recursion coefficients on the first iteration. However, the recursion passes keep updating the matrix coefficients until the difference between the new calculation and the old one are within the tolerance limit.
Keywords: Iteration
Recursion Passes
DR iteration
References: None |
Problem Statement: How to create an Aspen Report Writer template from scratch? | Solution: To create an Aspen Report Writer template from scratch, users could take following process and add customization based on need.
Build the report framework:
Develop a preliminary format of the desired report structure in an Excel worksheet
Identify Report Writer data functions you will need to use to build the report
You may want to consider placing some or all data functions on a separate worksheet at the beginning of the workbook and giving their cells a defined name in Excel since data functions are global for an entire workbook
Place the appropriate Report Writer data functions in the workbook
Replace the report data rows with Data Set substitution functions pointing back to the data functions you just inserted:
Use ATGColAcross or ATGColDown functions to return an entire column of data from a data set
Use ATGHeadingsAcross or ATGHeadingsDown functions to return column headings from a data set
Use ATGValue functions to return a single data value for a row/column intersection from a data set
Use ATGColTotal functions to return the total for a numeric column of data from a data set
Dynamically insert rows or columns based on a data set,
Use ATFReplicateRangeAcross or ATFReplicateRangeDown functions
May also require the use of ATGRowCount or ATGColCount functions
Use formatting functions to help format the report:
Use ATFBestFitCol and ATFBestFitRow functions if needed
Use ATFDeleteCol and ATFDeleteRow functions to delete rows and columns as needed
Use ATFDeleteSheet functions to delete worksheets not required in final report
Add additional structure to perform calculations if needed
Apply cell formats and borders, if desired
Keywords: None
References: None |
Problem Statement: How do you change the write unit dependent on the current situation? | Solution: Attached is an example of using write commands.
Different write commands and output units are tested:
a.) Write to >>MAXWRT_MAXBUF<<
Calc-block: C-MXWRT
C ---
C Declaration
F #include ''dms_maxwrt.cmn''
C ---
C Executable fortran code:
F WRITE(MAXWRT_MAXBUF(1), *)
F CALL DMS_WRTTRM (1)
Note:
The output on terminal window is as expected.
If the input file is run using the command line, there is no output.
This is because MAXWRT_ MAXBUF only works in the User Interface.
b.) Write to external file
Calc-block: C-WTOEXT
C ---
C Declaration
F INTEGER myrfid
F PARAMETER(myrfid= 51)
C ---
C Executable fortran code:
F OPEN(UNIT=myrfid, FILE='fn.txt', ACCESS='SEQUENTIAL',
F $ FORM='FORMATTED', STATUS='UNKNOWN', IOSTAT=ERROP0)
F WRITE(UNIT=fid, FMT=107) 'FLOW OUT: ', DUMMY
F CLOSE(UNIT=myrfid, STATUS='KEEP', IOSTAT=ERRCL0)
c.) Write to report file
Calc-block: C-REPORT
F WRITE(UNIT=NRPT, *)
d.) Write to NTERM (control panel)
Calc-block: C-WRITEP
C ---
C Executable fortran code:
C UDPUID is a user defined parameter, ID= 3
F UDPUID = NTERM
F WRITE(UNIT=IDINT(UDPUID), *)
e.) Write to terminal window if Input file is executed on command line
Calc-block: C-TOTERM
C ---
C Declaration
F #include ''dms_maxwrt.cmn''
C ---
C Executable fortran code:
F WRITE(NTERM,*)
f.) Try to flip UNIT-ID dynamicaly
Calc-block: C-LAST
C ---
C Declaration
F INTEGER myrfid
F PARAMETER(myrfid= 51)
F INTEGER fid
C ---
C Executable fortran code:
IF () THEN
fid = myrfid
ELSE
fid = NTERM
END IF
F WRITE(UNIT=fid, *)
g.) Usage of compiler idependent routine ''DMS_WRTALN''
Calc-block: C-WRTALN
C ---
C Declaration
F #INCLUDE ''PPEXEC_USER.cmn''
C ---
C Executable fortran code:
CALL DMS_WRTALN(unit,BUFFER(I))
Note:
DMS_WRTALN only works in 2004.1 and higher.
h.) Print out variable ''IEROUT'':
Calc-block: C-IEROUT
C ---
C Declaration
F #INCLUDE ''dms_errout.cmn''
C ---
C Executable fortran code:
F WRITE(NTERM,*) ERROUT_IEROUT(I)(5:80)
Contributed by Stefan Pofahl
Keywords: None
References: None |
Problem Statement: How to generate Aspen Report Writer queries in PSC Suite Applications? | Solution: Aspen Report Writer functions use the queries generated from database tables to create data sets. So to correctly use Report Writer, first thing is to create RW queries in the databases.
In PIMS, Output Database>>Options>>Create Report Writer Queries option should be selected to generate RW queries in databases.
In APS and MBO, Create RW Queries option is within Publish menu and RW queries will be generated in ODBC compliant databases.
APS:
MBO:
Keywords: None
References: None |
Problem Statement: How does selecting an Installation option affect the cost of my equipment in ACCE? | Solution: Any Equipment component in ACCE allows to modify the installation Option for any of the following alternatives: STANDARD (Default), SPAR, WHSP, EXIS, SUPP and DEML.
This article will illustrate the effect of each of this Installation Options by using a Vertical Process Vessel as reference, using the information shown below:
As highlighted above, when you add a new component into your project, the Installation Option field will appear empty by default.
This means that when you evaluate this component, ACCE will estimate the price of this equipment along its respective Installation Bulks using the ACCE Volumetric Model as shown below. This is what is known as a STANDARD installation in ACCE.
Use the results above as basis to compare with the following Installation Options.
When the SPAR option (Spare Equipment) is used, ACCE will calculate a reduced amount of piping and instrumentation. This installation option assumes that some of the bulks from the main equipment piece are already present in the plant, so less pipes and instruments are required. The paint and insulation costs decrease as a result of the reduced piping quantities. All other quantities remain unchanged:
The WHSP (Warehouse Spare) option will remove all labor and material costs for the installation bulks and will not calculate any installation man-hours for the equipment. Use this option to estimate items that will be purchased but not installed on the plant, for example if they go directly to storage:
Note: Do not assume Steel and Electrical are unchanged, even if the original cost for these was not 0, this option will force this value into these fields.
The SUPP option (Supplied Equipment) can be considered as the complement to WHSP. In this option the cost of the equipment will be 0 since it assumes that the equipment is already owned and just needs to be installed. All the other quantities will be the same as the default installation.
The EXIS option (Equipment Existing in plant) assumes that an equipment is already mounted in the plant and that only the installation bulks are required. For this case, the material and installation costs for the equipment and foundations (civil) will be excluded, while all other costs will stay the same:
The DEML option (Demolition) is used to estimate the costs for removing an equipment already mounted in the plant. When using this option, no material prices will be estimated, only the labor associated to the removal of the equipment and its respective bulks. An adjustment to the man-hours for civil, piping and instrumentation Is applied, which will result in a reduced number of hours.
Keywords: Component, Equipment, Remove, Piping, Civil, Steel, Instrumentation, Electrical
References: None |
Problem Statement: How do I generate Case Comparison report for Parametric Analysis in PIMS AO? | Solution: Case comparison is generated from the results written into the database. To generate case comparison report for Parametric Analysis you first need to select the option “Write Each Solve to the Database” from the Parametric Analysis window (Run > Advanced Optimization > Parametric Analysis > Perform).
Note this option might significantly increase your run times.
After completing the Parametric Analysis run, go to Run > Case Comparison Report. From the window you will be able to select all the cases generated from Parametric Analysis.
Keywords: Analysis Tools
References: None |
Problem Statement: How to model component bonus effect to a blend in MBO? | Solution: In Aspen MBO, Property Bonus is used to calculate (predict) blend property values. Property Bonus works with linear blending properties only. If a component has a bonus effect to a blend’s specific property, such as octane, use Property Bonus to make a better property prediction. If utilized, the property bonus is added to the corresponding property before linear blending is performed. The property bonus represents the difference between the blend value and the neat value.
Property bonus data is stored in the table PROPERTY_BONUS.
Keywords: None
References: None |
Problem Statement: How to create a sensitivity analysis using scripts in ACM? | Solution: You can use a script in ACM to create a sensitivity analysis, and then report the result for different cases in the Simulation Messages window.
Attached please find an ACM example for a CSTR reactor. We want to vary the inlet stream temperature (Tin) from 100 to 110 degree C with a increment of 1 degree C, and check its effect on the concentration of component A in the product stream (cAout). To create a script, double click “Add Script” in the Flowsheet folder.
Write down the script using Microsoft Visual Basic Scripting Edition (VBScript) language:
'Define two arrays to record the inlet temperature and outlet concentration
Dim arr_tin(10)
Dim arr_cAout(10)
'Vary inlet temperature and run different cases
For i = 0 to 10
Blocks(B1).tin.value = 100 + i
arr_tin(i) = Blocks(B1).tin.value
' run simulation
application.simulation.run (true)
arr_cAout(i) = blocks(B1).cAout.value
Next
' print key results
For i = 0 to 10
application.msg arr_tin(i) & & arr_cAout(i)
Next
On Text Editor, Right-click to Invoke” script. Then you can check the cAout at different Tin in the Simulation Messages window:
Key Words
Sensitivity analysis
Aspen Custom Modeler
Script
Keywords: None
References: None |
Problem Statement: How does one customize object mapping if thhe desired mapping is not available in the delivered (out-of-the-box) version of ABE? | Solution: In this example, the user wants to map the UOFlash block to the HeatTransferEquipment object in ABE. User wants to map and transfer the Duty attribute.
The overall procedure can be summarized in a simple diagram as below. Refer to the detail steps to set up the class library:
STEPS TO SET UP THE CLASS LIBRARY:
I. Add new included library: User can choose to add the necessary class view directly to the class library or create a new included library (azci) in which to store this customization for reuse purpose. The latter is described below:
1. In the Class Library Editor, load the desired class library (.azcl) file
2. Browse to the Included Library folder, right click to Add Library
3. Type in a new filename, eg., ObjectMapperFlashExtension and create a new .azci file.
II. Create new ClassView ObjectMapperFlashtoHeatEx: In order to map the attributes from UOFlash class and use these attributes, we need to create a ClassView
1. In the new azci, browse to Class View and Insert Class view.
2. In the Class View Properties dialog, type in Class View name eg. ObjectMapperFlashtoHeatEx. Click on Application Properties button and enter
Applications: ObjectMapping
Version: ObjectMapping
Usage: Block
Activity: UO Equipment Transfer
Close and Click OK.
3. The new ObjectMapperFlashtoHeatEx is automatically loaded.
III. Create new attribute in CompositeView UOFlashBlock: As there is currently no TheoreticalDuty attribute in the default UOFlashBlock composite view, user will need to create the attribute and link it to the relevant class attribute
1. Select and load the UOFlashBlock composite view
2. Select an attribute and choose to Insert Above/Insert below. Type in attribute name eg. DutyTheoretical
3. Load the UOFlash class and map the DutyTheoretical attribute in UOFlash class to DutyTheoretical attribute in the composite view. Choose to Synchronize All (unless otherwise desired)
IV. Create new attribute in ClassView ObjectMapperFlashtoHeatEx and map accordingly:
1. In the ObjectMapperFlashtoHeatEx class view, r-click and select Insert Attribute Before. Type in attribute name eg. DutyTheoretical
2. Link the PfdHeatExchangerBlock.Duty attribute from the PfdHeatExchangerBlock composite view to the attribute
3. Link the UOFlashBlock.DutyTheorectical from the UOFlashBlock composite view to the attribute
4. A message will appear asking if the user is sure that he wants to create additional binding to the composite view. Click OK.
5. User will see that the attribute link is now showing UOFlashBlock.DutyTheorectical. Select Link, r-click and select Show Links for Alternate Class. See that the attribute is linked to classes HeatTransferEquipment and UOFlash. Select HeatTransferEquipment and click OK. You will now find that the link is displaying the PfdHeatExchangerBlock.Duty link. This attribute is linked to PfdHeatExchangerBlock.Duty and UOFlashBlock.DutyTheorectical.
6. In the class view, r-click and select Class View properties. Under Composite bindings, select UOFlashBlock and check Read. Select PfdHeatExchangerBlock and check Write. This means that we will read the UOFlashBlock.DutyTheorectical attribute and write it to PfdHeatExchangerBlock.Duty
User can now save the class library and compile the class store for use in the desired workspace. Ensure that all users log out of the workspace so that the new class store will be loaded when users access it next. User will now be able to map a UOFlash object to a HeatExchanger object. More attributes can be added and mapped accordingly.
A completed version of the .azci described is also attached.
Key Words:
customize, object mapping, class library
Keywords: None
References: None |
Problem Statement: Modeling phase equilibrium is a key part of polymer process modeling. In general, it is always best to rely on data and develop correlations for activity coefficients and/or Henry''s law constants, rather than estimate these quantities. However, data for many solute/polymer pairs can be very scarce. Is it possible to estimate the Henry''s law constants? | Solution: See attached file Extrapolating Henry''s Law Constants.doc
The attached document provides a methodology for extrapolating the Henry''s law constant for hydrogen in polybutadiene based on Henry''s law constants for other solutes in the same polymer. The methodology follows that provided in the following article:
Stiel, L.I., Chang, D.-K., Chu, H.-H., Han, C.D., 1985, The solubility of gases and volatile liquids in polyethylene and polyisobutylene at elevated temperatures, Journal of Applied Polymer Science, 30, 1145-1165.
While the methodology has been applied to the prediction of the Henry's law constant for hydrogen in polybutadiene, it is generally applicable for the prediction of Henry's law constants of any solute in any solvent. The exact form of the correlation may likely be different, however.
Keywords: estimation, vapor-liquid equilibrium, VLE, Henry, extrpolation, solubility
References: None |
Problem Statement: How does Aspen HYSYS Vessel Sizing Analysis tool apply Souders Brown (SBR) constant for estimating vessel sizing parameters? | Solution: The Souders-Brown equation for horizontal and vertical separators sizing:
For vapor/liquid separators, this is usually expressed in terms of maximum velocity that is related to the difference in liquid and vapor densities. The standard equation is [1]:
where 𝐾𝑠, is the called Souders-Brown constant as given below,
where
𝑥=ln(𝑊), 𝑘𝑣=1.25 (horizontal separator) or 1.0 (vertical separator) [1, 2]
and
Defining the values of the Souders-Brown constant parameters (A, B, C, D and E)[1],
𝐴=−1.942936
𝐵= −0.814894
𝐶=−0.179390
𝐷=−0.0123790
𝐸=0.000386235
𝐹=0.000259550
𝐾𝑆=−1.877478097−0.8145804597𝑥−0.1870744085𝑥^2−0.0145228667𝑥^3−0.0010148518𝑥^4
The equations given in HYSYS for the estimation of the Souders-Brown constant in separators are obtained from the following Figure 1 taken from Carl R. Branan (1999)[1] which is divided into two sections, (1) when 𝑊≤0.05 and (2) 0.05≤𝑊≤1.0.
Figure 1. Design vapor velocity factor for vertical vapor-liquid separators at 85% of flooding.
Case 1: Linear regression (𝑾≤𝟎.𝟎𝟓)
According to the Figure 1 given by Carl R. Branan (1999)[1] it is convenient to deduce a linear regression when 𝑊≤0.05. The results of the linear regression are given in Figure 2.
Figure 2. Linear regression when the ratio 𝑊≤0.05.
The linear regression equation obtained is,
𝐾𝑠=0.7685+0.0988𝑊
The equation given in HYSYS is:
𝐾𝑠=0.733+0.0899 ln(𝑊)
The error percentage between the equation obtained from Figure 2 and that given in Hysys is 4.8% for the value of the intercept on the “Y” axis and 9.9% for the slope.
Case 2: Exponential function (𝟎.𝟎𝟓≤𝑾≤𝟏.𝟎)
The results of the exponential function when 0.05≤𝑊≤1.0 as given in the following Figure 3. The approximate equation for the Souders-Brown constant given in HYSYS is,
𝐾𝑠=0.463𝑒−1.306𝑊
While the exponential function approximated that represent the Souders-Brown constant obtained from the Figure 1 is given by,
𝐾𝑠=0.341𝑒−0.581𝑊
The data described by the equation given in HYSYS are represented by the solid line, while the data described by the dashed line are obtained from the exponential approximation of the Souders-Brown constant given in Figure 1. The percentage of deviation between the equation given in HYSYS and that obtained from Figure 1 is relatively small, which is mainly due to the method used to obtain such an exponential approximation. To reduce the approach error it would be necessary to take more points from Figure 1 for the construction of the exponential function. This is a purely approximate explanation of how the equations for the Souders-Brown constant were obtained.
Figure 3. The exponential function for Souders-Brown constant when 0.05≤𝑊≤1.0.
Case 3: 𝑾>𝟏.𝟎
For vertical separators (𝑊>1.0), Walas (1990)[3] proposed a 𝐾𝑠-value of 0.0427 𝑚𝑠⁄ (0.14 𝑓𝑡𝑠⁄) for “no demister” cases according to the equation given in Hysys.
On the other hand, a relatively low liquid loading application with steady flow, a low inlet velocity and a good inlet device should require minimal deration of the extractor 𝐾𝑠 factor[4]. However, when a vertical separator with a height of 5 ft (1.524 m) is used, the recommended value of 𝐾𝑠 should be wihin the range 0.12−0.24 𝑓𝑡/s (0.0366−0.0732 𝑚/s).
Conclusion
As we can see the results of the equations used in HYSYS are very similar to those obtained from the use of the information given in Carl R. Branan (19999)[1]. The differences are practically negligible, which may be due to the method used to obtain such linear and exponential correlations.
Keywords: SBR, Vessel sizing,
References: s
[1] Carl R. Branan, Chemical Engineering. Elsevier Science & Technology Books, 1999.
[2] Walas, S. M., Process Vessels, Chapter 18, in Chemical Process Equipment Selection and Design, Butterworth-Heinemann, Houston (1990), pp 713-715.
[3] Ali Pourahmadi Laleh, William Y. Svrcek and Wayne D. Monnery, Design and CFD studies of multiphase separators- A review, The Canadian Journal of Chemical Engineering, 90, 1547-1560, (2012).
[4] GPSA (Gas Processors Suppliers Association) Engineering data book, volume 1 and 2, 2004. |
Problem Statement: What are the steps needed to change Audit Property Status settings using the ChangeAuditAttribute.exe utility? | Solution: ChangeAuditAttribute changes the AUDIT_PROPERTY setting. The ChangeAuditAttribute.exe utility is located in folder:
64-bit Aspen InfoPlus.21: %ProgramFiles%\AspenTech\InfoPlus.21\db21\code
32-bit Aspen InfoPlus.21: %ProgramFiles(x86)%\AspenTech\InfoPlus.21\db21\code
A DOS prompt appears and it asks for the following information: definition record name and the field name. In the example below, it shows you what to enter for a Get record.
Enter definition record name: IOGETDEF
Enter field name: IO_DATA_STATUS
Current attribute = <Never>
Always
Never
Controlled
Enter new attribute:3
For bulk attribute setting, all you need to do is create a DOS batch file that calls ChangeAuditAttribute.exe multiple times, specifying the record, field and attribute as three parameters for each call. Usage:
ChangeAuditAttribute.exe [record=name field=fieldname attrib=setting] setting: 1=Always, 2=Never, 3=Controlled
Eg. ChangeAuditAttribute.exe IP_AnalogDef IP_DESCRIPTION 2
Result: <IP_AnalogDef> <IP_DESCRIPTION> attribute changed from <Always> to <Never>
NOTE: The behavior of Controlled fields is the same in Audit only or in Compliance mode. That is, if a Controlled field is written to by an Exempt task, no audit message is generated. If a Controlled field is written to by a non-exempt task, an audit message is generated.
Keywords: A&CM
AuditProperties
Alarm and Event
References: None |
Problem Statement: Are land costs included in Aspen Process Economic Analyzer or do I have to use Aspen Capital Cost Estimator ? | Solution: Aspen Process Economic Analyzer (APEA) does not have the capability to enter land costs. But once the work in APEA is done, the file can be used in Aspen Capital Cost Estimator (ACCE) which does have the capability to enter land costs.
Keywords: land, costs, land costs
References: None |
Problem Statement: Can I do an Item Evaluation on a component when it is part of a Component Open Steel Structure? | Solution: A component that is in a Component Open Steel Structure and has a structure tag cannot be evaluated by itself. This is because in order for this item to be evaluated and it's installation bulks generated, it has to have the Open Steel Structure created first. The component estimate and it's installation bulks are dependent on the Open Steel Structure. To get out the costs for those items, you will have to do a complete Project Evaluation.
Keywords: Open Steel Structure, Component Evaluation, Item Evaluation, structure tag
References: None |
Problem Statement: When attempting to access a scenario, an error message appears.
Project in use. The project <project name> was checked out at <time> by <user name> on computer <computer name>. | Solution: When a project is opened, there are 2 lock files created, so that only 1 person can work on the project at a time.
The 2 files are PROJECT.LCK and SESSION.LCK.
If you are sure that no one else is working on the project, it is safe to delete these 2 files.
Before proceeding, please be sure to EXIT your Aspen Icarus software.
1. The PROJECT.LCK file is located in the Archives folder for the project.
For v2006 and earlier, the default location is:
c:\Program Files\AspenTech\Aspen Icarus xx.x\Data\Archives_XXX\<Project name>\<Project Scenario> directory. (Where Archives_XXX is the Aspen Icarus product being used).
(ex: D:\Program Files\AspenTech\Aspen Icarus 2006\Data\Archives_Kbase\test\test IP)
The PROJECT.LCK file can be deleted from this folder, as long as you are positive no one else has the project in use.
For v2006.5 and beyond, the default location is:
C:\Documents and Settings\All Users\Documents\AspenTech\Shared Aspen Icarus xx.x Files\Archives_XXX\<Project Name>\<Scenario Name>
ex: C:\Documents and Settings\All Users\Documents\AspenTech\Shared Aspen Icarus 2006.5 Files\Archives_Kbase\test\IP
The PROJECT.LCK file can be deleted from this folder, as long as you are positive no one else has the project in use.
2. The SESSION.LCK file is located in the cache (working directory) folder.
For v2006 and earlier, the default location is:
c:\Program Files\AspenTech\Aspen Icarus xx.x\ic_cache\Projects.
The SESSION.LCK file can be deleted from this folder, as long as no one else has the project in use.
For v2006.5 and beyond, the default location is:
C:\Documents and Settings\[user_login]\Local Settings\Application Data\AspenTech\Aspen Icarus xx.x\Projects
ex: C:\Documents and Settings\johnsenm\Local Settings\Application Data\AspenTech\Aspen Icarus 2006.5\Projects
The SESSION.LCK file can be deleted from this folder, as long as no one else has the project in use.
Once the PROJECT.LCK and SESSION.LCK files are deleted, restart your Aspen Icarus product, and you will be able to open your project.
Keywords: checked out
in use
project
References: None |
Problem Statement: Does cost generated for a module include shipping and transportation of the module to its final destination? | Solution: The cost generated for the area module type (COA 285) is only the cost of the module and the setting cost of the module in it's final location. It does not include the loading or any transportation. You can provide details in the area modules specs. Right click on the area, select the modify option and it will take you to module input form where you can provide the additional information regarding the shipping.
Keywords: area, module, transportation, cost
References: None |
Problem Statement: How can I have all my reports from ACCE generated in one single file? | Solution: In ACCE V11.0, the New Reporter creates the reports in separate PDF files, but to get all of the reports in one single file the Old Reporter must be used. This can be set in Tools | Options | Preferences | General over Reporter Options
Once this is done, the Capital Costs can be run. After that the Standard Reports must be selected to create a Word Document that will contain all the selected reports:
Keywords: Capital Costs, reports
References: None |
Problem Statement: How to send a successful Aspen Online model run time (timestamp) to a data historian? | Solution: Follow the steps mentioned below:
Define an output string tag in your historian to receive the timestamp
Define the same tag in the Aspen OnLine project and this should be a formula tag. Note that the “CIM-IO Source” should be “ASC” for this tag instead of typically “DBVL”
The formula should be something as shown below. This formula needs to reference an output tag of the specific model.
If([output_tag] <> -1e10, TEXT(NOW(), dd-mm-yyyy hh:mm), Bad)
Sample result screenshot of a formula tag (string Data type) which is linked to the output tag AOL_OUT002 of the AOL Project
Keywords: Aspen Online, Time stamp of successful simulation model run, ASC, DBVL, Formula tag
References: None |
Problem Statement: Which tables are affected by “Clear Results When Publishing” setting in Aspen Refinery Multi-Blend Optimizer (MBO)? | Solution: The “Clear Results When Publishing” setting, found in User Settings, will only affect the following tables in MBO:
_TANKS_MBO
_SERVICE_MBO
_LINEFILL
Keywords: Publish All
Database
References: None |
Problem Statement: How can I view the Crude unit submodel Structure that PIMS has setup internally? | Solution: In PIMS, the submodels for the Crude Units are internally generated based on the user provided information in the Diatillation tables like ASSAYS, CRDCUTS, CRDDISTL. To view the generated submodel structure, you will need to select General Model Settings>>Miscellaneous>>CRUDEXLS. After you rerun the model, in the model folder you will find !Sxxx excel files for each crude unit submodel.
Keywords: None
References: None |
Problem Statement: What is the limit on number of crude units that can be defined in APS? | Solution: APS structures assays using the last digit(s) of the crude unit name. It only reads the last two digits for assay number, so it limits the number of crude units to 99- if the number is greater than 99, APS reads it as zero.
Keywords: None
References: None |
Problem Statement: How to apply property bias to blend header specs to reduce manual property adjustment efforts? | Solution: A Property Bias is a value added to (positive) or subtracted from (negative) a property value. Users can add property bias to a blend product.
A product-specific property bias allows you to do the following:
Add a bias on a derived property to compensate for inaccuracy in the correlation. A bias can be tuned for each individual product.
Add a bias on a blended property to include a safety margin. This can also be accomplished by applying a tighter spec.
There are two types of product-specific property biases:
Header Bias. A header bias is applied to the header. The header property is biased first, and then the tank heel is blended with the header.
Heel Bias. A heel bias is applied to the property of a product after the header and the tank heel are mixed.
Keywords: None
References: None |
Problem Statement: How to delete small coefficients in Assays table to stabilize PIMS optimization? | Solution: Small coefficients in Assays table could cause PIMS model facing instability or convergence issues. To delete these small coefficients in Assays table, users can use Replace numbers in ASSAYS less than ADSMALL with a zero. Selecting this option causes the matrix generator to replace matrix entries corresponding to ASSAY data less than ADSMALL. By default, this setting is selected.
Keywords: None
References: None |
Problem Statement: I am seeing no indirects after I evaluate my component - why? | Solution: Indirects are associated with a project evaluation and are not calculated for a component level evaluation. If you evaluate your project you will see that indirects will be calculated.
Keywords: indirects, project level, component evaluation, project evaluation
References: None |
Problem Statement: Why do I see Error 3052 in PIMS when running the model?
When user clicks OK, the model continues to run. | Solution: The error occurs if the number of locks required to perform a transaction exceeds the maximum number of locks per file, in a multi-user environment.
Please refer to the following article on the Microsoft Website which would help resolve this. It involves modifying the registry settings to increase the maximum number of locks per file.
https://support.microsoft.com/en-us/help/815281/file-sharing-lock-count-exceeded-error-message-during-large-transactio
Keywords: None
References: None |
Problem Statement: How to troubleshoot EDR input error 1122 “Input for Str.1 Quality (vap. Frac), 1 is beyond the permitted range, from 0 to 0”? | Solution: You will see this error message if you didn't enter the complete vapor phase properties in the stream properties table. For example, in the screenshot below, the vapor phase density is missing. With only the liquid phase properties entered, EDR will only allow pure liquid phase in that stream (vapor fraction=0).
If you enter a value for the vapor phase density in the stream properties, then the error message will disappear.
Key Words
Error 1122
Stream properties
Vapor fraction
Keywords: None
References: None |
Problem Statement: Sometimes you may see graphics-related issues when running ACM. For example, the Explorer menu titles have font that is too large (e.g. All Items).
In another example below, the font is too big in the plot properties window. As a result, the user cannot manipulate plots.
How could we troubleshoot these font issues? | Solution: In most cases this issue is caused by the display settings of your computer. Right click on your desktop and open “Display settings”, change the “Scale and layout” to the recommended value (150% in this case, but it could different on your machine).
If you have multiple monitors, make sure to change the setting for every monitor.
Key Words
Display settings
Font size
ACM
Keywords: None
References: None |
Problem Statement: PSV line sizing has a warning about Critical Velocity. Why HYSYS reports an extremely low critical velocity? | Solution: The choke pressure corresponds to a phase boundary (going from liquid to two-phase). When we come down on the two-phase side of the boundary, the sonic velocity really is very low. Sonic velocities in two-phase flow are typically quite low, so it isn't necessarily surprising to get this result. On the other hand, the sonic velocity in the liquid immediately before the phase transition is over 5000 ft/s. This is a difficult problem because we can't necessarily identify when we're in this state, although a very low vapor fraction might be an indicator. The only alternative would be to try flashing to saturated liquid. If the result is close enough, use this condition instead of the choking condition which might land on either side of the phase boundary.
Key Words
PSV line sizing
Critical velocity
Sonic velocity
Keywords: None
References: None |
Problem Statement: Under Input - Exchanger Geometry- Nozzles, EDR has options on Location of nozzle at U-bend: Default, Before U-bend, Over U-bend, Beyond U-bend.
Before U-bend should not consider U-bend surface area; but Over U-bend and Beyond U-bend should consider U-bend surface area. However, EDR gives the surface area without U-bend no mater what options I choose. How to include the surface area of the U-bend in EDR? | Solution: Under Input - Program Options - Thermal Analysis - Heat Transfer, there is an input where the user can specify whether the U-bend area should be considered for heat transfer:
Key Words
U-bend
Surface area
Heat transfer
Keywords: None
References: None |
Problem Statement: How do I activate the automatic backup option and where is the default location for the backup files? | Solution: Aspen Flare System Analyzer allows the user to create and save an automatic timed backup. The option must be activated on the Preferences editor navigating to FIle | Preferences | General.
You may also adjust the backup frequency so you can further control how often is the backup saved.
The timed backup is saved by default at C:\ProgramData\AspenTech\, but this location can be modified by entering a different path on the Work directory field.
Every backup file can be identified with the suffix bkup_' plus the original name of the file (i.e. bkup_Sample.fnwx)
The timed backup option is not active by default so please make sure you turn it on if you want to keep this automatic backu ctive and avoid loosing information in ase a file becomes damaged.
Keywords: backup, back up, location, automatic
References: None |
Problem Statement: Why does my flat bottom storage tank show an octagonal foundation instead of the ringwall foundation I expected? | Solution: The pressure field for a Flat Bottom Storage Tank is entered as gauge pressure. People often times enter this as absolute pressure. The higher pressure will cause a design change which can result in an octagon foundation.
Check your pressure field to see if it is entered as absolute:
If it is entered as absolute, then change it to the gauge equivalent pressure:
Keywords: foundation, gauge, tank, octagon, ringwall
References: None |
Problem Statement: How do I manage security groups in Aspen Mtell System Manager using Microsoft Active Directory? | Solution: Aspen Mtell allows users to use Aspen Mtell security or Active Directory security. Active Directory groups should be created to easily manage new users addition and deletion.
Create Active Directory groups with the help of your IT team
1. Open Active Directory from a user with domain administrator rights
2. Create a new group under your Main Organizational Units called Mtell
3. Create Security Groups called Mtell_Administrators, Mtell_Contributors and Mtell_viewers inside the Mtell Organizational Unit (OU).
Note: Please create Administrator group first or you could potentially lock yourself out of the system
Configure Aspen Mtell System Manager to use Active Directory security
1. Launch Aspen Mtell System manager.
2. Select Settings tab
3. Choose Security settings from the menu on the left. In the groups and users section select the Active Directory option
4. Fill in Active Directory Domain Name, User Name and Password.
5. At the top of the screen select Refresh Organizational Units
6. Allow some time to pass and the Allowed Organizational Units section will populate with Allowed Organizational Units of your organization. Time will vary depending on the quantity.
7. In the Allowed Organizational Units select the previously created Organization Unit
8. At the top of the screen, select Save
9. From the Settings menu on the left select Groups
10. From the security group page select Create group from the ribbon
11. On the right side of the screen fill in the fields: Group Name: Mtell Administrator, Tick the Enabled field and Permission level: Administrator
12. At the top of the screen select Save
13. Repeat for Contributor and Reader.
14. Now it is possible to manage users from the Active directory and add them to the preferred security group by selecting the Users menu on the left and selecting one user and adding him to the preferred group as seen below.
15. With the security preferred security groups now in place, return to the Security option menu in Aspen Mtell System manager and check Security Enabled box and click Save.
Note: Validate to make sure a user is assigned administrator role, otherwise it will lock you from accessing the application.
Keywords: Active directory
security groups
References: None |
Problem Statement: I have added the controls in one area but in the report it shows in a different area. Why is does that happen? | Solution: All the process controls and power distribution are always reported in the last area.
The cost of operator and control centers will be reported in project estimates only, against the instrumentation account for the last area in the project. Accordingly control room specifications and other instrumentation related items to be reported with project process control items should be included as part of the last area.
For reference see chapter 36 process control overview notes in Icarus reference guide.
Keywords: process, controls, last area.
References: None |
Problem Statement: How can I change the font of a Border in Aspen Basic Engineering? | Solution: To change this option in ABE:
1. Open the Graphics Definer
2. Open the border you want to modify
3. Click on Format | Style on tool bar.
4. Select Text for Style type from drop down box
5. Click on Modify button
6. Select paragraph tab and change Font Size Type to appropriate choice as shown in screenshot below.
7. Save and compile the border template. The workspace must be reloaded in order for the changes to take place.
For more information on how to create Border Labels, please refer to the following KB: https://esupport.aspentech.com/S_Article?id=000053502
Keywords: Font, size, type, Border
References: None |
Problem Statement: What is the calculation basis for Quick Size option for separator vessels in HYSYS?
How exactly does HYSYS calculate the Ks factor used in Souders-Brown approach? | Solution: Attached in this article are two documents:
The first document explains the sizing basis used in HYSYS in comparison with that used in Aspen Capital Cost Estimator ACCE. HYSYS sizing basis is based on Souders-Brown approach.
The second document goes into more details of how HYSYS handles Ks factor used in Souders-Brown approach.
Keywords: None
References: None |
Problem Statement: What are the list of keywords that can be used in the CONFIG table of APS & MBO? | Solution: The attached Pdf lists the set of keywords that can be used in the CONFIG database table for the Aspen Petroleum Scheduler and the Multi-Blend Optimizer applications.
Keywords: None
References: None |
Problem Statement: For which type of cases should I use BLOWDOWN? | Solution: Use the BLOWDOWN Technology in Aspen HYSYS to:
Design an orifice for pool fire depressurization
Determine the correct construction materials for cold case depressurization
Design a system with staggered orifice opening times to optimize the use of the disposal system
Design an orifice or assess temperature concerns for a pipeline pressurization
Assess risk to the facility based on peak pressures reached in the system during overpressure
BLOWDOWN's predictions for system temperatures during cold-case depressurization have been validated by many experiments, most of these at full-scale. To see more information avout this please refer to the article 90682
Note: The property package and calculations used to simulate the depressurization system in the BLOWDOWN Analysis tool is proprietary and distinct from the main PFD simulation; it is not available in the Properties environment. BLOWDOWN Technology properties offer superior predictions for fluid properties around the critical point.
Keywords: BLOWDOWN, depressurization, cold case, orifice, pressurization, overpressure.
References: None |
Problem Statement: I seem to be getting extra instrument signal wiring on an instrumentation loop. I have on/off ball valves with 1 solenoid and 2 limit switches.
The instrument signal wiring is correct for the Transmitters, 1 Pair & 2 terms.
The on/off valves are getting a total of (4) 1 Pair & 2 terms, but it should be only (3) 1 Pair & 2 terms.
Why would I get extra Instrument Signal Wiring on this instrumentation loop? | Solution: The key word is solenoid.
We assume:
1. For each on/off control valve (user specified), we automatically include a solenoid. So, for each on/off control valve (user specified), you will get 2 signals (1 for the Control Valve and 1 for the solenoid.
2. For each solenoid specified (user specified), we will add 1 signal.
3. For each microswitch (user specified), we will add 1 signal.
For example:
Loop 1: Specified 2 Microswitches, 1 CV.
2 Microswitches = 2 signals.
1 CV = 2 signals (1 for the CV and 1 for the included solenoid).
This results in 4 signal wires.
Loop 2: Specified 2 Microswitches, 1 CV, and 1 solenoid.
2 Microswitches = 2 signals.
1 CV = 2 signals (1 for the CV and 1 for the included solenoid).
1 solenoid = 1 signal This results in 5 signal wires.
You would see extra Instrument Signal Wiring for every extra solenoid specified on the instrumentation loop, and for each Microswitch specified.
Keywords: signal, wiring, instrument, solenoid, microswitch
References: None |
Problem Statement: As an example, take the case where you are optimizing a campaign with 3 different grades of gasoline with different octanes. You may observe that you’ll have a higher objective function if you change the lone blend of one grade to another grade that had multiple blends in the campaign with less giveaway. So, does the optimizer do a global optimization or does it optimize each grade as a group and then combine for a global optimum? | Solution: MBO will optimize all grades simultaneously. It does not optimize each blend as a group.
Keywords: None
References: None |
Problem Statement: I have a Crude A that can be purchased as usual within a range with its min and max in combination with other crudes.
In table SELL I have product 1. Is a way to introduce a constraint where in my optimized | Solution: the volume sold of product 1 is linked with a ratio to the optimized volume purchased for CRUDE A, meaning that if crude A is not convenient to refinery then volume of product 1 is zero as well or there is always same ratio between those?
Solution
You can make use of the table RATIO to add a ratio constraint to the Purchase and Sales variables. The row names would be the PIMS matrix tag names of the variables for ex: PURCAAA for stream AAA, and you can enter the ratio as a cell entry.
Alternatively, you can also add an E row in the table ROWS, with the column names as the variable names.
Keywords: None
References: None |
Problem Statement: How do I workaround MBO Component Rundown not being triggering Event Refresh which causes only one user's data to be saved? When several schedulers/coordinators all use MBO for blending/scheduling, it only saves one of the MBO user's component rundown data and loses the others' data. | Solution: Component Rundown is not part of event information, so modifying and saving the information by any user will not be able to trigger the Event Refresh icon since this is not event change. This was by design.
To work around this, create different user group and assign different access rights to the corresponding components. In this way, everyone can work on their own components and the saving will not override others'.In the case where one user needs to fill in other role when other user is off-duty, the workaround is to create a common account ID (i.e. Gas Scheduler or Diesel Scheduler) into each user group, so when one user needs to fill in other's responsibility, instead of asking for and using other's windows account, he/she can use the common account ID.
Keywords: None
References: None |
Problem Statement: I am studying cracking of biocrude components in FCC, and one of the major compounds in a biocrude is oxygen. But the lumps in FCC doesn't account for the oxygen conversion. I was wondering if there are any kinetic lumps to address the oxygenated/oxygen compounds conversion in FCC, Hydrotreater, Hydrocracker? Or is there any route to incorporate oxygen containing compounds in the model? | Solution: FCC templates don't consider the oxygenated conversion.
There is no easy way to change or modify the lump parameters to include oxygen conversion, because the component lumps are fixed and the chemistry is hard-coded in FORTRAN.
Key Words
FCC templates
Kinetic lumps
Oxygenated compounds
Keywords: None
References: None |
Problem Statement: Is it possible to access the pseudocomponents from an assay in RYield's Component Yield list. | Solution: By default the pseudocomponent generated as breakdown in Petrocharacterization will not be available in RYield's component yield list unless specifically requested that they are generated. In order to include the breakdown pseudocomponent in RYield's component Yield, check the Generate component IDs box at the bottom of the Naming Option tab under Components | Petro Characterization | Generation. The pseudocomponents will appear on all component lists in blocks such as RYIELD as well as on stream input forms.
By default the naming option in pseudocomponent generation in Petrocharacterization is based on the the Calculated Boiling Point.
It is also possible to change this setting to User defined list.
If user have more than hundreds of pseudocomponent, manual naming will be a big hassle. The workaround will be choose any other option other than the default one, user shall find the component ID are generated automatically in the list at the right hand side table.
It is possible to copy the ID list and then toggle the option to User Defined List and paste the ID list into it.
The breakdown of pseudocomponents will show in the RYield's component yield list.
Keywords: RYield, Reactor, Pseudocomponent, Petrocharacterization, Assay, Blend, Naming Option, Pseudocomponent Generation
References: None |
Problem Statement: How can I get the calculated boundaries data from the Hydraulic plot of Column Internal function in Radfrac column so that I can use to plot the graph in Excel? | Solution: Column Internal function provides comprehensive column internal hydraulic calculations. User can design or rate the column internal hardware to know the hydraulic performance.
In Column Internal, for each section of hardware, users can obtain the hydraulic performance including weir load, downcomer exit velocity, % jet flood, and % downcomer flood.
All of the above calculated data will be presented in the Hydraulic Plots for each stage of the column.
In the Hydraulic Plot, users will find additional boundary lines for a few hydraulic performance variables such as Maximum Entrainment, minimum weir load, 100% jet flood, and 0% weeping.
However, users will not find these variables in data tables any where in the results of Column Internal.
The boundary data points are only saved in the program internally. These points are not readily available to users in table format at the moment.
However, If users want to collect the boundaries data, the current workaround is to use Vertical Scooter to report every required points X and Y data.
User can add multiple Vertical Scooter to obtain multiple points of data at the same time. Each boundary line data will be present in its respective color which makes it easy to know which to copy.
Keywords: Column Internal, Column Hydraulic, Hydraulic, Weeping, Jet Flood, Tray. Packing,
References: None |
Problem Statement: Color coding for data entry in the economics suite | Solution: After adding a component, the user needs to enter at least some specifications to complete the component’s definition. The component forms use a color-coding to make it easier for the user to know which data is mandatory to be able to evaluate a certain component and which data is optional. There is a list below explaining the color-coding:
Red borders - An entry must be made in the field. All specifications forms have at least one required entry field.
Yellow borders and green borders - An entry must be made in either the field with the yellow border or in the two fields with the green borders. The field with the yellow border and the fields with the green borders are mutually exclusive.
Note: A logical combination of the green and yellow fields is acceptable; use the Properties Window for assistance when in doubt.
Blue borders - There are two cases in which the user may run into blue borders:
Used in Quoted Equipments to enter the total cost or material cost and man-hours, but not both. This only applies for AICE product.
Used in Unit Cost Library (UCL) when adding a component to enter the material cost per unit.
Keywords: Colors, border, cell, cells, red, yellow, green, blue
References: None |
Problem Statement: When running DBUpdate script on the SQL database, you may encounter error messages of the type:
Msg 5074, Level 16, State 1, Line 49
The index 'IX__xxxxx' is dependent on column 'xxxx_'.
Msg 4922, Level 16, State 9, Line 49
ALTER TABLE ALTER COLUMN xxxx_ failed because one or more objects access this column. | Solution: This happens when you have created user-defined indices on the application db tables of _CRDRUNS, _EVENTS etc. The DBUpdate scripts cannot take care of objects (tables, indexes) that users have created. Those objects that are dependent on the tables and columns should be removed first.
Keywords: None
References: None |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.