question
stringlengths
19
6.88k
answer
stringlengths
38
33.3k
Problem Statement: Disclaimer: Information on Automation and Extensibility Examples in the Model Library
Solution: HYSYS incorporates an advanced software architecture and Microsoft COM(R) technology to provide a component-based framework that can be easily customized, updated and maintained to meet changing user requirements. Options for tailoring HYSYS generally include: Automation: The use of third party tools such as ...
Problem Statement: How do you correctly model a copolymer in a mixture that forms two liquid phases? The copolymer component is modeled by a large hydrocarbon C36H74, with modifications for PLXANT-1 parameter 1 being set to -1e15 to make it non volatile, and with a user defined Molecular Weight and a user defined free ...
Solution: A copolymer should be modeled by at least two segments (not a conventional component). The properties of the copolymer (such as the molecular weight) should be calculated from its segment molecular weights and compositions. When water exists in the mixture to form a second liquid phase, the PC-SAFT (not POLYP...
Problem Statement: Stream Flow Rate Multiplier
Solution: The attached case demonstrates a quick and easy way to multiply the flow rate of a process stream using a Tee and a Set operation. The feed stream is fed to a Tee. There are two outlet streams. The first is to contain the multiplied flow rate of the outlet stream. A Set operation contains the factor by which ...
Problem Statement: Is it possible to change heat to work?
Solution: This can currently only be done with a User2 block. See the attached example file. To run the example, put all of the files in one directory. Fixed in Version In v7.0, it will be possible to change heat to work in a ClChng block. Keywords: None References: : CQ00318539 Contributed by Stefan Pofahl
Problem Statement: Is it possible to have a reaction in an RStoic with a nonconventional component and other conventional components?
Solution: Yes, it is possible to have reactions between components in different substreams. In the attached example (NC-comp-drier100.bkp), all of the water in the nonconventional (NC) component wood pulp is removed in an RStoic that acts as a drier. The wood pulp is specified using GENANAL component attributes. The fi...
Problem Statement: 3-phase - Acetic Acid separation column.
Solution: An entrainer (Ethyl Acetate) is used to aid the separation of water and Acetic Acid. The UNIQUAC property package with the Virial option is used. This ensures that the dimerization of acetic acid and water in the vapor phase is properly modeled. The Sparse Continuation solver is used as we have a three phase ...
Problem Statement: How do you enter performance curves for a Pump?
Solution: There are three options for entering performance curves for a Pump: (1) Tabular data, such as Head vs. Flow points (2) Polynomials, i.e., coefficients for a Head = a + b*flow +c* flow2 + d*flow3 correlation, and (3) a User subroutine in Fortran. 1. In the Model area of the PUMP Setup Specifications shee...
Problem Statement: Sample file for Biofuels (Biobutanol) Hysys Process Modeling for ABE Fermentation Technology
Solution: In attached report, Aspen Hysys example how to model ABE fermentation process is given. This report is only intended to give you a starting point. User should carefully examine the parameters and flowsheet Keywords: Hysys, fermentation, biobutanol.Example, Sample References: None
Problem Statement: Real Separator (RealSep) Extension Unit Operation (created in C++)
Solution: Attached is a sample unit operation extension which demonstrates how to model a separator that models liquid and vapour phase carryover (molar basis). It was created using C++. Note: These examples are provided for academic purposes only and as such are not subject to the quality and support procedures of off...
Problem Statement: How do you show equipment convergence status in Aspen Simulation Workbook from Aspen HYSYS simulation?
Solution: In Aspen Simulation Workbook (ASW) there is no variable to report the equipment convergence status within HYSYS simulation. The example case here is to illustrate how this can be implemented in ASW. In most cases the status of product stream(s) of connected any unit operation indicates if the unit has been co...
Problem Statement: How does one import data from MS Excel into a source?
Solution: The attached files include two examples which import source data from MS Excel into Aspen Flare System Analyzer. In the first example, all scenario source data is in one worksheet; in the second example, each scenario has its own worksheet. Additional information regarding the second sample can be found in As...
Problem Statement: The old, familiar ".lst" reports of PIMS are based on obsolete technology. They cannot keep up with the new features of PIMS. So, the ".lst" reports will be discontinued sometime between the release of PIMS versions 16 (2004.1) and 17 (2006).
Solution: PIMS currently features the ability to create HTML reports, ".txt" text reports (which are relatively new), and the classic ".lst" reports. PIMS will officially retire the LST report files after the PIMS 16 release. Equivalent and significantly improved functionality is available in either the HTML reports or...
Problem Statement: Is Dortmund Databank supported in Release 10 of Aspen Plus?
Solution: No. Customer wishing to continue to use apddbi to retrieve data from the dortmund databanks must use it with Release 9.3. Data also cannot be migrated. The DETHERM Interface in Aspen Plus 10 replaces the Dortmund Interface. The DETHERM database is accessed via the Internet. Individual data sets can be purchas...
Problem Statement: If you are using AspenIQ with TDC, there is a mapping inconsistency in the LBU section. ISSUE: The AspenIQ TDC user guide suggests that .LBIASNEW AND .PLBIASNEW be mapped to the .LBIASNEW(31) of the inferential point. IF you have done this mapping then when a Lab value fails a validity check (for ins...
Solution: In the IQF file, set the .LBIASNEW keyword to either 'local' or 'none'. Leave the .PLBIASNEW mapped to .LBIASNEW(31). This will prevent this problem. Note: Developer is updating his AspenIQ user guide and the updated version will be available soon. KeyWords Aspen IQ, TDC, LBIASNEW, PREDBIAS, Lab Update, Bias...
Problem Statement: User starts up Aspen IQ and because the license manager has not been started, licensing cannot be checked out and the application goes to DEMO mode which does not allow saving of any files created. Problem is, the application does not always let you know that is the mode you are operating in. It has ...
Solution: Use regedit goto: \\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Sentinel Add a new String Value Group "Extended Base" KeyWords: Aspen IQ Model, model, ALM, License Manager Keywords: None References: None
Problem Statement: Is it possible to use custom Aspen Custom Modeler models in Aspen Plus V7.3.2 without installing V7.3? I cannot find the ?apmodelscatalog.xml? file that is normally installed in the C:\ProgramData\AspenTech\AES where the location of the .dlls needs to be entered.
Solution: No. You need to install Process Modeling (Aspen Plus) from the V7.3 DVD before you can run exported ACM models in Aspen Plus V7.3.2. The ?apmodelscatalog.xml? file is installed as expected after installing ACM V7.3. The location of the apmodelscatalog.xml depends on the operating system. ? Windows 7 a...
Problem Statement: Using a non-English operating system, when we try to compile a Fortran file with "aspcomp" in the Aspen Plus Simulation Engine window, we obtain this warning: ASPCOMP: Warning! Intel Fortran runtime library libifcoremd.lib not found in %LIB% ASPCOMP: Warning! Intel Fortran runtime library is needed ...
Solution: Users on non-English versions of Windows may need to set the language in Microsoft Visual Studio to English instead of Use Windows default. Keywords: None References: : CQ00380192
Problem Statement: COLSUM is displaying different summation results between the floating tables and the integer tables.
Solution: At this time, use the integer table and not the floating table for large numbers. Analysis: MIMI tables have a limitation of 7 digits, therefore, even if you try to increase the format field at the set attribute table, it will automatically reset to 7 digits or less. However, our development staff tested the ...
Problem Statement: Sentinel System Driver Error 1406
Solution: Description: This error can occur when the Sentinel System Drivers are installed after HYSYS on the Windows 2000 operating system. When HYSYS installs the drivers, it also starts them. When drivers are started, they access information in the registry. However, in accessing the information, some keys are left ...
Problem Statement: On January 31, 2001, the CPLEX license codes embedded within MIMI expired. What does this mean to our customers? If you are currently running CPLEX, the license is perpetual and will continue to run. However, if you attempt to install CPLEX after this date you will experience a licensing error like t...
Solution: Under NT, you need to do the following: Open a session under the MS-DOS shell. Change the directory to your MIMIHOME value, in most cases, MIMIHOME will be C:\MIMI\bin. Type the following: instlcpx 41-37-70-B5-43-09-B9-8E-8E-98-94-1E-87-E5 c:\mimi\ Run MIMI again and test the CPLEX optimizer Notes: This code ...
Problem Statement: The units for Henry Parameters on the Binary Input forms should be locked to what is used. If the parameters Henry/2, Henry/3 and Henry/7 are NON-zero, the absolute temperature units should be displayed that are used. If parameters from the databanks are loaded the actual units used should be display...
Solution: It is very nice if unit can be consistent with value used in the parameters. It is not for Henry parameter only; also for many other parameters. The elements, which determine the unit setting, are different from each parameter. For example, in Henry parameters, if the value of Henry/2, Henry/3, or Henry/7 is ...
Problem Statement: In Aspen Plus 12.1, some files will run and complete without any problems; however in 2004.1 and higher, you will get an error message about missing CPIG and the simulation will stop. The error message will be something similar to the following: *** SEVERE ERROR IN PHYSICAL PROPERTY SYSTEM IDEAL GA...
Solution: If a component has no ideal gas heat capacity parameters in any of our the databanks then a default value CPIG should not be used since this could lead to incorrect enthalpy calculations. In 12.1 and 2004, there was a bug in the code that checks for missing ideal gas heat capacity (CPIG) parameters. For mis...
Problem Statement: User defined dynamic stream initialisation not functioning properly.
Solution: Description: The Stream Initialisation option within the Dynamic Initialisation feature does not currently allow the user to specify the initialisation conditions. These are being taken as the current stream conditions and composition. NOTE: The Dynamic Initialisation view have been made more clear in more re...
Problem Statement: At the present time, the Amines property package cannot properly handle zero flow of the following Amines components: H2S, CO2, DEA, TEA, MDEA, DGA, or DIPA. This is due to the calculation engine used in the Amines package, which is supplied by DBRobinson.
Solution: Workaround: The workaround is to ensure that if there is zero flow of any of the following components anywhere in the simulation: H2S, CO2, DEA, TEA, MDEA, DGA, or DIPA you will need to remove that component from the component list in the fluid package. Keywords: known issues; amines; amsim References: None
Problem Statement: If the user has selected Field units and added a Workbook table inside the column environment, HYSYS will crash upon re-entry into the column environment after the case has been reloaded.
Solution: To recover the case, complete the following steps: 1. Delete the HYSYS.prf file, located inside the default HYSYS directory. 2. Reload HYSYS and the offending HYSYS case. 3. Ensure that the SI unit set is selected. 4. Enter the column environment and delete the workbook table. 5. ...
Problem Statement: I just copied some numbers from a MD (Multi-Dimensional) table to another MD table. These are character tables (being MD) and contain numbers. The numbers are decimals <<< 1 in the source. After the paste, all numbers have their decimal points moved to make them > 1.
Solution: If you copy-and-paste numeric data into character tables, you may get completely wrong results and not notice. You may be copying thousands of numeric data elements and not realize that some of them were converted to scientific notation and then truncated. MIMI tries to convert the numbers to scientific notat...
Problem Statement: Problems Depressuring Pure Components
Solution: Description: There is a flash problem when depressuring pure propane. The pressure of the system rises to the relief pressure almost instantaneously without having any pressure build-up before the relief pressure is achieved. Workaround: The workaround for this defect is to add a very small amount of impurity...
Problem Statement: PDA devices interfere with HYSYS security keys on the Serial port. -- Serial Port Keys are not Recognised. Cause: Most PDA (Palm, Visor, RIM, IPaq) syncronization software will reserve at least one serial port on the computer for exclusive use with the PDA. If the Serial port key happens to be atta...
Solution: 1. If more than on COM Port is available, place the serial key on the second COM Port. 2. If feasible, use the Infrared Port to Syncronize the PDA and turn off the Serial Port Syncronization Option. 3. Upgrade to a Parallel Port hardlock key or USB harlock key. The USB key will requre the us...
Problem Statement: There is a problem with the formatting of the specsheet printed by the "Compositions" workbook. When you set it up to show the component LV rates, the two sides of the "Name" text overlap ("Comp Volume Flow(NBP[1]xxx" and "barrel/day"). This renders the component name unreadable. You can reproduce th...
Solution: Use one of the extensions on the support website that will allow you to transfer HYSYS text to Excel. Alternatively, you may use the more desirable "Print Text to File" or "Copy With Labels" options and open/edit in Excel. Keywords: known issues; printing References: None
Problem Statement: Relief valve in Dynamic Depressuring Utility gives inconsistent results
Solution: Description: When using the Relief Valve, the utility may give inconsistent results from one run to the next under certain circumstances. The problem manifests with a relief valve with a large area and a set pressure close to the relief pressure. This causes the valve to open slightly and continuously (chatte...
Problem Statement: In the DPO top menu, under EDIT, the MapBuilder option is greyed out.
Solution: The MapBuilder feature requires the presence of Microsoft MapPoint software. This is a supporting third-party software similar to how PIMS uses Excel. Some companies find they have already licensed MapPoint for other purposes and can easily make a copy available for use with DPO. Others will need to purchase ...
Problem Statement: You will encounter this problem only when you have the experience mentioned below: There is an older version of an HTFS program (e.g. PIPE 5.1) installed on your computer, You install HYSYS or any other AspenTech products that uses COMThermo, and then, You uninstall the HTFS program. When you try to ...
Solution: Download the zip file thhysysflash.zip. The zip file contains one file called thhysysflash.reg. To download the file right mouse click on the link and use the "Save Target As" option. To update the registry open the zip file and double-click on the file thhysysflash.reg, following any prompts provided. KeyWo...
Problem Statement: For Equilibrate-Column and Wash-Column operations, specifying the amount drawn from tank in bed-volumes gives incorrect results.
Solution: Specify amounts in units other than bed-volumes. KeyWords: Equilibrate Column, Wash Column Keywords: None References: None
Problem Statement: Product composition and amount are incorrect if the final product stream is created by Transfer Through Inline Filter opertaion.
Solution: Replace the Transfer Through Inline Filter with a combination of Filter-In-Place and Transfer operations. KeyWords: Transfer Through Inline Filter Keywords: None References: None
Problem Statement: After using Data Regression for solubility modeling to regress the equilibrium constants for salt precipitation reactions (K-SALT) or equilibrium ionic reactions (K-STOIC), the parameters were not brought back onto the Chemistry forms even though "Copy results onto Parameters forms" was checked for R...
Solution: Copy the results by hand onto the Chemistry forms. Fixed in Version This item will be considered for a future release. Keywords: None References: : CQ00208396 KeyWords solubility modeling drs KSALT KSTOIC
Problem Statement: The following error may be encountered when opening an Aspen Dynamics file or using the Send To command -- procedure precall failed for pFlash2_par. The simulation will not run.
Solution: After opening the simulation in Aspen Dynamics, change Simulation -> Globals -> PropMode form Local to Rigorous. Attached find the Aspen bkp file, dyn file, and appdf file. If the bkp file is opened in Aspen Plus and the Send To command is used, the Aspen Dynamics simulation will not run. The change has been ...
Problem Statement: For Aspen OnLine projects involving large models (e.g., an Equation-Oriented (EO) model with more than 380,000 variables), offline to online may fail because the default value for the following registry entry isn't big enough.
Solution: WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. Use Registry Editor to incre...
Problem Statement: For Aspen Dynamics simulations with a single component and a pipe model, the simulation may not converge even in the initialization mode. The error message states that the liquid viscosities are too high.
Solution: This has been fixed in version 10.2 update 1 and later releases. The workaround for previous versions is included below. The cause of the error message is a setting in the Aspen Plus Pipe model. When running a single component in the pipe model, Aspen Plus issues a warning stating that a heat duty must be spe...
Problem Statement: Effect of unresolved colinearity on DMCplus control performance is investigated by M Harmes. Mike offers RGA analysis insights and suggests guidelines for step testing and subsequent modelling which significantly improves control robustness.
Solution: M Harmse discusses DMCplus control performance of ill-conditioned systems, and offers design suggestions. KeyWords DMCplus, DMCplus Model, colinearity, ill-conditioning, modelling, RGA Keywords: None References: None
Problem Statement: DMCplus Composite .ini and .ccf Timing Guidelines
Solution: CLPTIME (in the .ccf) is the time-out tolerance for each individual controller and it will vary for each of the tiers (or order). The CLPTIME values used are based on a controller execution interval of say one minute. The guidelines are as follows: 1st tier CLPTIME = GCTIM + 3 sec 2nd tier CLPTIME = 1st tier ...
Problem Statement: DMCplus Composite Documentation
Solution: Read / Printout attached PDF user's guide KeyWords: DMCplus, Composite, CLP, User's Guide, Documentation Keywords: None References: None
Problem Statement: : Aspen Retail is forecasting diesel "loads" (deliveries) after the diesel runout point.
Solution: : First, check to see if the station has approval to receive "short" (substandard) loads. If the station is not approved for substandard loads turn on "short load" approval and reforecast the station. If the customer was approved for short loads then check to see if the customer has the "full diesel" flag tur...
Problem Statement: What is Forecast delay?
Solution: The Forecast Delay is used to delay the forecast of stations that have not entered both a sales and inventory record. The forecast delay is a time (i.e. 9AM) that the system waits until before forecasting a station that has entered only ony piece of the sales and inventory information. For example: A station ...
Problem Statement: Does Aspen SCM use TCP/IP to communicate?
Solution: Yes, Aspen SCM uses TCP/IP as a communication protocol. Keywords: None References: None
Problem Statement: Is there a MIMI command which can be used within MIMI rules or macros, that duplicates the actions from the "Consuming Batches" and "Feeding Batches" options of the "Options" menu for the Planning Board ?
Solution: The "Consuming Batches" and "Feeding Batches" can not be issued through MIMI commands in current versions. However, the command S TRACE ROUTING [ind], is the new option that has been added into MIMI 7.02. With this, the user can run "option/routing" programmatically. MIMI 7.02 should be available in January 2...
Problem Statement: MIMI bar graphs and message bars not refreshing properly under Windows XP.
Solution: Under certain circumstances, MIMI application that were running correctly under Windows 2000 may behave differently when installed on Windows XP. In Windows XP, if a MIMI command is running and generates a bar graph or message bar, the MIMI application will "freeze" if user puts any other window into focus. ...
Problem Statement: I want to check in my case for any instances where I have a letter "B" followed by a variable name which includes the "?" character, in any Expert System rule. It seems that if my search string is "B?", it treats the "?" as a wildcard representing any value, so the search returns all instances of the...
Solution: The GUI Search function is accessed via the menus, Data | Search..., and uses the question mark character "?" as a wildcard. Searching for character strings containing "?", such as the names of variables in Expert System rules, will actually return all instances of the search string, as if the "?" is any char...
Problem Statement: The MIMI case crashes when trying to search for any string. The search fails with the error "Cannot delete the $SEARCH set" and MIMI crashes.
Solution: This problem occurs when the $SEARCH set is used either as a Before or After macro. Use the following workaround to correct the problem: Remove $SEARCH as the Before or After macro. KeyWords SEARCH $SEARCH Keywords: None References: None
Problem Statement: When using the NUMERIC function in my Expert System rules to determine whether a string is a numeric or not, the function evaluated to True when checking strings such as 1D0 and 1E0. These strings should have evaluated to False using the NUMERIC function.
Solution: Values such as #D# and #E#, where # represents any valid numeric digit, could be considered as numeric values (double precision and scientific/exponential notation, respectively), thus the NUMERIC function is working correctly. If the strings #D# and #E# are actually used as character strings by the end user,...
Problem Statement: You have to run your MIMI LP model with different MIMI versions in different sites of your company. You are using the CPLEX optimizer. Why can it happen that you see different results when running the exact same case (same MIMI model, same CPLEX parameters)?
Solution: Check the attached three CPLEX log files obtained running the same model respectively with CPLEX versions 6.0 (MIMI > v5.x), 7.0 (MIMI v6.2, v7.0, v7.1) and 8.1 (MIMI v7.2). As you can see, CPLEX finds an optimal MIP solution for versions 6.0 and 8.1, although with different values for the objective function,...
Problem Statement: Translation of MIMI Help Files into other languages
Solution: Previous solutions already describe the method to change the language of MIMI Application (Batch Files) and how to convert the MIMI Help files (Service Packs) for MIMI 5.0 and 5.1. Please, click on the link provided to access these solutions. However, it has to be noticed that although the MIMI application is...
Problem Statement: Aspen SQLplus reporting에서 section type를 추가할때 아래와 같은 오류 발생
Solution: Section type를 사용하기 위하여 마지막에는 반드시 SELECT 를 사용하여 Table 에서 값을 읽어와야 합니다. 예: 아래의 Procedure Proc는 계산을 하고 결과를 내보냅니다. PROCEDURE Proc LOCAL T REAL; LOCAL B REAL; LOCAL PCT REAL; FOR (SELECT DISTINCT(IP_Plant_Area) AS area FROM IP_AnalogDef) DO T = (SELECT COUNT(*) FROM IP_AnalogDef); B = (SELECT COUNT(*) FROM IP_Ana...
Problem Statement: My cases are getting too large. How do I reduce the size of the case?
Solution: This problem could be due to inefficient use of data storage blocks on the hard drive. Generally, if a user has a set or table that takes up 20 Kb, the operating system sees a data set of that size and stores it into a preset block size, 32 Kb or 64 Kb, depending on whether the operating system is using FAT16...
Problem Statement: After saving an independent MIMI case, the case becomes dependent. Why?
Solution: Using the SAVE command will create a dependent case. The sets and tables are saved in the independent case or somewhere else, but the SSAVE saves the changes to the dependent case. Generally, this happens when users tries to create a side case and uses SAVE instead of the SSAVE command. To avoid this: Open an...
Problem Statement: How to make sure batch files will continue to work after MIMI 7.x ? How to run MIMI.exe and MIMIAS.exe on the DOS Windows ?
Solution: To run either mimi.exe or mimias.exe from a DOS window prompt, whatever the current path is, use the START command. START is a Windows command-line command that starts a separate window to run a specified program or command. For example: Typing start mimi.exe will open the MIMI GUI Typing start mimias.exe wil...
Problem Statement: Command SYS EXCELMIMI &PROCNAME {setname|tablename} does not work and you get a runtime error like "Runtime error 429 - can't create object". It is known that EXCELMIMI.EXE, the utility that can be used to export Mimi sets and tables to an Excel spreadsheet, gives an error when used with Excel from O...
Solution: Please find attached to this solution the patch that solves the problem. To install simply unzip the EXCELMIMI.EXE file and replace the old one located in the Bin subfolder of your Mimi installation folder, typically under \Program Files\AspenTech\AspenMIMI\Bin. Other things you have to know if you are using ...
Problem Statement: Can not get access to the services when attempting to use the GET SERVICES MIMI command. Under certain circumstances, users cannot access the services when launching GET SERVICES (command line or macro). The error message generated is "CANNOT GET SERVICES (STATUS = MIMI_RPC_ERROR)." In addition to th...
Solution: This problem is usually due to the Chesapeake Distributed MIMI Request Broker service is not started or the Broker installation is corrupted. Tech Tips # 106043 and 112802 in the Support Knowledge Base provide the necessary information to set up this service. There is however another cause to this problem. So...
Problem Statement: MIMI 6.x does not work when the operating system's calendar is moved back in time.
Solution: This is a proper function of MIMI 6.x and is designed in this manner so that a licence file with an expiration date cannot be extended. If the calendar is moved back, MIMI will not function. Consequently, if the clock is moved back to the correct date, MIMI will function properly. Keywords: None References: N...
Problem Statement: How do I get the Library Version number to update in the Library Manager dialog box? I have changed the version number of the Library Case in LIBSYS and LMSYSLN, then re-installed the library, but the version number does not update. I was able to get the feature versions to update, but not the librar...
Solution: The user should do a "formal" library upgrade by using the Add/Upgrade feature on the Library Manager GUI. The full path and filename (including the .cas extension) should be entered in the Add/Upgrade section, and then click "Add". Library Manager will pick this up as an upgrade and update the currently inst...
Problem Statement: I am having problems making MIMI Light Client run batch mode processing?
Solution: The MIMI Light Client does not support batch mode processing. KeyWords Keywords: None References: None
Problem Statement: When I try to run the broker in NT through Control Panel / Services / select the Chesapeake Distributed MIMI Request Broker and Start. The Service Control Dialog hangs up and crashes the system.
Solution: This symptom suggests that your broker is not installed correctly. Make sure your broker is stopped and then reinstall MIMI. NOTE: You should ALWAYS run the uninstall program before trying to reinstall MIMI. KeyWords Keywords: None References: None
Problem Statement: How to improve the performance of MIMI to resolve rules faster?
Solution: When MIMI/E needs to resolve a predicate, it must find the predicate in set $PRED. This is a linear search of the set, and it is not resolved at link time; it is done every time a predicate is fired. A linear search means that it starts at the top of $PRED and walks down the set in sequential order. Therefore...
Problem Statement: To select the data I require, I must use the SELECT command multiple times. Is there a better way to do this?
Solution: In many cases, CHOOSE is preferable over SELECT because: CHOOSE is more flexible and provides greater functionality than SELECT. CHOOSE is more powerful; By executing CHOOSE once, you can select data to level of precision that would take several iterations of SELECT command. CHOOSE is faster than performing m...
Problem Statement: MIMI/E LINK and rule calling efficiency
Solution: Rules are linked prior to execution. MIMI/E performs the link step during the LINK command or when a >rulename statement is encountered. Thus, a macro calling several rules in succession (figure A) is less efficient (higher execution time) than a macro where the rules are fired by a single rule without the > ...
Problem Statement: Problem installing Sequelink Server 4.5.1 with linking option on AIX 4.3 platform
Solution: This problem occurs when there are no C compilers installed on the UNIX machine. The most logical solution is to install the 'cc' compiler, but that won't work. The 'oraxlc' shell script requires the 'xlc' compiler. As soon as 'xlc' compiler is present, the SequeLink Server installation should complete succes...
Problem Statement: Can MIMI have a single instance of a license key with multiple copies of the application?
Solution: In th ALM version, MIMI would have a single instance of a license key on a centralized server with multiple copies of the application. MIMI Classic on the other hand needs a license code at install so there is a license key for every machine MIMI is installed on. KeyWords: Keywords: None References: None
Problem Statement: Is there a list of characters that should not be used in a MIMI set code?
Solution: Unexpected behavior has been observed when some special characters are used in the code portion of key MIMI sets. It is recommended that customers avoid the following characters in the code portion of MIMI sets: ( ) & $ % + - * \ / ? : > < ! # & Other characters that could potentially cause problems include:...
Problem Statement: Dialog font is not specified correctly for Japanese characters running on WIN NT 4.0
Solution: Reselect the font in the properties window. This will rebuild the string. For example, use the Japanese font called FixedSys, which doesn't go through this aliasing system and the problem disappears on Windows NT 4.O. Another workaround is to avoid using Windows NT 4.0 if possible. Detail Explanation: The pro...
Problem Statement: Moved the ALM server to a different location and now the MIMI license key won't work.
Solution: To fix this problem, the installation needs to be redirected to the new ALM server. 1. Click on Start | Programs | AspenTech | Common Utilities | FlexLM License Management Selector. 2. Click on the first radio button which reads "Point to Aspen License Server to get a license." 3. Just below...
Problem Statement: Under certain circumstances, the BILIND table is not being cleared properly by MIMI
Solution: Under certain circumstances (i.e. when activities are deleted from the schedule), the BILIND table is not being cleared properly by MIMI. That is what a customer recently faced with his model. If this is the case, the user must verify that the entry UBI (Use BILIND as BOM) has been added to the table CMAN. He...
Problem Statement: Getting WinRPC error messages when running mimixobjects_sample1.xls in the MIMI Application Client.
Solution: There are two ways of resolving this issue: Method 1 Stop the broker and then Search for the following files in your \winnt\system32 directory and remove them: lm.dll mrcapi.dll atlm2.dll errmod.dll Then re-boot the PC and make sure the broker is running. Also make sure environment "path" contains the path ...
Problem Statement: I get an intermittent MIMI broker error message stating "Broker failed to start."
Solution: This is caused by the broker service attempting to start before the ALM services starts. Since the MIMI broker is a MIMI executable running as a service, it needs to get a licence from the ALM server. But if the broker starts before the ALM service starts, obtaining a licence from the ALM server is impossible...
Problem Statement: When MIMI starts in UNIX, you get the following error: "Error opening message file."
Solution: Confirm that the MIMIHOME environment variable is to the correct path. It should be the directory where MIMI is installed, for example, /MIMI. If MIMIHOME is set correctly, then the MIMITEXT.DATA file may be missing. (This is the file that contains all of your error messages.) Search for the file in your $MIM...
Problem Statement: Increasing the maxcount of a set results in "Case corrupted, not enough memory - reload case file."
Solution: A customer recently tried to increase the MAXCOUNT of a set to 100000 and received in the message bar the following error message: "Case corrupted, not enough memory - reload case file". This message occurs when MIMI can not allocate enough memory to hold the existing set as well as the new set it is trying t...
Problem Statement: Aspen SCM crashes immediately at startup, either when you try to open a case file, or when you simply open Aspen SCM from the Windows Start menu.
Solution: The cause of the crash may be that the FLEXlm License Management Selector utility is not correctly configured. You run this utility from the Windows Start menu: Start | Programs | AspenTech | Common Utilities | FLEXlm License Management Selector Examples of incorrect configuration can be: - You are pointi...
Problem Statement: Can I open or close an Activity Editor or the Planning Board from within a rule or macro? Is there a way to define an after-procedure for an Activity Editor?
Solution: The MIMI command to be used is S MODIFY, which is effective when the Planning Board is visible. This command, depending on the argument you supply to it, can either display the Activity Editor, if not already visible, or close it removing it from view. The syntax in the first case is: S MODI[FY] ind where: in...
Problem Statement: Why is $BATCH failing when it runs in batch mode but not if it is run from the command line? $BATCH probably expects certain set indexes to be established. When you load a case interactively, $LOAD$ runs and sets these indexes. Three possibilities are LANGUAGE, SCRNRES, and RBTROLES. There could be o...
Solution: ? Add the administrative parts of $LOAD$ to the beginning of $BATCH. - Include everything prior to "CAP specific functions" and "application specific functions". 1. The library manager section can be left out. 2. The special language translation section can be left out. Also... ? ...
Problem Statement: How do I take data from MIMI and place it into a text file?
Solution: There are two ways to do this: If the data is not very large, you can cut the raw data and paste it into a text file. After that, you will have to modify the text file itself to a fixed length or a comma delimited file, depending on the preference of the user. If the data is a large amount, you can use the w...
Problem Statement: I have used underscores in the names of my MIMI dialog objects before without any problems. However, sometimes my dialogs do not appear, or just the title bar appears when I use underscores in object names. What is causing this and how can I fix it?
Solution: There is nothing wrong in using underscores for object names in MIMI dialogs, as long as you are careful not to use extensions on resources where it is not intended. For example, the name "PB_APPLY" is okay because "PB" is not a resource type - "PUSHBUTTON" is. However, when you use "LABEL_SOMETHING" or "TEXT...
Problem Statement: SELECT (syntax for selecting set data) runs too slow in my MIMI rule.
Solution: If you have a rule containing SELECT statements and you think it is taking too much time to run (for example you can see that through the MARK TIME command), then you may want to check the MAXCOUNT of the CHOOSE set. If it is unnecessarily big, then your SELECT will run at a considerably lower speed if you de...
Problem Statement: MIMI splash screen won't disappear when loading MIMI 6.x and higher.
Solution: This problem is a result of using the COMBINED option in the FlexLM License Management Selector. To get around this, use one of the following 2 work arounds. If you are using ALM: Click on Start --> Programs --> AspenTech --> Common Utilities --> FlexLM License Management Selector. Click on the first radio bu...
Problem Statement: Unable to open or create scratch file CMP 1216.scr when running CMPRCASE utility.
Solution: By default, the CMPRCASE utility writes out its scratch file to the c:\ drive even if the utility does not reside on that drive. In the case where users are locked out of the c:\ drive for security purposes, CMPRCASE will still try to create a scratch file on the c:\ drive. It is possible to redirect the CMPR...
Problem Statement: Why do I get error message "CNTLINV contains wrong entries" ?
Solution: Under certain circumstances, error message "CNTLINV contains wrong entries" (see Fig 1) may pop up when attempting to invoke the Inventory Grid (Planning Board / Options / Inventory Grid). FIG 1 To avoid this problem, please verify the two following items: Do not use another set to display the list of the inv...
Problem Statement: Why should you check the flag "Force installation of all core components" in MIMI installation?
Solution: All Aspen products install common third party tools as core components. This allows them to be shared among the products and tracked properly by the master installer. The idea of having check box "Force installation of all core components" in MIMI installation is to save installation time. For instance if a c...
Problem Statement: How can a user have multiple languages selected and not face the Planning Board issue as described in Tech Tip 105030 ?
Solution: In a previous Tech Tip (105030), we described the problem of the multiple languages selection that causes the Planning Board to be empty after installing MIMI on Windows 2000 and how to resolve the problem by deselecting the languages from the Registry Settings or the Regional Options. However, users who indi...
Problem Statement: Does MIMI add to Win.ini, System.ini, Autoexec.bat or Config.sys files?
Solution: MIMI does not add to Win.ini, System.ini, Autoexec.bat or Config.sys files. But it does install .DLL's to the WINNT\SYSTEM32 folder. KeyWords: Keywords: None References: None
Problem Statement: How to configure an ODBC driver to work with MS Access
Solution: The steps below are based on using Windows 2000 Professional. These steps may vary slightly depending on your operating system. From the Start | Settings | Control Panel Select Administrative Tool Select Data Source (ODBC) Click System DSN Tab then click Add tab Select the correct ODBC driver (e.g. MS Acc...
Problem Statement: The cas2dat utility is hanging during the process.
Solution: To find out which set or table is causing the process to hang, perform the following steps: From a DOS prompt, execute cas2dat until it hangs and then press Ctrl-C to break out of the process. Open the *.dat file and scroll to the bottom of the file. The last set or table listed is usually what's causing cas2...
Problem Statement: When I enter PROCNAME on the command line, I get the error message "PROCNAME has not been defined."
Solution: The problem is due to one of the causes described below. In most of the cases you need to re-install MIMI to solve it. First of all you have to be sure that you chose the "Server Install" and not the "Standard Install" option when installing MIMI. Otherwise, you will not have Distributed MIMI functionalities,...
Problem Statement: My company is moving to a Windows XP managed environment. Does AspenTech provide an msi file for the installation of MIMI in such an environment?
Solution: AspenTech does not currently support the msi format at this time. The msi format is the installation file format used by the Microsoft Windows Installer. AspenTech has a development project to eventually migrate all AspenTech installations to the msi format, but have not determined when or how long it will ta...
Problem Statement: If MIMI doesn't start and returns a memory exception error from Windows, you may need to manually install the NobleNet Portmapper Utility. This condition is a chain reaction when the broker is not running because the NobleNet Portmapper is not installed properly. Typically, this utility may need to b...
Solution: Before you begin this procedure, we assume that MIMI has already been installed and the MIMI Request Broker and the Noble Net Portmapper are not running. Using Windows Explorer, browse to the "C:\Program Files\Common Files\AspenTech Shared\Portmapper" directory. Execute the portint.exe program. Select the "In...
Problem Statement: Receiving the error "Licensing to run MIMI is not available" when starting MIMI.
Solution: Go to Control Panel | System Click on the Advanced tab and then the Environment Variables button. Click on New button (below System variables) and enter the variable: FLEXLM_DIAGNOSTICS On the next field, enter 1 Run MIMI again and it should generate a FlexLM error message about the system clock being set or ...
Problem Statement: You may want to have - in just one page - a comprehensive list of the sets and tables required for Aspen SCM Demand Management command DMDRP. Here is one that you may not have found in the official documentation.
Solution: DMDRP is a full featured Distribution Requirements Planning (DRP) calculator that processes the DEMI, DEMF, RECI, and RECF tables and performs the necessary DRP calculations to project replenishment orders at each warehouse and source. It considers the lead time from one location to another, the reorder point...
Problem Statement: How do I set up backup ALM 3.0 servers and the workstations to access them in case of failure of the primary ALM server?
Solution: Step 1: Install the secondary and tertiary ALM server on the desired servers and bring them online. Step 2: Go to the MIMI workstations, click on Start | Programs | Aspentech | Common Utilities | and click on "FLEXlm License Management Selector." A window should now appear. On the 3rd quadrant of the window, ...
Problem Statement: I get the error message "unable to obtain license" when I start MIMI.
Solution: Potential causes for this error are: This error message is indicative of MIMI unable to lease a license from the Aspen License Manager server. This usually happens when there are more MIMI users trying to use MIMI than there are licenses. Also, this error can happen if a user downloads only one license for u...
Problem Statement: "Error in I2C Function" while running CAS2DAT.
Solution: The I2C error can be caused by one of several reasons: If you are trying to run a cas2dat on a file that is already in a DATA format, you will get this error. If the version of cas2dat is too old or too new in comparison to the version of the case file. If there is so much corrupt data in the case that the ...
Problem Statement: Is Aspen SCM supported on Windows XP SP2 ?
Solution: Aspen SCM has not been formally tested on Windows XP SP2 yet. AspenTech runs complete Aspen SCM testing on new platforms, but special considerations are generally not given for different Windows service packs. From informal testing of Aspen SCM with Windows XP SP2, initial security alerts were experienced (ma...
Problem Statement: I am getting the error message "SOURCE1 set not found" when performing a set subtraction such as TMP = TMP - CHOSEN. Do you know what causes it?
Solution: Any command that modifies the size of a set or a table will create "holes" in memory. This means that while the memory used may be well within the range available, there may not be enough contiguous memory to create the table. This will result in the application running out of memory. Saving and reloading the...
Problem Statement: What is the difference between the Application Client and Light Client?
Solution: Application Client: The MIMI case resides on a workstation or server. When the case is opened, all processing will be done on the workstation, utilizing the workstation CPU, memory, and other resources. Processing is dependent on the workstation hardware and processing power. Light Client: The MIMI case resid...
Problem Statement: How can I solve the "brand new product" Demand Management problem in Aspen SCM?
Solution: DM provides 3 formulas for forecasting new products: GOMPERTZ, SPRING, and LOGIT. Each of these do not require any observations, but you have to provide parameters which govern their shape and their asymptotic value. GOMPERTZ and LOGIT basically increase monotonically, with a possible point of inflection, unt...