question
stringlengths
19
6.88k
answer
stringlengths
38
33.3k
Problem Statement: The DMCplus controller turns off but the TDC controllers don't shed.
Solution: If the alarms status of the timer and on/off flag points are disabled, then the CL code will not shed the local PID controllers to the specified shed mode. They will time-out on their own at the time specified for each PID. This time is normally 2.5 times the DMCplus controller execution cycle. If it is less ...
Problem Statement: Under certain conditions, the DMCplus controller could accept a -9999 (Cimio BAD flag) and be used as a valid value for an intermittent variable and base its online calculations on this. This could occur when the analyzer update logic erroneously sets the NEWPV=1 trigger.
Solution: In previous DMCplus versions AspenTechnology stressed the use of vetted logic calculations to trigger an analyzer update (i.e. setting NEWPV=1). Under certain conditions, it was difficult for some users to always guarantee that the correct logic is used. Thus, and additional validation check has been added to...
Problem Statement: A user is unable to load a product receipt and product shipment event through EIU to an oracle database. The exact same test using Oracle export to Access, and the product event (shipment, receipt) loaded from EIU without a problem.
Solution: If we enter a valid TRAN_MODE in SHIP Via field, then the Product event can be audit successfully. See below the red circle area. For Oracle, sqlldr is used to import data to database, and we set TRAN_MODE as the last column for importing ORION_MGR_EVENT_IMPORT. If the final field in a given row of your dat...
Problem Statement: Build v1.0x.xx lets me build a CCF calculation that exceeds 180 characters (RHS) but it won't load the file again. It crashes and reports this program has performed an illegal operation. What is the problem?
Solution: updated September 2009. Applicable Release(s): Multiple Keywords: References: None
Problem Statement: DMCplus Implementation, IP-X / IP.21
Solution: Summary of recent discussions for implementing DMCplus with IP-X. When DMCplus is run against the IP-X database, DMCplus internal scheduling can be used. The database reads and writes will be asynchronous, but as long as they occur as fast as or faster than the controller runs there should be no problems. Whe...
Problem Statement: In Windows 7, when I tried to register a .dll file using the command in DOS window 'regsvr32', sometimes I get this error message, The module C:\!SUPPORT\US\OrionVb.dll was loaded but the call to DllRegisterServer failed with the error code 0x80004005.
Solution: The reason is you have to register as an administrator. You need to open a DOS window by choosing 'Run as Administrator'. The DOS window should opened as 'Administrator: Command Prompt', instead of 'C:\Windows\System32\cmd.exe', Keywords: register registering DLLRegisterServer error code 0x80004005 References...
Problem Statement: I have setup a HYSYS Dynamic Model with a compressor which has an electric motor. Why is there a negative duty warning when I lower the synchronous speed of the compressor?
Solution: In the attached case as the user can lower the synchronous speed and it causes the compressor to give a ‘compressor with Negative Duty.’ This error message is shown below: The governing energy balance equation that models the startup and shutdown of a compressor is provided within the attached HYSYS Dyn...
Problem Statement: What differentiates a Unit Parameter (type 1) event and a Unit Mode (type 2) event?
Solution: If the Value of all the Operating Parameters of the events can be any number, then it is type 1. However, if the Value of ANY parameter can be discreet values e.g. Severity of FCC can be High or Low (definitely not a number), this event is of type 2. In other words, when you create a Unit Operation event that...
Problem Statement: I need to change the control scheme during the dynamic simulation, say for example that initially one control loop is in action (say for example a pressure controller), but later another controller (e.g. a flow controller) takes control of the same valve. How can I do this?
Solution: You have two options. The first option is to run the dynamic simulation with the first PID control loop (possibly using the PIDIncr block), then pause the simulation when you need to change the scheme, and reconnect the control signal (PV in this case). Note that any change of the simulation structure during ...
Problem Statement: Sometimes it is useful to bring data from the APS database (Acces or SQL/Oracle) that it is not available through other means (E.g. #INPUT from the user workbook). A way to achieve this is by creating a connection to the database using the units workbook. In this
Solution: a VBA example is shown that brings the API gravity of the crudes to the spreadsheet INIT (Units.xlsm attached).Solution 1. Open the Units workbook and hit Alt+F11 to open Excel’s VBA. 2. Create a new Module called GetAPI 3. In order to make the connection to Access or SQL (via .dsn) the next code...
Problem Statement: CIM-IO connections to more than 1 remote OPC servers cannot be started automatically from CIM-IO for OPC version 2.0.1 according to any of the documented procedures. Also, multiple connections to a single OPC server cannot be started automatically from CIM-IO for OPC version 2.0.1 according to any of...
Solution: This document explains how multiple CIM-IO asyncdlgp processes can be automatically started up to communicate with multiple remote OPC servers. (This procedure can also be used to automatically start up multiple CIM-IO asyncdlgp processes to communicate with a single OPC server if desired This could be useful...
Problem Statement: How to set up a PC to run a TPN Server client remotely.
Solution: When the Cimio Server is installed and running on the DMCplus machine, thisSolution can be used to use the TPN Server Client. Note: The account and password of the TPN Server machine must be known so they can be set up identically on the PC. Summary: The following reSolution describes how to set up any PC to...
Problem Statement: When Aspen HYSYS Dynamics is linked with Excel using Aspen Simulation Workbook, you can create “Profile Tables” to display outputs from the simulation as a function of time. How can I change an input variable in Excel?
Solution: 1. Add a user defined variable (e.g. P/F Spec on a stream or Set Point of a controller) into the Model Variables page in the Organizer. 2. Click “Create table”. This will be a static table. 3. Create a “Profile Table” and include the same variable. 4. Change the variable in the static table. 5...
Problem Statement: Why do we provide a Kp tuning parameter instead of Kc for a Surge Controller?
Solution: Both Kc and Kp are essentially the same and follow the HYSYS PID algorithm. The surge controller acts like PID controller operations but uses the extensions of the PID algorithm to prevent the Centrifugal Compressors from surging. For instance, if the process variable (PV) is operating above a certain margin ...
Problem Statement: Dais Trader will not run. The following log file tells us the TRADER is not working on a VMS node named ALICE. The log file is: DAIS320$ROOT:[TMP.ASPENACO_ALICE_LOGS]ASPENACO_ALICE_TRADER.LOG $ Set NoOn $ IF F$MODE() .EQS. NETWORK THEN EXIT $ if f$mode() .eqs.OTHER then set noverify %SET-W-NOTSET, er...
Solution: We recommend that the Dais Trader log files get deleted. Sometimes it doesn't get shut down properly or completely and a log file gets corrupted and interferes with registration of the applications. Shut down the applications. Delete the log files at DAIS$ROOTTEMP:[ACO_hostname.location of dais log files) Res...
Problem Statement: A recommendation for handling the Blue Screen of Death (BSOD) - on a DMCplus ( or any NT ) Server
Solution: [quote from Microsoft(r) Windows(r) Platform News - 1998, Issue No. 30] FORCE WINDOWS NT TO REBOOT AFTER A CRASH If you spend any time administering Windows NT, you're far too familiar with the Blue Screen of Death (BSOD) that displays the cause of the crash and gives some information about the state of the s...
Problem Statement: %%%%%%%%%OPCOM 26-SEP-1997 04:04:01.16 %%%%%%%%% Message from user SYSTEM on CORVXG Event: Carrier Check Failure from : Node LOCAL :.CORVXG CSMA-CD Station CSMACD-1 =========================================================================
Solution: CSMA-CD is another name for Ethernet hardware protocol. A Carrier Check Failure event would suggest hardware failure detected in mid- packet. Like maybe an intermittent coax or a flakey 10BaseT port. Client changed the Vax transceiver then tested the VAX transfer across the network, this seemed to eliminate t...
Problem Statement: How can I change the time unit in a strip chart?
Solution: Go to the strip chart of interest, right mouse click on it and select Graph Control then select Time Axis and choose the Units you want to use. Keywords: Time scale, Units, strip chart References: None
Problem Statement: How do I fix the error 'User-defined type not defined' while running automation in APS?
Solution: This error can be seen if orion.tlb is not referenced correctly. In the VBA interface, select Tools | Keywords: APS automation User-defined object not defined orion.tlb References: s. In the reference window, browse to C:\Program Files (x86)\Aspentech\Aspen Petroleum Scheduler and then point to the file orio...
Problem Statement: How can I show the pressure profile of a pipe in Aspen HYSYS Dynamics?
Solution: When running an Aspen HYSYS Dynamics case we can do time profile of a variable so X axis will always be Time, you can access this trough Pipe Segment> Dynamics tab> Stripchart (see below). We cannot see other variable as a function of time and pipe length simultaneously. The changes of a specific variable at...
Problem Statement: I have an atmospheric pressure tank or CSTR in my Hysys Dynamics simulation. The feed to the tank is liquid only. Why do the pressure and temperature decrease when I decrease the liquid level (either manually or via liquid level control)? Background Aspen HYSYS considers the tank or Constantly Stir...
Solution: Add a gas or vapour feed stream to the tank or CSTR. This stream should be representative of the real operation conditions. For instance, if the vessel is open to atmosphere, a feed stream of 100% mole fraction Air component can be used. This stream can be connected to a valve (of very large Cg - so as to sim...
Problem Statement: I'm opening a Flowsheet in Edit mode. When I first open it, the font size is small: However, when I switch to Simulate mode, the font size gets larger: After this, I go back to Edit mode, and the flowsheet looks scrambled.
Solution: To fix this problem, go to View | Settings | User Settings | Font Size Factor for Flowsheet Screen and change it to a fraction (0.666 is standard). This way, the same font size will be kept throughout the modes. Keywords: References: None
Problem Statement: Collect - The end of file option for circular files frequently leads to a corrupted binary file. When eofchoice=1, the binary input file becomes a circular file. When the maximum number of samples is reached, space used to store collected data is re-used (thus limiting the size of the binary file). S...
Solution: Use eofchoice=0 for a fixed binary file size. If the chosen size becomes inadequate to hold the necessary number of samples for each tagname, start a differently named collection before the first one reaches the size limit, at which time it stops. If a fixed binary file size is not a requirement, then you sho...
Problem Statement: Finding Non-Default Values with Variable Find
Solution: The Variable Find dialog box has two new options to find: Variables and parameters whose values are not at their default Variables and parameters whose specifications are not at their default These options make it easy for you to find all changes to the default values and specifications that you have made for...
Problem Statement: *** 21-Aug-1998 01:04PM *** PATTERSON, WAYNE : 13108 *** When not using the Bridge to start up the FOXIA CimIO and instead are starting it up manually, they may need this. There are two things that can cause the large output files. One is the environment variable, CIMIO_FOXIA_NOLOGFILES, that causes ...
Solution: Keywords: References: None
Problem Statement: Using DMCplus Build, a program runtime error can occur when using the save from the File, Close, Save before Exiting prompt. Modifications since last save will be lost.
Solution: The program logic for the File Close functionality has been found to have errors. Some modifications in the CCF will trigger a runtime error when saving during the file close, ending the session without saving the file. Do not use the File Close menu option to exit the CCF. Instead, simply click on the CCF wi...
Problem Statement: UCX 4.1 ECO 6 has a problem running out of buffers to use. System Error, errno=55 no buffer space available Sat May 30 07:14:38 1998 dmc_u20fr2 Error writing list 5: IDB: IDB_Write failure: PDB: CIMIO_USR_PUT_CONNECT, Error connecting to device CIMIO_MSG_CONN_SOCK_CREATE, Error creating an outbound...
Solution: *** 05-Dec-1997 02:13PM *** PATTERSON, WAYNE :13108 *** $ set output=00:00:10 $ set verify $ set noon $ ucx show comm $ ucx show comm/memory $ ucx set comm/large_buffer=max:1600 $ ucx set config comm/large_buffer=max:1600 $ ucx show comm $ ucx show comm/memory $ exit - Keywords: References: None
Problem Statement: How can I use the ACM2004 calling convention in procedures?
Solution: We will use the example discussed inSolution 120202. Please refer to it for the beginning of the discussion. The new procedure with ACM2004 option will be modified as below: Procedure pSizeLimit2 Library: SizeLimit.dll; Call: sizelimit2; Compatibility: ACM2004; implementation: subroutine sizelimit2.f; langu...
Problem Statement: Why does my vessel outlet flow decrease when I increase the outlet nozzle diameter?
Solution: The flow rates of the vessel are determined by the Dynamic pressure-flow solver. So if there is no pressure change around the vessel, the outlet flow should not be changed. The reason why the nozzle diameter has an impact on the outlet flow rate is as follows: When the liquid product nozzle diameter changes, ...
Problem Statement: Here's a summary of which parameters are on each of the CIMIO lists and what types of points they are.
Solution: List 3 READ List - All reads (AM, PM or HW points) List 4 WRITE List - ONSTS, CURMOVE, CONSTRNT, DMCSTAT, LPTARG (AM points) List 5 LWRITE List - Controller Messages to the MAIN controller point (AM Point - Main) List 6 PWRITE List - Controller Setpoints (Regulatory control could be AM, PM or HW) List 7 AWRIT...
Problem Statement: User is running Cimio T_API to confirm connect to the data source through cimio. When running the test, he discovers that the first time through the values and retrievel are good. The rest of the values appear to be the same as the first.
Solution: Set list id = -1 This clears out the previously retrieved information and replaces it with current fresh information. Keywords: References: None
Problem Statement: When a Petroleum Supply Chain application crashes, it can be useful to send the dump file to AspenTech after the crash for further investigation. How do I create this dump file?
Solution: 1. For Aspen Petroleum Scheduler (APS), Aspen Refinery Multi-Blend Optimizer (MBO), Aspen Olefins Scheduler (AOS) and Aspen PIMS, you may see a dialog showing the reason why the application is crashing. Press the PrtScn key to caputure a screen shot to record this information. E.g. (For some other application...
Problem Statement: This knowledge base article discusses LP Errors and Co-Linearity.
Solution: LP Error Code / Explanations General Note 1: DMCplus v1.0x.xx didn't allow any LP parameter changes. General Note 2: Problem: Changing relative costs between two MVs causes the CV constraint to change from riding the limit to violating the limit. Answer: Two possibilities are that either there is a very high...
Problem Statement: How to use a custom name for OrionVB.dll
Solution: While working with multiple models, we have to be sure that we have unregistered all other orionvb dlls and register the right one required for the model. To avoid confusion, we could rename the orionvb.dll files for the different models. But we have to make sure that this dll is recompiled with the new name....
Problem Statement: Explanation on how ranking affects the LP
Solution: . LPSolution In short, the LPSolution is in two sequential parts: 1.a. Feasible by CV rank order (1 - 999). This means that lower ranks get solved first then the higher ranks are added in. At each rank, if theSolution is feasible, then the limits become hard for the next rank. If not feasible, then the violat...
Problem Statement: How can I create the dll for my procedures with Visual Studio .NET 2003?
Solution: The most simple way is to let ACM do the work. You can have ACM generate a makefile with commands to compile and link the procedure code into a dll. When Visual Studio .NET 2003 is installed correctly (accessible from the command path, or detected by ACM), it will be used to compile and link. In some cases,...
Problem Statement: When exporting a model from ACM, you might want to invoke nmake manually over the intermediate files generated by ACM in order to troubleshoot any possible errors. If the following error appears: nmake -f MakeUntitled command failed (return code 2) Is C++ (required to export compiled flowsheet) ins...
Solution: illustrates how to do this.Solution 1. In ACM go to Tools > Settings > Export Models and uncheck Delete intermediate files 2. Export your model and even if the process fails, you will notice that in the working folder some files will be generated, these contain the c++ source code and nmake script among other...
Problem Statement: What open VMS mailbox is used in v1.7 and 1.8 of the interface.
Solution: The processes use the first available mailbox when they connect. Ie. it makes the Init_for_chip() call with blank parameters, and it is assigned the first available mailbox Keywords: CIM-IO for Fisher-Rosemount CHIP mailbox References: None
Problem Statement: How do Aspen Custom Modeler and Aspen Dynamics locate custom binary files such as dynamic linked library (DLL) for procedures or simulation access extension (SAX)?
Solution: Aspen Custom Molder (ACM) and Aspen Dynamics (AD) use the same approach as all other Windows program to locate a dynamic link library (dll), details please see http://msdn2.microsoft.com/en-US/library/ms682586.aspx ACM/AD also will search in: - the folder where the dynf/acmf file is located (GUI working fol...
Problem Statement: How to configure Aspen CimIO with Store & Forward when there are multiple Chip databases and one Aspen Cim-IO client.
Solution: Example configuration using multiple chip databases with one Aspen Cim-IO client. CLIENT Services cimiochip 33000 cimiochipu1 33003 cimiochip_sc 33004 cimiochip_st 33005 cimiochip_fw 33006 According to the Aspen CimIO for Fisher Rosemount Chip user manual p.15-4 the DIOP's do not need to be defined on the c...
Problem Statement: Installation of the DMCplus 1.10.04 offlines - when we start Model we've got the message: Security module not found. Most likely, the module has been plugged in the laptop's parallel port before the installation.
Solution: Try running the keysetup utility in C:\program files\DMCplus\support. You may also need to reconfigure the port from EPP or Bidirectional to standard. This is usually done by entering the BIOS setup utility. (On some machines you press F1 or ESC during a reboot.) Keywords: DMCplus, Model, Security, Dongle, Se...
Problem Statement: After installing CIMIO for Chip on a VMS box the following error might occur when the DLGP process and DIOPS are starting up: error=11 no more processes. The write and unsol process that are configured for DIOP 1 refuse to start. The error message: Error = 11: no more processes is in the DLGP output ...
Solution: This error indicates that the VMS setup parameter for page file quotas was not large enough, which prevents CIM-IO processes from starting successfully. Since the read DIOPs start first they will use the available space, which would prevent write DIOPs from starting. To resolve this problem, in the MCR AUTHOR...
Problem Statement: What is Friction loss factor field for a compressor/Pump?
Solution: Friction loss factor is a factor parameter from the rotation mechanical energy and this is related to the rotation speed.It is used to model the rate of energy lost to mechanical efficiencies in Dynamic mode. Duty Loss to Friction = friction loss factor * speed ^2, where the speed is with the unit radians/s....
Problem Statement: How to access the 32-bit ODBC Data Source Administrator from the Start menu or Control Panel in 64-bit Windows, to create ODBC / file DSN Connection to work with Aspen Petroleum Schedular?
Solution: In 64-bit Windows, there are two ODBC Data Source Administrators: a 32-bit and a 64-bit variant. The ODBC Data Source Administrator that is directly accessible in the Control Panel, under Administrative Tools (which is located in System and Security if your Control Panel is set to view by category), is always...
Problem Statement: How can I generate the temperature profile along the separator as a function of time?
Solution: In Aspen HYSYS Dynamics you can add the variables and create a strip chart. The strip chart can be used to track historical data from a simulation and observe trends in the system behavior. If you want to know more about strip chart in HYSYS please refer the knowledge baseSolution below. How do I create a s...
Problem Statement: How can I model equilibrium reactions in a dynamic model?
Solution: The issue with equilibrium reactions is that if you attempt to model this naively, you will end up with an index>1 formulation. We can suggest three (3) ways to address this issue: One is to conceptually replace the equilibrium reactions with fast forward and reverse reactions. Another approach is based on th...
Problem Statement: I would like to set up the data reconciliation case (special type of estimation case) using scripting or automation.
Solution: Please note that the scripting for the estimation has changed for version 2004.1 and 2006, so this method cannot be applied with version 12.1. The attached example illustrates how this can be done. Set Est = Simulation Est.ResetEstimation ' Steady State Experiments SET steadystateexperiment1=Est.newexperiment...
Problem Statement: When exporting model to msi format, ACM reports compiler not found error.
Solution: Please check the following items on your system: 1. You have the environment variable VS80COMNTOOLS defined. Note, to check, go from Windows start menu,settings, control panel, system, under advanced tab, click on environment variables, you should see a list of them under system variables. Click on new ...
Problem Statement: How can I remove a variable selected on the OnLine Links feature of ACM using automation?
Solution: The documentation for the methods RemoveInputVariable and RemoveOutputVariable gives an example which is incorrect. Note that you need to know the name of the variable you want to remove. To do this, you need to keep a record of which variable is added. The attached example contains two scripts: one to setup ...
Problem Statement: Why does performing a FILE SAVE-AS to a new file name cause recently modified parameters to revert to their former values?
Solution: The changes would be overwritten if a customer: 1. rewound to a time before the changes were made. e.g. running at t=5. make tuning changes. save-as. restart 2. Load latest snapshot on opening the simulation is checked (Snapshot Manager) when the simulation is opened - the latest snapshot will overwrite the c...
Problem Statement: How to use structures with automation (VBscript or Excel macros)?
Solution: The attached example illustrates a few methods available in Aspen Custom Modeler with flowsheet scripts. - how to create a structure instance ' shows how to create a structure on error resume next application.simulation.CreateStructure AntoineData, ADtest if err.number <> 0 then application.msg err.descriptio...
Problem Statement: How is it possible to improve the execution speed of scripts or automation calls?
Solution: Using the approach of ACMObj.Application.Simulation.Flowsheet.Resolve(S1.F) as the base, accessing with ACMFlo.S1.F takes 70% of the time, and accessing with ACMFlo.Resolve(S1.F) takes just 40% of the time (where ACMFlo = ACMObj.Application.Simulation.Flowsheet). The former is an expected and documented featu...
Problem Statement: How to import depressuring utility peak flow results into Aspen Flare System Analyzer V7.3
Solution: The composition, temperature, pressure and mass flow results of the depressuring utility peak flow can be imported directly as the data for the sources in the flare system networks built in Aspen Flare System Analyzer. 1. Go to AspenOne and Select Import Sources. 2. In Import HYSYS Sources View, select Dyna...
Problem Statement: How are zwitterions defined with ENRTL-RK? Could you provide an example?
Solution: The ENRTL-RK model supports zwitterions, compounds with both positive and negative charges but net charge of zero. Zwitterions are defined as: Components of type Conventional, similar to solvents; Parameter ZWITTER set to 1; all other components in the Aspen Physical Property System default to zero for ZWITTE...
Problem Statement: How do I import Aspen HYSYS Depressuring Utility peak flow results into Aspen Flare System Analyzer V7.3?
Solution: From Aspen Flare System Analyzer V7.3, the composition, temperature, pressure and mass flow results of the depressuring utility peak flow can be imported directly as the data for the sources in the flare system networks. 1) go to AspenOne button->Import Sources->HYSYS Sources 2) Instead of choosing Stream...
Problem Statement: What is the Fix Qualities of Zero Flow Pools to Initial Values option?
Solution: This is found on the Advanced 2 tab of the Non-Linear Solver (XSLP) Settings. It is only applicable to Aspen PIMS Advanced Optimization (PIMS-AO). This setting is used to control the value of stream qualities saved in theSolution file when the stream to which they apply has a zero flow. Since there is no stre...
Problem Statement: Why does the column not converge after adding water in component list even though the fraction is zero?
Solution: The reason column doesn't converge after adding water in the component list is, because HYSYS considers water is present, even though the fraction is zero. HYSYS does it because column solves iteratively. In one iteration water flow can be zero, and in the next iteration water can be present. To keep the iter...
Problem Statement: What is the tag name addressing format for DDP (Detail Display Parameters) access?
Solution: As stated in the CIM-IO for Fisher-Rosemount CHIP Interface User's Manual, the tag name addressing format is: tagname.DDP#<DDP number> The example in the manual is correct, however some customers have had trouble because they didn't realize that the string is case sensitive. Therefore DDP must be uppercase, j...
Problem Statement: The DLGP fails to spawn the DIOPs If the current directory is not CIMIOROOT:[io.cio_fch_chp] the startup fails to start the DIOPs.
Solution: There are twoSolution to this issue. #1 Add the following statement at the sys$login:login.com file for the account that starts the cio-fch-chp interface. $!--- sys$login:login.com $! .... put the following line close to the end so that it executes last $ @dkaxxx:[cimio.commands]cimio_k_set_env.com $ ...
Problem Statement: Should the values for NB_TAGS and NB_UNSTAGS be set to reflect the number of CHIP points or IP.21 points?
Solution: The config file setting for NB_TAGS and NB_UNSTAGS is for IP.21. It creates memory to be shared by the DLGP and DIOP processes. This number is the size of shared memory the bridge allocates for tags and represents the amount of tags you wll be using from the CHIP system. The closer to the actual amount of tag...
Problem Statement: How to implement load balancing with the Aspen Cim-IO for Fisher-Rosemount Chip interface.
Solution: There are three different approaches to managing the Read DIOPs of this interface. 1. A single DIOP (no load balancing) 2. 2 to 5 DIOPs (load balancing off) 3. 2 to 5 DIOPs (load balancing on) Scenario 1: A single DIOP (by definition, no Load Balancing): If this is a small system (i.e. few tags...
Problem Statement: The documentation of software requirements for ACM model exports states that: You must have a C++ compiler?Microsoft® Visual C++ Studio Net is recommended for exporting models on machines running Microsoft Windows. Your C++ compiler must be configured so that it can be used from the command line. Ca...
Solution: We now have successfully tested Microsoft Visual C++ .NET 2003 Standard, on a Windows 2000 system, using AES 12.1.1 products. No problem occurred. Therefore, Microsoft Visual C++ .NET 2003 Standard is suitable to export models from ACM 12.1 to be used in Aspen Plus 12.1 or HYSYS 3.2. Note The C++ compiler is ...
Problem Statement: This knowledge base article describes how to interpret the data which is in a normal diop startup message. Diop messages are written to the cimio_msg.log file.
Solution: This message will be interpreted as an example. Thu Feb 22 00:34:18 2007, Logged by CIMIOCHIPW2 on node HKLAP.ASPENTECH.COM: Starting Up CIMIO CHIP WRITE DIOP Unit #2 Service:CIMIOCHIPW2 DbgLvl:0(0) Pid:4158 (0x103e) Version:@(#)REL_CIOFCHCHP_V2.3.1_EA Build Date:Nov 9 2001 22:08:18 CIM-IO Kernel Version: L...
Problem Statement: Which discretization method to use for counter current flows in partial differential equation models?
Solution: The attached example is a simple plug flow reactor with counter current cooling and shows how this can be done. The trick is to use two domains, one for each flow direction. As the discretization has to be against the flow direction, one domain will use the BFD1 method (for the process side), and the other th...
Problem Statement: You can select the units of measurement for display in Tables in Aspen Custom Modeler (ACM) that are different than the global UOM set. However, when you create a Profile Plot of a variable that has the units of measure changed, the plot reverts back to the global units for the variable. How do you c...
Solution: Unlike other types of plot changes to the display, the UOM for individual variables within the profile is not reflected in the Profile Plot. Note: If you display the Profile Plot as a Profile Table, the change in the variables UOM is displayed. You can only change the UOM for a profile variable in the plot by...
Problem Statement: Is there a library of icons for Aspen Custom Modeler models?
Solution: No, there is no official library. Attached is a zip file with a library of icons created from the icons available in Aspen Dynamics library for heat exchangers, pumps, compressors, columns, reactors, etc. You can use those icons in your simulations. To use those icons, go to the File menu, Import Types, and s...
Problem Statement: I have installed Visual Studio C++ .NET 2003 and Intel Fortran 9.0 for Aspen Custom Modeler 2006. I have also installed Visual Studio C++ 2005 for ACM 2006.5. However, when I try to compile a fortran procedure in Aspen Custom Modeler 2006.5, Aspen Custom Modeler sets up to use Visual Studio C++ 2003....
Solution: This occurs only if one of the procedures you are compiling is implemented in FORTRAN. For 2006.0, Aspen Custom Modeler invokes the batch file supplied with the intel fortran tool under c:\program files\Intel\Fortran\9.0\IA32\bin\ifortvars,bat. It is this batch file that invokes the setup of Visual Studio 200...
Problem Statement: Sometimes user needs to populate a TimeData block from Excel.
Solution: It is quite straightforward to populate a TimeData block from Excel into ACM/AD. Here is sample code: Private Sub CommandButton1_Click() Dim acmobj As Object Set acmobj = CreateObject(ACM Application) acmobj.Application.Visible = True acmobj.OpenDocument (c:\temp\acm\timedata.acmf) Set flowsheet = acmobj.Appl...
Problem Statement: This
Solution: shows a usage example of new parameter with new units used in an ACM modelSolution The sample ACM model has a new quantity Permeability and its unit of measures defined and a parameter is created to use the newly defined quantity. Open up the model; look at the code in script tts under flow sheet folder. It...
Problem Statement: Installing PIMS 2006 (v17.1) components breaks solver in Custom Modeler 2004.1 (v13.2) or other modeler based products (Aspen Dynamics, Aspen BatchSep, Aspen Chromatography, Aspen ADSIM). Installing version 2006 of Aspen Custom Modeler, Aspen Dynamics, Aspen BatchSep, Aspen Chromatography, Aspen may ...
Solution: To fix the 2004.1 version of the product, follow the procedure outlined after installing the product: 1. Click on the Windows START button 2. Click on the RUN option 3. Type in cmd in the Open text box 4. Within the DOS window type: cd c:\Program Files\AspenTech\Aspen Open Solvers 12.3...
Problem Statement: Sometimes it is desirable to call up a sub model in a loop, do some calculation and save only a subset of the results from the sub model.
Solution: Sub models such as property models are instantiated, rather than called. For example, nstage as integerparameter (3); //the length stageflashes([1:nstage]) as props_flash2; // you are declaring an array of sub models actually The instances of a sub model have their own memory allocated respectively, thu...
Problem Statement: Are there any limitations in passing string parameters to procedures?
Solution: String parameters are not limited in length in ACM. However, the length is limited when you pass a string parameter to a procedure. Only the first 39 characters will be accessible as an internal buffer of 40 characters is used internally and string uses a null character to mark its end. If you need to pass a ...
Problem Statement: I need to evaluate the sensitivities of variables with respect to some fixed or initial variables, as preparation work for estimation or optimization. How can I do that?
Solution: This example shows how this can be done using the ACM automation interface. We use Excel as a user interface for those calculations. To use the example, you need to open the spreadsheet EvalSensitivities.xls (Excel 2003). You can then set the name of the independent and dependent variables, the time step to...
Problem Statement: Is it possible to retrieve the predicted values after an estimation run?
Solution: The predicted values for the measured variables are displayed on the Estimation graphical interface on the Experiments. The predicted values are also printed to the simulation messages window. It is also possible to retrieve those data using the automation interface. The zip file attached contains two example...
Problem Statement: I am exporting a model from Aspen Custom Modeler to be used in Aspen Plus, using the model export feature. However, I am confused as the modifications made in the Aspen Custom Modeler model don't seem to be picked up correctly in Aspen Plus.
Solution: When you export a model from Aspen Custom Modeler, the installation script is automatically launched and prompts you if you want to install the model. This installation script detects if there was a previous installation of the same model. In that case, it gives you two options: Repair Remove The repair o...
Problem Statement: Where can I define my own units of measurement for Aspen Custom Modeler, Aspen Dynamics, etc?
Solution: See under Automation reference in ACM on-line help for detailled information. See alsoSolution 113152 for basic information. The purpose of this note is to explore the alternative locations where the units can be defined. The units are defined in the file OnNewDocumentScript.vb located in c:\program files\asp...
Problem Statement: How can I return analytical derivatives from a procedure?
Solution: You need to do three things. The very first one is to figure out if it is worth evaluating the derivatives in the procedure. If you see your simulation having troubles to converge (residuals getting small, but never getting lower than the tolerance, with the solver apparently running in circles) and some pr...
Problem Statement: How can we limit the number of components used for a blend?
Solution: To place a limit on the count of something in an optimization model requires us to use mixed-integer techniques. In older versions of Aspen PIMS, the modeler could build mixed-integer constraints using Table ROWS. More recently, we have added Table BLNMIP, which automates the use of mixed-integer constraints....
Problem Statement: UCX 4.1 ECO 6 has a problem running out of buffers to use. System Error, errno=55 no buffer space available Sat May 30 07:14:38 1998 dmc_u20fr2 Error writing list 5: IDB: IDB_Write failure: PDB: CIMIO_USR_PUT_CONNECT, Error connecting to device CIMIO_MSG_CONN_SOCK_CREATE, Error creating an outbound...
Solution: *** 05-Dec-1997 02:13PM *** PATTERSON, WAYNE :13108 *** $ set output=00:00:10 $ set verify $ set noon $ ucx show comm $ ucx show comm/memory $ ucx set comm/large_buffer=max:1600 $ ucx set config comm/large_buffer=max:1600 $ ucx show comm $ ucx show comm/memory $ exit - Keywords: References: None
Problem Statement: How can I use the ACM2004 calling convention in procedures?
Solution: We will use the example discussed inSolution 120202. Please refer to it for the beginning of the discussion. The new procedure with ACM2004 option will be modified as below: Procedure pSizeLimit2 Library: SizeLimit.dll; Call: sizelimit2; Compatibility: ACM2004; implementation: subroutine sizelimit2.f; langu...
Problem Statement: How to configure Aspen CimIO with Store & Forward when there are multiple Chip databases and one Aspen Cim-IO client.
Solution: Example configuration using multiple chip databases with one Aspen Cim-IO client. CLIENT Services cimiochip 33000 cimiochipu1 33003 cimiochip_sc 33004 cimiochip_st 33005 cimiochip_fw 33006 According to the Aspen CimIO for Fisher Rosemount Chip user manual p.15-4 the DIOP's do not need to be defined on the c...
Problem Statement: Installation of the DMCplus 1.10.04 offlines - when we start Model we've got the message: Security module not found. Most likely, the module has been plugged in the laptop's parallel port before the installation.
Solution: Try running the keysetup utility in C:\program files\DMCplus\support. You may also need to reconfigure the port from EPP or Bidirectional to standard. This is usually done by entering the BIOS setup utility. (On some machines you press F1 or ESC during a reboot.) Keywords: DMCplus, Model, Security, Dongle, Se...
Problem Statement: After installing CIMIO for Chip on a VMS box the following error might occur when the DLGP process and DIOPS are starting up: error=11 no more processes. The write and unsol process that are configured for DIOP 1 refuse to start. The error message: Error = 11: no more processes is in the DLGP output ...
Solution: This error indicates that the VMS setup parameter for page file quotas was not large enough, which prevents CIM-IO processes from starting successfully. Since the read DIOPs start first they will use the available space, which would prevent write DIOPs from starting. To resolve this problem, in the MCR AUTHOR...
Problem Statement: When using group decomposed solvers, are there Improvements made for performance of Exported Models?
Solution: Since version 2006.5, improvements have been made to optimize the performance for Aspen Custom Modeler models exported for use in Aspen Plus or HYSYS when using group decomposed solvers. The solvers are selected on the Block Options form, Simulation Options tab. The group decomposed solvers are DSPARSE, DLSSW...
Problem Statement: How to convert mole fractions to mass fractions?
Solution: User would to retrieve mole weights of the component list used by the model by calling built-in procedure pMolWeights. Then relate mole fraction and mass fraction with the constitutional material balance equation. Refer to the example code below as well the attached sample file, which is for V2006.5 format. M...
Problem Statement: What is the meaning of a red triangle, Simulated column in an Audit Inventory dialog box?
Solution: The red triangle in the Simulated Column indicates the Plant Value and Simulated value are different.Bolded blue text indicates values you have changed. In this example, Plant value is 5000 and Sim value is 3000. If you put same values in ORION_MGR_TNKINV_IMPORT table and try again, the red triangle goes away...
Problem Statement: Cannot run data regression with polymers. Simulation crashes.
Solution: Data regression runs cannot handle polymer components, because they do not handle polymer component attributes (e.g. SFLOW, DPN, MWN, etc.). TheSolution is to declare your polymer component as type Oligomer rather than type Polymer (this is done on the Components / Specifications form). Oligomers are similar ...
Problem Statement: On a PC with multiple instances of SQL Server installed, the second instance installed will have a slash \ character added automatically to differentiate it from the primary install. The Aspen Database Wizard cannot handle the slash character.
Solution: This is a partial work-around, that still needs developer intervention to help complete the process: This problem usually occurs when there is more than one SQL Server instance on the same box. For example, SQL Server 97 coexists with SQL Server 2000. In that case the SQL Server 2000 instance will typically b...
Problem Statement: Change the maximum point count (total number of data records) for Aspen Infoplus.21 database is described in KB000078151. If your Infoplus.21 is in a cluster, how to change the maximum point count?
Solution: Note: The Aspen IP.21 Manager is still used to configure tasks but it’s no longer used to start and stop InfoPlus.21 in a cluster. The Aspen MES Cluster Administrator should be used to start and stop InfoPlus.21 instead. 1. Go to the active Infoplus.21 server and use Aspen MES Cluster Administrator to stop ...
Problem Statement: If a particular phase is in a Not Ready state, and it is preceded by multiple conditions, how can one determine the state of those conditions, to determine why execution flow has not reached phase?
Solution: There are no API functions to do this. And as part of the design of AeBRS, all direct queries to AeBRS tables (i.e. tables that have ebr_ as part of the name) are controlled: If the query includes terms like Insert, Update, Delete, etc. they are not allowed. However Select statements are allowed. Since Condit...
Problem Statement: By design, the TRANSLATE function only pulls translations from specific language files that ship with the product. It is not possible to add your own terms to the language file without the risk of it being overwritten on a recompile or upgrade.
Solution: To add custom variables (for instance language-specific or company-specific terminology) to your AeBRS installation, there are at least two different ways to do it, either via customizing the TRANSLATE function (Method One, below), or understanding how to use the GET_CONFIG function (Method Two, below.) This ...
Problem Statement: When a unit is set to idle, the expert zeroes all the pipe flows. The reconciliation results are then saved. If the unit should not have been set to idle, you may need to go back in time to un-idle the unit. The problem is that when the Expert system re-runs the reconciliation, the pipe flows continu...
Solution: The system was not designed to pick up instances where the unit went from idle to active, so the values in the pipes do not change. Normally the values would change. If a user wants to have the system update and change the values, then they must change the raw value, run expert, then change the raw value back...
Problem Statement: Performance of the EBRS MOC modules (i.e. Orders, RPL Design, Workstation, etc.) is unacceptably slow. For example, it takes up to 10 minutes for a list of orders ready for execution to appear.
Solution: This is a problem more likely to occur when the underlying database is Oracle, for one of the following reasons: AUTO-EXTEND If the performance decrease happens gradually over time, one possibility is that the initial table size parameters in Oracle were too small. Every time an Oracle table fills its existin...
Problem Statement: This knowledge base article explains what an Entity Relationship Diagram is and how it relates to Aspen Advisor.
Solution: An Entity Relationship Diagram (ERD) is a diagram that shows tables, columns, primary (PK) or foreign keys (FK), and relationships between tables. Abbreviated ERDs for various tables can be found in the Aspen Advisor Database online .HLP file. NOTE: Aspen Advisor has no PK, or FK's defined in a database - t...
Problem Statement: I have a block of code that requests the identity of $CURRENT_USER in my Basic Phase that executes fine. However the same code when inserted into a Condition block, returns no value for $CURRENT_USER. Why?
Solution: Code that exists in condition blocks is not associated with any particular user, but instead the RPL (and is executed by the Apache Web Server on the AeBRS server, not on a workstation.) So by design, this condition-related code belong to no user. The code is evaluated for all users on the system (i.e. after ...
Problem Statement: Because the implementation of an AeBRS system requires development specific to the customer, often it is first installed in a development environment before moving to a production machine. For this reason, a set of steps must be followed to properly migrate the system.
Solution: Backup the AeBRS relational database Backup the Working and Project folders - including PROC_DESIGN and SCREENSHOT (if the screen shot feature is used) Keep a copy of the .m2r_cfg files for reference Import the original AeBRS database into the new machine Replace the Working folders with the original ones - o...
Problem Statement: Help files may fail to appear in the AeBRS client applications.
Solution: The HELP_DIRECTORY_NAME key now points to the url for the help files on the server, yet the client's config.m2r_cfg file may still have the localhost name in the key, rather than the server name. To resolve the problem, move the HELP_DIRECTORY_NAME key and its value from the config.m2r_cfg file to the path.m2...
Problem Statement: AeBRS v6, service pack 1 makes use of a new environment variable, SERVER_PROC_DESIGN, in order to determine the location of the Proc_Design directory. Unfortunately, this environment variable is not created by the service pack installation. As a result, users may see errors from the MOC, such as: E11...
Solution: There are two options for resolving issues related to the missing environment variable: Create the system environment variable SERVER_PROC_DESIGN, specifying the path to the Proc_Design folder. Note: The machine must be rebooted in order to recognize the new environment variable. -or- Open the config.m2r_cfg ...
Problem Statement: MOC fails to start up with this error: Could not find the main class
Solution: Main class not found errors reflect a problem with one of the necessary resources referenced in the AeBRS.cmd directory not being available. Open up AeBRS.cmd, located in this directory: C:\Program Files\AspenTech\AEBRS Verify that each path, for L, J and D actually exist and are mapped on the node: SET L=C:\...
Problem Statement: Get the following error message when trying to open a custom report made in AORA using Microsoft Visual Basic.
Solution: 1) Close all Microsoft Office applications 2) Navigate to C:\users\<username>\AppData\Local\Temp\Excel8.0 and delete MSForms.EXD 3) Navigate to C:\users\<username>\AppData\Local\Temp\VBE\ and delete MSForms.EXD (if it exists) 4) Microsoft visual basic should now be able to access the AORA report. Keywords: Er...