question
stringlengths
19
6.88k
answer
stringlengths
38
33.3k
Problem Statement: User inputs a date into the future.
Solution: In summary the history has to be removed and the new date entered. To accomplish this: Run IQ Manage, select option 4 to STOP Application Then proceed to select option 5 - IQ Context Select option 6 to delete application. Select the IQ application to delete When asked if the history file should be deleted, re...
Problem Statement: Cannot run IQ Manage since a DMCplus upgrade.
Solution: Recreate Aspen IQ MPF files by issuing the command : IQ_Manage -s 10 10 is the number of Aspen IQ applications and the number can be specified as needed. When the DMCplus software is upgraded, the MPF files are deleted and then recreated. If Aspen IQ is also on the machine, the MPF files for Aspen IQ are dele...
Problem Statement: How do I configure LDAP Authentication for a PowerCenter 8.1.1 repository for Aspen Supply Chain Connect?
Solution: To configure the LDAP authentication in PowerCenter 8.1.1 do the following: 1. Login to the PowerCenter Administration Console. 2. Select a Domain. 3. Click Properties tab. 4. Under LDAP Authentication Module Configuration enter the following details: 5. Select a Repository Service. 6. ...
Problem Statement: Type Mismatch error occurs when calling the function CreateCalcScriptParams from third party applications. In the CalcScheduler library the CalcCommands class has a method call: Function CreateCalcScriptParams(pCalcDisp As Object, AutoBindingHosts As String, pUnused, pUnbound) As Boolean Member...
Solution: The key here is that both pUnUsed and pUnbound are out parameters and defined as VARIANT*. As in any COM situation, an out pointer has to be allocated by the client. In SQLPlus, if the local variable type is not defined it will default to VARIANT. For third party applications, such as ColdFusion or SQL Server...
Problem Statement: Is Aspen IQ supported on Windows XP?
Solution: Aspen IQ 3.1, the most recent version, is not currently supported on the Windows XP platform. However, the AMS 5.0 deliverable, expected by the end of 2002 will contain Aspen IQ Desktop applications, to include Aspen IQ Config, Aspen IQ Model and Aspen IQ PowerTools that will be supported and tested in the Wi...
Problem Statement: Aspen IQ View isn't working
Solution: Typically this is because the connection to the link server has been broken or Aspen IQ has not been registered to the Dais Trader. When Aspen IQ online is started it registers itself to the Dais Trader which can be seen with the Trader Manager. User can go to the Aspen IQ / Bin directory and run IQ_Shutdown ...
Problem Statement: Do I need a new license key for Informatica when installing on a new server?
Solution: The key Aspen provides for Informatica Powercenter 8.6.1 can be transferred to a new machine with no problem. You must point to the new license either through Admin Console or upon initial installation of the product, depending on the way the server is configured. Keywords: None References: None
Problem Statement: Aspen License Manager and Aspen IQ Model have been installed and License Manager is run and provided the license key information from the certificates associated with a superpro dongle. When the AspenIQ Model application is started, it reports that it is not licensed.
Solution: Typically what has occurred is AspenIQ Model has been installed having chosen the STAND ALONE option. Generically this is interpreted to mean running locally on the installation PC not connected to the network, however it also invokes additional functionality which we do not license for. TheSolution is to uni...
Problem Statement: When trying to bind an OPC Item to an input in a calculation, the following error message is received after clicking on the Browse button.
Solution: This is due to the component used to browse the OPC server not registered as a DCOM component. 1. Open a command prompt by clicking on Start | All Programs | Accessories | Command Prompt. 2. Browse to the directory containing AspenCalcOPCBrowser.exe by issuing the following command. cd C:\Program File...
Problem Statement: Is there a limit to how much data can be loaded into an Aspen IQ Model? I have about 45 days worth of data at 10 minute intervals and it keeps stopping at a particular spot, at 58,027.
Solution: When the import of the data stops short it is typically because of some format error in the data file rather than any maximum limit. For instance, a field or delimiter in that row differs from what was specified by the format descriptor. It is recommended to examine the given row first, and assess if there is...
Problem Statement: What does Last Actual Value, Linear regression or interpolated and As specified in database means in MS Excel?
Solution: Please reference the picture below for detailed explanation. For “Last Actual Value” or it is called “Stepped”, there are actual values at point A, B, C. The value-time chart looks like a stepped ladder. To get the value at the time where the red line is, you can find the intersection in the chart. At the ...
Problem Statement: The Aspen Cim-IO Server goes into store mode and is unable to reconnect to the Aspen Cim-IO client. A message similar to following appears in the file cimio_msg.log: Thu Mar 25 2006 07:41:27 , Logged by ANYNAME on node SERVER: Recover Store File Process had error on send; listid -2103 What does this ...
Solution: In the error Store Process had error on send; listid -nnnnn - the 'nnnnn' refers to the Aspen InfoPlus.21 transfer record ID. To determine the name of the transfer record, execute the query select recid, name from all_records where recid = nnnnn This error can be caused when the transfer records are modified,...
Problem Statement: It's possible to create Aspen InfoPlus.21 database records defined by AspenCalcDef.A Each of these records has a pointer to a pre-existing Aspen Calc calculation, as well as, a Change of State (COS) activation record/field pair.A Meaning that when the field in the record defined by COS activation cha...
Solution: For these records to work successfully, an external task called TSK_CLC1 needs to be started from the Aspen InfoPlus.21 Manager.A However some users have found that the TSK_CLC1 would not stay running, and the .OUT file for the task showed: Error :A Invalid external task recordA A - 46 This was because the TS...
Problem Statement: When using Aspen's Aspen Calc product often times new formulas and calculations are created, are there any restrictions as to where to save these?
Solution: Users can save new formulas or calculations to existing or new folders, but should avoid saving these in the AspenPropertiesFlash, AspenPropertiesGeneral or AspenPropertiesToolkit libraries. These libraries are distributed with the AspenCalc product, and are not saved in the default path, C:\Documents and Set...
Problem Statement: When you add a new node in Aspen Calc, you receive the following error message: Failed to connect to server <servername>, permission denied
Solution: This is generally due to the permission settings of the DCOM object. 1. Click on Start and click on Control Panel. 2. Click on Administrative Tools and double click to launch Component Services. 3. Expand the Computers container. 4. Expand the My Computer container. 5. Expand the...
Problem Statement: Analyzer drift does not work on transformed IQ
Solution: When both analyzer and lab measurements are available for an inferential quality (IQ), it is desirable to track the drift of the analyzer from the lab value and take action if the calculated drift is too large, so that appropriate action can be taken to correct the analyzer problem. In the Aspen IQ Onlines, a...
Problem Statement: How can I correct write errors in Aspen Inferential Qualities that are intermittent and appear at different frequencies?
Solution: A recommendation for occasional Aspen Inferential Qualities write errors that are intermittent and at different frequencies, can be addressed by setting the offset time at which the prediction module and execution module run (IQ online) at different times (seconds) past the minute. They are set to the default...
Problem Statement: Aspen Calc is a product that allows creation of many different kinds of calculations, retrieving data from many different sources. A user can also execute these calculations in many different ways. Examples may be at regularly scheduled time intervals, on user request, and for events such as InfoPlus...
Solution: An installation of Aspen Calc Server will include the CalcScheduler.exe which is the 'Calculation Execution server'. Typically it is started via the Control Panel | Services applet as AspenTech Calculator Engine It has two main functions. Process the Calculation Schedule Groups and Support the Aspen Calc User...
Problem Statement: When using AspenIQ Online 6.0.1ER2 on a Win2000 machine, and attempting to save the the IQF (attached) from IQ manage generates the message Save failed. The application was deleted (not the history files), and reloaded, but the message Save failed continues to appear.
Solution: In some rare cases the iqf and/or ccf files in the ACODHome Systems folder get out of synchronization and then prevent manage from saving appliation files. It is suggested to execute the following: 1. Use the login id used to install the software and configure it (with Admin priv). 2. Use manage s...
Problem Statement: 无法运行Aspen Calc,出现如下错误:
Solution: 这是因为Aspen Calc已经在后台运行 1. 运行任务管理器. 2. 选择进程标签. 3. 选择显示所有用户的进程(Show process from all users) 4. 选择AspenCalc.exe. 5. 点击 结束进程 6. 重新运行Aspen Calc 注: 有些情况下在任务管理器中结束 AspenCalc.exe 进程后 Aspen Calc 可以运行,但是会出现闪屏。此时请确认硬盘空间是否足够,如果硬盘剩余空间较少,请尝试删除一些文件释放空间后重新运行Aspen Calc Keywords: Run-time error '5' Invalid procedure call or arg...
Problem Statement: How do you access Batch.21 characteristics from Aspen Calc?
Solution: You can access Batch.21 using a VBScript formula in Aspen Calc. This is very similar to using the Batch.21 COM objects in SQLplus. Here is an example VBScript formula: dim data_source, batchquery, batchlist, ch, i set data_sources = createobject(AspenTech.Batch21.BatchDataSources) set batchquery = data_source...
Problem Statement: Is Oracle 9 compatible with Aspen Supply Chain Connect?
Solution: ASCC web application requires Oracle 9.2.04 or later. Running earlier versions is not sufficient and can result in security issues which affecting Administration Management in the ASCC Web Application. These security issues will in turn cause errors within the ASCC application. For example: When clicking Secu...
Problem Statement: How can I reference a custom formula in an Aspen Calc Stored Calculation?
Solution: The following examples demonstrate how custom formulas using single, multiple, and special character tags can be referenced in an Aspen Calc Stored Calculation. ** Important: ThisSolution assumes that the user has a basic understanding of how to create a formula. For more detail on how to create a formula, ...
Problem Statement: Will Informatica Powercenter run in a VMWare environment? Is such an environment supported by Informatica?
Solution: As of the latest 9.1.x release Virtual Server environment is officially supported by Informatica. It will run in this environment, but you apparently pay a 10 - 20 % performance hit under virtual machines. Keywords: Informatica VM SAP References: None
Problem Statement: In CalcScript create this simple series of statements: A=16 B=32 C=A/B Hit the Next button and click Execute in Test mode. Note that the result is C=0, instead of the expected result of, C=0.5
Solution: This result occurs because Aspen Calc defaults to Integer division when only integers are involved as input. Add a .0 to each constant value to force floating point division. Repeating the above steps then give these results: A=16.0 B=32.0 C=A/B Hit the Next button and click Execute in Test mode. Note that th...
Problem Statement: When using the Thermosiphon application in Aspen Plate Fin Exchanger program, the default option for the Thermosiphon calculation is 'Find extra inlet head or pr.drop' (Input | Exchanger Geometry | Thermosiphons | Thermosiphon Definition tab). This technical
Solution: explains the calculations performed, and where to view the related results from outputs. Solution On Input | Exchanger Geometry | Thermosiphons | Thermosiphon Definition tab, by default it is 'Find extra inlet head or pr.drop' that is selected for Thermosiphon calculation. With this specification, the program...
Problem Statement: Sometimes with a two stream exchanger, one stream may be located in one set of parallel layers, whilst the other stream is located in two such sets, with the sets in parallel. This can often be done with cross flow exchangers as shown in Figure 1, where the blue stream is located in two parallel lay...
Solution: If the two sets of layers are not interleaved, as shown in the two figures above, then a workaround is to model as two separate exchangers for each series set and include a corresponding fraction of layers of the other stream. Solve for the first set of layers and then use the outlet conditions from the firs...
Problem Statement: If the following error occurs when starting the Aspen Calc user interface, this is an indication that Aspen Calc is not communicating with the data server: Attempting communication with the data server on node: xxxx (where xxxx is the name of your server) Attempting communication with data server on ...
Solution: Check the data server to verify it is running and the Aspen Calc server has network access to it. If the data server and connection check out then stop and restart the AspenTech Calculator Engine service. Keywords: calc calculator engine References: None
Problem Statement: In MS Excel all of the Aspen Process Data COM Add-In functions are responding with the message: Error:Server Unavailable ( InvalidProperties ) Error ( IP.21 is not currently running on 'SYSTEM B' or is not accessible from 'SYSTEM B' ) You have checked your Aspen InfoPlus.21 (IP.21) database and it is...
Solution: This problem has been seen when the ADSA data source includes the Aspen Process Data Service. With this in place the Process Data functions interact with the Aspen Process Data Service registered on the IP.21 server. For unknown reasons it very occasionally fails, responding with the above errors. A reboot of...
Problem Statement: After a system shutdown or reboot, temporary files created by the Calc Scheduler may be left in the \temp directory.
Solution: Those files are named ~DFxxxx where xxx is a hexadecimal number. The files vary in size. An ordinary shutdown removes those files. Those types of files may also be generated by applications other than Aspen Calc and you may not be able to delete them if they are in use. Also, if the AspenTech Calculator Engin...
Problem Statement: What is the default engineering password for Aspen Inferential Quality Builder View?
Solution: aspentech Alternatively, the password is located in the registry key: HKLM\Software\Aspentech\Aspen APC Builder\Version\IQview\. For example: Keywords: References: None
Problem Statement: How do I restore a new Aspen Calc schedule group after rebooting the server?
Solution: Aspen Calc stores scheduling groups in the file schedules.atc. See our knowledge base article 130209 for the location of Aspen Calc related files. If Aspen Calc cannot update schedules.atc, newly added schedule groups will be lost when you restart the Aspen Calc server. Make sure the Read Only attribute of sc...
Problem Statement: On some systems, when working in Aspen Calc installed on a client machine, moving calculations from the IP.21 server to the clients (using drag and drop) works fine, but when trying to move calculations from any client to the server, you will get the following error message: Not authorized to create,...
Solution: describes how to solve this problem. Solution The above-mentioned error message only appears when Local Security is not set up for Aspen Calc. The Aspen Calc server will only allow users on the same machine to perform secured actions (such as creating a calculation). There are no restrictions on reading calcu...
Problem Statement: Sometimes it is useful to have Aspen Calc execute a calculation when a tag has reached a certain value. For example, a user may need a calculation to be executed when a pH value has reached a certain level. This knowledgebase article will describe how to configure Aspen Calc to execute calculations b...
Solution: ThisSolution will require the use of Aspen Calc's event-driven calculation feature. The Aspen Calc on-line help states that a calculation can be set to execute when the value of a specified record is none, all, >0, <0, =0, <>0, >=0 or <=0 To have a calculation execute when a predefined tag value exists, we w...
Problem Statement: Past Aspen Calc product versions allowed Client Workstations to use the COM service for Aspen Calc in order to avoid having to provide a Username and Password which is required when using the Aspen Calc Engine Service. However, as of aspenONE v2006.5 this feature has been disabled and now all client ...
Solution: If you want to: 1 Register as a COM Server only CalcScheduler.exe /installdebug 2 Register as a Windows Service and COM Server CalcScheduler.exe /install 3 Remove both Windows Service and COM registration CalcScheduler.exe /remove Here are the step-by-step instructions: ? Go to the Command Prompt...
Problem Statement: This knowledge base article contains a sample VBA program which returns multiple output parameters from a calculation through the COM interface. This can be useful when the value of more than 1 output parameter (such as ReturnValue) needs to be returned to a VBA program or Aspen SQLplus script.
Solution: This program writes values to parameters b and c. It retrieves values from parameters d and e. Note: These parameters must exist in your calculation in order for this example to function correctly. Dim objCommand, objCalculation Dim CalcName As String ' Connect to Aspen Calc server server1 Set objCommand = ...
Problem Statement: The message Failed to create CalcScheduler.CalcAppCommands object may appear when clicking the 'OnDemand' button in the Aspen Calc GUI (graphical user interface). This knowledge base article describes how to troubleshoot this error message.
Solution: One should look for the *.atc files located in the following directory: For version 2006 and older: \Program Files\AspenTech\Aspen Calc\Apps\OnDemand\Calc For version 2006.5 and newer: \Documents and Settings\All Users\Application Data\AspenTech\Aspen Calc\Apps\OnDemand\Calc For version 2006.5 and newer (when...
Problem Statement: Need to start and stop the Aspen IQLinksrv without running acobase shutdown and/or acobase startup.
Solution: Download the attached Iqlinksrv.Zip file, move the 2.bat files provided into the Program Files \ Common Files \ AspenTech Shared directory. The IQLinksrv_startup.bat and IQLinksrv_shutdown.bat can be used to start or stop the IQLinksrv process. This process is required for the Dais trader to see the Aspen IQ ...
Problem Statement: Sometimes, when users try to create a calculation on the AspenCalc server, they get an 'Element not found' error message. This
Solution: explains how to overcome the above error message. Solution Users must have READ and WRITE permissions to the following directory: ..\Program Files\AspenTech\Aspen Calc\Calc Keywords: References: None
Problem Statement: After installing Aspen Calc application on the Aspen InfoPlus.21 server, the AspenCalcDef definition record may not be immediately available in the Aspen InfoPlus.21 Administrator.
Solution: The AspenCalcDef record is loaded from the aspencalc.rld file. The Aspen Calc recload file can be found in the following location: \AspenTech\Aspen Calc\Bin. To load database records from ASCII recload (.rld) files into the database: 1. Start Aspen InfoPlus.21. 2. Load the ?AspenCalc.rld? file by runn...
Problem Statement: In some cases, users can setup an Aspen Calc system to gather data, run through some calculations and then dump that information back to the OPC server. This works fine with no problem if the data has a status of good. The problem comes about if the data that does get sent back to the OPC server beco...
Solution: 1. On the first question, OPC DA does not provide a way to write a quality status with a value. 2. On the second question, you can prevent a bad value from being set to the OPC Server by testing the quality in the calculation. The following is a CalcScript example of this.: if b.status = qstatus_good ...
Problem Statement: How to get the value of a tag from 1 hour ago?
Solution: Create a formula using the Aspen Calc NOW() function and subtract 1 hour from it to get the desired timeframe, then use this formula for the T1 argument in the TagHistory function to get the desired result. My_Value=TagHistory(Tag, Now() - 1:00, Stepped) TagHistory formula description, from the Aspen Calc...
Problem Statement: Can I model a two-pass arrangement for the lube oil stream in the exchanger. The lube oil returns to top end of the exchanger after turning around at the bottom (i.e. flow from End A to B through one half of the axial flow stream, then back from End B to A in the other half).
Solution: Unfortunately, you cannot model this in Aspen Plate Fin Exchanger. Having said that, if these are single phase fluids, so the orientation of the exchanger doesn?t matter, then it can be modeled to a good approximation by imagining it is cut down the middle (at the central parting sheet), and the right hand ...
Problem Statement: How to delete Aspen Calc functions from library in IQ?
Solution: Here are the steps to delete Asepn Calc functions: 1. Open the IQF in IQconfig 2. Right click on the IC or OC module and select ?Formula Library? 3. Keep the IQconfig ?Formula Library? dialog open and start Aspen Calc UI from Start menu. 4. Select ?Formulas? in Aspen Calc UI and locate the library named IQcon...
Problem Statement: How do I resolve the following error message when executing the Enthalpy formula in Aspen Calc? Error executing calculation: Failed to find ProgID: AspenProperties.Formulae.1, in formula CALPRP at line 1, in formula PPMON_CALPRP at line 1
Solution: This error generatedA because the program failed to find AspenProperties Formulae when user execute Enthalpy formula in Aspen Calc.A To resolve this problem,A ensure Aspen Properties installed on your machine,A if Aspen Properties not installed,A please installA it to use the Enthalpy formula, otherwise the f...
Problem Statement: Aspen Calc실행시 아래와 같은 오류 발생
Solution: 본 오류는 background에서 이미 Aspen Calc 가 돌고 있기 때문입니다. 1. 작업관리자 실행 2. 프로세스 탭 선택 3. 모든 사용자의 프로세스 표시(Show process from all users)를 선택 4. AspenCalc.exe 선택 5. 프로세스 끝내기버튼 클릭. 6. Aspen Calc 다시 실행 주: 만약 작업관리자에서 AspenCalc.exe 프로세스를 끝낸후 Aspen Calc 실행은 가능한데 스플래시 화면(splash screen) 이 나타나면 드라이브의 여유공간을 확인. 만약 여유공간이 많지 않으면 파일을 삭제하...
Problem Statement: Is it possible to print from Aspen Calc?
Solution: Using the Detail Report option available in Aspen Calc version 3.0 and above, it is possible to print information or export it to another file. The Calculation Detail Report presents information about a particular calculation. That information includes the following: Calculation name (If a Calculation is stor...
Problem Statement: A COM object in Visual Basic 6 takes a maximum of 60 parameters when they are declared as individual variables S1, S2, S3, and so on... In order to increase the number of parameters that a COM object can take, they need to be declared in an array. The example below (and in the attached VBArrayTest.zi...
Solution: In the attached zip file, Vbstest.atc is the calculation, which should be copied to %ASPEN_CALC_BASE%\calc. Testlib.atc is an Aspen Calc library containing a COM object formula. This should be copied to %ASPEN_CALC_BASE%\lib. You need to register the COM object (vbarraytest.dll) using regsvr32.exe. Here is ...
Problem Statement: What is the purpose of Compute missing actuals in the Advanced Options of the Aspen Process Data Add-in?
Solution: For GetHistoricalValues, Compute missing actuals only works with multiple tags. If a tag has no actual value for a specific time, enabling Compute missing actuals will compute and insert a value into what may have otherwise been an empty cell. An example of this is shown below: (i) With Compute missing a...
Problem Statement: This example calculation script loops through the array elements returned from the TagHistoryArray function, then writes each element to a file. Note: Loops can only be used from formulas written in VBScript (select VBScript as the formula type in the Aspen Calc New Formula dialog box to create a VBS...
Solution: 'Use an AspenCalc array function in VBScript to return an array of data to AspenCalc returnvalue = TagHistoryArray.function(Tag,5/5/2005 15:00:00,5/5/2005 15:20:00,10,0, 0) 'Open a file for array element output CONST OpenFileForWriting = 2 Dim FSO Set FSO = CreateObject(Scripting.FileSystemObject) Dim TextStr...
Problem Statement: Why can't I view my calculations and schedules in Aspen Calc after an upgrade?
Solution: The ASPEN_CALC_BASE environment variable is no longer required by Aspen Calc and is not created by the installation procedure. ASPEN_CALC_BASE used to specify the base location for all Aspen Calc files including executables, calculations and formula libraries. If ASPEN_CALC_BASE is undefined (which is now the...
Problem Statement: How does Aspen Inferential Quality Builder (IQ) handle non-numerical lab results? When the lab returns a non-numerical value (not received, insufficient volume, etc), what happens in IQ? IQ is expecting a number to compare against the sample it is waiting for. When no number is returned, what happens...
Solution: Aspen IQ does not contain support for non-numerical lab samples. It may be possible to write DCS logic that turns this text lab sample into a code or numeric flag that IQ could read. IQ is reading the NEWLAB value as a floating point number and does not support reading text values. If you connect an ASCII t...
Problem Statement: Why is the VB goto statement not supported in Aspen Calc.
Solution: VB and VBA are different from VBScript. Aspen Calc supports VBScript which is a simpler language that doesn't support the goto statement. VBScript does support FOR, FOR EACH, DO...LOOP, IF..THEN..ELSE, WHILE and EXIT statements that can be used instead of GOTO. See: http://msdn.microsoft.com/scripting/ for mo...
Problem Statement: An Aspen Calc client can have trouble connecting to a server for several reasons. Commonly it is due to incorrect permissions with the AspenTech Calculator Engine service or with the DCOM setup. This problem can manifest in several possible error messages: Failed to connect to (node name), permission...
Solution: Here are some troubleshooting tips: 1. Check the network connection. Use the ping command at the DOS prompt with the server name. If this fails, check the physical network connection and basic network setup (under Network Properties). 2. If the ping command works check the AspenTech Calculator Engine ...
Problem Statement: This knowledge base article describes now to resolve the following error message, which may be reported when trying to bind a variable in the Aspen Calc product to an Aspen InfoPlus.21 record: Error executing calculation. Error reading InfoPlus.21 fields. InfoPlus.21 not available
Solution: This error has been reported when the Aspen AspenTech Calculator Engine service is using a different account as the one used to start the Aspen InfoPlus.21 Task Service service. Change the account used for starting the Aspen AspenTech Calculator Engine service to the same account used for starting the Aspen...
Problem Statement: How to activate an SQLplus query from AspenCalc?.
Solution: Create a new calculation, click next Select the New Formula tab, select CalcScript, and click next Type a = 1 for the CalcScript formula and click next Double click on a to get the properties dialog. Set the Bind Type to InfoPlus.21 Set the Server Name: to your IP.21 server Set the Record Name: to the QueryDe...
Problem Statement: It is possible to access both standard Aspen Calc calculations and Aspen Calc On-Demand calculations through Aspen Calc's COM interface. However, there are no examples available which illustrate how to access the On-Demand calculations in this manner. This knowledge base article provides an example w...
Solution: You can access On-Demand calculations using the CalcAppCommands object. In order to access the CalcAppCommands object you will need to add a reference to CalcScheduler as shown below. The trick behind this program is to use the SetBaseDirectory call using OnDemand as a parameter. The following Visual Basi...
Problem Statement: The Quality of an AspenCalc calculation is BAD or SUSPECT when using TagAverage function with an end time set to NOW().
Solution: The Aspen InfoPlus.21 API call that Aspen Calc uses to evaluate the TagAverage function returns a suspect status if there is not a complete set of data for the period. This is often the case if the period ends at the current time because the most recent data point will usually be older than the current time. ...
Problem Statement: How can I use the Formulas listed as AspenPropertiesFlash, AspenPropertiesGeneral, and AspenPropertiesToolkit?
Solution: Aspen Calc now offers access to the Aspen Properties general flash utility and ten select property calculations. The formula libraries to support this access are shipped by default with Aspen Calc but in order to use them, the user must have Aspen Plus or Aspen Properties installed on the target machine and a...
Problem Statement: This knowledge base article provides an example Aspen SQLplus script which uses the Aspen Calc COM objects to programmatically create an Aspen Calc calculation.
Solution: This example requires a COM reference to Aspen Calc Components as shown below: The following script can be pasted into the Aspen SQLplus Query Writer to create an Aspen Calc calculation named, calc1001. local calccmd, calc, calc3 IAtCalculation3, pUnused, pUnbound; calccmd = CreateObject('CalcScheduler.Calc...
Problem Statement: Can OPC UA server in Aspen InfoPlus.21 V8.0 allow anonymous authentication?
Solution: The Aspen InfoPlus21 OPC UA interface was specifically designed NOT to use anonymous user authentication. You would have to use OPC UA client that accepts Username and Password. Keywords: OPC UA Anonymous authentication References: None
Problem Statement: What is the supported encoding of txt files in IQmodel?
Solution: IQmodel only accepts ANSI encoded txt files. Whenever you are trying to import vectors in a txt file, make sure it has ANSI encoding and not UTF-8, as importing process will fail with this last encoding. You can check encoding in Notepad++ application. Keywords: IQmodel, txt, encoding References: None
Problem Statement: After scheduling workflows in the Powercenter Workflow Manager, where are the log files to view if the Schedulers ran successfully?
Solution: The log files can be found in the workflow monitor. This will show if the Scheduler was successful and lists any rejects. Keywords: None References: None
Problem Statement: Using the TagHistory function improperly in Aspen Calc, generates the following: error executing Calc, error executing method tag history, No history data available.
Solution: This error is generated when the time parameter has too many decimal places and can be corrected by truncating (rounding off) the decimal value of dtime. An example below illustrates the problem. Assuming a dtime of 1/1440 which in decimal, translates to 0.00069444 This result has too many decimal places and ...
Problem Statement: Where are the .atc files used by Aspen IQ applications stored?
Solution: The AspenCalcMessageLog shows: Failed to open file :\Documents and Settings\All Users\Application Data\AspenTech\Aspen Calc \Calc\IQonline_xxx.atc for Windows 2003 Server. Or Failed to open file :\ProgramData\AspenTech\Aspen Calc\Calc\IQonline_xxx.atc for Windows 2008 Server. The path is not updated, the *....
Problem Statement: Can I use AspenIQ View, when using WCF for the Production Control Web Server?
Solution: Yes, it is possible to use Aspen IQ View, even when using WCF protocol for the Production Control Web Server. The Dais Trader is used for the IQ view application. By default, it is running on the online server. This is true for version V7.2 and V7.3. V8.0 no longer includes the Dais Trader. On the Aspen I...
Problem Statement: How to add the Aspen Process Data add-in if it does not appear in the Microsoft Excel toolbar after upgrading Microsoft Office to 2007?
Solution: Microsoft office 2007 has not been tested with any versions of Aspen InfoPlus.21 (IP21) prior to 2006.5. Hence any IP21 version older than 2006.5 is unsupported with office 2007. For IP21 version 2006.5 when Microsoft Excel is upgraded from previous versions to 2007 Aspen Process Data Add-In will not appear i...
Problem Statement: A customer asks: We have spreadsheets authored in Excel 2007 that retrieves data from Aspen InfoPlus.21 using Process Data. Can we use the Microsoft Excel Services included in Microsoft Office Sharepoint 2007 to modify the calculations and display the updated results on our portal?
Solution: Unfortunately this will not work in versions of aspenONE prior to V7.3. The Excel Services cannot load workbooks that contain add-ins. This is documented by Microsoft in the following article: http://msdn.microsoft.com/en-us/library/ms496823.aspx Microsoft released Sharepoint 2010 in the meantime, but als...
Problem Statement: An Aspen Calc client is not able to connect to the Aspen Calc server running on a Windows 2003 SP1 operating system. The client receives the error:
Solution: Add the user account(s) to the Distributed COM Users group, which is installed by default as part of the Windows 2003 operating system. Keywords: Failed to connect to The remote server machine does not exist or is unavailable References: None
Problem Statement: When calculation parameters or results are bound to Aspen InfoPlus.21 tags and these tags are deleted in Aspen InfoPlus.21 and recreated again, you may not see these tags used in the calculations.
Solution: Aspen Calc calculations bind to record ID's and not record names. This means that if a record is deleted from Aspen InfoPlus.21, and another record is created using the same name, but not the same record ID then the calculation will produce an error when executed: In order to avoid this problem you need t...
Problem Statement: If you can no longer check out models or obtain versions of any of the models via the web interface, you may be experiencing a permissions issue.
Solution: In order to use Model Management to check out/in files from/to VSS, a working Windows file folder needs to be created, to hold sub-folders matching the folders at the leaf level of the project folder tree within VSS. This working Windows file folder needs to be shared out, and the Change permission on the wor...
Problem Statement: When creating a new Excel based calculation you may get the following error in a pop-up window.:
Solution: The problem is that the name of the Workbook in Excel does not match the 'Excel spreadsheet' argument in the calculation; it is not named Sheet1, for example, it's named Oxygen instead. Go to the formula and change the 'Excel spreadsheet' argument for the Calculation from Sheet1 to Oxygen, and then the ...
Problem Statement: How do I create a calculation that compares input time with current time to determine the return value?
Solution: It may be necessary to design a calculation that compares the input time with current time to determine the return value. Here is an example of an Aspen Calc formula which uses the TagHistory function that returns a history value. The formula uses an If-Then statement to compare the input time with the curr...
Problem Statement: This knowledge base article describes which Aspen Calc files should be backed up.
Solution: Here is a list of files to backup: - The Calculation files ..\AspenTech\Aspen Calc\Calc\*.atc. If using Aspen Calc folders then calculations will be in folders below \calc\ - The Library files ..\AspenTech\Aspen Calc\Lib\*.atc. - The Schedule file ..\AspenTech\Aspen Calc\Bin\Schedules.atc. - If using Aspe...
Problem Statement: Help explains how to create a COM object using Visual C++ 5.0 (or 6.0), but does not explain how to create using Visual C++ .NET.
Solution: How to create a COM object with Microsoft Visual C++ .NET 2003. 1. Start Microsoft Visual Studio .NET 2003 from the start menu. 2. Select File|New|Project. The New Project dialog box is displayed. 3. Select Visual C++ as project type and ATL project as template. 4. Enter a Project Name and select a Location t...
Problem Statement: The Aspen Calc on-line help explains how to create a COM object using Visual C++ 5.0 (or 6.0), but does not explain how to create using Visual C++ 2005. This knowledge base article provides steps to create an Aspen Calc COM object using Microsoft Visual C++ 2005.
Solution: How to create a COM object with Microsoft Visual C++ 2005. 1. Start Microsoft Visual Studio 2005 from a start menu. 2. Visual C++ 2005 should be set as the default development environment. 3. Select File|New|Project. The New Project dialog box is displayed. 4. Select Visual C++|ATL as project type and ATL pro...
Problem Statement: Can I use the Aspen Process Data Excel Add-in with SQLA tags?
Solution: Yes, starting with v7.3, the use of the Aspen Process Data Excel Add-in supports SQLA tags. Keywords: SQLA Excel Add-in References: None
Problem Statement: What does the parameters 'IsWriteEnabled' and 'IsXLWriteEnabled' mean?
Solution: The write enabled flags were created in V3 for Cim/21 to control access to who can write to Cim/21 via Aspen Process Data. The flags control normal writes and writes from within Excel (XL, Add-In). The Cim/21 and Aspen InfoPlus.21 data servers used these flags until security was implemented in Aspen InfoPlus....
Problem Statement: Installing Informatica v8.6.1 with an SAP IDOC transformation fails with the following error: ERROR : (5832 | MAPPING) : SDKS_38007 : Error occurred during [initializing] reader plug-in #300300. ERROR : (5832 | MAPPING) : SDKS_38005 : Couldn't load the library [pmidocmgrdr.dll] for plug-in #300300. E...
Solution: This error occurs when the dependent library file libsapucum.dll or librfc32u.dll is not found. To resolve this issue, you will have to install the SAP RFC SDK libraries. You must obtain these from Aspen support To install the SAP RFC SDK libraries, do the following: 1. Open the folder for the Operating...
Problem Statement: Is there any non-volatile function available for retrieving tag attribute information (such as description) into Excel ? If ATGetAttrVal is used, the repeated recalculation of Excel sheet (when the contents of some cells are changed) makes the sheet very slow.
Solution: The calculation and data reading are totally controlled by Excel. And the calculation could be controlled by Tools -> options ->Calculation but it is general setting for whole excel sheet and could not apply to specific sheet or row. Aspentech excel addins provides just a function to excel. The available work...
Problem Statement: In some cases there is a limit on the number of calculations that can be exported to XML. If that limit is reached, the following error appears Error export XML: Overflow. This limit is around 330 calculations which corresponds to the number of .atc files in folder C:\Program Files\AspenTech\Aspen Ca...
Solution: To overcome this limitation there are two possible workarounds: 1. Copy all the atc files from C:\Program Files\AspenTech\Aspen Calc\Calc to the same location on another Aspen Calc computer. 2. From Aspen Calc, create a new folder and copy all calculations into it. Then the ?Export Calculation XML? will wor...
Problem Statement: Beginning with V7.3 a new set of Aspen Process Data Excel Add-Ins were released. The main difference between them and the Aspen Process Data Excel Add-Ins released with earlier versions is that the new ones are COM Add-Ins compared to earlier versions which installed Excel Addins This article discuss...
Solution: NOTE: The COM Add-Ins are NOT supported with Excel V2003 or earlier 1. Click on the the big Office Button located in the upper left corner of the Excel window and then select 'Excel Options' button then the 'Add-Ins' choice on the left of the resulting screen. 2. In the drop down box at the bottom of the scre...
Problem Statement: This knowledge base article describes why the error message: Object Variable or With Block variable not set may appear in Aspen Calc when trying to change the Aspen InfoPlus.21 server referenced in a calculation.
Solution: This error occurs because the Aspen Calc client cannot communicate with the Aspen InfoPlus.21 server to which a calculation is bound. Check the following items to troubleshoot this error. 1. Ensure that the AspenTech Calculator Engine service is running on the new Aspen InfoPlus.21 / Aspen Calc server. 2. If ...
Problem Statement: Aspen IQ input calc module, nested loop generates parameter not used message
Solution: There are a variety of options to use while editing the calc, CalcScript does not support nested loops, VBScript however, does. When entering the IQ Calc, use the Edit button to modify the calc, then use the back button to display a list of script options. Selecting VBScript will allow the use of nested loops...
Problem Statement: Problem loading Aspen IQ models, generating difficulties with Aspen Calc
Solution: Confirm that the Aspen Calculator Engine is running, check this in the Services Panel in Administrative tools. Register the dll's identified below: cd c:\program Files\AspenTech\Aspen Calc\bin regsvr32 AtAspenCalcUtilities.dll regsrv32 CalcFunctions.dll Keywords: IQ, iqf, model, calc References: None
Problem Statement: When attempting to edit an Excel spreadsheet that has Aspen Calc calculations embedded in it, users may be notified by Microsoft Office that the spreadsheet is locked and cannot be edited. Why would this happen?
Solution: If you create a spreadsheet via Aspen Calc, it should automatically be created as a shared spreadsheet that allows multiple users to open and edit it simultaneously. However if for some reason the shared property is removed, then edits are attempted, the user will be notified that the spreadsheet is locked. T...
Problem Statement: I would like to run the ProcessData Administrator tool to perform testing, however I am unable to find the log files produced, where are these kept?
Solution: In v7.1: Under Windows XP and Windows Server 2003 these are kept here: c:\Program Files\AspenTech\ProcessData\Data\Log In v7.2 and v7.3: Under Windows XP and Windows Server 2003 these are kept here: c:\Documents and Settings\All Users\Application Data\DiagnosticsLogs\ProcessData Under Windows Vista 7 and ...
Problem Statement: A ccf files created using Inspector from Production Control Web Server (PCWS) will not contain the correct values for all user-defined entries.
Solution: A DMCplus controller monitored with AspenWatch will not have any user-defined entries historized as a default setting. This is in part due to the fixed structure of all AspenWatch records in Infoplus.21 (IP.21). However, when a controller is added or updated in AspenWatch, a text file called UserEntryTags.t...
Problem Statement: This knowledge base article describes how to configure Get transfer records to activate at specified intervals which start at a given time when asynchronous transfer is used.
Solution: Using asynchronous transfer the Get transfer record activations will occur at the interval specified in the IO_Frequency field. Moreover, the start time for this interval will be when the Get record is first activated (when the IO_RECORD_PROCESSING field of the Get transfer record is set to Yes). Therefore, i...
Problem Statement: When a Microsoft Excel spreadsheet is shared, Excel, by default, keeps a history of the changes and only writes changes back to the file when it is closed. Both of these options use memory. Using AspenCalc with Excel formulas may cause failures if available memory is at a minimum.
Solution: The way to stop Excel using up memory is to turn off these options. Open the spreadsheet in Excel. Select Tools | Share Workbook from the menu. Select the Advanced tab. Select the Don't keep change history option in the Track changes section. Select the Automatically every: option in the Update Changes sectio...
Problem Statement: After installing the client software, whenever a new calculation or On Demand calculation is created in Aspen Calc an error is received. When the Finish button is clicked to save the calculation, the following pop-up error appears: Aspen Calc Error Saving Calculation: Error Accessing IFRoot Interface...
Solution: Re-register the AtAspenCalc.dll found in C:\Program Files\Common Files\AspenTech Shared\. Stop and restart the AspenTech Calculator Engine. Keywords: References: None
Problem Statement: Encountered an unsuccessful cimio_t_api.exe on the Aspen Cim-IO client machine. Error showed on the cimio_t_api may include System Error, errno=0 No error. Corresponding cimio_t_api.exe on the Aspen Cim-IO server machine is working well. CIMIO_MSG.LOG on the Aspen Cim-IO server or the Aspen Cim-IO cl...
Solution: On the Aspen Cim-IO server computer, open CimioProperties.exe and navigate to the CIM-IO checksum tab. - Click on the <OFF> button to turn off checksum checking OR - Add the cimio-client hostname into the Excluded Nodes list. Notes: - Using cimio checksum will result in increased overheads for the cimio p...
Problem Statement: This knowledge base article describes under what conditions data can become flagged with a bad status in Aspen Cim-IO.
Solution: Note: These tests were carried out on a system enabled with Store & Forward (S&F) with a normal Get transfer record. 1. The usual cause for data being flagged with a bad status is that the bad status was assigned to the data point in the DCS or in the OPC server. The status then is carried through to Aspen ...
Problem Statement: Customer was doing an upgrade of Aspen InfoPlus.21 and for two Aspen CIM-IO components received the following error: There was a problem with launching install Aspen CIM-IO Return code is 3 The Return code is 3 is a generic error, which was traced to an incomplete copy to disk of the installation...
Solution: In general this error would be produced when there are missing components for the installation program. Using the original installation DVDs resolved the problem. Keywords: None References: None
Problem Statement: How do I assign a specific timestamp to a calculated value using an Aspen Calc calculation? What is the correct way to store the value and desired timestamp in the target record which will result in a single entry in the 1st occurrence of history?
Solution: You can use the TagSetValue function found in the Builtin function library. From the Aspen Calc online help: The TagSetValue function adds a new value to a tag. This function sets the current value of the tag if the timestamp of the value is newer than the timestamp of current value. If necessary, the timesta...
Problem Statement: A custom EIF adapter was built with V7.3 and this worked fine. However, when upgrading to V8.4 (or later) the adapter is complaining that many assemblies are missing. Why is this?
Solution: EIF V8.4 was updated from .NET 3.5 to 4.0. As .NET frameworks are not forward compatible, your application would need to be recompiled for the new environment with .NET 4.0. Note also that the assemblies have been moved from C:\Windows\assembly to C:\Windows\Microsoft.NET\assembly\GAC_MSIL Keywords: Custom E...
Problem Statement: This
Solution: discusses what to do if you get the error Failed to edit formula. Object Already Being Edited. while editing a formula in Aspen Calc.Solution When modifying a formula, Aspen Calc copies the library (<library>.atc) containing the formula to an editing folder. This error means that a copy of the library contain...
Problem Statement: What are the Units for X-axis on Bode plot?
Solution: The X-axis on the bode plot displays scaled frequency and the units for X-axis is (rad/time). For example, if xi=0.5, it means wi = 2 *pi*f = 2*pi/cycle =0.5, Then cycle = 2*pi/0.5 = 2*3.14/0.5 = 12.56 (samples) If the sampling period = 1 min, then oscillation cycle = 12.56 min; If the sampling period = 10 ...
Problem Statement: The following symptoms describe the problem. This will usually happen on a computer that just had Aspen client tools installed on it. Basically, the problem is that you cannot bind any calculations created on your local machine to any tags on any InfoPlus.21 server. The same calculations work fine af...
Solution: Check the user account used to start the AspenCalc Service on your local machine to make sure that the account has access rights to the IP.21 server. It should be a domain based account, not a local administrator account. Keywords: References: None
Problem Statement: When attempting to edit an existing calculation, the following message is displayed: Failed to edit calculation. Object Already Being Edited.
Solution: On the InfoPlus.21 Server, a file with the calculation name exists in the Folder [drive]:\Program Files\AspenTech\Aspen Calc\Calc\Edit Deleting the file resolves the problem and allows the calculation to be edited. The problem may also be related to calculations contained within subfolders of the \Program Fil...