question
stringlengths
19
6.88k
answer
stringlengths
38
33.3k
Problem Statement: What does Compinfo.[ans, bio, din] file contain.
Solution: All Tables: Component: The component type. Subcomponent: The component sub-type. If there is no 'subcomponent' the component is followed by data. Tables 1-6: First Column: Nominal Diameter (mm) Second Column: Valve Stem Diameter (mm) Third Column: Valve Stem Length (mm) Fourth Column: Valve Run Length (mm) Fifth Column: Valve Weight (kg) Table 7: First Column: Nominal Diameter (mm) Second Column: REDUCER DIA IN DIRN TRANSVERSE TO PIPE (mm) Third Column: VERTICAL DIA OF REDUCER (mm) Fourth Column: LENGTH OF THE REDUCER ALONG THE PIPE (mm) Fifth Column: REDUCER WEIGHT (kg) Table 8: First Column: Nominal Diameter (mm) Second Column: Flange Diameter in Direction Transverse to the Pipe (mm) Third Column: Vertical Diameter of Flange (mm) Fourth Column: Length of Flange along the Pipe (mm) Fifth Column: Flange Weight (kg) Table 9: First Column: Nominal Diameter on One End of Tee Main Run (mm) Second Column: Nominal Diameter on Other End of Tee Main Run (mm) Third Column: Branch Nominal Diameter (mm) Fourth Column: Branch Length (Main Run Length = Twice Branch Length) (mm) Fifth Column: Tee Weight (kg) Table 10: This table is currently not used by the router. Keywords: Compinfo.[ans, bio, jis, din] References: None
Problem Statement: What does OptiPlant Compclr.dat file contain?
Solution: First Row, UPSTREAM: Specifies the upstream component type and subtype. Other Rows, DOWNSTREAM: Specifies the adjacent downstream component for the previously specified upstream component. Column 2, X Nom Dia of Pipe: Will use a multiple of nominal diameter to determine the distance between components. Column 3, Distance in mm: Will list the distance between the components in mm. Keywords: Compclr.dat References: None
Problem Statement: What Does Equipmentspacing_Units.csv contain?
Solution: Plot-Plan Layout Rules or Equipment Layout Rules enable you to check for the spacing between any objects modeled in the program for the confirmation against their project’s safety and maintenance standards. OptiPlant checks for the spacing between the equipment and structures placed in the plot plan as per the PIP standard values for Equipment spacing. These PIP standard spacing rules are provided in the EquipSpacing_Units.csv file. Note: These standard values must be double-checked depending on the project requirements. As soon as a new model is started/opened, an excel file with the name EquipSpacing_Units is automatically placed inside the project folder. The excel file has all the details of the categories and minimum spacing values. You can add new categories or edit existing one's categories and change the minimum spacing distance as per the requirements anytime during the project. If you assign the category to any equipment, it will automatically get updated in the excel file in equipment id column, show an example of equipment with category assigned. Keywords: Equipmentspacing_Units.csv References: None
Problem Statement: What does Flange.[ans, bio, jis, din] file contain?
Solution: First Row: Lists Flange Ratings. First Column: Lists Nominal Diameter (mm). Keywords: Flange.[ans, bio, jis, din] References: None
Problem Statement: What does the Branch_<spec>.dat file contain?
Solution: Column 1, Nom Dia of Header: This lists the nominal diameter of the header line in inches. Column 2, Nom Dia of Branch: This lists the nominal diameter of the branch line in inches. Column 3, Preferred Branch Code: This lists the branch code to be used by PDS to determine the type of connection for the sizes indicated in columns 1 and 2. The following is a list of the branch codes used in column 3: 6Q3C22 ---> Tee 6Q3C24 ---> Reducing branch tee 6Q3C73 ---> Weldlet 6Q3C76 ---> Nippolet 6Q3C82 ---> Reinforcing weld Column 4, Connect Point: This determines the PDS connect point at the type of tee. Keywords: Branch_Spec.dat References: None
Problem Statement: What does FoundationData.csv file contain in Aspen OptiPlant 3D layout?
Solution: This file contains the below information: Table 1: This table gives the information about different soil bearing capacities based on class of soil. First column shows the Class of Soil Second column shows the Soil bearing capacities in ksf. Table 2: This table gives the information about foundation extension for round bottom equipment First column shows the Extension type. Second column shows the Minimum length of extension around round bottom equipment in inch. Third column shows the Maximun length of extension around round bottom equipment in inch. Table 3: This table gives the information about foundation extension for flat bottom equipment. First column shows the Extension type. Second column shows the Minimum length of extension around flat bottom equipment in inch. Third column shows the Maximun length of extension around flat bottom equipment in inch Table 4: This table gives the information about Load Range on Footing/Foundation Q and corresponding Minimum D. First column shows the Load range on footing/foundation in Kipf. Second column shows the Minimum embedment depth of Footing/foundation in feet. Table 5: This table gives the information about Elevation above the Frame Building/Pipe rack up to which Equipment should be considered for Weight calculation. First column shows the Type of Equipment. Second column shows the Elevation from top in feet. Table 6: This table gives the information about the variations of N60 with depth to calculate Average N60 Keywords: FoundationData.csv, Aspen OptiPlant 3D layout References: None
Problem Statement: What does Mat_weig.ans file contain in Aspen OptiPlant 3D layout?
Solution: This file contains the material weight information for bare pipe, pipe filled with water, pipe with insulation and pipe filling water and insulation, as per ANSI standard. The material weight from this file is read for calculation the pipe weights during modularization. The material weight from this file is read for calculation the pipe weights during foundation calculations. The material weight from this file is read for calculation the pipe weights during member sizing calculations. Keywords: Mat_Weig.Ans, Aspen OptiPlant 3D layout References: None
Problem Statement: In the cold properties utility, why is the Flash Point value different when changing from the Aspen Pennsky-Martens to Aspen Tag method?
Solution: Both the Aspen Pennsky-Martens and Aspen Tag methods calculate the flash point temperature using modified rigorous K-values and a closed flash algorithm. TheSolution algorithm for each is summarized below: 1. Aspen Pennsky-Martens and Aspen Tag methods calculate Flash Point via a Bubble Point flash. 2. To calculate the Bubble Point, modified K-values are estimated based on the following rules: - If a component is non-combustible then K value = 0 - If a component is combustible then: K-value = K-value from Property Package * MW / KFACT, where KFACT = 1.03 for Pennsky-Martens and 1.30 for Aspen Tag - If a component is Methane then: K value = 700 / KFACT for Pennsky-Martens and 900 / KFACT for Aspen Tag 3. The converged value for the Bubble Point temperature is reported Flash Point. According to ASTM, the TAG method covers the determination of flash point of liquids with a viscosity below 5.5 cSt at 40C, or below 9.5 cSt at 25 C and a flash point below 93C. The Pennsky-Martens method is used for liquids with a viscosity of 5.5 cSt or higher at 40C, or a viscosity of 9.5 cSt or higher at 25C, or a liquid that may contain suspended solids or have a tendency to form a surface film under test conditions. In general, it is basically for heavier fluids than the TAG method. The flash point range for this method is is 40C to 360C. The references for these two methods are listed below: J.D. Seader and Ernest J. Henley, Separation Process Principles, p. 281, Wiley and Sons,1998. M.R. Riazi, private communication, 1985. M.R. Riazi, API Databook, 5th Ed., procedure 2B7.1 (1986). Keywords: cold properties, flash point, Pennsky-Martens, Tag References: None
Problem Statement: How to solve HTTP Error 500.19 - Internal Server Error in AUP?
Solution: Following error accessing Unified Add two new logins in SSMS with “sysadmin” privileges.” Navigate to the path below as administrator: C:\Windows\System32\inetsrv\config Make sure the highlighted section below has the “allow” and “deny” permissions set respectively. Restart Aspen Unified Service (stop & start) Restart IIS Service from IIS service manager (stop & start) Reopen Unified Keywords: HTTP Error 500.19, AUP, error, Aspen Unified References: None
Problem Statement: How to troubleshoot an MBO model that doesn't converge?
Solution: Check that all input properties required for derived property calculations have initial values in the Beginning Inventories table/dialog. If the optimizer is not finding aSolution and reporting infeasibilities in property balances (PBAL) try to re-run the optimization using a different BML correlation (e.g. trying using one of Aspen’s ABML correlation instead of a custom client UBML correlation). If the optimizer is not finding aSolution and the objective function value is negative (and large) try minimizing the initial infeasibilities. You can do this by modifying Beginning Inventories values in those tanks that are below or above the working inventory limits. Then re-run the simulation to see if the convergence problem disappears. If the optimizer is not finding aSolution, click on Default button of the optimizer settings dialog to switch to recommended optimizer settings and see if the convergence problem disappears. If the optimizer is taking too long to solve, try increasing the MIP_OPTCR to values as large as 0.10 and see if a qualitySolution can be obtained in reasonable time. Keywords: Convergence, MBO, troubleshooting References: None
Problem Statement: How to compare settings of 2 PIMS models?
Solution: If you right-click Model Settings, then select Non-Default Settings on any PIMS model You can compare this table between the models to check any model setting differences, Keywords: Model settings, compare models, non-default settings References: None
Problem Statement: How to set up 'Buy it or pay it' logic in PIMS? For example: I must buy at least 10 000 BPD of ANS If I don’t I need to pay 25% more for each unit I don’t buy Then, If I buy 10 000 BPD, I’ll pay 10 000 * 1 If I buy 10 001 BPD, I’ll pay 10 001 * 1 If I buy 9 999 BPD, I’ll pay (9 999 * 1) + (1 * 1.25)
Solution: First, we want to save the value missing to reach the 1000 m3. So, me want to make the difference between the section that doesn’t pay a penalty and the one that does, hence we will create an ALTTAG. For reference I will add a penalty to the crude ANS of the Volume Sample if we buy less than 10. Then we buy it for the same cost, we add the minimum volume we can buy to avoid a penalty as the MAX for ANS, we keep the cost constant, and we define the priority as follows. Then, we create a variable that saves the max of 10 (7 characters of your liking). For best practice, reference to the max 10 value in table BUY. And we go to table ROWS. We need to create a row starting with E to show that it is equal to 0. And we will save the slack. An entry in the column 1 will create a variable with the same name of the equation that saves how much is missing for the equation to be equal to 0. PURCANS= 10 or smaller. “Small number” LIMANSL= always equal to the MAX in table BUY for ANS, in this case, 10. “Big number” SLACK= adds a positive +1*EPURANS to the left side of the equation. Hence, the equation EPURANS should be +1*EPURANS +1*PURCANS -1*LIMANSL=0 Notice that +1*PURCANS (“small number”) -1*LIMANSL (“big number”) will always be 0 or a negative number, so EPURANS will always be 0 or positive and it saves the difference between the purchases of ANS and the MAX restriction. Then, we will buy that difference at the cost of penalty we need to pay. Hence, we write a UBAL and 3 characters of my liking (XXX) and we add a positive 1 for the column EPURANS we just created. Positive because the utility that we buy (-) can be consumed (+) here. And in table UTILBUY we set the cost. If it is 25% more of the original cost of ANS, we reference to the table BUY. Don’t add a MIN or MAX here, control how much ANS you are buying through table BUY. Keywords: Advanced constraints, buy it or pay it, utilities to impose variable penalties References: None
Problem Statement: Sometimes when trying to open the Control Objectives of any MV or CV in the ATcontrol page from an operator machine from the DCS, a similar pop-up message to the one below can appear: “This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.
Solution: To gain access to the Control Objectives, there are two options: 1. Use the PCWS “Enforce single-window environment” option in the Preferences tab of PCWS. This causes all popup windows for the PCWS web session to open within a floating frame within the browser window instead of opening popup windows. 2. Override the group policy that prohibits popup windows in the console. Make sure the “Disable Open in New Window menu” option is disabled (not configured) from the Local Group Policy Editor, just as in the picture below. To do so, please open the Group Policy Editor from your Windows search icon, then go to User Configuration> Administrative Templates> Windows Components> Internet Explorer> Browser Menu> Disable Open in New Window Menu Option. Once this option is disabled, the message should disappear, and you should be able to access again to the control objectives. Keywords: PCWS, ATcontrol, control objective, web viewer References: None
Problem Statement: What does DefaultEquipmentCategories.csv file contain?
Solution: Each equipment present in the library is assigned with some default category based on the type of equipment. You can change this category by selecting any of the categories present in the database. This default categories are read from the data file DefaultEquipmentCategories.csv present in the <Drive>:Program Files (x86)\AspenTech\Aspen OptiPlant <version>\Data folder. If you want to change the default categories for your projects, you can directly change this in DefaultEquipmentCategories.csv. DEFINITIONS: COLUMN A, Equipment TYPE. COLUMN B, Default Category. Keywords: DefaultEquipmentCategories.csv References: None
Problem Statement: Aspen Unified V14 post-installation configuration.
Solution: This video guide will walk you through the default configuration steps for the V14 Aspen Unified SQL databases using the Aspen Unified Configuration Manager and Microsoft SQL Server Management Studio. For additional information or questions about the SQL server and Specific Account Requirements, please refer to the attached Installation Guide. Keywords: AU, AUP, AUS, AURA, AU GDOT, databases, SQL server, configuring SQL, SSMS References: None
Problem Statement: Which SQL Server do I need to install to run Aspen OnLine?
Solution: Aspen OnLine includes a service which performs some tasks. This includes accessing a database which is used to cache data retrieved from a historian. To use the Aspen Properties Enterprise Database with several Aspen Engineering products on a Windows Server operating system, an SQL server is required. Version SQL Server AOL V11/V12/V12.1 SQL Server 2014 Express AOL V14 SQL Server 2019 Express The Aspen OnLine service, by default, runs under an account with Administrator access. It is possible to configure the service to use the Local System account instead, which will allow any user to use the service. Run the service as a user with local administrator privileges. The database will use the LocalDB built into Windows without any additional installation. Let the service run as Local System. The Local System user cannot use LocalDB, so you must install SQL Express 64-bit for this case. When you install Aspen OnLine, the version used is set to the earliest supported installed version. To change this, run Aspen OnLine Database Selection from the Windows Start menu. Note: If the Aspen OnLine service runs as any account other than yours, then it will not be able to run any projects stored in your user-specific folders (anything under C:\Users\<username> including the Desktop and Documents folders; doing so will lead to Access Denied errors. Avoid storing projects in these locations. To confirm and if necessary, change the account which runs the Aspen OnLine service: Using an account with administrative privileges, open the Control Panel. Search for Services and run it. In the Name column, locate and click Aspen OnLine V11/V12/V12.1/V14. In the Status column in this row, the word Started will appear if it is started. If it is already started, on the left side of the window click Stop to stop the service. In the Log On As column in this row, Local System appears if the service is running as Local System. To change this, right-click anywhere in the row and click Properties. Click the Log On tab, and click This account, then either enter the account name or click Browse and search for an account. The account selected must have local administrator privileges. Enter the password for the account in the Password and Confirm Password boxes to confirm it and click OK. At the left side of the window, click Start to start the service. In the Startup Type column, the word Automatic should appear. If it does not, double click it and select Automatic or Automatic (Delayed Start) in the Startup type field in the dialog box that appears. Note: All versions of the service are mutually exclusive. You cannot start one while the another is running. Keywords: SQL Server, Version, AOL, Services, databases. References: None
Problem Statement: Best practices to converge an adjust block.
Solution: The Adjust operation iteratively modifies the adjusted variable within the specified range until the calculated variable matches the target value within a specified tolerance. If you're having an issue with the range you've specified in an Adjust operation, it's usually either because the true value lies outside the range you've specified or because the range is so wide that the solver can't find a goodSolution. Here are some steps you can take to fix this: 1. Check the Range: Ensure the range you specified includes the value you're looking for. If your Adjust operation is resulting in a negative flow, this could mean your lower limit should be set to zero or a small positive value instead of a negative value. 2. Narrow Down the Range: If your range is too wide, the solver might struggle to find aSolution. Try narrowing down the range. This may involve making an educated guess about what the value should be based on your knowledge of the system you're simulating. 3. Start with Good Initial Guess: Provide an initial guess for the adjusted variable that is close to the expected value. This will guide the solver to theSolution more easily. 4. Modify the Adjustment Step Size: The step size of adjustment can affect convergence. If the step size is too large, the solver may overshoot theSolution. If the step size is too small, the solver may take a long time to converge or may be trapped in local minimum. You can try to adjust this value for better results. 5. Check the Convergence Criteria: If the criteria are too strict, it may lead to non-convergence. Relaxing the convergence criteria, a little bit can sometimes help, but you should also make sure that the results are still accurate enough for your purposes. Remember, each case is different and may require different adjustments, and the physical interpretation in the results concerns the user expertise. Keywords: adjust block, convergence, solver, tolerance, negative flow. References: None
Problem Statement: After using Retrieve Parameters from the Tools section of the Home ribbon or generating a Property report using the Property parameters' descriptions, equations and sources of data (PARAM) option on the Setup | Report Options | Property sheet, I do not see the expected parameter (for example, CPLDIP). Why is it missing from the report?
Solution: The Property report shows only the current parameters used in the Property Methods selected in the simulation. In this case, no property methods use a liquid reference state; therefore, CPLDIP, the liquid heat capacity model parameter, is not used in the enthalpy calculations and does not appear in the property report. To correct this, select a property method such as WILS-LR or modify a property to use a liquid reference state. To generate a report of all parameters in the databanks, on the Setup | Report Options | Property sheet, select All physical property parameters (in SI units) and export a report file. Keywords: None References: None
Problem Statement: How is it possible to model liquid-liquid equilibrium for systems with electrolytes? Are there any tips for getting this to work?
Solution: Liquid-liquid (LLE) systems can be modelled with ElecNRTL and ENRTL-RK, but there are several important steps that must be taken. In earlier versions only the Apparent approach was supported; however, now LLE works with both the True and Apparent component approach. It is also possible to model LLE with electrolytes using an RGibbs reactor unit operation block. The property WTRUE can be used to tabulate the true species mass flow rates. For a species such as NaOH that is normally dissociated in water, tabulating WTRUE should show that the ions are present in the water phase and that the molecular species are present in the organic phase that has a low dielectric constant. Steps: If using apparent approach, the chemistry may not contain any complete dissociation reactions. Replace them with equilibrium reactions with a large dissociation constant. Usually A = 5.0 works well (A is the natural log of K). After making this change, molecular species such as NaOH or NaCl may exist in trace quantities in other parts of the flowsheet. You may have to specify some additional property parameters, such as DHFORM if the chemistry is used in an RStoic block. The heat of formation should have no quantitative effect on the simulation; it can be estimated or just set to zero. The activity coefficient parameters should predict phase splitting between the water and the organics in the absence of salt. The interactions between water and the organic are controlled by the NRTL/1 and NRTL/2 parameters. These should be retrieved from the LLE-ASPEN databank, regressed to LLE data (in the absence of salts), or estimated using UNIF-LL. The solvents should have dielectric constant parameters (CPDIEC). Without CPDIEC, the dielectric constant defaults to the dielectric constant of water. This is essentially always too big. For comparison, the dielectric constant of water at room temperature is about 80. Methanol has a dielectric constant of 32. Acetone and butanol are about 20. Phenol is 10. Non-polar organics have dielectric constants of near 2. Some databank compounds have CPDIEC parameters. The user should check whether these parameters exist for the solvents used in the simulation, and if they do not should supply parameters. Having too high a dielectric constant makes it too easy for ions to go into the organic phase and for organics to dissolve in the aqueous brine phase. Pair parameters should be supplied between the non-aqueous solvents and ion pairs. When pair parameters are missing from the databanks, ElecNRTL fills in default values. The defaults are: 10 for solvent with ions -2 for ions with solvent In general, these are too favorable (they are appropriate for a good solvent for ions, such as methanol). For ions that do not go into the organic phase (and for solvents that are salted-out), better values are: 5 for solvent with ions 5 for ions with solvent These can be regressed if there is ternary (water/salt/solvent) LLE data available. The user may have to override databank values for electrolyte vapor pressures. When calculating phase equilibrium, Aspen equates fugacities. The vapor pressure of the components is used in this calculation. Salts and ions have vapor pressures set to zero by setting the first PLXANT parameter to -1D20. This is a flag that tells Aspen that the component is non-volatile. When computing liquid-liquid equilibrium, this low value of vapor pressure can cause numerical difficulties for some components such as NaOH. To get around this, PLXANT/1 should be set to a much higher value, such as -15. This still makes the vapor pressure very low (PLXANT/1 is the natural log of the vapor pressure in N/M^2), but it avoids the numerical difficulties that come from using -1D20. When the non-volatile flag is not set (when PLXANT/1 is not equal to -1D20), Aspen requires heat of vaporization for the compound. This parameter check can be passed by setting DHVLWT/1 to zero. (Because these compounds do not go into the vapor this has no effect on calculated enthalpies). Convergence Tips: It may be necessary to increase the maximum number of flash iterations. This can be done globally on the Setup | Simulation Options | Flash Convergence sheet by increasing the Maximum iterations in the Flash options section. Simplify the chemistry to remove irrelevant reactions. If phase splitting calculations in RadFrac column fail to converge, consider setting Maximum liquid-liquid phase split iterations in the inside loop (LL-MAXIT) to 0 on the RadFrac | Convergence | Algorithm sheet in order to completely suppress these calculations or setting the Liquid-liquid phase splitting method (LL-Meth) to the Equation solving method EQ-SOLVE on the RadFrac | Convergence | Basic sheet. Note that LL-Meth=EQ-SOLVE may yield an incorrect result, because it only equates the fugacities of the two phases, it does not require that Gibbs Free energy is at a minimum. If a Reactor block is used, confirm that ionic reactions do not occur in the vapor phase. Examples: Knowledge Document 67242 - water (H2O), carbon tetrachloride (CCl4), and sodium hydroxide (NaOH) Knowledge Document 56816 - water (H2O), 1,2-dichloropropane (C3H6Cl2), sodium chloride (NaCl), and nitrogen (N2) Keywords: electrolyte liquid-liquid equilibrium LLE ElecNRTL References: None
Problem Statement: What is the Mass Density Distribution of Solids in the plot available for the Particle Size Distribution (PSD)?
Solution: The Mass Density Distribution Plot shows the mass fraction of one size interval relative to the width of the size interval. For each interval, the Mass Density Distribution is plotted on the Y axis; thus, the units for the Y axis on this plot are the inverse the X axis units. Mass density plots show the most realistic representation of relative values of particle size. The tip of the plot describes the modal value of the distribution. A logarithmic representation of the mass density plot should only be used for analysis, but not for visualization of trends and values on the plot because the graph gives a misleading representation. This information can only be shown graphically and is not reported as a table. Keywords: None References: : VSTS 955005
Problem Statement: In Column Analysis, how is the Interfacial area factor handled? For example, when using the mass transfer correlation Brf-85 that uses the packing surface area as interfacial area, the ratio of interfacial surface area or specific interfacial surface area to packing surface area should be the same as the specified interfacial area factor. In version V11 and higher, it seems to be a linear interpolation between the first segment and the last second for the specified interfacial area factor and a factor of 1. This problem was not in V.10 or older versions.
Solution: In RadFrac blocks with Column Analysis, there is an additional parameter Interfacial bottom stage area factor on the Rate-based Setup | Sections sheet. The Interfacial area factor now applies to the top stage and the value of the factor is linearly interpolated between these values for stages between the top and bottom. This change was introduced in V12 and the bottom stage factor defaults to 1. To set a constant value for the section (and preserve the behavior of V11 and earlier), be sure to set both parameters to the same value. If users want to have the same results as in V11 and earlier, on the Rate-based Setup | Sections sheet make Interfacial bottom stage area factor the same as Interfacial area factor: Keywords: None References: : VSTS 953055
Problem Statement: A connection between IP.21 and OPC UA server involves trusting each others' certificates (read, write and unsol). The vendor usually provides the location of their certificates. If the vendor doesn’t know where are these certificates located, please follow the next steps.
Solution: 1. On the IP.21 side, Run Notepad as administrator and open cimio_opcua_read.log4net.Config.xml that is located in C:\Program Files (x86)\AspenTech\CIM-IO\io\cio_opc_uai 2. Enable “Debugging logs” 3. Open CIMIO INTERFACE MANAGER and start the interface that is pointing to the target OPC UA Server. 4. You need to create a logical device, you can do it by following the KB article How to add a logical device in Aspen InfoPlus.21 using the Cim-IO IP21 Connection Manager or by using CIMIO TEST API and following the next KB article How to use the CIM-IO Test API to add a logical device? 5. Once the Logical device has been create, run Test API option 9, to try to see data from the OPC UA Server, this will reject the certificates an put them inside the “RejectedFolder” so it can be trusted. The following error is shown after doing the Test API CIMIO_USR_GET_REPLY, Error came from GET reply packet CIMIO_OPCUA_DEVICE_ERROR, Device failure. 6. On Local disk C | Program Data, three log files have been created This means that the CIMIO has rejected the software certificates as expected and placed them inside C:\ProgramData\OPC Foundation\RejectedCertificates 7. Open OPC UA Configuration tool | On Manage Security, select cimio_opcua_read on Application to Manage 8. Click on “Select Certificate to Trust”, on Store Path point to c:\ProgramData\OPC Foundation\RejectedCertificates 9. Click on the certificate of target OPC UA server 10. Click Ok 11. Repeat the step 8 for cimio_opcua_unsol and cimio_opcua_write 12. Restart the interface, the read, write and unsol will turn green 13. Run TEST API and select option 9, we should be able to bring data. Keywords: CIMIO OPC UA OPC Configuration Tool Test API Certificates Rejected Certificates References: None
Problem Statement: What is the equation Aspen is using for calculating the PSV rated capacity?
Solution: Rated flow is not expected to depend on mass flow. Mass flow will typically be the required flow for the particular scenario (and it's a user-specified value), whereas rated flow is the maximum that can flow through the valve based on the fluid, orifice area, and valve characteristics (it can be calculated or user-specified depending on the option in the source editor). Mass flow is used for most parts of the network. Rated flow is used in lines flagged as tailpipes when the appropriate option is selected in the calculation settings. Aspen Flarenet is using the equations in API 520 Part I for rated flow analysis. The specific equation depends on the fluid state and options selections, see the Methods tab. In Aspen Flare System Analyzer the rated flow will be calculated from the Maximum Allowable Working Pressure (MAWP), valve type, orifice area, valve count, upstream pressure, upstream temperature and sizing method, the flowrate will be automatically updated after any change in these values. Keywords: MAWP, Rated Capacity, Sizing, Mass Flow References: https://esupport.aspentech.com/S_Article?id=000094792 https://esupport.aspentech.com/S_Article?id=000097202
Problem Statement: Why do I get “License checkout” error while launching eLearning from Aspen Plus?
Solution: You might be facing “License checkout” error while launching eLearning from Aspen Plus due to tokens unavailability. Please note that eLearning requires additional 5 tokens apart from the tokens consumed for launching Aspen Plus, therefore you need to open SLM à Load Server Details à Check if enough tokens are available. In case of tokens unavailability, no issues you can still use eLearning feature by downloading “eLearning Launcher”. To achieve this, you can download the compressed zip file attached along with the KB article and then proceed to unzip it and then double click on the ELearningLauncher.exe file. You can then browse and find the specific courses which you want to access. Keywords: None References: None
Problem Statement: How to resolve the error – “Output Error in CSetDoubleValue for field ShadowPrice in table PrUtilitySale” in Aspen PIMS V14?
Solution: The error – “Output Error in CSetDoubleValue for field ShadowPrice in table PrUtilitySale” is occurring in Aspen PIMS V14 due to the change in the columns in PrUtilitySale since previous versions of PIMS. This change was performed to include the shadow price to be used in reporting. Therefore, in order to eliminate this error, the user has to be perform a very simple step of deleting the existing Results.mdb file from the Model folder and proceed to run the desired cases, this will recreate the Results.mdb file. Keywords: None References: None
Problem Statement: How to resolve the error: “-2146824584 – Unknown error 0x800A0E78” in PIMS DR?
Solution: The unexpected error “-2146824584 – Unknown error 0x800A0E78” is occurring while using PIMS DR due to an incorrect Model setting. This can be resolved by going to Model Settings à General Model Settings à Output Database à Options à unchecking the “Use Classic Output Database Format” option: Keywords: None References: None
Problem Statement: Why does the Adiabatic Gas and Isothermal Gas correlations are not available in steady state Pipe segment unit operation in Aspen HYSYS?
Solution: The methods above have all been developed for predicting two-phase pressure drops. Some methods were developed exclusively for flow in horizontal pipes, others were developed exclusively for flow in vertical pipes, and some can be used for either. Some of the methods define a flow regime map and can apply specific pressure drop correlations according to the type of flow predicted. Some of the methods calculate the expected liquid holdup in two-phase flow while others assume a homogeneous mixture. However certain methods such as the Adiabatic Gas and Isothermal Gas correlations are only available to Aspen Hydraulics pipe segments, in Data > Solver Variables > Calculation Method. The normal pipe segment doesn’t have them. Keywords: Adiabatic, isothermal, pipe correlation, Hydraulics, pipe segment References: None
Problem Statement: How to differentiate between EO and SM mode in Aspen HYSYS?
Solution: In Aspen HYSYS, there are two different ways of solving simulations: Sequential Modular (SM) which solves blocks in sequence and Equation-Oriented (EO), which solves the entire flowsheet simultaneously. The EO solver can be applied in Upstream, Midstream and Downstream processes. The EO solver has the capabilities to solve a complex simulation very fast. This make ideal to troubleshoot process operations in both offline and real time applications. The sequential modular approach can have limitations for different processes depending upon the complexity of the process, some of these limitations are listed here: Highly heat integrated processes Highly recycled processes Processes with many design specifications Process optimization Process model tuning through data reconciliation and parameter estimation. For these, using the EO approach will result in fasterSolution time. At the same time, the EO strategy has one model for calibration and optimization which allows for more flexible variable specifications. Aspen HYSYS’s Equation-Oriented (EO) Modeling Option facilitates fast data reconciliation, model calibration and process optimization. In EO mode, the user can switch a calculated variable to an input and vice versa each as a pair. The results can be slightly different between SM and EO modes. This is because in EO only solver solves the whole simulation. In the SM mode there are multiple solvers such as in Adjust, Recycle, Column so on. Each solver in SM involves tolerance. This is the reason the residuals from all the solvers together could be high in the SM mode. EO solver provides fasterSolution enabling demanding computationally intensive applications, such as: Converging complex simulation containing many recycle blocks Case study and sensitivity analysis Parameter estimation Data reconciliation, and Optimization Keywords: Equation oriented, sequential, model, optimization References: https://esupport.aspentech.com/S_Article?id=000050569 https://esupport.aspentech.com/S_Article?id=000096782
Problem Statement: What are the steps involved in Aspen Unified upgradation to V14?
Solution: The following are the steps involved in Aspen Unified upgradation to V14: 1. Check if the HW and SW pre-requisites for Aspen Unified V14 are available in the machine in which it is going to be upgraded: Hardware Requirements – Aspen Unified V14 Server Type - Minimum Recommended Computer & processor: Intel Core-i7 family or faster for standalone deployment Intel Xeon Gold series, 4 cores or more for multi-user environment Memory (RAM in GB): 16 + for standalone deployment, 32+ for multi-user environment Hard Disk (GB): 150 for standalone deployment, 300 for multi-user environment Monitor: Graphics hardware acceleration requires a DirectX10 graphics card and a 1440 x 900 or higher reSolution monitor Network: 100 Mbps Software Requirements – Aspen Unified V14 Operating System Windows 11 Enterprise & Professional (64-bit)/ Windows 10 Enterprise & Professional (64-bit)/ Windows Server 2022/ Windows Server 2019/ Windows Server 2016 Microsoft Office Office 365 (Desktop/Click-to-run) (32-bit/64-bit)/ Office 2016, 2019, 2021 (32-bit/64-bit) Database Servers Microsoft SQL Server 2019 (Enterprise/Standard/Express Edition) / Microsoft SQL Server 2017 (Enterprise/Standard/Express Edition) / Microsoft SQL Server 2016 (Enterprise/Standard/Express Edition) / Microsoft SQL Server 2014 (Enterprise/Standard/Express Edition) / SQL Server 2019 Local DB Web Browsers Google Chrome Evergreen Version 75+/ Microsoft Edge Runtime Components .NET Framework 4.8 Microsoft Visual C++ Redistributable 2017 MSXML 6 Microsoft Visual C++ Redistributable 2019 Virtualization Microsoft Hyper-V (Server) VMware ESXi Hypervisor Server 6.x (Server) A more detailed pdf file highlighting all the pre-requisites is attached along with the KB article. 2.Media file download: a) Log in to support account à Support à Downloads à Download Center: Download the one highlighted in green for AUP V14 installation: 3. For the Installation steps, have attached a pdf file highlighting the Aspen Unified V14 installation steps. 4. Once you have successfully installed, you can now launch “Aspen Unified Configuration Manager”, click on “Database Management” and proceed to upgrade all the databases. 5. You can now launch Aspen Unified Homepage and proceed to open the desired model. Keywords: None References: None
Problem Statement: To make modifications in the Aspen Properties Database Manager utility you must enter the database login name and password. What are the correct entries for the different versions of the database manager?
Solution: The default login name and password is set during the installation of Aspen Properties Enterprise Database (APED). The correct values are shown below for the various versions. Version Login Name Password 2006 aped aped 2006.5 aped065 Aprop100 V7.0, V7.1, V7.2, V7.3 apeduser Aprop100 V7.3.2 and higher apeduser2 Aproperty88# Note that both login name and password are case sensitive. The login name and password will not change from V7.3.2 onwards. Keywords: Aspen Properties Database Manager APED login name password References: None
Problem Statement: After performing upgrades, migrations, or new installations of the GDOT Web Server, users may encounter an error when attempting to save changes made to a diagram within the Web Viewer: This error can occur if the GDOT Online Web Viewer lacks the necessary permissions to modify the Database associated with the open diagram. To verify this issue, you can look for an error message stating 'attempt to write a readonly database' within the WebFrontEnd-Viewer-log.txt file, which you can find in C:\ProgramData\AspenTech\GDOT Online\Vxx.x\logs
Solution: To grant the necessary permissions to the GDOT Online Web Viewer, follow these steps: Navigate to the following directory: C:\ProgramData\AspenTech\GDOT Online\Vxx.x\WebFrontEnd\DataFiles. Right-click on the database file for which you want to configure permissions and select Properties. In the Properties window, go to the Security tab and click the Edit... button. Then, click on Add… In the blank field, type IIS APPPOOL\GDOT Online Web Viewer and click the Check Names button. If the window displays the correct user, click OK. In the Permissions window, tick the boxes to Allow both Read and Write permissions for the GDOT Online Web Viewer user. Note that the Read & execute permission is not necessary in this context. Click OK on any remaining windows to save the changes. Reopen the GDOT Web Viewer, and now you should be able to edit a diagram and save your modifications successfully. Keywords: WebFrontEnd, .db file, New Diagram, Setting up Rights, IIS References: None
Problem Statement: AspenTech strongly recommends stopping Aspen InfoPlus.21 before rebooting the Aspen InfoPlus.21 server. This ensures that a current snapshot and history data are saved to disk, and that all applications are shutdown cleanly. However, users sometimes reboot the Aspen InfoPlus.21 server without first stopping Aspen InfoPlus.21. This article explains how to automatically stop Aspen InfoPlus.21 when shutting down the Aspen InfoPlus.21 server.
Solution: Microsoft allows you to create a local computer policy that activates a batch procedure that is activated before the server shuts down. For more information, please refer to Microsoft TechNet Article https://technet.microsoft.com/en-us/magazine/dd630947. Attached to this knowledge base article is a file named StopInfoPlus21.txt. Download this file to C:\Windows\System32\GroupPolicy\Machine\Scripts\Shutdown The first line of the file is: cd /d C:\Program Files\AspenTech\InfoPlus.21\db21\code Update this line, if necessary, to point your Aspen InfoPlus.21 code folder. Next, rename StopInfoPlus21.txt to StopInfoPlus21.bat. After renaming the file, you should test the batch procedure to verify it works. Note: Activating StopInfoPlus21.bat will stop Aspen InfoPlus.21. Use the Aspen InfoPlus.21 Manager to confirm Aspen InfoPlus.21 stopped. After confirming the batch procedure StopInfoPlus21.bat stops Aspen InfoPlus.21, you can cause the Windows operating system to activate the shutdown procedure by performing the following steps. 1. Check if you have database security configured on your Aspen InfoPlus.21 server by opening the Aspen InfoPlus.21 Administrator, right-clicking on the database name, and selecting Properties. Then click the Permission tab. If there are no database roles defined, proceed to step 2. If there are database roles defined, identify the one having Admin privilege. In this example, the role having Admin privilege is IP21Administrator. You can cancel Permission tab after identifying the Aspen InfoPlus.21 Administrator role. Next open the AFW Security Manager. Click on Roles, right-click on the Aspen InfoPlus.21 Administrator role, and select Properties. Select the Members tab and then click on the Advanced button. Enter NT AUTHORITY\SYSTEM, select the option User, and then click on Add. AFW Security displays a warning message saying the role member is not verified and asks if you want to continue. Press Yes. This adds the user NT AUTHORITY\SYSTEM as a member of the Aspen InfoPlus.21 Administrator's role. Press Apply and exit the AFW Security Manager. NOTE: At this point, you must wait at least 10 minutes before continuing to allow Aspen Local Security and Aspen InfoPlus.21 time to update security cache files. 2. Open C:\Windows\System32\gpedit.msc as an administrator. 3. Navigate to Computer Configuration | Windows Settings | Scripts (Startup/Shutdown). 4. Click on Shutdown, choose the Scripts tab on the next screen, and press the Add button. 5. Press Browse and select the file StopInfoPlus21.bat 6. Using the Aspen InfoPlus.21 Manager, stop Aspen InfoPlus.21 if it is running and uncheck the box STARTUP @ BOOT 7. Reboot the Aspen InfoPlus.21 server without Aspen InfoPlus.21 running. 8. After the server reboots, check the file StopInfoPlus21.log located in the Aspen InfoPlus.21 code folder. You should see lines similar to: Stopping InfoPlus.21 due to server reboot at   Wed 10/26/2016 11:20:13.91 Success is returned by task service Description received: InfoPlus.21 stopped successfully. InfoPlus.21 shutdown due to reboot completed at Wed 10/26/2016 11:20:20.11 If you see lines similar to: Stopping InfoPlus.21 due to server reboot at   Wed 10/26/2016 11:58:28.05 Success is returned by task service Description received: The users access permission does not allow the operation InfoPlus.21 shutdown due to reboot completed at Wed 10/26/2016 11:58:28.16 then you did not correctly add NT AUTHORITY\SYSTEM as a member of the Aspen InfoPlus.21 Administrator's role or you did not wait long enough for Aspen Local Security and Aspen InfoPlus.21 to update their security cache files. 9. Start Aspen InfoPlus.21 and reboot the Aspen InfoPlus.21 server again. 10. After the server reboots, check the file error.log for one of your repositories. You should see lines indicating the repository stopped normally when the system rebooted. 26 Oct 16 11:59:35 - ARCHIVE: archiver is requested to stop by Process id=4460 26 Oct 16 11:59:35 - *C:\Program Files\AspenTech\InfoPlus.21\c21\h21\bin\h21shutdown.exe* 26 Oct 16 11:59:35 - ARCHIVE: normal shutdown complete 26 Oct 16 11:59:35 - ARCHIVE: program shutdown 11. Use the Aspen InfoPlus.21 Manager to check the box STARTUP @ BOOT (if desired) and restart Aspen InfoPlus.21. Note: The best practice is to stop Aspen InfoPlus.21 using the Aspen InfoPlus.21 Manager before stopping your server. Note: This procedure assumes that it takes less than five minutes to stop your Aspen InfoPlus.21 database. After five minutes, the procedure times out and allows Windows to continue shutting down. Any historical information not saved to disk will be lost, and your database could be damaged if Aspen InfoPlus.21 cannot save the in-memory database to a snapshot. Keywords: reboot restart shut down graceful shutdown snapshot resurrect resurrected References: None
Problem Statement: How to to use external fortran subroutines on a PC without a fortran compiler?
Solution: You can use the ASPLINK command to create your own shared libraries (.DLL files) containing the object files needed for user models. By creating your own shared libraries, you can avoid the need for Aspen Plus to link a run-specific user model shared library for each run. To create the shared library (.DLL file) for a Fortran user model in an Aspen Plus flowsheet: From the Aspen Plus Simulation Window, type ASPCOMP subroutinename[.f] in the working directory for each Fortran subroutine. The compiled object (.obj) file must be located in the working directory, or in a directory specified in a Dynamic Link Options (*.opt) file, in order to be linked in Aspen Plus. However, linking also requires a Fortran compiler. A group of object files can be dynamically linked into a .DLL file, by moving them to another directory and typing in ASPLINK at the command prompt in that directory. By default asplink includes all of the object module files present in the run directory. The .DLL file can then be moved back to the working directory in lieu of the concerned object files and used with a Dynamic Link Options (DLOPT) file (.opt) file. To use the shared library (.DLL file) for a Fortran user model in an Aspen Plus flowsheet: In a Dynamic Link Options (DLOPT) file (.opt), specify the location of the .DLL file. If the .DLL file is also located in the working directory the complete path is not needed. Aspen Plus will locate object (.obj) files in the working directory; however, shared library (.DLL) files will only be located using the Dynamic Link Options (.opt) file. For more information on Dynamic Link Options (DLOPT) files seeSolution 102368. In the Aspen Plus simulation, select Settings from the Run menu, and type the name of the Dynamic Link Options (.opt) file in the Linker options field. If the DLOPT file is located in the working directory the complete path is not needed. The run settings are saved in the simulation file. The backup file accompanied by a shared library (.DLL file) and Dynamic Link Options (.opt) file will run on a computer without a compiler. For more information see the Aspen Plus User Models Keywords: DLL, FORTRAN, Subroutine, DLOPT, ASPLINK References: Manual, Chapter 1
Problem Statement: Aspen Plus has CO2 Capture examples for Piperazine (PZ) and 2-amino-2-methyl-1-propanol (AMP) individually. Is there an example that includes both of these amine solvents?
Solution: A process model is developed for CO2 capture by using a second generation of amine solvent, the aqueous blend of 2-amino-2-methyl-1-propanol (AMP) and piperazine (PZ). This blend is being actively investigated and considered as a good candidate to support commercial deployment and drive down costs of post-combustion carbon capture. The thermodynamic representation of the blend combines our previous work for the amine-water-CO2 systems of AMP and PZ [1, 2], additional interaction parameters of the AMP-PZ-water-CO2 system are fitted to the experimental data of vapor liquid equilibrium [3, 4] and absorption heat [3]. The absorber and stripper are modeled with rate-based columns and validated with pilot plant data [5]. Finally, an example for industrial scale CO2 capture from natural gas-based flue gas is developed. Our previous study has shown the superiority of the rate-based modeling approach over the traditional equilibrium-stage method. The rate-based model can provide excellent predictive capabilities and is very useful for design and scale-up of CO2 absorption process. In this work, the absorber and stripper are modeled with rate-based columns and validated with the pilot plant data [6], the predicted key output variables of CO2 removal percent and specific reboiler duty are comparable to the data. This example uses a MAKEUP block (new in V14) and a Charge Balance (CHARGEBAL) block to help converge the simulation. In conclusion, the aqueous blend of AMP and PZ is a good candidate for supporting commercial deployment and driving down costs of post-combustion carbon capture. A thermodynamic model is developed for CO2 capture by using the mixed solvents of AMP and PZ, then combined with the kinetic reactions to model the absorber and stripper with rate-based columns and validated with pilot plant data, finally, an example of industrial scale CO2 capture using AMP and PZ is developed. This example is useful as a starting point for more sophisticated model development. See the attached documentation for more information. The Aspen Plus backup (.bkp) file can be opened in V14 and higher. Keywords: None References: s Aspen Plus documentation, Rate-based model of the CO2 capture process by AMP using Aspen Plus. Aspen Technology Inc, Cambridge, MA. 2022 Aspen Plus documentation, Rate-based model of the CO2 capture process by PZ using Aspen Plus. Aspen Technology Inc, Cambridge, MA. 2022 Hartono, A., Ahmad, R. Svendsen, H. F., Knuutila, H. K. New solubility and heat of absorption data for CO2 in blends of 2-amino-2-methyl-1-propanol (AMP) and piperazine (PZ) and a new eNRTL model representation, Fluid Phase Equilib., 2021, 550:113235 Bruder, P., Grimstvedt, A., Mejdell, T., Svendsen, H. F. CO2 capture into aqueous
Problem Statement: Which method is uses to calculate flash point temperature in Aspen HYSYS?
Solution: The standard method that Aspen HYSYS uses to calculate flash point in the Cold Properties Utility is API procedure 2B7.1. You could get more information by that literature. The same method is used in stream properties (from correlation manager in Refsys) to estimate the flash point. However, the results of these two scenarios are different. By default, HYSYS follows API procedure 2B7.1 in calculating flash point of petroleum fractions. The equation used to estimate the flash point is as follows: 1/T(FP) = -0.014568 + 2.84947 / (T1) + 1.903e-3 * ln(T1) Where T(FP) is the flash point (Penske-Martens Closed Cup, ASTM D93), in degrees of Rankine and T1 is the ASTM D86 10% temperature in degrees Rankine. The accepted range is 150 F < ASTM D86 10% point < 1150 F. If the ASTM D86 10% point is outside this range, HYSYS will not calculate a Flash Point and will show the Flash Point as <empty>. The standard method that HYSYS uses to calculate flash point in the Cold Properties Utility is as mentioned in the HYSYS Operations Manual in the Utilities Chapter, under the Cold Property utility: HYSYS follows API procedure 2B7.1 in calculating flash point of petroleum fractions. The equation used to estimate the flash point is as follows: 1/T(FP) = -0.014568 + 2.84947 / (T1) + 1.903e-3 * ln(T1) Where T(FP) is the flash point (Penske-Martens Closed Cup, ASTM D93), in degrees of Rankine and T1 is the ASTM D86 10% temperature in degrees Rankine. The accepted range is 150 F < ASTM D86 10% point < 1150 F. If the ASTM D86 10% point is outside this range, HYSYS will not calculate a Flash Point. The accuracy of using this estimation method to represent the flash point of petroleum fractions is as claimed by API. If the ASTM D86 10% point is beyond the above range of applicability (you can see the ASTM D86 10% by adding a BP Curves Utility to the stream) of applicability for the API 2B7.1 method, HYSYS cannot calculate it and it will show Empty. Different flash point methods are applicable for different type of streams. A wrong method can lead to a very wrong result. The default method for Flash Point calculations in HYSYS (via the Cold Properties Utility, for example) is calculated by the API 2B7.1 method. The temperature range for the flash point calculation are not the actual process temperature but the ASTM D86 10% point. The accepted range is 65 C (150 F) < ASTM D86 10% point < 621 C (1150 F). According to ASTM, the TAG method covers the determination of flash point of liquids with a viscosity below 5.5 cST at 40C (104F), or below 9.5 cSt at 25 C (77 F) and a flash point below 93C (200F). The Pensky-Martens method is used for liquids with a viscosity of 5.5 cSt or above at 40C (104 F), or a viscosity of 9.5 cSt or above at 25 C (77 F), or a liquid that may contain suspended solids or have a tendency to form a surface film under test conditions. It is basically for heavier fluids than the TAG method. The flash point range is 40 C (104 F) - 360 C (572 F). If you select Petroleum | Flash Point from the Configuration list, then Intercept, Coeff D86 IBP, Coeff D86 5%, and D86 IBP volume% appear in the Parameters table. However, these four parameters are only used for the flash point calculation when you select Linear D86 Based from the Method drop-down list. Keywords: Aspen HYSYS, Flash Point, Temperature References: None
Problem Statement: How to adjust the enthalpy reference in Aspen HYSYS?
Solution: The enthalpy reference state used in HYSYS is the heat of formation of an ideal gas at 25 C.The absolute enthalpy values generated by HYSYS can be converted to a different enthalpy basis. For example, to convert HYSYS enthalpy values to an enthalpy basis of saturated liquid at 0 C, the following three steps can be used: 1. Obtain a set of enthalpy values (Hi0) of all pure components at the desired enthalpy basis condition (in this case saturated liquid at 0 C). These values can be obtained by performing a flash calculation in HYSYS for individual pure component streams at a specified vapour fraction of 0 at the temperature of 0 C. 2. Obtain an enthalpy offset for a stream whenever the enthalpy conversion is required. With the known stream composition, the enthalpy offset could be calculated as the summation of x(i)*Hi0, assuming no chemical reaction(s) involved. 3. Subtract this offset from the stream enthalpy value calculated by HYSYS at the stream condition. The resulting enthalpy would be the value corresponding to the new enthalpy basis (in this case saturated liquid at 0 C). Please note that this conversion is only applicable when you want to compare HYSYS enthalpy values with other enthalpy data represented using a different reference state. You cannot force HYSYS to change its default enthalpy basis in its enthalpy calculation HYSYS uses an enthalpy basis of the heat of formation of the ideal gas at 25C and 1 atm. This reference is hard coded and you cannot force to change this reference. That said, you can convert calculated value of enthalpy into another basis by studying the differences and adjusting the differences. These calculations are conversion only and not a change in the default basis. Ideal gas enthalpy for a stream is calculated as H = polynomial+offset+formation Keywords: Aspen HYSYS, Enthalpy, Referenc References: None
Problem Statement: How to find the “Ideal” equation of state in Aspen HYSYS?
Solution: Ideal equation of state is not a fluid package available in the Aspen HYSYS library. You can find Ideal property package by selecting Aspen Properties as component list and selecting Aspen Properties property package, filter as COMMON. Note that you will need to select your component list from Aspen Properties library as well in order to keep both component list library & fluid package library consistent. Keywords: Aspen HYSYS, Fluid Package, Ideal References: None
Problem Statement: Which thermodynamic package is best suited here to predict any NOx formation or ammonia combustion in Aspen HYSYS?
Solution: For the given conditions of pressure range (100 kPa ~ 20000 kPa) and components (H2, N2, NH3), I would recommend using the Peng-Robinson (PR) fluid package in HYSYS. The Peng-Robinson equation of state is a widely used model that can accurately represent the behavior of a wide range of hydrocarbon and non-hydrocarbon mixtures, including gases like H2, N2, and NH3. It is particularly suitable for moderate to high-pressure systems and can handle various types of phase equilibria. If there is a liquid phase in the system, an alternative fluid package that can be used for the same pressure and component range is the NRTL (Non-Random Two-Liquid) package. The NRTL package is an advanced equation that can more accurately model the behavior of mixtures in the liquid phase. It is particularly useful when dealing with non-ideal mixtures and can handle a wide range of liquid states and phase equilibrium. By using the NRTL fluid package, you can obtain more accurate and reliable results for systems with a liquid phase. Keywords: Aspen HYSYS, NOx, Ammonia References: None
Problem Statement: How to resolve crashing issue on making any changes to file simulation case if property package is selected as acid gas” in Aspen HYSYS?
Solution: In order to get rid of the crashing issue and its related error message Failure Generating Aspen Properties Problem Definition: You need to install Aspen Plus in order to use Acid Gas fluid package in HYSYS. The error is coming from issues in the installation. Acid Gas fluid package uses Aspen Properties databank. If Aspen Properties databank is not properly installed, or not installed at all, Acid Gas fluid package cannot retrieve the necessary parameters to generate the physical properties. Keywords: Aspen HYSYS, Acid Gas, Crash References: None
Problem Statement: How to get rid of the following error message Error while executing Calculator block. Error starting or running excel in Aspen Plus?
Solution: In order to get rid of the following error message: You will need to perform a quick repair on Office. Go to (Control Panel | Repair | Apps | Microsoft Apps for Enterprise | Modify | Quick Repair). Keywords: Aspen Plus, Calculator Block, Excel References: None
Problem Statement: This article described where are stored the DMC3 Applications Automatic snapshot, that the server store.
Solution: The RTE service has the capability to take and store automatically snapshots of the deployed DMC3 applications. Typically, the snapshot intervals and History retention can be managed from the Configure Online Application. Nevertheless, due to the usage of the RTE service is recommended not to change the default parameters. The retention of these snapshots can be useful to recover projects or controllers that may be corrupted or disappear from the server. Or projects that no longer exist but the back up of the controller is required. These snapshots are saved as apc.app applications which can be imported in DMC3 Builder and normally are stored on the following path of the Online Server. C:\ProgramData\AspenTech\RTE\V14\Clouds\Online\sys A Folder for every deployed application will be created on the folder and inside you will encounter the snapshot retained. This File can be copy into another location and then can be imported into DMC3 Builder. Keywords: DMC3 Builder, Snapshots, Online Server References: None
Problem Statement: This article described the different configuration and connection option that can be used in the interaction between DMC3 Builder and APC Online Server.
Solution: Typically, on the installation of an APC Online Server will consist of the Online Components which is basically all the services and files that allow the DMC3/DMC plus controllers to run and perform all controller calculations (typically this will be the ACO components and the RTE components) and the bundle of Desktop applications (DMC3 Builder, DMCplus Model, DMCplus Config etc.). Nevertheless, in the case of DMC3 Builder there is not really an automatic process that allows the connection between the Online Server component (RTE) and DMC3 Builder. During the process configuration is required to open DMC3 Builder then go Online and Add a New Server. The attached PDF File, show a step by step guide on the different configuration that can be done to connect DMC3 Builder to and Online Server Keywords: DMC3 Builder, Online Server, TCP/IP References: None
Problem Statement: It is possible to change the History Plot option on the Production Control Web Server going to Preferences and checking the Web.21 HPT box. However, this only applies for the user that is currently using the PCWS, the procedure below will make the Web.21 HPT the default option for all users without changing it one by one.
Solution: NOTE THE FOLLOWING: This procedure is only for V12.1 and later versions. In V14 or higher the default browser is set to Web.21 To solve this problem, first open a file explorer and navigate to folder C:\inetpub\wwwroot\AspenTech\ACOView. In that folder, modify the following two files, using a text editor (Notepad, Notepad++ or equivalent): 1. In file UserPerf.asp, modify line 269 as shown in the image below and Save it. 2. In file LIBCODE.asp, modify line 23 as shown in the image below and Save it. Once the two files have been changed, clear the browser cookies for the /atcontrol website. After this, the preference should always default to Web.21 HPT instead of A1PE. Keywords: Production Control Web Server, Web.21 HPT References: None
Problem Statement: In V14.0.2, Aspen Process Pulse introduced a new feature that would allow for the disabling of configuration start when a Kaiser Raman Analyser was in an error or warning state. Given the number of reasons that can cause these states, this may have a negative impact on any customer using a Kaiser instruments data source in Aspen Process Pulse. Workaround If you are running into this issue and need instructions on a
Solution: , please contact AspenTech support at esupport@aspentech.com Fixed in Version Fixed in V14.2 Keywords: Process Pulse Kaiser Raman Analyser Instrument Status Error State References: None
Problem Statement: An event.dat file is usually created when the history archiver process, h21archive.exe, is either stopped or it dies due to history system problems. However, when the Aspen InfoPlus.21 (IP.21) database is restarted and the h21archive.exe process resumes its activity, the event.dat file should unbuffer and the data it contains should get inserted successfully into the appropriate IP.21 file sets. There have been cases, however, where some anxious operators, not sure whether the event.dat file was unbuffering, have deleted or renamed it and then restarted the system. (See
Solution: 000079281 (formerly 103995) to find out how to conclusively determine if the event.dat file is unbuffering.) Based on the above scenario, the following question might arise: Is it possible to restore the event.dat file if it has been renamed or deleted? Solution NOTE: ThisSolution is based on the assumption that you have Aspen Cim-IO Store and Forward configured and running on your system and that the Windows Recycle Bin (holding the event.dat) has not been emptied. Store and Forward is not mandatory but can help prevent data loss while IP.21 is down. The answer to the question posed above is: YES, it is possible to restore the event.dat file. Below is a step-by-step procedure describing how to do it: 1. Stop the InfoPlus.21 database; a Store file will be created on the Cim-IO Interface server. 2. Restore the deleted event.dat file from the Windows Recycle Bin to its default location or rename it back to its original name if the name has been changed. 3. Start IP.21; it will detect an existing event.dat file and reinsert data into the IP.21 file sets (assuming that the Past Time parameter for the specific repository (screenshot below) has not been exceeded). 4. At this point a new event.dat file may be briefly created as the h21archive.exe process is flooded by data forwarded from the CIMIO Store file; as soon as all of the Store file data has been forwarded, the new event.dat file should completely unbuffer and disappear. Keywords: 107607-2 107607 References: None
Problem Statement: Is there another way to see the Control Objectives of a variable apart from checking them on the PCWS Operations tab?
Solution: We can use an SQL query to call back the “AWTagMessage” data, which contains the Control Objective information from a collecting controller in Aspen Watch. Here’s a sample query you can modify according to your own controller and variable names: WRITE ''; WRITE 'Time: '||CURRENT_TIMESTAMP; WRITE ''; select TagMessage from AWTagMessage('','DEMOCOL12_DMC3','REBBTU','','','') order by LineNumber asc Replace DEMOCOL12_DMC3 with the name of your controller application and REBBTU with the MV/CV you want to check the objectives of. Or leave the variable name field blank to see a general description of the control objectives for the whole controller. The last two parameters are reserved for the Start and End times to review the control objectives messages. The format is ‘DD-MMM-YYYY HH:MM:SS’. If you leave these fields blank, the system will look for the most recent message in the last 24 hours. For a more friendly view of the result, run the query on Aspen SQLplus, then go to File -> Save Output, and save the file with .html extension, which you can open using any browser application. Sample query result in .html view: Here’s a complete description of the query: Procedure: AWTagMessage Purpose: Generate an Aspen Watch controller objectives message Arguments: Arg_FolderDefString - Name of currently selected AW Folder (obsolete argument). Arg_ControllerName - DMCplus controller name Arg_VariableName - Independent or dependent variable name (optional) Arg_ParameterName - Parameter name (optional) Arg_StartTimeString - Start time for system review period (optional - for fetching list of messages defaults to 24 hours back from end time). Arg_EndTimeString - End time for system review period (optional - set to blank for current time). Sample Usage: AWTagMessage('','COL5X3','','','10-FEB-2010 00:00:00','12-FEB-2010 00:00:00'); AWTagMessage('','COL5X3','FIC-2001','','','12-FEB-2010 00:00:00'); AWTagMessage('','COL5X3','FIC-2001','','',''); AWTagMessage('','COL5X3','','','',''); Keywords: APC, DMC3, DMCplus, Web Server, Controller, Tag References: None
Problem Statement: This video demonstrates how to enable debug logging in Aspen Process Data Administrator.
Solution: Keywords: None References: None
Problem Statement: On Jun 8, 2021, Microsoft released KB004442 in response to a vulnerability found in DCOM communications (CVE-2021-26414). In the KB, Microsoft announced a plan to harden DCOM communications with several Windows security updates. When these Microsoft security patches are applied, DCOM settings will be updated which may cause some of the AspenTech applications to no longer exchange data. The increased security will be optional at first, and then will be mandatory with the final Windows Security update (scheduled for March 14, 2023). The affected AspenTech applications will need to be updated to avoid problems when the hardened DCOM communication changes are applied. This article provides a list of AspenTech applications that need to be updated before the Microsoft DCOM hardening changes are applied. Microsoft Update Schedule The following is a summary of the DCOM hardening update schedule according to Microsoft KB004442: Update Release Behavior Change June 8, 2021 Hardening changes disabled by default but with the ability to enable them using a registry key. June 14, 2022 Hardening changes enabled by default but with the ability to disable them using a registry key. March 14, 2023 Hardening changes enabled by default with no ability to disable them. By this point, you must resolve any compatibility issues with the hardening changes and applications in your environment. Versions of Microsoft Windows Affected As stated in the Microsoft KB article, the DCOM hardening is only available for the following subset of Windows Versions: Windows version Available on or after these dates Windows Server 2022 September 27, 2021 (KB5005619) Windows 10, version 2004, Windows 10, version 20H2, Windows 10, version 21H1 September 1, 2021 (KB5005101) Windows 10, version 1909 August 26, 2021 (KB5005103) Windows Server 2019, Windows 10, version 1809 August 26, 2021 (KB5005102) Windows Server 2016, Windows 10, version 1607 September 14, 2021 (KB5005573) Windows Server 2012 R2 and Windows 8.1 October 12, 2021 (KB5006714) If you are using an earlier version of Windows, then the hardening will not be applied by Windows updates, and your DCOM application will not be affected AspenTech Products Using DCOM Affected Below is a list of products currently known to be affected by the Microsoft Security update: Product Versions Planned Patch Release Date Aspen CIM-IO Server V10.1 , V11.0.1, V12.0, V12.2 May 16, 2022 Aspen Audit & Compliance Manager Administrator (mmc snap in) V10.0.1, V11.0.1,V12, V12.2 May 16, 2022 Aspen Production Record Manager (APRM) V10.0.1, V11.0.2, V12, V12.2 May 16, 2022 Aspen Calc V10.0.1, V11.0.2, V12, V12.2 May 16, 2022 Aspen Process Data V10.0.1, V11.0.2, V12, V12.2 May 16, 2022 Aspen Process Graphic Studio V10.0.1, V11.0.2, V12, V12.2 May 16, 2022 Aspen Data Source Administrator (multiple MES products affected) V10, V11, V12 and V12.2 May 16, 2022 Aspen Tank and Operations Manager (ATOMS) V10.0.1, V11.0.1, V12.0.1 May 16, 2022 Aspen DMC3 V10, V11, V12, and V12.1 May 16, 2022 Aspen DMC+ V10, V11, V12, and V12.1 May 16, 2022 Aspen MTell (only affects PHD Adapter) V11, V12 May 16, 2022 Aspen Basic Engineering V11, V12 March 31, 2022
Solution: If you are using any of the products listed above here that are affected by the Microsoft change, then you should do the following: Do not manually enable the hardening changes until the corresponding AspenTech patch(es) are applied. If the hardening changes have been manually enabled on your system, then disable the changes (via registry, as specified in the Microsoft KB) until the corresponding AspenTech patches are applied Apply AspenTech patches (listed in the table below) before the “June 14th,2022 Microsoft Security update” List of Product Patches available: Sr.no Name of the Product Version Patch link Release Date 1 Aspen Basic Engineering ( ABE ) V11 V11 Patch March 31, 2022 2 Aspen Basic Engineering (ABE) V12 V12 Patch March 31, 2022 3 Aspen Tank and Operations Manager (AtOMS) V10 V10 Patch May 16, 2022 4 Aspen Tank and Operations Manager (AtOMS) V11 V11 Patch May 16, 2022 5 Aspen Tank and Operations Manager (AtOMS) V12 V12 Patch May 16, 2022 6 Aspen DMC3 V10 V10 Patch May 16, 2022 7 Aspen DMC3 V11 V11 Patch May 16, 2022 8 Aspen DMC3 V12 V12 Patch May 16, 2022 9 Aspen DMC3 V12.1 V12.1 Patch May 16, 2022 10 Aspen Audit Compliance Manager V10 V10 Patch May 16, 2022 11 Aspen Audit Compliance Manager V11 V11 Patch May 16, 2022 12 Aspen Audit Compliance Manager V12 V12 Patch May 16, 2022 13 Aspen Audit Compliance Manager V12.2 V12.2 patch May 16, 2022 14 Aspen InfoPlus.21 Browser Graphic Studio V10.1 V10.1 Patch May 16, 2022 15 Aspen InfoPlus.21 Browser Graphic Studio V11 V11 Patch May 16, 2022 16 Aspen InfoPlus.21 Browser Graphic Studio V12 V12 Patch May 16, 2022 17 Aspen InfoPlus.21 Browser Graphic Studio V12.2 V12.2 Patch May 16, 2022 18 Aspen InfoPlus.21 V10.1 V10.1 Patch May 16, 2022 19 Aspen InfoPlus.21 V11 V11 Patch May 16, 2022 20 Aspen InfoPlus.21 V12 V12 Patch May 16, 2022 21 Aspen Process Data V10.1 V10.1 Patch May 16, 2022 22 Aspen Process Data V11 V11 Patch May 16, 2022 23 Aspen Process Data V12 V12 Patch May 16, 2022 24 Aspen Process Data V12.2 V12.2 Patch May 16, 2022 25 Aspen Production Record Manager V10.1 V10.0 Patch May 16, 2022 26 Aspen Production Record Manager V11 V11 Patch May 16, 2022 27 Aspen Production Record Manager V12 V12 Patch May 16, 2022 28 Aspen Production Record Manage V12.2 V12.2 Patch May 16, 2022 29 Aspen Calc V10.1 V10.1 Patch May 16, 2022 30 Aspen Calc V11 V11 Patch May 16, 2022 31 Aspen Calc V12 V12 Patch May 16, 2022 32 Aspen Calc V12.2 V12.2 Patch May 16, 2022 33 Aspen Cim-IO Core V10.1 V10.1 Patch May 16, 2022 34 Aspen Cim-IO Core V11 V11 Patch May 16, 2022 35 Aspen Cim-IO Core V12 V12 Patch May 16, 2022 36 Aspen Cim-IO Core V12.2 V12.2.1 CP1 Patch May 16, 2022 This article will be updated when additional information is available. Please write to esupport@aspentech.com if any further details required. Related Articles : Impact to Aspen GDOT of DCOM security changes Keywords: Microsoft KB5004442 DCOM communications Microsoft Security Update, 2022 Aspen Infolplus21 Server Aspen CIMIO Server AtOMS Aspen DMC+ Aspen DMC3 AACM Aspen MTell Aspen Basic Engineering References: None
Problem Statement: Is it possible to access column hydraulic results in Aspen Online (AOL)?
Solution: Most numerical fields visible in the Aspen Plus or Aspen Hysys User Interface can be accessed in AOL. Aspen Simulation Workbook (ASW) should be used to test the connections. If you can link fields to ASW you can link them in AOL. Flooding factor and other net metrics are exposed; but, the vapor/liquid boundary coordinates are not exposed. The boundary needs to be inferred from results that are reported which requires adding formula tags to do some calculations. Extended Hydraulic results are available in the profiles, but they are not turned on by default. The option needs to be checked on the RadFrac Analysis | Report | Property Options form. There is no way to host visualization forms directly from Aspen Plus or HYSYS online – these need to be rebuilt from data using native features of the historian or other visualization tool used in the field. Attached is a summary of details of how to access some of the hydraulic results. Keywords: None References: None
Problem Statement: The AeBRSClientConfigure.exe tool is used on Client machines that will be connecting to the Aspen Production Execution Manager server us the MOC (Manufacturing Operations & Control) application.
Solution: The AeBRSClientConfigure.exe tool will update the AeBRS.CMD file which is needed to run the MOC application. This tool will connect to the server hosting the Aspen Production Execution manager and use the configuration settings of the server to set the client machine. Note: This Tool will update the AeBRS.CMD file and run the codify_all.bat located in the AeBRS directory. 1. Login to client machine as a network domain user who is an administrator for both client and server machines. 2. Locate for the tool under: C:\Program files (x86)\AspenTech\AeBRS 3. Launch AeBRSClientConfigure.exe tool, answer Yes when asked for program elevation. 4. Enter the server name to connect in the launched dialog box and click OK. This action is Mandatory before running the MOC application. Keywords: None References: None
Problem Statement: What could cause Error 1053: The service did not respond to the start or control request in a timely fashion when restarting Apache Tomcat service?
Solution: This error could be caused by that the Tomcat service shutdown port 8005 being used by other applications. We could check the catalina.log on C:\Program Files\Common Files\AspenTech Shared\Tomcat9.0.27\logs. If we saw an entry SEVERE [main] org.apache.catalina.core.StanardServer.await Failed to create server shutdown socket on address [localhost] and port [8005] (base port [8005] and offset [0]), this indicates that the port 8005 is being used by another application. In a Windows OS Command Prompt, run netstat -aon | findstr :8005 to find out which application is using port 8005. If the application is required to use port 8005, we could open the server.xml (C:\Program Files\Common Files\AspenTech Shared\Tomcat9.0.27\conf) and modify the <Server port ='8005' shutdown = SHUTDOWN> to another port that is not being used. For example, <Server port ='8006' shutdown = SHUTDOWN> After modifying the server.xml, please restart the Apache Tomcat x.x Tomcat service and SolrWindowsService, both of them should run without issue now. If the issue persists, please contact Aspen support. Note: In June 2023 a customer experienced the problem with port 8005 being in use but it did not manifest with an Error 1053. In that situation the Apache Tomcat would start normally but would crash on attempts to access aspenONE Process Explorer (A1PE) or the A1PE Admin. Keywords: Error 1053 Tomcat service port 8005 References: None
Problem Statement: How can I model the equilibrium reaction C (solid) + CO2 <==> 2 CO (Boudouart reaction)?
Solution: It is possible to use a RGIBBS block to model this reaction; however, you need to specify the component types carefully. First, on the Components | Specifications form, we need to select the component type Solid for C. This means that solid property models will be used to calculate carbon properties. In addition, if solid substreams such as CISOLID are used, the graphical interface will show C as a choice when a solid component can be specified. This RGIBBS can handle solids in either the MIXED or CISOLID substreams. The CISOLID (Conventional Inert Solid) substream is inert to phase equilibrium but not to chemical reaction equilibrium. The two files attached that can be opened in V11 and higher. The file rgibbsV11conven.bkp uses the MIXED substream for all of the components, and rgibbsV11cisolid.bkp used the CISOLID substream for the carbon. To use the CISOLID substream for Carbon, on the Setup | Specifications form, select the stream class MIXCISLD so that the solid carbon (coke) will be in the CISOLID substream while CO and CO2 will be in the MIXED substream (which represents vapor and liquid phases. Using a solid substream will make it easier to separate the solid using solid unit operation models. To use the MIXED substream for Carbon, on the Setup | Specifications form, select the stream class CONVEN so that the solid carbon (coke) will be in the MIXED substream along with the CO and CO2. In the feed stream, we specify some feed flowrate of CO2 in the MIXED substream. The flowrate of C is put in the CISOLID substream or the MIXED substream depending on which option is used. In the RGIBBS reactor, we specify the possible products and phases. For C we select the PureSolid option. For CO and CO2 we select the Mixed phases. This specification is the same if using only the MIXED substream or if using the CISOLID substream also. The example contains a sensitivity analysis block which varies the temperature in the RGIBBS block to illustrate the fact the equilibrium CO/CO2 is displaced with the temperature (low temperature favors CO2 while high temperature favors CO). Note that the same approach can be used to handle other reactions such as coking from CH4 or other hydrocarbons. Just make sure to enter all possible products (H2, H2O) in the list of components and in the products in RGIBBS. Keywords: None References: None
Problem Statement: This Knowledge Base article answers the following question: How do I configure Aspen Manufacturing Master Data Manager to use Dynamic Data?
Solution: Aspen Manufacturing Master Data Manager (mMDM) is primarily designed to manage data that changes infrequently for an enterprise, which is often referred to as master data, or reference data. But another goal of mMDM is to provide a single source for all information that may be required by subordinate Aspen applications. This includes data that resides in other relational databases or real-time historians, such as Aspen InfoPlus.21. We refer to this type of data as dynamic data to differentiate it from static master data. Support for dynamic data allows mMDM to act as a data aggregator by providing a single programming interface that gives access to data values throughout an enterprise. mMDM supports the following sources for dynamic data: Real-time Historians o InfoPlus.21 via Aspen Process Data o Other historians supported by Aspen Process Data, such as PI o InfoPlus.21 via Aspen Enterprise Connect Relational Databases o Microsoft SQL Server o Oracle Built-in mMDM Dynamic Data Definitions (tags) Here are the overall steps for configuring and using dynamic data: 1. Identify the external data source(s) from which you will be obtaining data. If needed, configure the network communication environment, such as configuring the TCP/IP protocol on the computers, and opening any required firewall ports related to the external data source. 2. Using the mMDM Advanced Editor, create dynamic data source definitions for each external data source. See section 2, Configuring Data Sources, in the attached document titled: Configuring mMDM to use Dynamic Data. 3. If the data source is type Database, then define one or more SQL Query definitions. See section, 3, Configuring SQL Queries. 4. If not already existing, use the mMDM Advanced Editor to create classes that have dynamic class attributes. See section 4, Configuring Dynamic Class Attributes. 5. Using the mMDM Advanced Editor, create a definition, then apply the class (from step 4) to it. Configure the value property for each dynamic attribute in the class instance. See section 5, Configuring Dynamic Class Attribute Values. 6. You can also use features in the mMDM Viewer to show the values. See section 6, Testing Dynamic Data Values. Note: The attachments section also contains the Aspen ADSA XML Extractor Tool, which can be used to obtain the XML text for an ADSA data source. You will also find a document with an example for configuring dynamic class attributes in mMDM that refer to values in an RDBMS database table. Keywords: 122536-2 Aspen Operations Domain Model (ODM) References: None
Problem Statement: aspenONE Process Explorer (A1PE) has some advanced features that cause additional license consumption when they are used. What are these Analytics features that take advantage of the SLM_RN_PME_ASPENONEALYT license key?
Solution: The Analytics features of A1PE include the following: --Analytics plots (SPC) including Frequency, OEE, Ad hoc Individuals, Ad hoc EWMA, XBAR, Range, Standard Deviation, and CUSUM Note: If an Analytics plot is part of a layout/dashboard that will also be considered analytics usage --Batch plots including Single Event, Event Overlay, Multi Event, Golden Profile, Event Ad hoc SPC, Genealogy, and Pivot Table --Pattern Search / Pattern Matching functionality --SQLplus Reports (new to V14 of A1PE - not present in prior versions) Keywords: None References: None
Problem Statement: The archive information is not stored within a record in the InfoPlus.21 database but rather in shared memory. When the database is stopped, the archive parameters are persisted in the config.dat file. The config.dat file contains the general configuration information for the history system, such as the number of repositories, their location, the number of archives in each repository, etc. When a config.dat file is corrupted or missing, the config.dat file can be recreated manually if a backup is not available.
Solution: The InfoPlus.21 database can be started without a config.dat file, but if so the database is started with the default repository (TSK_DHIS) which will have three file sets. In this case, additional reposistories and files sets must be recreated. When the database is shutdown, a new config.dat file is created and the new repositories and filesets will be created. Keywords: config.dat history Formerly KB 108732-2 References: None
Problem Statement: Is it possible to call the library property procedures within my own procedures? How to call GPI subroutines in my procedures? For example, I would like to call the subroutine that implements pDens_mol_liq within my own user procedure. How can this be done?
Solution: The physical property procedures (e.g. pDens_mol_liq) of Aspen Custom Modeler (ACM) Modeler library is implemented as a fortran subroutine. We call this and other subroutines of the same class the GPI (generalized properties interface). Those subroutines are documented in ACM on-line help. These routines are located in a library supplied with ACM, gpp.dll, which itself is calling Aspen Properties subroutines. These routines can be used to evaluate properties inside a user subroutine. The user procedure should be declared with the PROPERTIES option. See the attach file for an example. For the linking of the dll, there's no need to modify the MakeUserCode that is generated by ACM. Let's dissect the example. For the sake of illustration, let's pretend we want a procedure that returns the liquid molar density in mol/kmol. Let's remember pDens_mol_liq returns the density in kmol/m3. The first step is to figure out what is the name of the subroutine that implements pDens_mol_liq. You can find this in the documentation. If you look at the procedure definition in Modeler library, you can also find the name of the subroutine with analytical derivatives. While undocumented, the subroutines without analytical derivatives are also available, and in our case it is GPILMX. Their declarations are in the library Modeler_NOAPD (found in c:\program files\AspenTech\AMSystem V12.1\lib). We're going to use this one instead of the one with derivatives to keep the example simple. PROCEDURE pDens_Mol_Liq // Specific Liquid Molar Density CALL : gpilmx; LIBRARY : gpp.dll; IMPLEMENTATION : SUBROUTINE; LANGUAGE : FORTRAN; OPTIONS : PROPERTIES; INPUTS: temperature, pressure, molefraction(*); OUTPUTS: dens_mol; END Note the one with derivatives has almost the same declaration, but the implementation is GPIDLMX and it has extra arguments to deal with derivatives. We're not going to use this one. PROCEDURE pDens_Mol_Liq // Specific Liquid Molar Density with Analytic Derivatives CALL : gpidlmx; LIBRARY : gpp.dll; IMPLEMENTATION : SUBROUTINE; LANGUAGE : FORTRAN; OPTIONS : PROPERTIES, DERIVATIVES; INPUTS: temperature, pressure, molefraction(*); OUTPUTS: dens_mol; END The list of arguments of the subroutine can be obtained by reading carefully the documentation, or by copying the procedure declaration in the Custom Modeling, Procedure folder in Simulation Explorer and generate a a template (from Tools menu, Generate Procedure Code). To call the subroutine, the following code can be used. Note the argument IPROP, with the odd name of stream number (that's how this was called in SPEEDUP, the previous implementation of ACM). This is set by ACM to the corresponding component list specified in the model's code when calling the procedure. Since we are calling GPI subroutines, we just need to pass that stream number to the subroutine and not worry any further. SUBROUTINE DENSTY(T,P,X,N,RHOL,IFL,IPROP) C evaluate molar density using GPI, but return the value C in mol/m3 instead of kmol/m3 (this is an example) DOUBLE PRECISION T ! temperature (in, K) DOUBLE PRECISION P ! pressure (in, bar) INTEGER N ! number of components (in) DOUBLE PRECISION X(N) ! mole fraction (in, -) DOUBLE PRECISION RHOL ! molar density (out, mol/m3) INTEGER IFL ! calculation flag (see documentation, in) INTEGER IPROP ! stream number (see documentation, in) CALL GPILMX(T, P, X, N, RHOL, IFL, IPROP) RHOL = 1D3*RHOL RETURN END This is the implementation of our user procedure, with the following declaration: Procedure pDENSTY Library : libproc.dll; Language : FORTRAN; Inputs : temperature, pressure, molefraction(*); Outputs : D_MOL_LIQ; Options : Properties; Call : DENSTY; Implementation : SUBROUTINE densty.f; End And finally, this is how we can call our user procedure in your model: Model DENS_CALC RHOL as D_MOL_LIQ (description:molar density in mol/m3, useuomof:mol/m3); inlet as input MoleFractionPort; // our procedure Call (RHOL) = pDENSTY (inlet.T, inlet.p, inlet.z); // ACM procedure rhol_ as dens_mol; call (rhol_) = pDens_mol_liq(inlet.T, inlet.p, inlet.z); End It is possible also to call the GPI subroutines from C++ implementation of user procedure. The only difficulty is to figure out the appropriate interlanguage conventions. Assuming you're using the C++ compilations set in ACM MakeUserCode, you can use the macro defined in include file atucfor.h to handle C/Fortran conversion. Here's the user procedure declaration for C++. This is pretty much the same as fortran, with the obvious difference that we use language: C++... Procedure pDENSITY_CPP library: prop_cpp.dll; call: density_cpp; implementation: subroutine density_cpp.cpp; language: C++; options: properties; inputs: temperature, pressure, molefraction(*); outputs: D_MOL_LIQ; End To generate the code, the easiest way is to use Tools, Generate User code, then modify the C++ code. /*** Code for Procedure Definition pDENSITY_CPP ***/ #include density_cpp.h #include <basetsd.h> EXT_C_AS_C(void) ACM_Print(int status, char *_Zform, ...); EXT_C_AS_C(int) ACM_Rqst(int *option, int *iinfo, double *xinfo, char **sinfo ); EXT_VOID_F GPILMX(double *T, double *p, double *x, __int3264 *n, double *rho, __int3264 *pIfail, __int3264 *pPropsId); /* Values for pIFail return code */ #define OK 1 #define WARN 2 #define SEVERE 3 #define FATAL 4 DLL_C_AS_F(void) DENSITY_CPP_C( double *pInputs,__int3264 *pInSizes, double *pOutputs,__int3264 *pOutSizes, __int3264 *pInOffs,__int3264 *pOutOffs,__int3264 *pIfail, __int3264 *pPropsId,double *pWork,__int3264 *pWSize, double *pDeriv,__int3264 *pNOut,__int3264 *pNIn, __int3264 *pICall) { /* Isolate local integers from FORTRAN-style interface */ int PropsId = *pPropsId; /* Ifail status flag in *pIfail */ /* Properties identified by PropsId */ /* Procedure input/output arguments access */ double T = pInputs[pInOffs[0]]; double p = pInputs[pInOffs[1]]; double *x = (double *)(&pInputs[pInOffs[2]]); int IArg3Dims = 1; int IArg3DimsSizes[1] = {pInSizes[0]}; double *rho = (double *)(&pOutputs[pOutOffs[0]]); /************** Put your C code here **************/ __int3264 ncomp; ncomp = pInSizes[0]; GPILMX(&T, &p, x, &ncomp, rho, pIfail, pPropsId); *rho = *rho * 1000.; *pIfail = OK; /*************** End of User C Code ***************/ } Note the use of integer type __int3264, instead of int. This is needed to get the right type of integer. Knowing that Fortran call convention is passing argument by reference (pointers), the code should be straightforward to compare to the previous fortran implementation. The complete example (fortran and C++) is attached. Keywords: GPI, GPP, properties References: None
Problem Statement: This article described what are the file types that can be imported into IQ Model
Solution: IQModel can import different types of text-based files, including txt (tab delimitated and csv), clc files and vec files. Nevertheless, in the case of the of the text files ideally, we have to make sure they are tab delimitated and make sure no special characters or punctuation signs exist, otherwise this can lead to problems importing the file or even crashing the application. In the case of CSV files (also with regular excel files), an easy way to make sure they will be read as Text Tab Delimited files is to save the files using that format. This could be done following some easy steps: 1.- Open the CSV file using Excel 2.- On excel select File > Save As.. >> Browse 3.- When the save file prompt appear make sure to select Text (Tab Delimitated) on the “Save as Type:” drop down list 4.- just as a final health check, open the saved txt file with notepad and verify no commas or other punctuation character are in the file. Keywords: DMC3, OPC, Delta V References: None
Problem Statement: When the chemical reaction rate is significantly faster than the mass transfer through a stationary liquid or vapor film, we have a mass transfer controlled system. In this case, because of the very fast chemical reaction rate, we should not consider a linear concentration profile between the bulk and the interface. Consequently, it is important to discretize the liquid or vapor film to compute an accurate concentration profile; typically, a log shaped profile. Upon selecting the option to discretize the liquid and/or vapor film, under Pack/Tray Rating | Rate-based | Rate Based (tab) (Legacy hydraulics) or in Rate-Based Modeling, Rate-based Setup, Sections tab when using Column Internals, how do we plot concentration profiles of a liquid and/or vapor film?
Solution: The purpose of film discretization is to deal with very fast reactions in the film and therefore it is only turned on for rate-based stages with reaction. You need to increase the diagnostic level to 5 or more before running the simulation in the RadFrac block, Specifications, Block Options, Diagnostics: We can see the values of the concentration profiles of the liquid and/or vapor discretized film, variable XYFM, in the History file. To view the History file, go to the Home tab of the Ribbon, click History button. Assuming that: n = number of stages with chemical reaction; dl = number of discretization points - liquid film; dv = number of discretization points - vapor film; then we have: n*dl + n*dv number of lines. The values are shown in the following order: Liquid internal discretization points for stage 1 if applicable (rate-based stage with liquid discretization) Vapor internal discretization points for stage 1 if applicable (rate-based stage with vapor discretization) Liquid internal discretization points for stage 2 if applicable Vapor internal discretization points for stage 2 if applicable Liquid internal discretization points for stage 3 if applicable Vapor internal discretization points for stage 3 if applicable : : For each stage/phase combination, the discretization point next to the interface is shown first, whereas the one next to bulk is shown last. Please note: (i) The concentration in the bulk, XI and YI, and at the interface, XINTF and YINTF, are reported separately. (ii) If we increase the number of stages without extending the tray/pack-rate section, these additional stages are set to be equilibrium stages, and hence, the film in these stages is not discretized. (iii) There are more sections in the history log but those are undocumented, they are for our internal debugging purpose only and may not be useful to our users. 1. RD3SLV - internal subroutine name where the variables are printed from 2. XI - liquid mole fraction at the vapor-liquid interface 3. KVL - K-values at the vapor-liquid interface 4. RL - internal variable related to liquid flow fraction 5. PREKL - internal variable related to liquid mass transfer coefficients 6. XYFM - internal variable related to mole fractions in the film 7. FLUXFM - internal variable related to the mass transfer flux in the film 8. BRXTNT - internal variable related to reaction extents in the bulk phase 9. FRXTNT - internal variable related to reaction extents in the film 10. EPOTN - internal variable related to electrical potential 11. RSRD3SLV - internal subroutine name where the variables are printed from 12. RSRD3SLVUF - internal variable related to feed enthalpy 13. RSRD3SLVQ - internal variable related to heat duty 14. RSRD3SLVWL - internal variable related to liquid side draw 15. RSRD3SLVWV - internal variable related to vapor side draw Keywords: RadFrac, Rate-based, discretization, film, reaction References: None
Problem Statement: Does AspenTech support sharing the License Manager with other 3rd party application licenses? Scenario When trying to install AspenTech License on the same server as another 3rd party application license.
Solution: AspenTech does not support sharing the License Manager with other 3rd party application licenses. As AspenTech's best practice, when having an Aspen license and another 3rd party application license, you should have them installed on separate license servers. We do not recommend having two different licenses on the same server because it can cause conflicts with our software and it will report inaccurate usage logs. Keywords: Sentinel RMS, License Manager, SLM References: None
Problem Statement: This article will describe some settings that need to be checked to enable the IQ history data collection on the AspenWatch Database
Solution: IMPORTANT NOTES: IQ Watch is only available from V11. Previous version do not support this features The IQ Watch Collection requires additional Tokens and License Key. During the deployment this is checked and if the License is not available IQ will failed to deploy. This attached PDF File will show a Step by Step guide on how this configuration can be done. The procedure is break into three parts: 1.- AspenWatch Server Check 2.- Online Server Check 3.- Verification on PCWS Please contact AspenTech Support if you may have further questions or encounter any further problem Keywords: IQ, AspenWAtch, PCWS References: None
Problem Statement: Can we use .vue file(form sp3d) or 'nwd'file Aspen OptiPlant 3D Layout?
Solution: No, Aspen OptiPlant does not read .vue file(form sp3d) or 'nwd'file files directly. However, both files can be exported to DXF from SP3D or Navis work, and can be read in OptiPlant. Keywords: SP3D, OptiPlant, files, format References: None
Problem Statement: How to get rid of the following error message Utility Hydrate Formation is not available with the property package being used in Aspen HYSYS?
Solution: In order to get rid of the following error message: You will need to use Peng Robinson or SRK fluid packages from the HYSYS databank as the Hydrate utility only works with PR & SRK. Keywords: Aspen HYSYS, Error, Hydrate Utility References: None
Problem Statement: How to get rid of the following error message STREAM INITIAL FLASH FAILED. SEE HISTORY FILE FOR MORE INFORMATION in Aspen Plus?
Solution: In order to get rid of the following error message STREAM INITIAL FLASH FAILED. SEE HISTORY FILE FOR MORE INFORMATION, you will need open the inlet stream, and change Flash Options to Liquid Only and make sure to add H2O as solvent, then re-run the simulation. Keywords: Aspen Plus, Error, FLASH FAILED References: None
Problem Statement: What is the AspenTech System Name and How to Find it
Solution: A System Name is a unique identifier for each license. This identifier helps both customers and AspenTech keep track of the licenses being issued. This knowledge base article describes how to locate the System Name in your license file which you might require when submitting the license request or media upgrade request from the AspenTech support website. Method: 1 Getting the system name from the license file directly - Right click on your license file and select open with Notepad. - After opening the license file in notepad, scroll to the extreme right end of the file. - Now, you will be able to see an entry called “System Name: xxxxxxxx.x” which is your license file system name. - Refer the screen shot for details Method: 2 Getting the system name from the aspenONE SLM License Manager (SLM) - Open the aspenONE SLM License Manager (SLM). - Click on the Load Server Details Now you will be able to see your current license file information. Where “System : xxxxxxxxx” represent your license file System name. Refer the below screen shot for more details. Keywords: SLM System Name License Key Request License file References: None
Problem Statement: Is there a way to tell when Aspen InfoPlus.21 (IP.21) was last started?
Solution: Yes! Open the Aspen InfoPlus.21 Administrator and navigate to the SAVETaskDef definition and look for the child record called TSK_SAVE (or simply search for TSK_SAVE directly). The fixed area of TSK_SAVE has the fields LAST_LOAD_TIME and LAST_SAVE_TIME These fields provide the time when the IP.21 database was started and the last time when a snapshot was saved, respectively. Keywords: IP.21 start Load time Save time 128321-2 References: None
Problem Statement: MB Package Files
Solution: Before proceeding, first please ensure you install Emergency Patch 12 (or later) for Aspen HYSYS V14 via the following link: https://esupport.aspentech.com/apex/S_SoftwareDeliveryDetail?id=a0eDp000000vVEpIAM Emergency Patch 12 (EP12) is particularly focused on molecule-based models. Specifically, it addresses issues which may occur during the propagation of a molecular profile among multiple units in the flowsheet (e,g., recycle stream, entering new pure component streams, update MB superset). The MB self extractor package addresses the mass balance and numerical precision in MB models for the selected scenario. After installing patch EP12 first per the link above, you may then download the MB package attached to this article. It may be installed by running the self-extractor package with Administrator Permission. This process will overwrite files in the installation folder\refsys\refreactor. Please see attached instruction file and extractor package. In the future, the MB package files may be updated for repairs and improvements. Return to this article to find the most recent version of the files. Keywords: None References: None
Problem Statement: When attempting to log into Aspen Cloud Connect with Windows Authentication enabled, the following error messages in screenshots below may be encountered. Or
Solution: This document explains what to do when you failed to login to Aspen Cloud Connect when Windows Authentication is enabled. We can use Windows tool - LDP.exe to check communication to the LDAP Server with specific credentials. In a typical server installation, the windows tool - LDP.exe tool may not have been installed. The following steps can be used to install the windows LDP tool: 1. Open the Server Manager tool in Windows 2. Navigate to Roles configuration setting 3. Select the Add Roles link 4. Work through the Add Roles Wizard 5. Check the Active Directory Lightweight Directory Services. Once the installation is completed, open LDP.exe from Windows – Run command. The file can be found in C:\Windows\System32 folder Click on Connection and select Connect. Enter the LDAP Server hostname (FQDN – Fully Qualified Domain Name) LDP connection – Port 389 Or LDPS connection – Port 636 (check the SSL checkbox) A successfully connection as per below screenshot If it fails, contact the Customer’s IT Team to investigate if there is any network restriction between the Aspen Cloud Connect Server and the LDAP Server. Keywords: Windows Authentication LDP References: None
Problem Statement: Can I open higher version of an Aspen Plus backup (.bkp) file from a lower version? For example, how can I open a file from V14 in V12.1?
Solution: There is a trick that can be used to open files in older versions. This feature is not supported, and it does not work for some files. New features will not supported. It is up to the user to check the file. Files can sometimes be opened after saving file by downgrading the version number in a text editor such as Notepad. For example, if user has A.bkp version V14 file that they want to open in version V12.1. On the file A.bkp, right click and Open with Notepad and it will display below information. MM 40.0 FLAVOR NO VERSION 40.0... Changing the number from the higher version to the lower version. For example, change 40.0 to 39.0. Use the table below to find the version number. e.g. MM 39.0 FLAVOR NO VERSION 39.0... Change all references to APED from the higher version to the lower version. For example, change V140 to V121. Go to the Edit menu and select Replace. There will be many occurrences if APED was used for the databanks. If a more recent version of the PURE databank was used, change it to the most recent version for the version you want to use. For example, change PURE40 to PURE39 for V12.1. Find the string $_APWNSHELL_SETTINGS and remove the entire section to the next # character leaving only one # before the next section PFSVData. Remove the ADS section. Find the string $_ADS_FILE and remove the entire section to the next # character. Save it as a different name B.bkp format and open it from V12.1. Please NOTE the following limitations: Column Analytics defined V9+ cannot be back converted to earlier versions without error, but offending blocks can be re-defined after conversion. Stream-Groups for Aspen Batch Modeler were added in V10 (Boundary and Charge), and will have to be deleted after conversion. A utility program that automates this procedure is available in the followingSolution document: Convert File Version Utility for Aspen Plus Version indicated numbers. Version MM VERSION APED Prefix New PURE databank V14.0 40.0 40.0 APV140, NISTV140, APESV140 PURE40 V12.1 39.0 39.0 APV121, NISTV121, APESV121 PURE39 V12.0 38.0 38.0 APV120,, NISTV120, APESV120 PURE38 V11.0 37.0 37.0 APV110, NISTV110, APESV110 PURE37 V10.0 36.0 36.0 APV100, NISTV100, APESV100 PURE36 V9.0 35.0 35.0 APV90, NISTV90, APEOSV90 PURE35 V8.8 34.0 34.0 APV88 PURE32 V8.6 32.0 32.0 APV86 PURE32 V8.4 30.0 30.0 APV84 PURE28 V8.2 28.0 28.0 APV82 PURE28 V8.0 27.0 27.0 APV80 PURE27 V7.3.2 26.0 26.0 APV732 PURE26 V7,3 25.0 25.0 APV73 PURE25 V7,2 24.0 24.0 APV72 PURE24 V7.1 23.0 23.0 APV71 PURE22 V7.0 22.0 22.0 APV70 PURE22 V2006.5 21.0 21.0 APV065 PURE20 V2006 20.0 20.0 APV06 PURE20 Fixed in Release Starting with version V7.2, Aspen Plus will allow you to open backup files from newer versions, with a warning that features not supported in this version will be lost in doing so. However, databanks are likely to be missing. Keywords: Version, convert, higher version, lower version References: None
Problem Statement: When using RGibbs with a restricted equilibrium, how many reactions are needed?
Solution: If the Calculate Options in RGibbs is set to Restrict chemical equilibrium, RGibbs will restrict chemical equilibrium either for the entire system or specified equations using a specified temperature approach to equilibrium or reaction extents. If you have RGibbs consider only a specific set of reactions, you must specify the stoichiometric coefficients for a complete set of linearly independent chemical reactions, even if only one reaction is restricted. With the Temperature approach or molar extent for individual reactions option, if you do NOT specify molar extent or temperature approach (that is, all reactions are set to the default 0 temperature approach) then RGibbs ignores the reactions. In this case, no restrictions are enforced on the reactions specified. If any reaction in the network as a linear combination of the other reactions, then the set of reactions is not independent. A set of reactions is linearly independent if and only if the determinant of the Jacobian matrix is nonzero. If the determinant is zero, then the set of reactions is linearly dependent. The number of linearly independent reactions required generally, but not always, equals the total number of products in the product list, minus the number of atoms present in the system. The reactions must involve all participating components. Nrxn = Nprod - Natoms Nrxn is the number of reactions Nprod is the number of products Natoms is the number of atoms REquil does not need to have a complete linear set of chemical reactions. Chemistry will be checked if the set of reaction is linearly independent and generate a warning similar to the following if they are not. * WARNING THE FOLLOWING REACTIONS ARE LINEARLY DEPENDENT IN CHEMISTRY GLOBAL, AND MAY CAUSE CHEMICAL EQUILIBRIUM CALCULATIONS TO EITHER FAIL OR CONVERGE TO INCORRECT RESULTS: For more information on the independence of chemical reactions see the following notes: Stoichiometry of Chemical Reactions by James B. Rawlings Department of Chemical and Biological Engineering University of Wisconsin-Madison Keywords: None References: None
Problem Statement: This knowledge base article illustrates how to uninstall any AspenTech software in V14
Solution: If you need to uninstall a software of AspenTech, you can use the AspenOne Manager to do so. Here is a step-by-step guide on how to use the AspenOne Manager in version 14. Step 1: Open the AspenOne Manager To open the AspenOne Manager, navigate to the Start Menu and search for AspenOne Manager or you can find it under Aspen Configuration Folder in the start Menu. Click on the program to open it. And Launch the Uninstaller: Step 2: Select the component to uninstall. Once the Uninstaller is open, you will see a list of all the components that are currently installed on your computer. Select the one you want to uninstall by clicking on the checkbox next to its name. Step 3: Uninstall the component: After selecting the component, you want to uninstall, click on the Uninstall button at the bottom of the window. This will start the uninstallation process. Step 4: Follow the prompts: During the uninstallation process, you will be prompted to confirm that you want to remove the selected component. Follow the prompts to complete the uninstallation process. You may be asked to restart your computer after the uninstallation is complete. Step 5: Verify the component has been uninstalled: After the uninstallation process is complete, you should verify that the component has been removed from your computer. To do this, navigate to the Start Menu and search for the component. If it no longer appears in the search results, then it has been successfully uninstalled. In summary, the AspenOne Manager is a straightforward tool that allows you to uninstall components of the AspenOne suite and other functionality. By following these steps, you can easily remove any unwanted or outdated components from your computer. Keywords: V14, Uninstall, AspenOne Manager References: None
Problem Statement: Which folders should be excluded from virus scanning on a machine running Aspen Advanced Process Control (APC) Software Suite?
Solution: The following folders and directories may be excluded from virus and malware scanning software on any machine running Aspen APC software. By excluding certain directories and files, you can avoid occurrences of false positive identifications of alleged malware that may occur during normal operation of AspenTech software. You can exclude by folder (faster to implement with fewer entries) or by file (more effort to implement but better granularity of exclusions). Files / Folder to Exclude Reason for Exclusion Program Files (x86)\AspenTech\APC\Online\bin\*.exe ACO platform DMC/DMC3 controllers running late or experiencing “lock timeout” errors ProgramData\AspenTech\APC\Online\sys\...\*.* ProgramData\AspenTech\APC\Online\app\...\*.* Program Files (x86)\AspenTech\Cim-IO\code\*.exe Cim-IO performance issues Program Files (x86)\Common Files\OPC Foundation\*.exe Direct OPC communication issues between Cim-IO, RTE, InfoPlus.21 or GDOT Program Files (x86)\Common Files\OPC Foundation\*.dll Program Files (x86)\Common Files\AspenTech Shared\*.dll Cim-IO performance issues Program Files (x86)\AspenTech\RTE\...\*.exe *.dll RTE platform controller performance issues ProgramData\AspenTech\RTE\{version}\*.* RTE platform controller data file issues C:\windows\temp\tmp*.tmp Windows Defender may incorrectly flag these temporary files that are created and deleted by the RTE controller every cycle. Only exclude if necessary. Program Files (x86)\AspenTech\APC\Performance Monitor\*.exe Aspen Watch related performance issues Program Files (x86)\AspenTech\Cim-IO\io\...\*.exe Aspen Watch controller data collection performance issues (ACO platform) ProgramData\AspenTech\APC\Performance Monitor\App\<AppName>\*.* Aspen Watch controller data collection issues (both RTE and ACO) Program Files (x86)\AspenTech\InfoPlus.21\c21\h21\bin\*.exe Aspen Watch InfoPlus.21 historian performance issues (InfoPlus.21 32-bit or 64-bit) Program Files\AspenTech\InfoPlus.21\c21\h21\bin\*.exe Program Files (x86)\AspenTech\APC\Web Server\*.exe APC Web server related performance issues C:\Windows\SysWOW64\inetsrv\w3wp.exe APC Web server related performance issues (these processes host IIS web applications like APC Web Server, Aspen Local Security, and ProcessDataREST) C:\Windows\System32\inetsrv\w3wp.exe \inetpub\wwwroot\AspenTech\ACOView\CVimages\*.png APC Web server related performance issues \inetpub\wwwroot\AspenTech\ACOView\PIDimages\*.png \inetpub\wwwroot\AspenTech\Afw\Security\pfwauthz.asp \inetpub\wwwroot\AspenTech\Afw\Security\pfwauthz.aspx \inetpub\wwwroot\AspenTech\Afw\Security\pfwauthz.aspx.vb Program Files (x86)\Common Files\SafeNet Sentinel\*.exe SLM Components Keywords: virus, scan, antivirus, apc, exclude References: None
Problem Statement: When trying to load an Inferential Qualities application, APC Manage or PCWS throws an error “IQP: Error opening IQF file”.
Solution: Here is a screenshot of the error described: What this error means is that when searching for the .iqf configuration file, the Inferential Qualities service is not able to find it on the expected location. There are a few basic requirements for the IQ service to be able to find the file: On the APC Online server, there must be a folder for the application under C:\ProgramData\AspenTech\APC\Online\app . The .iqf file and the folder must have the same name. If the .iqf has a different name from the folder (because there is more than one version for example), this must be designated on the “Alternate IQF name” box when loading the application. If any of these requirements is not met, you will get the previously described error. For a more in-depth explanation of the functioning of this tool, please review the APC Manage Help section. Keywords: IQ, inferential qualities, load, error, APC Manage References: None
Problem Statement: When trying to install the component required to view ActiveX history plots on the APC Web Interface, Windows blocks the required .cab file, stopping users from accessing the ActiveX plots.
Solution: Before theSolution is provided, a few caveats to understand the scope of thisSolution Internet Explorer is no longer supported (as of V14). It is still possible to select ActiveX under the PCWS preferences as the default history plot tool. ActiveX only works on Internet Explorer. Therefore, this workaround is meant only for situations where Internet Explorer & ActiveX need to be used because of operating environment limitations. Here is a one possible screenshot of the previously mentioned error, when trying to install the component required to view ActiveX plots: To solve this or other issues where the ActiveX plot component shows an empty container, these are the reSolution steps: ON the WEB SERVER: Download the attached zip file, make sure it is unblocked (right click -> Properties and check the UNBLOCK checkbox if one is shown), then extract the two files on the web server machine. Copy and replace (if applicable) the two files to: C:\inetpub\wwwroot\AspenTech\AspenCUI\ ON the Browser Workstation: Clear the browser history and cache on Internet Explorer. Close Internet Explorer and run it again now as Administrator. Set ActiveX as the History Plot option (Preferences tab on PCWS). Add the current site to the Internet Explorer Trusted Sites list. On PCWS, go to the Operations/Engineering view and open the History Plot for one of the variables. It should prompt a message that says the website is trying to install the “AtWebControls.cab” add-in, select Install when asked (if this does not work, go to step 9). After the installation is complete, close the window and reopen the History Plot, the ActiveX plot should pop up now. (ONLY if add-in installation fails): Open the Manage add-ons window of Internet Explorer and locate the AspenTech Container Control extension, then choose Enable. Exit Internet Explorer and restart it running as Administrator. Go back to step 6 and retry. If the ActiveX plots do not work after trying these steps, then there may be additional security issues that can no longer be resolved due to Microsoft updates and security restrictions. Unfortunately, AspenTech can no longer provide support for troubleshooting these cases, we suggest using one of the supported web browsers https://www.aspentech.com/en/platform-support and choose Web.21 HPT or AspenOne Process Explorer History Plot options from the PCWS Preferences tab. Keywords: PCWS, history plot, ActiveX, Internet Explorer, add-in, AtWebControls References: None
Problem Statement: Aspen Plus may have problems converging tear streams when using the True components approach.
Solution: Numerical methods that use acceleration or dampening (Newton, Broyden, and Wegstein) may accelerate only one ion of a salt, resulting in a charge imbalance. Sometimes the flowsheet may recover from this problem, but most often the unit operation blocks will fail to converge once their feed streams are out of charge balance. There are several possible workarounds: Use the apparent component approach. The component approach for the flowsheet is controlled by a checkbox on the Properties/Specifications form. Change the choice of TEAR streams to a stream that is all vapor. This is a good idea for any electrolyte system, because ions and salts are not volatile. (It is generally better to choose tear streams with smaller numbers of components.) To force Aspen Plus to use a specific tear stream, select it on the Convergence / Tear form. Use the DIRECT method for TEAR stream convergence. This will likely require a large increase in the number of iterations needed to converge. (Start with 200.) To change the convergence method for all tears on a flowsheet, go to the Default Methods sheet of the Convergence / Conv Options form and choose Direct for tears. To globally change the number of iterations allowed, go to the Convergence / Conv Options / Methods form, and on the Direct sheet change the maximum number of flowsheet evaluations to some higher number. To force one specific tear stream to be converged by direct substitution you will need to create a convergence block of type Direct for the tear stream. The number of iterations used for that specific direct substition convergence block is controlled on the Parameters sheet of the convergence block Input form. Use the default WEGSTEIN method for tear stream convergence, but set the lower bound and upper bound (QMIN and QMAX) equal so that all components are updated with the same acceleration value. Put a charge balance (CHARGEBAL) block after the TEAR stream. The charge balance block will enforce the charge balance on the stream. Keywords: None References: None
Problem Statement: This knowledge base article explains how to view the full contents of the config.dat file.
Solution: Config.dat is a file containing repository parameters including file set paths, file set sizes, and other history parameter settings. This file is updated by TSK_H21T when the database is shut down normally. The historian parameters are reloaded into a shared memory space during database startup. Opening the config.dat file with Notepad or Wordpad will only reveal a portion of the file because it is a binary file. In order to view the contents of the entire file, go through the following procedure. Stop Aspen InfoPlus.21 (IP.21) database and modify the task TSK_DBCLOCK by adding the VERBOSE parameter to the Command Line Parameters box. After restarting IP.21 you can view the entire contents of the config.dat file in the TSK_DBCLOCK.OUT file (located in the group 200 folder) which can also be viewed from the IP.21 Manager. NOTE Procedures for editing config.dat file and changing the path names can be found in knowledge base article: Executable that edits the file paths in the historian config.dat file - h21chgpaths.exe Keywords: config.dat contents References: None
Problem Statement: Some users are looking for guidance on how to calculate the rate of change (ROC) of a variable over a specified time interval. They want to store and update previous measurement values and create a user-defined variable to track the calculated rate of change. This article provides instructions on how to achieve this in Aspen DMC3 builder.
Solution: Step 1: Create User Entries for Previous Measurements Open the Aspen DMC3 interface and navigate to the appropriate control module or block where the rate of change calculation needs to be implemented. Create user entries for each of the previous measurement values that need to be stored. The number of user entries determines how many minutes of past values can be stored. For example, creating 10 user entries allows storing 10 minutes of past values. Step 2: Calculate the Rate of Change (ROC) In the output calculation section of your control module, set the previous measurement equal to the earlier measurement. This ensures that older measurements are updated before newer measurements. Create a user-defined variable, let's call it ROC, to hold the calculated rate of change. Step 3: Implement the Rate of Change Calculation In the output calculation section, calculate the rate of change by subtracting the measurement from the desired number of minutes ago from the current measurement. For example, to calculate the rate of change per 1 minute, subtract the measurement from 1 minute ago from the current measurement. Assign the calculated rate of change to the user-defined variable ROC. Step 4: Update the Measurement of Rate of Change (ROC) Controlled Variable (CV) Locate the controlled variable (CV) that corresponds to the rate of change (ROC) you want to monitor. Set the measurement of the CV equal to the calculated rate of change stored in the ROC user-defined variable. Keywords: DMC3 builder, Calculation, ROC, Rate of change, User defined References: None
Problem Statement: You've set up your InfoPlus.21 server endpoint in Cloud Connect, but when you go to Manage Server Tags, not all of your tags show up in the tag list.
Solution: If your tags belong to a custom definition or a definition other than IP_AnalogDef, IP_DiscreteDef, or IP_TextDef, you'll need to make a few changes in InfoPlus.21 for Cloud Connect to be able to view and read your tags. The steps below show you how to do this using PMCAnalogDef and PMCDiscreteDef records. 1. Open InfoPlus.21 Administrator and expand PE_BranchDef, expand IP_TagsBranch, and go to IP_TagsBranch repeat area and add PMCAnalogDef and PMCDiscreteDef. 2. Now go to AtMapDef and ensure that MAP_Quality is not empty for these Map Records: PMCAnalogMap, PMCAnalogRawMap and PMCDiscreteMap. 3. The last thing to check is the MAP_DefinitionRecord field. Make sure that in PMCAnalogMap the MAP_DefinitionRecord is PMCAnalogDef and do the same for PMCDiscreteMap where the value should be PMCDiscreteDef. 4. Go to Cloud Connect and edit the InfoPlus.21 end point, click Update Server. Now you should have a higher tag count which includes the tags belonging to your custom definition. Keywords: Cloud Connect IP.21 Tags Custom Tags Missing Tags References: None
Problem Statement: Fidelis Models are not Generated by Aspen Mtell Alert Manager Fidelis uses a SQL database engine (called SQL LocalDB) and it runs as a process owned by the current user (meaning each user runs their own instance of LocalDB). Therefore, it is difficult to have shared LocalDB instance between different users. Aspen Fidelis user must use the same user credential as Mtell Alert Manager while installing Fidelis. If Mtell Alert Manager and Fidelis were installed with different user credentials, Fidelis models will not be created.
Solution: To solve this issue, create your own LocalDB instance following next steps: On the machine with Fidelis and Mtell Alert Manager installed, open Command Prompt and stop the Fidelis V14 database instance executing next command: sqllocaldb stop AFRInstace39 Delete the instance using next command: sqllocaldb delete AFRInstance39 Create and start the instance with the following specified version (SQL LocalDB 2019): Sqllocaldb create AFRInstance39 15.0 -s Once created, follow the next command to verify your ownership over Fidelis database instance. “Owner” property should display your username. Sqllocaldb info AFRInstance39 Fixed in version Defect 925428 Fixed in Version V14.0.3 Keywords: Models failed No models Generation error References: None
Problem Statement: Why replication tags are not created in Subscriber?
Solution: Follow problems may cause the issue that replication tags are not created in Subscriber IP.21 database: The connection is not blocked in firewall The IP_Host_Name of the RepPublisherDef tag in Subscriber IP.21 database is not match the host name of Publisher The IP_Host_Name of the RepSubscriberDef tag in Publisher IP.21 database is not match the host name or IP address of Subscriber The Definition level of the specified tag does not exist in the Subscriber IP.21 database. Do the troubleshooting as follow: Execute command netstat -ano|findstr 1801 at the Command Prompt in Publisher. At here, there's an established connection which source IP address is Publisher, destination IP address is the Subscriber and port is 1801. If there's no such result, check whether the outbound traffic for remote TCP1801 is allowed. Create a allowing rule if your firewall blocks outbound by default. Execute command netstat -ano|findstr 1801 at the Command Prompt in Publisher. At here, there's an established connection with source IP address is the Subscriber and port is 1801, destination IP address is the Publisher. If there's no such result, check whether the inbound traffic for local TCP1801 is allowed. Create a allowing rule if your firewall blocks inbound by default. There's message WARN [MessageReceivedEventHandler] - Received update from an unauthorized host APC. Update will not be processed in the TSK_SUBR.out in the Subscriber That means the IP_HOST_NAME of the RepPublisherDef tag is not match to the Publisher server name. You may either input the wrong name or use the IP address. Turn the Active_SW off, update the IP_Host_Name and turn Active_SW back to on. There's message WARN [QueueMissingTag] - Tag DCOL_DRAWTPV does not exist and will send 'missing tag' message to APC. in the TSK_SUBR.out in the Subscriber That means the definition level for the tag DCOL_DRAWTPV is not found in the Subscriber IP.21 database. Please create all depended definitions for this tag. Keywords: InfoPlus.21, Replication, Subscriber References: None
Problem Statement: On the PCWS, user can download an ACO CCF Snapshot for historical values through Aspen Watch Inspector tool to be used in offline simulation. How can this be accomplished for DMC3 RTE applications?
Solution: The currently released versions do not have an exact same function as saving a CCF Snapshot from Inspector to create a *.DMC3application file. There are some challenges in implementing this feature at this time but there is an enhancement request in place (APC-I-1420), and it is in the long-term road map. In the meantime, below are two workarounds that the user can do to accomplish a similar result for now: Solution #1 - Save Tuningset from Inspector and use Manage Tuning feature in DMC3 Builder Simulation Note: this workaround does not include the Measurement values of the variables, only the tuning parameters. 1. On the PCWS > History tab > Controller name > Overview (or from variable dropdown menu), click on Inspector. 2. Click CCF Snapshot at the top to open the dialog window, choose the timestamp you want to get the values from, and then instead of saving the CCF, you can use the dropdown menu for Type to save the Tuningset: 2. Open a DMC3 Builder project and get a current time snapshot of the application from the Online view. 3. Then in DMC3 Builder's Controller Simulation View, click on Manage Tuning in the top tool's ribbon, click Import and select the downloaded Tuningset to bring in the list here. 4. Then click on the column header for the Tuning Set that was just imported (such as Tuning Set 1) to highlight the column values and click Apply on the right side. This will push all of the tuning to the simulation settings. Solution #2 - Save CCF Snapshot from Inspector and use Copy Tuning feature in DMC3 Builder 1. Open Inspector on the PCWS, click CCF Snapshot at the top to open the dialog window, choose the timestamp you want to get the values from, and keep the Type as CCF this time. 2. Open a DMC3 Builder project file and Get Snapshot from current time. 3. Right-click on the controller snapshot's Master Model node, click Export, change file type to be *.MDL3, change the file name so it is just the controller name to remove any other extension. For example, a snapshot may save the name as ControllerName[20230131_022734], so change this to just ControllerName. Then save the mdl3 file in the same folder as the CCF downloaded before. 4. Now back in DMC3 Builder | Controllers view, click Import > Import Application > choose the downloaded CCF. If there are any errors with import, you may need to open it in DMCplus Build first and fix any errors upon Save. 5. This is an optional step if you see that the CCF does not have everything copied correctly like calculations, for example. Right-click on the controller name of the imported CCF and select Copy Tuning. Make the primary application the CCF (tuning values to be copied FROM), and the secondary application the DMC3 snapshot of the controller taken from online (tuning values to be copied TO). This way you will have the controller model and configuration of the current controller and copy the tuning parameters from the CCF snapshot taken from Aspen Watch history. Continue work on the DMC3 snapshot with updated tuning. Solution #3 - Automate DMC3 Snapshots in Configure Online Server ThisSolution is more of a preemptive measure to have a historic snapshot ready when needed, by configuring automatic snapshots at a frequent interval. This is not aSolution for taking a snapshot manually using Aspen Watch data, just from the history retained on the APC Online Server. 1. On the APC Online Server, open the program called Configure Online Server 2. Click on the History and Snapshots tab on top 3. Here you can configure for automatic snapshots to be taken at the specified intervals. Make sure to also reduce the Snapshot Retention so that it does not take up too much disk space with saved snapshot files: 4. Once the automatic snapshots have been taken and retained, when clicking Get Snapshot in DMC3 Builder project > Online section, they will show up in the list under Select Available, to be directly imported in DMC3 Builder: Keywords: inspector, aspen, watch, data, history, snapshot, dmc3, rte, ccf, save, download, simulation References: None
Problem Statement: This article described the meaning of the “DMCplus Use Only message that appears on DMCplus Build when the External Target Ranks are set up.
Solution: This message will appear only when External Targets are configured on a CCF Application (DMCplus Build). By going to the rank list of the CCF file you will see a message for all MV and CV external Targets Ranks indicating that the rank is “DMCplus use only”. The message will appear either you use and mdl file or mdl3 file. This message was originally set up when the application was set up for the use of SmartStep and was a separate product from DMCplus. The message basically refers to the fact that the External Ranks will be used only when the application is on CONTROL Mode. In any case the message could be ignored as it wont affect the normal operation of the controller. Keywords: DMCplus, CCF, External Targets References: None
Problem Statement: When implementing Aspen Manufacturing and Execution System (MES)
Solution: customers may install a firewall between the various Aspen applications. Firewall systems help prevent unauthorized access to computer resources. However, if a firewall is turned on but not correctly configured, it may block some ports, which may cause applications that rely on those ports for communication to stop working. The purpose of this Knowledge Base article is to document all of the ports that need to be open when the web and/or Aspen InfoPlus.21 (IP.21) server is behind the firewall. There is also a possibility of having a firewall between the Aspen InfoPlus.21 server and the web server which presents additional challenges that need to be addressed. Solution To positively determine if the issue at hand is caused by a firewall, it is suggested to first try logging in with an administrative account that can be properly authenticated by the firewall. Such an account should have the ability to effectively bypass all of the firewall restrictions. If a user logged in with such an administrative account has no issues accessing various resources behind the firewall, then this is proof positive that the firewall is blocking some essential ports that must remain open for applications on the opposite sides of the firewall to be able to work together. The next step should be for a user to log in to the IP.21 server with an IP.21 Admin account and run the RPC PortMapper application to identify the ports which need to be opened in the firewall. Note: RPC PortMapper application RPCINFO.EXE is located in the C:\Program Files (x86)\Common Files\AspenTech Shared\Portmapper directory. Below is a list of Aspen MES applications and their port usage. Aspen InfoPlus.21 · IP.21 RPC DA Servers (TSK_ADMIN_SERVER, TSK_APEX_SERVER, TSK_EXCEL_SERVER, TSK_ORIG_SERVER, TSK_DEFAULT_SERVER, TSK_BATCH21_SERVER). Use six ports - typically 11111 - 11116 but these ports are dynamic and change every time IP.21 is restarted. Different (static) port numbers may be configured. See KB article # 104056 for more info. NOTE: In addition to ports for each RPC server task, port 111 also must be opened in the firewall. Port 111 is used by the NobleNet Portmapper for the initial API call. · TSK_BGCSNET. Used by GCS and Aspen IP.21 Process Browser clients when making connections to an InfoPlus.21 database. On the InfoPlus.21 server, TSK_BGCSNET listens on a TCP/IP socket 10013 for any Aspen IP.21 Process Browser client trying to connect. · TSK_SQL_SERVER. Uses port # 10014. · TSK_ACCESS_SVC. Uses port # 20014. · IP.21 Tag Replication. Aspen InfoPlus.21 Tag Replication uses Microsoft's Message Queueing System (MSMQ) as the transport in Windows Communication Framework (WCF). MSMQ requires the following communication ports to be open: 1801 (both TCP and UDP), 2101 (TCP), 2107 (TCP), 3527 (UDP), 2105 (TCP), 2103 (TCP), 135 (TCP). for more info see Aspen KB article # 130208 or the following MS KB article: https://support.microsoft.com/en-us/kb/178517 . · Cim-IO client tasks.Beginning with V8.4 it is no longer required to define Aspen Cim-IO services and ports on the Cim-IO Client system. When a Cim-IO client task starts, it connects to the Cim-IO Manager service running on the Cim-IO Interface Server. The Cim-IO Manager returns the port numbers assigned to the Cim-IO services on the Cim-IO Server to the Cim-IO client task. The port used by the Cim-IO client task to communicate with the Cim-IO Manager service is defined by the service CIMIOManager in the Services file. The default port number is 7777. This port number must be the same on both the Cim-IO Server and Client machines. See KB article # 140636 for more info. · IP21 OPCDA Server. Based on DCOM so port 135 is used. A fixed port can be specified by editing the registry. See article: https://support.microsoft.com/en-us/kb/217351 . Note: the App ID for IP21 OPCDA (IP21DA_Server.exe) is {32EE345D-A261-4B84-845F-44E61CBCE3FE}. · IP21 OPCUA servers determine their ports from a configuration file. See the following file locations: UA Component Configuration File Location XML Excerpt IP21 OPCUA Server C:\ProgramData\AspenTech\InfoPlus.21\db21\group200\ tsk_opcua_server.opcua.config.xml <BaseAddresses xmlns:d3p1=http://opcfoundation.org/UA/2008/02/Types.xsd> <d3p1:String>opc.tcp://localhost:63500/InfoPlus21/OpcUa/Server</d3p1:String> <d3p1:String>http://localhost:63501/InfoPlus21/OpcUa/Server</d3p1:String> </BaseAddresses> Aspen Process Simulator Service (UA server) C:\Program Files (x86)\AspenTech\CIM-IO\io\cio_opc_uai\ AspenProcessSimulator.Config.xml <BaseAddresses xmlns:d3p1=http://opcfoundation.org/UA/2008/02/Types.xsd> <d3p1:String>http://localhost:62551/Aspen/ProcessSimulator</d3p1:String> <d3p1:String>opc.tcp://localhost:62552/Aspen/ProcessSimulator</d3p1:String> </BaseAddresses> OPC UA Discovery Service C:\ProgramData\OPC Foundation\Config\ Opc.Ua.DiscoveryServer.Config.xml <BaseAddresses xmlns:d3p1=http://opcfoundation.org/UA/2008/02/Types.xsd> <d3p1:String>opc.tcp://localhost:4840/UADiscovery</d3p1:String> <d3p1:String>http://localhost:52601/UADiscovery</d3p1:String> </BaseAddresses> Aspen InfoPlus.21 Administrator and InfoPlus.21 Definition Editor Although specific port numbers can be assigned to the various Aspen InfoPlus.21 API server tasks to effect client communication through a firewall, the Aspen InfoPlus.21 Task Service is still dynamically allocated a new port number through the Noblenet Portmapper every time this service is restarted. Since the Aspen InfoPlus.21 Administrator uses the Aspen InfoPlus.21 Task Service to communicate with the Aspen InfoPlus.21 database, the port for the Aspen InfoPlus.21 Task Service needs to be opened through the firewall as well. For additional information on connecting the InfoPlus.21 Administrator tool across a firewall, please seeSolution id 000078782. Aspen Process Explorer Can use any of the RPC DA Server ports - typically 11111 - 11116. Different port numbers may be configured. See KB article # 104056 and 115049 for more info. NOTE: In addition to the ports assigned to each RPC server task, port 111 also must be opened in the firewall. Port 111 is used by the NoblenetPortmapper for the initial API call. aspenONE Process Explorer · HTTP port 80. · Port 111 for the PortMapper. · Six other ports for the TSK_ External Services as identified in the IP.21 Manager section above must remain open. These six ports are dynamic and change every time IP.21 is restarted, or the individual Services are restarted. These six ports can be configured to be static so they don't change when the IP.21 Services are restarted. Aspen IP.21 Process Browser · HTTP port 80. · Port 111 for the PortMapper. · TCP 10013 and 10014. · Six other ports for the TSK_ External Services as identified in the IP.21 Manager section above must remain open. · DCOM port 135 and a range of ports 3000 - 4000 must remain open. See KB article # 104040 for more info. Aspen SQLPlus Uses port 10014. It is configurable using ADSA. AFW Security Server AFW Security Server is a web service thus it uses port 80 from IIS by default. Client applications using DCOM Client applications using Windows DCOM require port 135 and a range of ports 3000 - 4000 to be open. Aspen Calc Uses port 135 and a range of ports 3000 - 4000. See KB article # 110537 for more info. Aspen Production Record Manager · Client applications use TCP/UDP port 135 and a range of ports 3000 - 4000. See KB article # 115120 , 118957 and 104056 for more info. · Aspen Production Record Manager Business Process Document Service uses port 7500. See KB article # 121971 for more info. · APRM ODBC. Uses port 52011. It is configurable using ADSA. Aspen Production Execution Manager Apache port 8080 and port 1433. See KB article # 128922 for more info. The MOC client communicates with the APEM server using port 8888 by default, but if the 8888 is used by any other application, MOC will try to increase the port number by 1, e.g. 8889 is the next, until it finds a valid usable port. APEM server will utilize a random local port to connect to the remote 8888 port. Aspen Process Data Service Uses port 52007. It is configurable using ADSA. Aspen Operations Reconciliation and Accounting · Uses database-specific ODBC ports to connect to the database server. · ORACLE as a relational database: SQL*Net 2: port 1521 (This is the default listener port. A listener port will always be used.). The following ports may be used (check with your site's DBA): LDAP: port 3060, LDAP SSL: port 3131, Oracle Notification Server: port 6200, Web Cache Invalidation: port 4001. See KB article # 116910 for more info. · SQL Server as a relational database. See the following Microsoft KB article for more info: //support.microsoft.com/kb/287932/ · Aspen Advisor Connect. PI database communication port number is 5450. PHD database communication port number is 3000. Aspen Software License Manager (SLM) · TCP/UDP Port 5093 and 5094. You also have to enable pinging to the license server.See KB article # 135484 for more info. · Auto Upload Tool requires that the following ports are open: HTTPS PORT 443, Secure FTP (SFTP) port 22, SMTP Email port 25. See KB article # 000082940 for more info. Keywords: None References: None
Problem Statement: How to Install a Standalone License Manually
Solution: NOTE: Please attempt to use the License File Installer before trying to install the license file manually. The License Installer will install the license seamlessly and will let you know if there are any issues with your file. Keywords: slm dongle-free dongleless dongle standalone dongle free dongle less configuration wizard References: the Software License Manager (SLM) License File Installer KB Article for instructions. To manually install and configure your standalone license file for aspenONE V9 and higher; Rename.delete any old and/or expired license files in the Aspentech Shared folder (64bit OS) C:\Program Files (x86)\Common Files\Aspentech Shared and C:\Program Files\Common Files\Aspentech Shared (32bit OS) C:\Program Files\Common Files\Aspentech Shared Rename/delete any old and/or expired *.slf or *.lic files in these folders to *.slf_old or *.lic_old Copy the license file you wish to install to: (64bit OS) C:\Program Files (x86)\Common Files\Aspentech Shared and C:\Program Files\Common Files\Aspentech Shared (32bit OS) C:\Program Files\Common Files\Aspentech Shared The license file must have a .SLF extension and its name must begin with lservrc_, for example, lservrc_004_3BC4F.SLF. Configuring your standalone license file: Run the SLM Configuration Wizard. Go to: Start | All Programs | AspenTech | Aspen SLM | aspenONE SLM License Manager, then click the Configure button to launch the SLM Configuration Wizard. NOTE: For some operating systems you may have to execute the aspenONE SLM License Manager using the 'Run as Administrator' option. The application writes entries into the Windows Registry, and Administrator privileges are required for this. Once the SLM Configuration Wizard appears, expand the Advance Settings tab and verify that Ignore local keys is unchecked. Click the Apply Changes button. Once the Show Details button appears the process is complete and the standalone is installed. Related Articles Video: How to install a standalone license
Problem Statement: How to install a network license file manually
Solution: NOTE: Please attempt to use the License File Installer before trying to install the license file manually. The License Installer will install the license seamlessly and will let you know if there are any issues with your file. Keywords: installation, network, license References: the Software License Manager (SLM) License File Installer KB Article for instructions. To install the license file for the Network license server manually; 1. Copy the license file to the SLM license server directory. The default SLM license server directory is: <root>\Program Files (x86)\Common Files\SafeNet Sentinel\Sentinel RMS License Manager\WinNT 2. Rename or delete any pre-existing license file(s). 3. Rename the new license file to LSERVRC (no file extension). 4. Locate the loadls.exe executable file in the license server directory: <root>\Program Files (x86)\Common Files\SafeNet Sentinel\Sentinel RMS License Manager\WinNT 5. Run loadls.exe (Run as Administrator) and select Remove to stop the license server. 6. Run loadls.exe (Run as Administrator) again and select Add to start the license server. 7. You can verify that the new license is active by using the license profiler. Please review the following article: What is the SLM License Profiler and How to Use It? for information on how to use the SLM License Profiler. Note: Ensure that you reload the license server whenever you change your license file. Related Articles Video: How to install a network license
Problem Statement: This Knowledge Base article provides possible steps to resolve the issue of QP internal error when simulating DMC3 application which causes the controller to switch off. This error message is generic to indicate that the control engine failed to execute a
Solution: to the control problem. Solution One common cause for this issue is near-collinearity or high RGA problems. Check for any collinearity issues in the controller and try to reduce max RGA below 10. If that does not work, check the settings for the called Target Algorithm Type (EPSMVPMX) that is used to configure the steady-state solver. The options are as follows: 1 (obsolete) now functions the same as option 2 2 Legacy interior point QP algorithm 3 Legacy interior point QP algorithm and generate a debug file at each cycle - don't use for long as this will fill up your disk 4 Active set method - very robust but can be slow for Composite-size problems. Shadow prices are calculated for both LP and QP subproblems. 5 New interior point method for both LP and QP subproblems. No shadow prices are calculated. 6 New interior point method - switch to active set for the objective function rank. The motivation for the type 6 is that this enables shadow prices. 7 Not used 8 Use interior point for the objective function rank if number of variables is greater than 300. Otherwise use active set. This is recommended for Composite controllers only. 14-18 Same as options 4-8 with the automatic creation of a binary file to C:\ProgramData\AspenTech\APC\Online\sys\etc\lpqp_no_error_file_1.bin. The binary file is for AspenTech use only. For traditional DMCplus controllers, option 2 (legacy interior point method) was the default. However, this is not always robust for larger and more complex DMC3 controllers. Therefore, this should be changed to Option 4 (active set method), which will be robust enough for most applications. If the QP Error continues, try implementing Option 5 or 6. For very large controllers (with 300+ variables) or those applications participating in a composite application, use Option 8. EPSMVPMX can be found in DMC3 Builder If you are using DMC3 Builder, go to Simulation, then on the top ribbon go to application details > on application details go to the optimizer section, and locate the parameter called Target Algorithm Type, this is the same as EPSMVPMX here you can change the option: EPSMVPMX can be found on DMCplus Build: If you are using a CCF file then open DMCplus Build then go Configure and locate the entry by the name EPSMVPMX it should be in the middle of the list. Note: the parameter can only be changed from the desktop application and cannot be accessed from PCWS. So, for the change to take place you have to redeploy the application. Further Troubleshooting: If using APC V12.1, make sure to have the latest patches applied. Starting in patch V12.1 CP2, there were defect fixes for QP errors. Applying the latest patches may help mitigate this error message. When there is an error in the optimization, an lpqp binary file (*.BIN) will be saved to the following locations: For ACO: C:\ProgramData\AspenTech\APC\Online\sys\etc\lpqp_no_error_file_1.bin For RTE: C:\ProgramData\AspenTech\RTE\Vxx\Clouds These files allow AspenTech internal resources to check the controller's engine calculation. The disk will not be filled up, as only the last 25 files are saved. The binary file is also saved if the optimization takes more than 20 seconds. If further troubleshooting is required as theSolution above did not work, please send these files through a Support ticket. Keywords: EPSMVPMX, QP internal error, steady-state solver, DMC3 Builder, DMCplus References: None
Problem Statement: You cannot see your folder structure under your IP.21 server node in Tag Browser. You have already tried these
Solution: s: Why does the Aspen Tag Browser not show any folders while the description field is simultaneously grayed out? https://esupport.aspentech.com/S_Article?id=000068816 and Aspen Tag Browser will not display folders https://esupport.aspentech.com/S_Article?id=000096201 , but you still cannot see the folders displayed under the database server node like this: Solution Open the Application Log by going to View > Application Log and you may find a message like this: LoadFolders: ProcedureDef (TagBrowserFolderSearch) does not exist. Use original query. First, confirm that the ProcedureDef record TagBrowserFolderSearch exists in your IP.21 database. If it does not exist, you can create it by running the query provided in the attached file, CreateProc_TagBrowserFolderSearch.txt. Then try launching Tag Browser again. If the TagBrowserFolderSearch record does exist, or you create the record and you still see this error in the Application Log in Tag Browser, enable logging for Tag Browser using the Process Data Administrator. To enable logging for Tag Browser, go to this directory: \Program Files (x86)\AspenTech\ProcessData and then launch the ProcessDataAdministrator executable as an Admin. Go to the Logging tab and select TagBrowser from the dropdown. Check the box for Calls and then hit Apply. Re-open Tag Browser (you do not need to execute a search) and then go to this directory: \ProgramData\AspenTech\DiagnosticLogs\ProcessData to find the log file: TagBrowser.TagBrowser.x86.<aspenOneVersion>.<Username> Go back to the Process Data Administrator and make sure to select the Turn OFF ALL Log Flags Open the log file and you may see error messages like: Calls ADODB::Recordset::Open SQL( TagBrowserFolderSearch(1) ) Calls ADODB::Recordset::Open( E_FAIL (0x80004005) ) Calls ADODB::Recordset::Open SQL( (select name parent width 256, record_name child width 256, 'view' type from folderdef where record_name->definition = 'textviewdef' or record_name->definition = 'viewdef') Union (select folder_parent parent, name child width 256, 'folder' type from folderdef where name <> 'Distribution Folder' and folder_parent <> 'Distribution Folder' and folder_parent not like '%.RLD folder' ) order by parent, child ) Calls ADODB::Recordset::Open( E_FAIL (0x80004005) ) Open SQLplus and copy the Select query from the Open SQL call into a new query and try to execute it. You may get an error like this: Invalid RECORD value: 'Distribution Folder' If you saw those error messages in the Tag Browser diagnostic log and you saw that message in SQLplus, this means the issue with Tag Browser not displaying your folders is due to the folder Distribution Folder not existing in the database. The Distribution Folder contains folders with fields and records from recloads. The folder is created when IP.21 is first set up. The folder and its contents are not needed for IP.21 to function properly, except for Tag Browser. Tag Browser deliberately excludes the Distribution Folder from the results/tree view based on that query in the ProcedureDef record. If you removed the folder or renamed it, create a new folder in IP.21 and give it the name Distribution Folder. Then reopen Tag Browser, and you should be able to see your folder structure under your database server node. Keywords: Tag Browser Folders Distribution Folder TagBrowserFolderSearch References: None
Problem Statement: What should I do if I upgrade Microsoft Office from 32-bit to 64-bit and the Aspen Report Writer stops working?
Solution: It is always recommended to install or upgrade Microsoft Office before AspenTech products installation. When you install or upgrade Microsoft Office from 32-bit to 64-bit applications and Aspen Report Writer has already been installed in the machine then it will lose connection for its Excel Library Path i.e., Add-In file, and Aspen Report Writer will stop working. In this situation, we recommend the following steps: “Repair” Aspen Report Writer by using the AspenTech installation media file. Open Excel and check that the ARW add-in can be added. Check AspenRpt8 -> Function wizard working properly. Keywords: Microsoft Office, 32-bit, 64-bit, Add-In, Aspen Report Writer References: None
Problem Statement: I want to make a mixture of citric acid and water. Citric acid doesn't have any reactions listed. The web says that a 1 molal mixture should have a pH of about 3.2 how do I get this to work?
Solution: The electrolyte wizard does not have the citric acid anions; however, it is possible to create them and add the equilibrium reactions. The method is similar to this knowledge document: An example on how to enter a non-databank ion and a non-databank volatile electrolyte. The attached file can be opened in V12.1 and higher. Citric acid is a weak acid that deprotonates in 3 steps. Credit: CrystEngComm, 2014,16, 3387-3394 These three anions can be added as components on the Components | Specifications | Selection sheet. The formula is entered on the Components | Molecular Structure | Formula sheet. Component ID Formula Charge CITRICAC Citric Acid C6H8O7 0 CIT-1 Citric Acid Anion with Charge -1 C6H7O7 -1 CIT-2 Citric Acid Anion with Charge -2 C6H6O7 -2 CIT-3 Citric Acid Anion with Charge -3 C6H5O7 -3 The equilibrium reactions are added to the Chemistry to the water dissociation reaction set up with the electrolyte wizard. 2 Equilibrium CITRICAC + H2O <--> CIT-1 + H3O+ 3 Equilibrium CIT-1 + H2O <--> CIT-2 + H3O+ 4 Equilibrium CIT-2 + H2O <--> CIT-3 + H3O+ The parameters needed for the ions are CHARGE, IONTYP (3=oxyanion), DGAQFM (Gibbs free energy of formation), and DHAQFM (Enthalpy of formation). The Gibbs free energy of formation can be adjusted to fit the equilibrium constants i.e. the pH. As an estimate, the Gibbs free energy of formation and Enthalpy of formation of Citric Acid were used for the ions. Parameters Units Component Component Component CIT-3 CIT-2 CIT-1 CHARGE -3 -2 -1 IONTYP 3 3 3 DGAQFM Btu/lbmol -486242 -486242 -486242 DHAQFM Btu/lbmol -578676 -578676 -578676 Ions are non-volatile, so the first element is the Antoine vapor pressure parameter (PLXANT) was set to -1e20. See this knowledge document for more information about creating a non-volatile component: What parameters are needed to create a non-volatile component?. The pH of a 1 mMSolution of citric acid will be about 3.2. To match this value, the DGAQFM can be adjusted. With a value of -490000 Btu/lbmol, the pH is 3.25. Keywords: None References: None
Problem Statement: GDOT can present different
Solution: Status, please find a quick description on the table below: However, is not mentioned what could aSolution Status 4 could mean. ThisSolution frames a description of what theSolution Status 4 stand for. Solution ASolutionStatus of 4 in GDOT usually means Skipped which means that the execution cycle skipped. Typically this is because it is waiting for some I/O which wasn't updated yet, or in the case of GDOT DR because Model Update is running and hasn't provided new gains yet. Either way, it can sometimes be resolved by changing the different GDOT execution offsets and making sure that the machine has adequate resources for running the different GDOT applications. Keywords: GDOT, References: None
Problem Statement: What is the ECCN number (Export Control Compliance Number) for AspenTech's Software Products?
Solution: EAR99 is the ECCN code for all of AspenTech's software products. Keywords: ECCN, export, control, engineering References: None
Problem Statement: Which are the correct units to correctly obtain the value of RVP in Aspen HYSYS
Solution: The Reid Vapor Pressure (RVP) is determined using ASTM Standard D323. According to this standard, RVP is measured using a pressure gauge that reports a value of zero when open to the atmosphere and indicates zero pressure when attached to the ambient air filled chamber of the device. The RVP is measured directly from the pressure gauge. No place in the ASTM standard are units such as psia stated. Instead, pressure units such as psi or kPa are given. It would be just as correct to report the same value with psig or kPa(g) units. In Aspen HYSYS the user must use this manometric basis (Psig and KPag) in order to obtain the correct value of RVP. Keywords: Reid Vapor Pressure, RVP, Absolute, Manometric, Stream Properties ­­ References: None
Problem Statement: This
Solution: frames how to extract historical information from the AspenWatch Database (IP21) from any current DMCplus application that is currently using. Solution There are two basic ways to extract information from AW, the first one involves using the Process Data Excel add-in. This Add-in allow us to extract information to an Excel spreadsheet and save the file as a csv. The second way is by using Aspen SQL plus, the retrieve information can be saved in .txt file and stored in any path specified within the system. ThisSolution specifies the steps to retrieve this information using Aspen SQL plus query. To use thisSolution, please find three documents attached to thisSolution which are: The CTLHIST.sql file The CTLHIST.txt file A PDF file which contains notes on how to use the CTLHIST.sql or .txt files Keywords: AspenWatch, AspenSQL plus, IP21 References: None
Problem Statement: This
Solution: frames the problem of a repeated prompt for logon credentials when HTP plots are enable and history Plots are requested. The plot would appear showing no data and the windows prompt for logon would appear and will not access even if the right credentials are introduced. Solution To fix this is necessary to change Process Data to Anonymous Authentication. The way to do this is following the next steps: 1.- Access to IIS manager for Windows Start 2.- Expand Default Web Sites and Select Web21 3.-from Web 21 select Process Data and from the right-side display look for the Authentication icon 4.- Double click on Authentication and change Anonymous Authentication from Disable to Enable and Disable Windows Authentication. 5.- After this open a command prompt using Admin rights and execute and IISRESET command. Keywords: PCWS, History Plot, IIS References: None
Problem Statement: This
Solution: explains how the CV and MV variables can be edited on a DMC3 Model Solution To modify the Variable son DMC3 model you need to follow the next steps: 1.- If this is your current project It is highly advisable to create a copy of the current Project before start. Then Open the work project and go to the Master Model tab. 2.- On the Master Model Views tab select Edit Variables, this will pop up a new window where you can add or remove MV and CV. Click on the + button in the right side of the Master Model Output window. 3.- This action will allow you to add/Delete new CV and MV to you model, Then Just select the dataset from which the Variable will be added and select the variable. Keywords: DMC3 Builder, Model, CV, MV References: None
Problem Statement: This
Solution: Frames on the how DMC3 Builder determine how many correlation coefficients to plot after running a case. Solution The MV Cross-Correlation plot reflects the correlation between two MVs over a time horizon window. A maximum value (between 0-1.0) at time t=0 shows the strongest correlation between the two MVs. By default, the Scale of the correlation plots cannot be changed, and the Y axis shows a scale between -1 and 1. For this kind of plots DMC3 uses an equation to calculate the default number of correlation coefficients: Number of Corr-Coeffs = TTSS x Samples/min; For example: (1) Sampling = 15 Sec, TTSS=30 min, then NCC = 30 x 4 = 120 (for one-side), the display window will be -120 to +120; (2) Sampling = 60 sec, TTSS=90 min, then NCC = 90 x 1 = 90, the correlation plot window will be -90 to +90. Keywords: DMC3, Plot Correlations References: None
Problem Statement: When using Excel Process Data COM Add-In, the formula result shows #NAME? instead of the expected results in both the Formula location and the Output location, as shown below:
Solution: (Updated April 2024 with more details) #NAME? means the formula cannot be found. This can often be resolved by registering the ProcessData library file and adding a missing add-in. 1. Exit all open copies of Excel. 2. Open a Windows OS Command Prompt (formerly called the DOS prompt) using the 'Run as Administrator' (elevated permission) option. This option may be available when right-clicking the icon or as a menu choice: Note: The next commands assume that the AspenTech.PME.ExcelAddin.ProcessData.dll is in the locations listed below. If they are not there then the commands should be adjusted accordingly. 3. In the elevated command prompt issue the following command according to the version (bitness) of Excel. If you are unsure of the version look at the bottom of thisSolution for a suggestion: For 64 bit versions of Excel: For 32 bit versions of Excel: If you get a message like this the command was NOT successful: If you get the message above please ensure the Command Prompt was started using 'Run as Administrator'. On the other hand, if you get the message below then the command was successful: 4a. Restart Excel and open a new spreadsheet. If you see 'Aspen Process Data' on the menu bar then try using the add-in again (the problem should be gone). 4b. If 'Aspen Process Data' is not present then add the Aspen Process Data Excel Add-in Functions to Excel using thisSolution How to solve missing 'Aspen Process Data Excel Add-in Functions'? If you are unsure about the version of Excel please use the following link: Which version of Microsoft Office am I using? https://support.microsoft.com/en-us/office/about-office-what-version-of-office-am-i-using-932788b8-a3ce-44bf-bb09-e334518b8b19 Keywords: #Name #Name? Error Excel References: None
Problem Statement: If required TCP ports connections are not enabled through a firewall or the computer directory configuration is not correct, the communication between AspenTech servers or AspenTech server and clients will fail.
Solution: One of the simplest methods to test if a specific TCP port is open through a firewall between two computers is to use the Windows PowerShell command Test-NetConnection with the following syntax (where the sections in italics are what need to be modified): Test-NetConnection -ComputerName computername -Port port If the connection is successful the results will display “TcpTestSucceeded: True”, if it is unsuccessful, it will show “Failed”. There are several reasons why the connection would fail, but the two most common reasons are: The server is not able to resolve the ComputerName parameter. That could be because: The DNS server is failing. The computer name is not defined on the DNS or the local Windows hosts file. The IP address of the computer changed and is not what is defined on the DNS / hosts file. A firewall is blocking the inbound/connections through the port that is being tested. Let’s set a quick example to demonstrate the second point which is more often harder to identify. Example: Let’s set a quick example where an Aspen APC Web Server is trying to connect to an Aspen Watch Server to obtain historical data and display it on reports. The port defined for this connection is port 12351, but let’s say that the Windows Defender Firewall on the Aspen Watch Server blocks all inbound connections unless they are permitted through a rule, on this example case the rule to allow inbound connections through 12351 is disabled: So if we try to use the Test-NetConnection command from the Aspen APC Web Server, with the firewall blocking the inbound connections without a rule, the test will fail: This problem has a quick fix of enabling the firewall inbound rule to allow the connection (or disabling the firewall altogether but that is not often desired). This is an example on how we can use the Test-NetConnection functionality to diagnose server connections through specific ports. Keywords: TCP, port, server, connection, command, IP address References: None
Problem Statement: After switching to Windows 11, when using the Aspen Plus Set Compiler utility, all of the options in the compilers64.cfg config file are not visible and some repeat. The screen looks like this.
Solution: This problem can be resolved by increasing the row number for command prompts. It only needs do be done one time on the machine. Open the Command Prompt and right mouse clicking on the top to get Properties. The Launch Size default number of rows is 30. Increase that number to 100 to see more rows. For more information see https://www.elevenforum.com/t/change-windows-terminal-launch-size-in-windows-11.8521/ Keywords: None References: : VSTS 837733, 930275
Problem Statement: When installing and configuring multiple nodes for AUP, I need to use the Amazon S3 bucket to share folders across the nodes, how do I configure this?
Solution: Steps: Installation of AUP in the AWS environment will follow the steps as outlined in the Installation guide with one minor tweak during the multi-node configuration. When going through the Primary Machine Setup, you must create the three folders mentioned (DistributedFilesFolder, AssayLibraryFolder, and ReportsFolder) in the S3 bucket. This is typically in the form of a new drive (i.e. E:\ drive). Sharing permissions will need to be set in a similar way but the additional step that is required is the generation of symbolic links between %ProgramData%\AspenTech\AspenUnified\WorkflowFiles and the E:\DistributedFilesFolder using the mklink command. These links must be generated for all three previously mentioned folders. Keywords: None References: None
Problem Statement: Why are there several shared folders in Aspen InfoPlus.21 (IP.21), what applications need them, and what permissions are required for these?
Solution: Several folders in Aspen InfoPlus.21 are shared to allow remote users the ability to access the Aspen InfoPlus.21 Administrator to make changes to the Aspen InfoPlus.21 environment.- Meaning users running the Aspen InfoPlus.21 Administrator program on a computer other than the one running the Aspen InfoPlus.21 database. The names of these shared folders and their default physical locations (64-bit IP.21 database) are: - IP21g200, C:\ProgramData\AspenTech\InfoPlus.21\db21\group200 - IP21Etc, C:\Program Files\AspenTech\InfoPlus.21\db21\etc - IP21gHIS, C:\Program Files\AspenTech\InfoPlus.21\c21\h21\arcs Having shares allows remote users to save snapshots, load records from xxx.rld files and make changes to the Aspen InfoPlus.21 historian, add file sets, change their size, remove them, etc.. Without shared folders remote users will not be able to make these type of changes. The Administrator account (account used by Aspen InfoPlus.21 related services, and programs) must have full control. Also see: Adding Everyone user group to the permissions on share folders cannot be prevented in Aspen InfoPlus.21 even if it is undesirable: CQ00605390 Keywords: IP.21 shares application permission References: None