question
stringlengths
19
6.88k
answer
stringlengths
38
33.3k
Problem Statement: Some customers report receiving an error within the BCU log: RetrieveAtTime : SetupForRetrieveAtTime() failed
Solution: This error message can be received when there are communication issues with the Aspen InfoPlus.21 Database, or network issues. In similar cases deleting and reloading the BCU unit has helped, other times a system reboot can help. If the BCU is running on the same machine as the Aspen InfoPlus.21 Database, the...
Problem Statement: Which character set should be used in an Oracle installation for Aspen Process Record Manager (APRM) or Aspen Audit and Compliance Manager (AACM)?
Solution: It does not matter what character set is loaded, APRM and AACM do not utilize features that depend on a particular character set. The Aspentech installations do not specify any character set and use what the server has configured. If the client and the server character sets differ from each other, Oracle conv...
Problem Statement: Sometimes you may need to retrieve a particular subset of data using the Aspen Batch.21 web service. For example, you may need to retrieve the value of the fourth instance of a characteristic for a given batch. This knowledge base article explains how to generate an XML file which can be used as an e...
Solution: The Aspen Batch.21 reporting web site is essentially a web interface which allows a user to select data to be returned, generates an XML file for this query, submits the XML to the Aspen Batch.21 server through the Aspen Batch.21 web service then displays the results. You can use the Aspen Batch.21 reporting ...
Problem Statement: How do you specify the Map record in the ATGetTrend function (Excel Add-In)?
Solution: One method is to useSolution ID 103453. However, some customers have reported getting an error (see Defect #CQ00189662). So a workaround is to manually update the formula (in the Excel fx input box) with the MAP record name as the third parameter, then hit Ctrl-Shift-Enter. Note that if you just hit Enter, yo...
Problem Statement: How to print VBA form from a command button?
Solution: If you use VBA within Process Explorer, use this code behind the command button for printing the form: Private Sub CommandButton1_Click() Application.ActiveDocument.PrintOut End Sub Keywords: print form command References: None
Problem Statement: My Aspen Process Explorer Users have noticed a setting labeled Enable Live Preview. How does this Enable Live Preview setting located in the Process Explorer Options dialog work when it is checked?
Solution: When the Enable Live Preview setting has been checked (enabled), then added preview functionality is turned on when using the changeability settings on the Plot Layout Tab which allows Process Explorer Users to see a Live Preview of changes to things like the Plot Background and Pen Colors plus the Color and ...
Problem Statement: You may have a situation where some client tools work, like SQLplus, Tag Browser, and the IP.21 Administrator. But, when you attempt to drag a tag from the Browser onto a Process Explorer trend plot, the legend will contain the message Invalid Server in the Value column.
Solution: When a tag is added to the legend of Process Explorer, it attempts to read the historical data from the InfoPlus.21 database. It uses a component called Process Data for IP.21 to read this history. This service component must be listed in the ADSA data source for history to be properly read. The service compo...
Problem Statement: This knowledge base article provides troubleshooting steps for the following error: Failed to start unit scheduling: 'B21BCU-55031: Unable to access the specified BCU data source: XXXX'
Solution: 1. Ensure that the Aspen Batch.21 data source (in the ADSA Client Config Tool) is configured properly and that a public data source is used. Sometimes deleting then re-creating the ADSA data source (even if no ADSA configuration issues are noticed) resolves the problem. 2. Ensure that the TSK_BATCH21_SERVER ...
Problem Statement: When connecting to a RDBMS DataSource, Microsoft SQL in this case, and performing searches for tags using the Aspen TagBrowser tool it returns a message: “no record has been found” when searching for tag FI110: if you try a different type of search, like FI110 Level it returns a number of tags.
Solution: In this case there were a a number of tags in the SQL database whose name started with the characters FI110, 20 of them: and upon close examination found that there was a null value in the Value Column for one of the tags in the Microsoft SQL table. This was the reason for the error message and prevented ...
Problem Statement: This Knowledge Base article shows how to resolve the following error message received when opening scheduling tables for all the areas in the system: Failed while retrying actions in RunUnsyncProc and the following error message recorded in the Batch.21 Administrator: Open failed relational database ...
Solution: Run the Database Upgrade Wizard to update your Aspen Production Record Manager database as described in the Release notes for the patch. The new database version should be 11.2.1. Keywords: Patches, error, PRM References: None
Problem Statement: This knowledge base article documents the error messages that the Aspen Batch.21 client applications will return if the Aspen Batch.21 server processes or relational database is not running.
Solution: If Aspen Batch.21 Services and Aspen BCU Service are stopped: Expanding a data source in the Aspen Batch.21 Administrator will result in the message: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it Expanding an area in the Batch.21 Admin...
Problem Statement: When opening the Aspen Production Record Manager Administrator, and then clicking on the Server Administration node, a Catastrophic failure error message is displayed:
Solution: Despite the strong wording of the error message itself, please note this is a client-side only error, and the data stored in the Batch database is not at risk of corruption. This problem can occur if: 1. There is a version mis-match between the Administrator tool on the machine where the error occurs, and the...
Problem Statement: When you use a Process Explorer Graphic to display the contents of a field, or use that field in a Process Explorer Adhoc calculation, then the syntax requires you to enter a RecordName followed by a FieldName e.g. ATCAI IP_VALUE You can even point to the first occurrence in History via for example ...
Solution: In this situation, use the IP.21 Administrator to look at the FIXED area of that record. A fixed area field such as IP_#_OF_TREND_VALUES defines the size of the in-memory history repeat area. Applications such as Process Explorer, Aspen Calc, SQL etc. can only read FieldNames that are in-memory. Therefore if ...
Problem Statement: Sometimes it is nice to see multiple trend plot blocks on one Process Explorer Display The very old GUIs that came with CIM/21 and InfoPlus-X/GCS provided these capabilities Within Aspen Process Explorer it was very difficult, but possible, to simulate this via manipulation of Microsoft Windows featu...
Solution: A demo at AspenWorld 2004 displayed the new 9 Block Trend format. AspenTech now provides a VB form that we distribute as: ?.. AspenTech\APEX\Samples\ProcessExplorer\VBForm\TrendPlots.apx This form provides the option of 9, 3, 2 or 1 block trends, with or without a legend per block. Although you may open and u...
Problem Statement: This knowledge base article provides an example Aspen SQLplus script which shows how to use the Aspen Production Record Manager Application Programming Interface (API) to retrieve the highest instance number of a given characteristic.
Solution: The following query will return the number of instances for a given characteristic. The line which returns the highest instance number is: batchlist(i).characteristics.item('PRODUCT PLANNED',-2).instance; When the characteristic is specified there is room for an optional instance number. If the instance n...
Problem Statement: I want to copy the composition from an existing stream to a new stream, but specify the flow of the new stream from a spreadsheet.
Solution: There is a workaround that will enable you to do this: Create a new stream. Attach the existing stream to a Balance unit operation. Select the Balance to be a Mole balance so that the composition from the existing stream is passed onto the new stream. Note that this also passes on the Molar Flow to the new s...
Problem Statement: This knowledge base article provides troubleshooting steps for the problem in which text within the Aspen Batch.21 web pages does not display properly. An example of this is shown below. Note: If you experience this problem using Aspen Batch.21 version 6.0.1 please try the steps in knowledge base...
Solution: Verify that the local ASPNET account has permissions to these two directories: C:\Program Files\AspenTech\Batch.21\Locale C:\Program Files\Common Files\AspenTech Shared\Apex ? Verify that the following file exists: C:\Program Files\Common Files\AspenTech Shared\Apex\atlocalization.dll ? Ve...
Problem Statement: This
Solution: outlines the details of new separately installable ODBC Driver for Aspen Production Record Manager (APRM, formerly called Batch.21) starting from V7.2.Solution Aspen Production Record Manager (APRM) V7.2 now includes an ODBC driver that makes it possible for applications like Microsoft Excel to query data fro...
Problem Statement: When stopping and trying to remove units from the BCU Scheduler table, this error appears:
Solution: This error can happen when the Designator structure is not configured correctly. Internally, Aspen Production Record Manager assigns a BatchID to each unique batch. However during configuration a Batch Designator (composed of up to five elements) is also created that becomes the standard way to refer to each ...
Problem Statement: Previous versions of HYSYS only allowed display of a single stream variable on the PFD, for instance, one could press Shift-P to show the pressures next to the streams, instead of the stream names. The ability to show more than one process variable next to the stream is desired.
Solution: Attached is a flowsheet level user variable. It updates the stream description variable with useful numbers, such as Temperature, Pressure, Mass Flow, Molar Flow, Vapour Fraction and Heat Flow. On the PFD, you can use the shift-R key to show this description as the stream label. Note that this user variable i...
Problem Statement: This knowledge base article describes how to use the Aspen Production Record Manager Application Programming Interface (API) to retrieve the characteristic value of a given instance when more than a single instance exists for a given batch.
Solution: There is an optional parameter after the characteristic name which is the instance number of the characteristic. .characteristics.item(CharacteristicName,[CharacteristicInstance]); This parameter allows the user to specify a given instance when more than a single instance exists. When this optional parameter ...
Problem Statement: This knowledgebase article provides an example program which populates a listbox in an Aspen Process Explorer VBForm with the multiple column results of an Aspen SQLplus query.
Solution: The VBA code below calls the following procedure, SelectHistory, to query the SQLplus aggregates table for data. This procedure returns 4 columns of results (avg, min, max & sum.) Note: In order to call this procedure from a VBA program, the procedure must be saved as a ProcedureDef record. PROCEDURE SelectHi...
Problem Statement: No user - whether or not an administrator - can login to Aspen Collaborative Forecasting (CF). Getting the following error:
Solution: The user that had this error had Swedish as the language set in the Control Panel. Officially, CF does not support Swedish language. The CF create_schema or cf_republish will not work in this case. TheSolution is then to switch language in the Control Panel | Regional and Language Options to a supported loc...
Problem Statement: Can I tell if any of the variables in a stream are imported into / exported from a spreadsheet?
Solution: If any of the variables in a stream is an imported variable in a spreadsheet then the Logical Ops table on the Attachments tab ... Unit Ops page of the stream window will show the spreadsheet name and cell reference. (This table also shows the connections to any other logical ops. E.g. Sets, Adjusts ...) If a...
Problem Statement: How can I change the number of columns displayed in the Workbook? It is difficult to compare certain stream variables as Hysys wraps the columns depending the size of the workbook window.
Solution: Uncheck the Horizontal Matrix checkbox at the bottom of the workbook window. This will transpose the columns and turn off the column wrapping. Keywords: Workbook, columns, wrapping References: None
Problem Statement: What does ActiveObject refer to?
Solution: The meaning of the object ActiveObject depends on what kind of User Variable / User Unit Operation you are writing: Unit Op User Variable: ActiveObject = Object variable for whatever kind of operation the user variable is associated with (eg Template = TemplateOp type object, Separator = Separator, ....) Stre...
Problem Statement: How do I get rid of the Tray sizing message that asks me if I want to use the vapour leaving tray_ instead?
Solution: On the Design Setup page of the tray sizing utility there is a drop down menu that is by default set on Ask each time. Change it to Always Yes or Always No to avoid the message coming up. Or put your utility on Ignore. Keywords: vapour to size, tray sizing, column sizing, message References: None
Problem Statement: If I have a requirement to have Windows Authentication functionality for the admin users to log into Aspen Collaborative Forecasting, how is this possible?
Solution: We don?t have CF authentication functionality developed for CF admin application at present; this comes under enhancement category. We already had CQ00432963 logged under this category and this CQ deferred until CF 9.0 release. Keywords: None References: None
Problem Statement: Automation example - Creating a case from scratch
Solution: The example code below illustrates this. To use the code: open up HYSYS, paste the code into the VBA editor in Excel, set the code to reference the required case file name, make a reference to the HYSYS type library (Tools ... Keywords: None References: s menu option in the VBA editor) and run the procedure. ...
Problem Statement: In some of the Logical Operation variable navigators (eg the Set, Adjust and Spreadsheet operations) I see many variables starting with a 'BO' prefix. What does this mean?
Solution: The 'BO' abbreviation within HYSYS stands for Black Oil, the new property package (created by Neotec) offered as an option for Upstream applications. The 'BO' prefix is used because many variables are only specific to this property package. Keywords: BO, Black Oil, Logical Operation, Set, Adjust, Spreadsheet,...
Problem Statement: You would like to have multiple instances of Collaborative Forecasting (CF) on one server.
Solution: Please follow these steps in order to create a multi-instance environment. 1. Install BEA Weblogic 10.0 as default configuration. 2. Install CF as default configuration. 3. Check the CF. Entry http://localhost:7001/cf 4. Generate a new domain for another CF. 4.1. Click the menu '...
Problem Statement: How is liquid viscosity calculated for an Oil/Water mixture?
Solution: For V(oil) > 0.5 Mu(m) = Mu(oil) * e^[3.6*(1-V(oil)] For V(oil) < 0.33 Mu(m) = [1 + 2.5 V(oil) ((Mu(oil) + 0.4 Mu(water))/(Mu(oil) + (Mu(water))] Mu(water) For 0.33 < V(oil) < 0.5, the viscosity is calculated by a weighted average between the equation for V(oil) > 0.5 and for V(oil) < 0.33: Mu(overall) = Mu(V...
Problem Statement: Is Aspen Collaborative Forecasting V7.3 compatible with Windows Server 2008 R2 Datacenter?
Solution: Please review the attached installation guide which documents the supported OS?s for CF V7.3. Windows Server 2008 R2 64 bit is not listed, so officially, this is not supported Keywords: compatibility References: None
Problem Statement: Can I access component compositions by name instead of position?
Solution: When the composition of a ProcessStream or Fluid object is obtained via Automation it returns a Variant array containing the compositions. The array runs from zero to one less than the number of components, where the value at the 0th index in the array is the composition of the first component in the componen...
Problem Statement: What does the Calculate with Every Solve option do?
Solution: Calculate with every Solve: This option is only available when Read From Flowsheet and MASSBAL are selected. When this checkbox is enabled, the solver behaves like a regular HYSYS case. That is, if there are changes upstream of the MASSBAL op, then it automatically resolves. With the box disabled, the user is...
Problem Statement: I am trying to regress my own data for a component using tabular package. However, Hysys keeps showing Non-Regressable / Cannot Regress Data message. What does this error/warning message mean?
Solution: HYSYS only has a linear regression tool in the Tabular package. Any equation form, which is either linear or can be converted to a linear form, is considered regressable. For example y = a+bx is a linear equation and y = a*x^b can be converted to a linear equation as lny = lna + blnx. Therefore, they are regr...
Problem Statement: What are the Dynamic Specs?
Solution: These are specs that need to be defined for the pressure solver to work. They are mainly pressure and/or flow specs on boundary streams. Other specs are also needed in most unit operations, but these differ based on the type of operation. For example a compressor needs two dynamic specs (similar to the steady...
Problem Statement: Can I access the Optimiser via Automation?
Solution: The Optimiser does not yet have an object in the HYSYS Object Hierachy so can't be accessed via normal OLE Automation methods. However it can be accessed via a 'Backdoor' variable method. The attached Excel file contains a VBA macro that will link to the currently open HYSYS case, it allows the Optimiser para...
Problem Statement: When I tried to re-upload a previously uploaded override file into Aspen Collaborative Forecasting (CF), I received an error message stating the file was uploaded before.
Solution: CF functionality is not designed to support repeated uploading of the same file multiple times due to data integrity constraints. The user must download the file again by enforcing new override session and creating a new file name. Once the override changes have been made the file can be upload back to CF. Yo...
Problem Statement: When I import the PIPESYS flow regime variable into the databook or the spreadsheet all I see is a number. What flow regime does this number represent?
Solution: 0 Unknown 1 Elongated Bubble 2 Plug 3 Stratified 4 Wave 5 Slug 6 Annular Mist 7 Dispersed Bubble 8 Single Phase 9 Intermittent 10 Froth 11 Bubble 12 Error 13 Undefined 14 SP-Laminar (single phase - laminar) 15 SP-Transitional (single phase - transitional) 16 SP-Turbulent (single phase - turbulent) Keywords: P...
Problem Statement: How do I determine if an object reference actually points to an object?
Solution: When an object reference is made, the reference may point to an object which does not exist. For example, when FindVariable is used to set an object reference to an object in the EDF. If there is no object (for example, when a feed stream has not been attached), then the reference points to nothing. Use the I...
Problem Statement: When logging into Aspen Collaborative Forecasting(CF) as admin and clicking on tab User manager why am I getting the following error message: Error 404--Not Found From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: 10.4.5 404 Not Found The server has not found anything matching the Request-URI. No...
Solution: In the CF database; in table cf_user_manager; in manager_id column had values 16,17 and 30 and there are no corresponding user_id?s which exists in cf_user table; this means that there were manager_id?s(16,17 and 30) but not existing user_id?s (Ex: Manager exists without exists as a employee in real life) ...
Problem Statement: How do two contractors combine their work on a heat exchanger or an air cooler if one has access to the Aspen HYSYS program only and the other has access to the STX or ACX programs only? Is there a way that they can send each other files to be incorporated into the software?
Solution: Yes, there are utility programs created for this reason. The attached STX or ACX utility program queries a Aspen HYSYS case and writes the HOT and CLD files for any of the exchangers or a HOT file for any of the coolers in the case. As there is no need for HYSYS-STX Link to use it, anyone with Aspen HYSYS can...
Problem Statement: Does Aspen HYSYS support CAPE-OPEN Thermo 1.1 interface standards?
Solution: New in Aspen HYSYS 2006.5, the new CAPE-OPEN Thermo 1.1 interface standards are supported. This support includes both plug and socket capabilities; namely a CAPEOPEN Thermo 1.1 property package can be exported from Aspen HYSYS so that it can be used in any 3rd party CAPE-OPEN Thermo 1.1 compliant Process Mode...
Problem Statement: I am upgrading HYSYS to a new version. I have property correlation sets defined and saved in the current version and I don''t want to lose them after the update. How can I migrate the correlation sets to the new version for reuse?
Solution: Property correlation sets are saved in an XML file named CorrelationSets.xml in HYSYS 3.1 or StreamCorrSets.xml in HYSYS 3.2 and 2004. The file is located in the HYSYS Support directory. If you have a new version of HYSYS installed, the file will not exist until you actually save a set. To migrate the propert...
Problem Statement: Why does my Automation code fail when I try to link to PFD objects I have just created? If you use code like: Set hyPfditem = hyPfditems.Item(An Object Name) to link to a stream or operation that you have just added to a case, then your Automation code may fail with an error code -2147467259.
Solution: This is because each time any objects are added to the PFD, HYSYS then redraws it. If code tries to link to a PFD object before HYSYS knows where it is then an error occurs. The way to prevent this is to check for this error, and if it occurs to wait and try again until an object is successfully obtained. The...
Problem Statement: How do I update or create a sales profile in Aspen Collaborative Forecasting?
Solution: You must update / add to the subroles.txt file. The subrole.txt file defines sub-roles and the attribute values associated with each one. This file consists of four columns, which you populate as follows: 1) Sub-role Code: Can be any desired text 2) Sub-role Description: Can be any desired text 3) Attribute s...
Problem Statement: Can I use Automation to access user variable values?
Solution: The .GetUserVariable method of the ProcessStream object can be used to access a user variable attached to a stream. Simply pass the user variable Tag as a parameter, and take the Variable property to return a Real Variable object. The user variable Tag is entered on the user variable code editing window and c...
Problem Statement: I get Windows Installer Error 1406 when installing the application. What do I do?
Solution: Error 1406 results from a problem with the Windows Installer Service, a Microsoft Windows feature involved with program installation. The best wyay to solve this problem is to download version 2.0 of the Windows Installer Service. For Windows 95 & 98 machines, go to: http://www.microsoft.com/downloads/details...
Problem Statement: Aspen Collaborative Forecasting (CF) offline loading may take a long time if the file is large and possibly could return with a Weblogic Server Error.
Solution: The default transaction timeout in Weblogic server is 30 seconds. This may be changed to 90 seconds as a recommendation. 1. Login to Weblogic Admin tool: http://<yourHost>:<yourPort>/console Login/password as what you saved them to be when you created the domain. (This has nothing to do with CF and is c...
Problem Statement: Any roles that are set up manually in Aspen Collaborative Forecasting (CF) get deleted from CF by the next publish/republish from Aspen Demand Manager (DM).
Solution: This is indeed working as designed. In the 2006.1 release, any roles that are set up manually in CF and are not set up in DM get deleted from CF by the next publish/republish from DM. This is a different behavior from previous versions. Previously roles could be manually set up in CF and they would persist ...
Problem Statement: How can I use my favorite Workbook setting for all of my simulation cases?
Solution: Once you have setup the Workbook the way you want for one simulation case file, you don't have to do it again for other cases. All you need to do is to save this setup and use it repeatedly for other cases. Here is the procedure to follow: Open the case file with your favorite Workbook setting. Let's call it ...
Problem Statement: How do I set up a Fired Heater in dynamics?
Solution: Typically the hardest part when setting up a fired heater in HYSYS dynamics is to get the operation to initialize on the first integration time step. The procedure outlined below will help ensure that the fired heater will initialize. Since the fired heater operation is for dynamics only, it is assumed that a...
Problem Statement: Can I bring an open case to the front within HYSYS using OLE Automation?
Solution: In the HYSYS interface if a case is open but not showing, it can be activated (brought to the front) by using the Load Workspace option on the Window menu. It is also possible to activate the case through OLE Automation. The Excel VBA code below illustrates a function that will activate (i.e. bring to the fro...
Problem Statement: Can Aspen HYSYS calculate the Methane Number of a stream?
Solution: Aspen HYSYS has no built in feature to calculate the Methane Number of a stream. The user should use a spreadsheet to calculate the methane number from an appropriate equation. If you want to calculate this number for many streams in a simulation, we would recommend programming a user variable for it (seeSolu...
Problem Statement: Why is mixer outlet stream temperature higher (or lower) than the maximum (or minimum) of its inlet streams temperature, even when all the inlet and outlet streams are at the same pressure? What did I do wrong or is it a bug in HYSYS?
Solution: The mixer outlet stream temperature can be higher (or lower) than the maximum (or minimum) of its inlet streams temperature depending on the phase equilibrium achieved after mixing the inlet streams i.e. the distribution of components in different phases at the given conditions or, in other words, on the comp...
Problem Statement: How can I model a total condenser with a water (or second liquid) draw stream? The only condenser with two liquid outlets available on the object palette of the Column Environment is a 3-phase condenser which also has a vapour outlet stream.
Solution: A total condenser with a water draw can be modelled simply by using a 3-Phase Condenser and leaving the Vapour connection empty. The attached HYSYS 3.2 case (a modification of the R-1.hsc sample case) shows this. This approach can be useful if you have a total condenser with two liquid outlets and you want to...
Problem Statement: How do I load the subrole file? If this file is not loaded correctly you may have problems like some particular users not seeing any data in the View Data filters tab, as shown in the picture below:
Solution: In theory there are two ways available to load the subrole file (subrole.txt): 1. Using the CFAdmin user interface (UI) 2. From the DOS command line, via CF Integration Due to some stability issues, it is advisable to stop using the CFAdmin UI to load the subrole file. The only way to load it should be vi...
Problem Statement: Two distinct liquid phases (liquid and aqueous) are sometimes observed for lower concentrations of TEG in water when using the PR property package in HYSYS.
Solution: The interaction parameters for TEG and water in the PR and PRSV property packages are based on data from the Union Carbide glycol handbook at 1 atm. Although the entire composition range was used in the fit, these Property Packages are more applicable to higher glycol concentrations (glycol > 80 mass%) and hi...
Problem Statement: How do I deal with multiple open cases / opening cases / closing cases via Automation?
Solution: The HYSYS Application object has an ActiveDocument property which gives a SimulationCase object for the currently active case in HYSYS (i.e. the one being displayed within the program). The SimulationCases property of the Application object gives access to a VB collection of all the currently open cases withi...
Problem Statement: When using the OLI property package, the solid unit operations palette is all greyed out, except for the simple solid separator.
Solution: This is a limitation of the OLI package, it does not currently support the solid unit operations' functionality (other than the simple solid separator). Until this functionality is added, you must use a subflowsheet approach, where the subflowsheet has a different simulation basis than the main environment. T...
Problem Statement: Do we have any report or interface in Aspen Collaborative Forecasting (CF) to find out how many users performed Forecast Signoff during a forecast horizon?
Solution: We don't have any report or interface in CF to view how many users performed forecast signoff. The only available option is manually querying CF database table. I.e. someone who acts as administrator would able to query against Collaborative Forecasting database using CF_Forecast_SignOff table. Keywords: fore...
Problem Statement: I presently have two roles in Collaborative Forecasting (CF), Sales and Admin, which write to two different data sets; Sales writes to Sales Rep Forecast data set and Admin writes to Admin Forecast data set. I would like to add a third role, Forecaster, and have that role write to the Sales Rep Forec...
Solution: There can be multiple data sets and roles established in Demand Manager/Collaborative Forecasting but a user can only have one of these roles and that one role can only write to one data set. A user cannot have multiple roles, thus he cannot write to multiple data sets. For example; in the standard CAP case f...
Problem Statement: Can I access the Stream Description property via OLE Automation?
Solution: Yes, the Stream Description property (on the Worksheet / Notes page of material streams in HYSYS 3.2+) can be accessed via Automation, however not yet via a standard property of the ProcessStream object. Currently the only way to retrieve the stream description is via a Backdoor method, this is illustrated in...
Problem Statement: How do I fix the File Not Found error when installing Oracle for Aspen Collaborative Forecasting? File not found C:\app\Administrator\Products\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em.ear. File not found
Solution: This problem is caused when you are not using the Oracle CD, but instead are using two .zip files. When you unzip the archives, you must ensure they are unzipped into one folder before installation is started. Example: Unzip files into c:\oracle\database as opposed to c:\oracle\part1\database and c:\oracle\pa...
Problem Statement: How to model a vertical vessel with weir in dyanmics?
Solution: Horizontal separators have the option of a weir, unfortunately vertical ones don't. Although vertical separators with weirs are not common, weirs and partitions are more common in column sumps, which are modeled as vertical separators in HYSYS. This article is intended to show you how to model a separator wit...
Problem Statement: Why am I getting a consistency error when I specify the inlet distribution parameters for the Horizontal Vessel Carry Over Correlations?
Solution: When specifying the d95 inlet distribution parameters you are only required to specify the following parameters: Inlet droplet, Light Liquid in gas, Heavy Liquid in gas, Gas in Light Liquid and Gas in Heavy Liquid. The Heavy Liquid in Light Liquid and Light Liquid in Heavy Liquid are calculated by HYSYS using...
Problem Statement: What does the RTI Server do?
Solution: Beginning with HYSYS 3.0, the RTI Server can be used for case linking and collaboration. Multiple HYSYS Cases can now be linked across multiple machines on a LAN or WAN. This is accomplished by linking the appropriate streams in a case with the streams of other cases. These links can be Live which means chang...
Problem Statement: In Aspen Collaborative Forecasting (CF) User Manager, there is an issue with user id being deleted when user manager is deleted. The following script is being used to create user_manager table. CREATE TABLE ASPENCMCM.CF_USER_MANAGER ( USER_MANAGER_ID NUMBER(10), USER_ID NUMBER(8) ...
Solution: You are missing one more important constraint on CF_USER_MANAGER table and needs to be added to resolve the issue. ALTER TABLE ASPENCMCM.CF_USER_MANAGER ADD ( CONSTRAINT CFC_UM_MGR_R_U FOREIGN KEY (MANAGER_ID) REFERENCES ASPENCMCM.CF_USER (USER_ID) ON DELETE CASCADE ENABLE); ...
Problem Statement: What does Aspen HYSYS do with the reference flows on the Dynamics tab | Model page of the Heat Exchanger?
Solution: The reference flows are used to change the actual UA value of the heat exchanger. The change follows a power law equation: UAdynamic = F * UAsteadystate Where: UAsteadystate = the UA value entered on the Parameters page of the Design tab. F = (2 f1 f2) / (f1 + f2) where: f1 = (mass flowrate / reference flowra...
Problem Statement: What is a radio button in HYSYS?
Solution: A radio button in HYSYS is one of those little black dots that you can check (toggle). For example, in the Fluid Package view on the Components tab, there are radio buttons for Library and Hypotheticals. Keywords: radio button References: None
Problem Statement: Are the components of Aspen Collaborative Forecasting v2006.6 suite compatible with the new version of WebLogic 10gR3 or 11gR1?
Solution: AspenTech doesn't support WebLogic Application Server versions either 10gR3 or 11gR1 for Collaborative Forecasting v2006.6 application AspenTech Collaborative Forecasting does support WebLogic Application Server version 10.0 starting from v2006.6 until V7.3 Keywords: Collaborative Forecasting WebLogic 10.0 We...
Problem Statement: For some systems, the shape of the phase envelope is often characterized as strange or unusual since it shows only a dew point line and no bubble point line and no critical point (see attached case Unusual_Shape_Env.HSC).
Solution: This shape of phase envelope is entirely expected for a system consisting primarily of non-condensable components (e.g. more than 90% C1, C2, N2, and CO2) with non-negligible amounts of heavier hydrocarbons. During the calculation of the phase envelope via the Michelsen scheme, the critical point essentially ...
Problem Statement: HYSYS has given me the message A math error has occurred in the math library, Math overflow error or A numerical error of some sort has occurred. What does this mean?
Solution: The message A math error has occurred in the math library, Math overflow error or A numerical error has occurred is shown when HYSYS has encountered some kind of numerical difficulties during calculations, for example a division by zero, square root of negative number or any other type of mathematical error. ...
Problem Statement: Does Aspen Collaborative Forecasting accept custom attribute tables other than ATT1-5?
Solution: Yes Demand Manager includes six additional attribute sets that you can use as needed including standard attribute sets. Additional Attribute Sets The Demand Manager includes six additional attribute sets that you can use as needed. You might use the additional attribute sets for attributes such as product fam...
Problem Statement: Why is my valve size in HYSYS not matching the Cv provided by my vendor for the same valve?
Solution: There is a very strong probability HYSYS and your valve vendor use totally different equations for Cv calculations. This is not a problem, as long as you keep in mind that the valve in your simulation and the real valve should match in terms of performance and not Cv. (ie. for the same flow and valve openings...
Problem Statement: For a liquid stream of liquid and aqueous phases present at stream conditions, HYSYS calculates the Liq Vol Flow @ Std Cond of the overall stream, which is not equal to the sum of the liquid and aqueous phases. Why?
Solution: All calculations for volumetric stream flows are based on density. For Liq Vol Flow @ Std Cond, the density basis is Liq Mass Density @ Std Cond. The traditional HYSYS thermo always uses the COSTALD liquid density model to calculate Liq Mass Density @ Std Cond, regardless of the property package you have chos...
Problem Statement: How does Aspen HYSYS calculate friction factor and pressure drop for single phase flow in a pipe?
Solution: Aspen HYSYS uses the Fanning Friction Factor in the Darcy equation for calculating pressure drop in single phase flow. To calculate the friction factor for both laminar and turbulent flow, the full-range, smooth-transition, direct calculation method by Churchill (Chem. Eng., p.91, Nov. 7, 1977) is used in HYS...
Problem Statement: This knowledge base article explains why BEA WebLogic Server 10.0 uninstalls when upgrading from Collaborative Forecasting (CF) 2006.6 and older versions to V7.3 and how to request BEA WebLogic Server 10.0 from AspenTech.
Solution: BEA WebLogic Server was distributed as part of the Aspen installation media through the distribution of CF V7.1, so when you uninstall a CF application older then CF V7.2, BEA WebLogic Server 10.0 will also uninstall. As of CF V7.2, BEA WebLogic Server 10.0 is no longer distributed with the AspenTech installa...
Problem Statement: After installing CF (Collaborative Forecasting), the user is unable to start the Weblogic service.
Solution: This is due to a bug with the installer adding a space to the configuration file for the Weblogic service. The user must delete the added space, save the file, and restart the service. Example. Expected: WLS_PW=password Found: WLS_PW= password Keywords: Weblogic10 References: None
Problem Statement: How do I model a thermosyphon reboiler in Steady State?
Solution: The default reboiler configuration in HYSYS is a kettle-type reboiler, however, many columns use thermosyphon reboilers in place of kettle reboilers. A thermosyphon reboiler returns a two-phase stream to the bottom of the column, and the bottoms product is drawn from the same location as the reboiler feed - t...
Problem Statement: I am trying to install HYSYS and I get Error 1311. Source file not found:.... What does this mean and how can I get around it?
Solution: Error 1311 is a Windows Installer problem. Basically, there is restricted access to the installation CD and so you're not able to access the file, even though it's there. To get around this, you'll have to copy the contents of the installation CD onto the computer harddrive (create a folder and copy the conte...
Problem Statement: How may I calculate the pH in HYSYS?
Solution: The pH is directly available in HYSYS only when the OLI-Electrolyte Property Package is used. With any other Property Package, the pH is not one of the variables available in HYSYS. As a possible workaround, the pH may be calculated in the HYSYS Spreadsheet using some assumptions. For example, theSolution pH ...
Problem Statement: Why can I not put the Tray Sizing utility into rating mode?
Solution: The calculation mode of the Tray Sizing utility (Design or Rating) is displayed in two places - On the Design tab / Setup page and on the Design tab / Specs page. In order to change the mode to rating you need to go to the Design / Specs page. Here you can also enter the geometry information needed for the ra...
Problem Statement: Why won't my stream User Variable work in dynamic mode?
Solution: In steady state mode streams have two available methods (PreExecute and PostExecute) to which user variable code can be attached. These methods are NOT called when the Integrator is running in dynamic mode. Operations also have PreExecute and PostExecute methods which are called in steady state, however they ...
Problem Statement: What is COMThermo?
Solution: Starting with HYSYS 3.0, you will find an option in HYSYS on the Fluid Package view (Set Up page) under Advanced Thermodynamics. COMThermo is a thermodynamic calculation framework, which makes it possible to develop independent, extensible, customizable, and encapsulated thermodynamic calculation modules. COM...
Problem Statement: How do I implement a Ratio Controller in Aspen HYSYS?
Solution: A ratio controller is used to maintain the ratio between two process variables fixed. For example, if you have two streams, one that is controlled (A) and the other that is uncontrolled (B). You may want to use a ratio controller to fix the ratio between A and B. The following steps illustrate how to set up a...
Problem Statement: You would like to know if you can install CF on Vista SP2, using IE8. Is this supported?
Solution: As per the Installation guide, Vista is not supported. We do support IE8, though. Keywords: None References: None
Problem Statement: Do I still need recycle operations in Dynamics?
Solution: Recycle operations are not required in dynamics because the solver is completely different than the one available in steady state and will automatically calculate any required information for recycled streams. However, if you happen to have any recycle operations left over from the steady-state case, they wil...
Problem Statement: The on/off checkbox in my pump in Aspen HYSYS is greyed out. How do I turn my pump on/off in Dynamics?
Solution: The check box is only applicable if you are using one of the following: Electric motor Speed spec Power spec If you are using the electric motor option on a pump then the only specs active should be Use characteristic curves and Electric Motor - speed will be a calculated value. The speed of the pump will be ...
Problem Statement: How does the MASSBAL solver compare to the normal HYSYS Solver?
Solution: HYSYS solves using a sequential modular solver. Unit operations must have specific degrees of freedom satisfied (specified) in order for the unit operation to solve. MASSBAL uses a simultaneous solver. In MASSBAL, a completely specified problem requires that there be no degrees of freedom remaining for the fl...
Problem Statement: Why does the forecast only show through June 2013 in Aspen Collaborative Forecasting?
Solution: This is caused when the weblogic server is hanging on a thread and not accepting any more new requests at that juncture. To resolve the problem, restart the weblogic service. Keywords: None References: None
Problem Statement: Calculation of Integral and Differential Condensation Curves in HYSYS
Solution: [Based on HTFS Handbook Datasheet CP13 Vapour Liquid Equilibrium in Condensers] Integral Condensation To calculate an integral condensation curve the bulk vapour phase at any point is considered to be in equilibrium with all of the previously formed bulk condensate. To calculate such a curve in HYSYS there ar...
Problem Statement: My Gibbs Reactor cannot solve and I get the error unknown chemical formula. Why?
Solution: The HYSYS Gibbs reactor requires known chemical formulas for all of the components involved in the simulation. This error message usually means that the atom matrix needs to be filled (Gibbs Reactor Property View, Reactions tab, Details page, Atom Matrix radio button). If you are simulating a fuel containing ...
Problem Statement: How does the Forecast SignOff feature works in Collaborative Forecasting?
Solution: Detailed instructions about Forecast Signoff feature: The My Preferences: Forecast Signoff feature enables you to manually sign off on a forecast when you have completed the collaborative forecast process for the current business cycle, or time period. The Forecast Signoff option runs independently of overrid...
Problem Statement: Aspen Collaborative Forecasting (CF) does not immediately release Tokens after logging out and closing the web client.
Solution: You must change the properties.ini on the CF server having the issue and then restart your services. ## Session timeout in minutes. Setting is valid if it is a number greater than 0. ## Anything else will be ignored and the timeout will be Weblogic's default of 60 minutes. SESSION_TIMEOUT=5 In this example, a...
Problem Statement: HYSYS is predicting two liquid phases in my stream having only hydrocarbons components, why?
Solution: One of the technical difficulties associated with flash calculations is the fact that the number of equilibrium phases is not known in advance. Unless there is a strong evidence for 3 phases, HYSYS performs a 2 phase flash calculation. The resulting phases are then tested for stability using the stability tes...
Problem Statement: Do you have a step-by-step procedure for creating a Hypothetical component?
Solution: Please review the attached document for a detailed description of creating a Hypothetical component. Keywords: Hypothetical, create References: None
Problem Statement: I'm trying to add a component and I can't find it in the component library list. What should I check?
Solution: If components are not compatible with certain property packages, Hysys will, by default, not display them. For example, if you are trying to add a ketone to a Fluid Package where you have chosen the Property Package to be the Peng Robinson equation of state, the component filter for ketones is empty. This is ...
Problem Statement: When will Aspen Collaborative Forecasting support Oracle 11g?
Solution: We are currently working to supporting Oracle 11g upgrade to CF. We expect to be able to support that in the next major release. Generally, we have been issuing quarterly supplemental product releases and we typically anticipate having a major release each year for the aspenONE suite. Keywords: None Referenc...