question
stringlengths
19
6.88k
answer
stringlengths
38
33.3k
Problem Statement: When you insert text in the flowsheet and click OK, Aspen HYSYS freezes and doesn't insert the text. The same happens when you have hidden objects in the flowsheet and right click to Reveal hidden objects. Also when you right click in the flowsheet to Add Workbook table.
Solution: There are two workarounds: 1. Close and reopen the Flowsheet Main tab after making the change or select another tab and go back to the Flowsheet Main tab. To reveal hidden objects, you will have to select each hidden object and close the flowsheet and open again to reveal. You will have to repeat with every h...
Problem Statement: HYSYS v8.4 is unable to install on Windows Server 2008 R2. The installer is getting the prerequisite validation for Microsoft SQL Server Express validation check.
Solution: This knowledge base describes how to successfully install aspenONE Engineering V8.4 on Windows Server 2008 R2. First, you must have administrative privileges to install successfully. Install the Microsoft SQL Server Express 2012 SP1 from the DVD v8.4 \ 3rd Party Redistributables. Then, run the HYSYS V8.4 inst...
Problem Statement: In some cases, reaction rate varies along the extent of the reaction and those changes must be accounted for. This KB article provides an example file of how you can set your dynamic simulation to change the kinetic parameters at a certain condition during the run.
Solution: The only way you can change your Power Law kinetic parameters (i.e. Activation Energy (E), the Pre-Exponential Factor (k) and the Temperature Exponent (n)) during the run of a Dynamic simulation is using tasks. To do that, you must guarantee that your syntax is correct and that your task is compile error free...
Problem Statement: When should I use the SLM Configuration Wizard (64 bit)?
Solution: The 64 bit version of the SLM Tools should be used when the application that you will be launching is a true 64 bit application. Since Aspen Basic Engineering is a 64 bit application you need the license file be located in Program Files\Common Files\Hyprotech\Shared not Program Files (x86)\Common Files\Hyprot...
Problem Statement: This knowledge base article documents what the SLM numerical error codes mean.
Solution: When running an AspenTech application, the application may generate a licensing (SLM) error and error code. Below is a full list of SLM error codes and their meaning. Error # Error Description: 1 Generic error when a license is denied by SLM server. 2 Application has not been given a name. 3 Unknown host (A...
Problem Statement: The AspenOne installation requires that the ports 5093 and 5094 (TCP and UDP) are opened so that the installer can properly connect to the SLM server to check out licenses. This Knowledge Base article shows how to make sure the required TCP / UDP ports are open.
Solution: We had a situation where a customer claimed the ports 5093 and 5094 (TCP and UDP) were open but the software couldn't find the licenses from SLM. You may use the common 'telnet' command to determine if a specific TCP port is open but it's not suitable to test UDP ports. Use the free utility iPerf.exe with the...
Problem Statement: Why is the SLM Commute Tool unable to commute a license from the license server? This problem arises when expired licenses are still being recognized as licenses on the client and/or server machines even though they are invalid. To fix this problem, the client machine and/or license server machine ne...
Solution: The following steps need to be performed on the client PC to obtain the appropriate information and then send to Technical Support so that "cleaning files" can be generated for the appropriate computer(s). The following information is required from the client machine: 1. Run the SLM Configuration Wizard to ...
Problem Statement: Dielectric constant is not listed as a property set. Is there a way to report the dielectric constant for pure components and mixtures?
Solution: Attached is an example file which demonstrates how to report the dielectric constant in the stream report. The subroutine UPDIPU is used to report the dielectric constant for a pure component (UP-2) and UPDIMX is used to report the dielectric constant for a mixture (UP-1). The pure component dielectric const...
Problem Statement: Is there any example file in MS Excel to read and write in VBA?
Solution: The attached MS Excel example file contains an example of how to read and write some data in VBA for a pump. The attributes in question are: pump’s capacity and pumping temperature. There are 7 different buttons to be used for the following purposes: Open Workspace: open the ABE workspace where the inform...
Problem Statement: How do I disable the Aspen HYSYS start page when performing memory-intensive modeling?
Solution: When HYSYS V7.3 is opened, you will see the Start Page. Navigate to Tools on the menu bar and select Preferences. Navigate to the ?Start Page? tab in Preferences views. It is the last tab. Uncheck the ?Show Start Page? box. Exit and restart HYSYS. The attached power point explains how to disable the Start Pag...
Problem Statement: 'New guard page for the stack cannot be created' when starting Aspen HYSYS. How do you resolve this error?
Solution: This error is given when the computer that is executing Aspen HYSYS does not have .Net Framework 4.0 installed. For Aspen software versions V8.0, V8.1, V8.2, and V8.3 this a prerequisite and the use of .Net Framework 4.5 on the computer will cause this error to be given. Removal of .Net Framework 4.5 will b...
Problem Statement: The Aspen HYSYS Separator contains the option to model heat loss in dynamics mode, but that feature is not available in steady state.Â
Solution: The attached unit operation is an user unit operation that performs heat loss calculations in a vessel. This extension was written in C# and the source code is attached as an example of a possible way to use C# HYSYS extensions. Use the file that corresponds to your version of Aspen HYSYS. Keywords: Heat loss...
Problem Statement: Does Aspen HYSYS calculate other components' freeze out condition other than CO2?
Solution: As of Aspen HYSYS V8.3, the "CO2 freeze out" utility has been generalized, so that it can calculate the freeze out condition for more components. The utility name is still CO2 freeze Out. The following components are available in the CO2 Freeze Out utility: Carbon Dioxide, Hydrogen Sulfide, Benzene, Toluene, ...
Problem Statement: How do I turn off the Start-up and Exchange pages in Aspen HYSYS V8.3? There is no way of turning off start-up page and Exchange in the Options menu.
Solution: You will need administrator privileges in the local computer to make the changes. 1. Open the register key editor in windows menu or type Regedit in the run window 2. Go to the HKEY_CURRENT_USER\Software\AspenTech location and create a folder name “Aspen Hysys” 3. Create a subfolder “29.0” 4. ...
Problem Statement: How do I install Aspen Engineering Products v9 on a client machine without the Aspen Properties Enterprise Database (APED) to connect to a remote APED Server?
Solution: Many customer environments do not allow installing any databases on a local user machine. These customers will maintain a central SQL Server hosting all the databases. To host a Aspen Properties database on a SQL Server for v9, please follow Article 000044681 Configure the client machine to disable local AP...
Problem Statement: How do you obtain the status of unit operation in Aspen HYSYS using VBA?
Solution: You can use the backdoor variable to obtain the status of a specific individual unit operation. The backdoor variable “Enum.1” gives the status with integer number and “Status.1” the string. The following code segments illustrate how the status can be extracted. Public Sub test() Set hyapp = CreateObject...
Problem Statement: When user add a new property in a stream result tab, user cannot find the property in Variable explorer. Let's say user added 'Higher Heating Value' for example, user may not find this value in Variable explorer.
Solution: There is a way to add the property in variable explorer, please see the followings. 1. Move to Simulation Environment > Property Sets 2. Please create new set which includes the properties you want to specify. (For this example, 'PS-1' set is created and 'Higher Heating Value(HHV-15)' is added. 2. Please g...
Problem Statement: Aspen Batch Modeler Simulation fails to initialize at total reflux. The pot geometry was set big enough to hold the initial charge.
Solution: The pot could hold all the liquid at the inlet temperature, but if you heat it up for total reflux, the liquid volume will increase and may exceed the pot volume before evaporation, which will cause a problem. To make sure this does not happen, you could use Aspen Properties and run a density analysis for the...
Problem Statement: Is your APC application compliant with industrial cybersecurity standards? Can your APC application/Monitoring Application be viewed from level 4? if so, what is the methodology
Solution: Yes, APC applications can be monitored from level 4 via a cyber secure read-only access. AspenTech has developed a Centralized Monitoring APC application in which APC information including APC parameters and KPIs are broadcasted one-way from inside the firewall (level 3/3.5) to level 4 outside the firewall. ...
Problem Statement: After an Aspen InfoPlus21 upgrade on a Subscriber system the Aspen Process Explorer Graphic fields are showing an old value or ***. When the graphic is refreshed it will show the correct current value but will revert back to an old value or ****.
Solution: If the Publisher system is replicating the IP_Value, IP_Value_Time, IP_Value_Quality fields then the *Map records on the Subscriber must be modified. The CurrentValue fields in AtMapDef records are typically set to the IP_Input fields that are not updating on the Subscriber. Therefore; the CurrentValue fiel...
Problem Statement: How do I enable Case Runner in Platinum?
Solution: Whenever a Platinum flowsheet is generated from Aspen PIMS (Auto-generated), Case Runner is automatically configured. However if a flowsheet is imported to Platinum, this flowsheet has to be linked to the right PIMS model for Platinum to work correctly. The following example illustrates this procedure The Pla...
Problem Statement: Application example of the Event Scheduler
Solution: The Event Scheduler performs a set of given tasks while a dynamic simulation is running. The tasks can be triggered by a predetermined simulation time, a logical expression, or a variable stabilizing to within a given range for a set amount of time. The Event Scheduler Manager contains all the Event Schedules...
Problem Statement: How do you model a simplified Bayer Process Digestion Circuit?
Solution: Example Files This example is delivered with Aspen Plus in the the Aspen Plus GUI directory in a sub-directory called app. Before running this application, you must copy the user-properties Fortran subroutine usrbay.f from the application directory to your working directory on the host machine. You must also ...
Problem Statement: One of the tasks almost every industry has to deal with is saturating a stream with water. This can, of course, be done manually on your Aspen HYSYS flowsheet by using a separator and adjusting the amount of water added to your stream until a very small amount of excess water is produced. Alternately...
Solution: The attached unit operation extension is an example which demonstrates how to saturate a process stream with water. Extension code has been modified to eliminate a consistency error. Saturate Extension consistency error: Extension file available in "Saturate Extension for HYSYS 2.4.1 to v2006.zip" will try to...
Problem Statement: User Variable to Calculate Analytical and Numerical Joule-Thomson coefficients
Solution: In the attached HYSYS 2.2 case the stream has two user variables to calculate the Joule Thomson coefficient. The Joule Thomson Coefficient (Alpha) can be expressed in two forms Alpha = dT/dP at constant H [Termed as Numerical in this example] or Alpha = [T (dV/dT at constant P) - v]/Cp [Termed as Analytical i...
Problem Statement: Dynamic (& Steady State) Water and Hydrocarbon Dew Point User Variable
Solution: From HYSYS 3.1 onwards the Water and Hydrocarbon dew point temperatures are calculated as part of the core HYSYS code. See the Simulation Tools \ Correlation Manager \ Gas Properties Correlation section of the HYSYS User Guide pdf manual for more details. The Gasprops extension (Solution #110060) also calcula...
Problem Statement: How do you determine the solubility of a gas in a liquid mixture?
Solution: Often you need to determine the solubility of a gas such as Nitrogen (N2) in a liquid mixture at a certain temperature and pressure. This can be easily accomplished using a FLASH2 block and a Design-Spec in Aspen Plus. The steps to build the simulation are... 1. Build a flowsheet with a FLASH2 block, ...
Problem Statement: Binary/Ternary Plot Unit Operation Extension
Solution: Generates binary plots (XY, Txy, Pxy) and ternary plots (VLE, LLE) using the 2-D plotting capability in HYSYS This contains an option to export data to a text file. Note: These examples are provided for academic purposes only and as such are not subject to the quality and support procedures of officially rele...
Problem Statement: Atom Balance User Variable
Solution: Attached is a case that uses User Variables to keep track of the number of each type of atom in each stream (moles 'C' per mole, etc). The streams in this case have one "Code Only" user var ("AtomCounter") that does the work. The counts for each element are put into "Real" user vars which are created by AtomC...
Problem Statement: Is there a way to model a condenser using a Heater or HeatX block connected to a RadFrac block using a Heat Stream? When I try to do this, the duty has the wrong sign.
Solution: The problem with using a Heat Stream connected to the RadFrac block is that the Heat Stream is calculated to balance the condensing duty. For example, if RadFrac needs -10 MMBTU/hr of cooling duty, the Heat Stream would have a positive value of 10 MMBTU/Hr. If you connect the Heat Stream directly to the Heate...
Problem Statement: How do I generate Steam Properties using automation?
Solution: The attached Excel spreadsheet example illustrates how HYSYS can be used as a calculation engine to calculate physical properties of water/steam. To use the example, load the spreadsheet and press the Steam Properties button. You are then required to specify steam conditions. Once all of the information has b...
Problem Statement: Flowsheet user variable to ignore/unignore all the utilities in a case.
Solution: The enclosed HYSYS case (saved in version 2.2 but also readable in any subsequent version) features a flowsheet user variable that allows all the utilities in the case to be quickly ignored / unignored. To use the user variable go to the Flowsheet User Variables window (Flowsheet menu/Flowsheet User Variables...
Problem Statement: How may I get a 3-Phase Distillation Column running in Dynamics?
Solution: See attached. Keywords: 3-Phase, Distillation, Column, Dynamics. References: None
Problem Statement: How may I model a Liquid-Liquid Amine Absorber?
Solution: See attached. Keywords: Liquid-Liquid, Amine, Absorber, Example, Model References: None
Problem Statement: Generic Unit Operation Extension template
Solution: The attached file contains a generic template from which to create unit operation extensions. This example demonstrates how to set the outlet stream temperature and pressure. Note This Automation application has been created by AspenTech as an example of what can be achieved through the object architecture of...
Problem Statement: How can I use a User Variable to display density in API Gravity units?
Solution: In the attached HYSYS 3.0.1 case there are two stream user variables that calculate the API Gravity of a stream; one at the stream conditions and one at standard liquid conditions (i.e. equivalent to the Aspen HYSYS 'Mass Density' and 'Liq. Mass Density (Std Cond)' properties. They use the same conversion for...
Problem Statement: Is it possible to easily calculate water content for a stream in lb of water per MMSCF?
Solution: The attached macro language editor example calculates the water content in a stream in lb of water per MMSCF. The Macro Language Editor is an interactive design environment for developing and executing macros written using WinWrap Basic, a syntax similar to Microsoft Visual Basic. For instructions on how to r...
Problem Statement: MPC used to control separator T & P
Solution: Attached is an example of the MPC controller. The process has a separator unit operation in which it is desired to control both the vessel temperature and vessel pressure by manipulating the heat input (Q-100) and the vapour flow through valve VLV-101. Setting up the problem: Since model predictive control (M...
Problem Statement: Gibbs Reactor
Solution: Attached is a simple case with a sample Gibbs reactor. In this case, an equimolar feed of C1, C2, C3, and i-C4 at 500 C and 1200 kPa is fed to a Gibbs reactor. A duty stream is connected to the reactor, with duty flow specified as zero. If you wish to fix the outlet temperature and have the duty calculated, d...
Problem Statement: Virtual Stream Extension Unit Operation version 1.1.3
Solution: This example HYSYS unit operation extension allows the user to transfer information from one stream to another creating a "Live Link" between them. It removes the need to use a Balance operation in conjunction with SET operations. Note: These examples are provided for academic purposes only and as such are no...
Problem Statement: Stream User Variable that retrieves User Property values, and could be used to implement a custom mixing rule.
Solution: The stream user variable in the attached HYSYS 2.2 case accesses the User Property data in the basis and illustrates how this can be combined to duplicate the mixing rules already present within HYSYS. This could easily be extended to implement a custom mixing rule. Also attached is an huv file that will allo...
Problem Statement: Vinyl Acetate reaction and side reaction, extension kinetic reaction examples
Solution: These example extensions illustrate how reaction unit operation extensions can be created. The Vinyl Acetate example is taken from the HYSYS Customisation Guide manual. (Section 3.8.3 in the HYSYS 2004 Documentation). Also attached is a HYSYS 2.2 example case where the extensions have been setup and linked to...
Problem Statement: How do I model entrainment in a separator?
Solution: Treatment plants that receive oil & gas through a two-phase pipeline face the problem of slugs of liquid coming through the pipeline. Slug-catchers are installed to avoid flooding the downstream equipment. One of the problems that may occur is massive entrainment of liquid with the gas phase. The control sche...
Problem Statement: In this example, a warm vapor stream containing steam, air and other components is fed into a tower and is "quenched" with a cooler stream containing water, acrylic acid and smaller amounts of other components. The reflux is this example comes from the bottom of the tower. The bottoms product stream ...
Solution: Quench Tower case, saved in 3797 (HYSYS 2.2). Keywords: Quench Tower, acrylic acid References: None
Problem Statement: </u></b> Mach number for a number of pipe sizes <b><u>
Solution: </u></b> This Macro Language Editor example calculates and displays the Mach number for a user-selected stream for a number of pipe sizes. The Macro Language Editor is an interactive design environment for developing and executing macros written using WinWrap Basic, a syntax similar to Microsoft Visual Basic....
Problem Statement: Is there a KB example to change the class of heat exchanger after it has been created?
Solution: You can use attached KB to change the class of heat exchanger after it has been created. To use this KB: -Save it under KBs folder and compile it using Rules editor - Add this KB under KBScripts in your configuration file. - Reload the workspace. - You can run this method from Aspen Basic Engineering Explorer...
Problem Statement: Is it possible to model the incineration of polymer carpet fibers?
Solution: Users can model the incineration of polymer carpet fibers made from polypropylene (PP), nylon (NYLON6) or polyvinylchloride (PVC) using Aspen Polymers. Carpets cannot be chemically recycled. Instead, they are usually burned to recover heat - the heating value of polymers is nearly as good as the oil from whic...
Problem Statement: How in HYSYS dynamics can you create flow integrators, counters or other applications that require knowing information from a previous time step (or time steps)?
Solution: Since in HYSYS dynamics all operations and streams are calculated simultaneously once per time step a loop can be created between two spreadsheet which will allow pevious time step data to be used. The trick is to export the desired variable from the first spreadsheet to the second, use the imported variable ...
Problem Statement: User Variable to change flowsheet Topology based on pump on/off status
Solution: In the attached Aspen HYSYS 3.0.1 case there is a user variable attached to the pumps that disconnects the pump product stream from the mixer specified in the uservariable "MixerName" based on the pump's on/off status. To see this working toggle either of the pumps on and off and watch the product stream conn...
Problem Statement: How to model a Hydrogen Plant - Steam Reforming?
Solution: Introduction Hydrogen production is an important part of a modern refinery. Hydro desulfurisation and Hydrocracking are major Hydrogen consumers. Disturbances in the Hydrogen production plant affect the whole refinery. A shutdown of the hydrogen plant will force the shutdown of most of the refinery. A Hydroge...
Problem Statement: Produce a list of components and their properties for a selected fluid package.
Solution: The attached Excel spreadsheet illustrates a simple Excel - HYSYS link using OLE Automation. The spreadsheet allows the user to select a fluid package in the currently open case and then will list all the components in that fluid package along with various properties (Formula, NBP, MW, Liquid Density, Tc, Pc,...
Problem Statement: Dynamic (& Steady State) Dew Point / Bubble Point User Variable
Solution: In the attached HYSYS 2.2 case the mixer operation has two user variables: ProdTatGivenVapFrac : a User Variable (Steady State and Dynamic) that calculates the temperature of the stream if it were flashed at the stream pressure to have a vapour fraction as specified in the Vapour Fraction user variable. Prod...
Problem Statement: Reformate Stabiliser
Solution: This application illustrates the use of a dynamic model to improve the control of a reformate stabiliser distillation column. The PowerPoint slideshow contains a process/problem description. The final page of the slide show contains a button which when pressed will launch Aspen HYSYS, load the case and start ...
Problem Statement: Automation Example - Transfer Assay and Blend data from Excel into HYSYS then write out Oil Manager results
Solution: The attached spreadsheet allows the user to enter Assay and Blend data into an Excel spreadsheet. Automation code is then used to create a new case in HYSYS, take the entered data from Excel and submit it into the HYSYS Oil Manager and create a new stream on the flowsheet. The Oil Manager results are then rep...
Problem Statement: Carbon Split Unit Operation Extension
Solution: The Carbon Split Unit Operation Extension analyzes a specified inlet stream, checks for hypothetical solid components with a valid coal analysis (i.e. at least one of the coal analysis points is greater than zero) and lists these solids on the input form. The user can choose to break down the hypothetical sol...
Problem Statement: Stream Multiplier Dynamic Extension Unit Operation
Solution: The attached dynamic unit operation extension allows the flow rate of a stream to be multiplied. This extension will work in both steady state and dynamics modes. Note: These examples are provided for academic purposes only and as such are not subject to the quality and support procedures of officially releas...
Problem Statement: How to Model Branched Polyesters in Polymers Plus
Solution: Adhesives, powder coatings, and other high-value polyester materials are produced by reacting bifunctional monomers with polyfunctional monomers. A wide range of materials can be produced from a few simple monomers. By manipulating the ratio of polyfunctional groups to monofunctional groups it is possible to ...
Problem Statement: How to model the caustic tower for CO2 scrubbing (sometimes called CO2 scrubber) in an ethylene process?
Solution: Attached is a backup (.bkp) file illustrating how to model CO2 scrubber in an ethylene plant A RadFrac Column is used to model the scrubber. Usually very few equilibrium stages are needed for these columns. Here 3 stages are specified. No Condenser or Reboiler is specified. The gas stream enters on the bottom...
Problem Statement: This is a very simple example of using electrolytes in Aspen Custom Modeler.
Solution: First create the Aspen Properties Plus Definition File (.appdf) using Aspen Plus. In this file select the runtype to be Properties Plus and select the components. Use the Electrolyte Wizard and/or the appropriate inserts to automatically generate the global Chemistry and Henrys Components paragraphs. Run the ...
Problem Statement: How is it possible to simulate the quench tower in an ethylene process which involves water and organic components in a liquid-liquid-vapor column?
Solution: An example file that can be opened in Aspen Plus 10.2 and higher is provided. KeyWords: Quench Ethylene Radfrac Keywords: None References: None
Problem Statement: How do I write a query that performs a specific action based on the record that activates it?
Solution: Configure a QueryDef record to activate on a change of state. Then, using Aspen SQLplus, modify the following sample query to fit your needs. -- This script will be activated by a COS tag from IP.21. The script -- will set one flag, from a list of flags, based on information -- received for the COS tag that a...
Problem Statement: When getting results from the Aspen Plus Graphica User Interface (GUI) or setting some process variables using ActiveX automation, is it possible to perform a unit conversion or set the unit in which the process variables are set?
Solution: Yes it is possible using several properties and methods available for objects of type IHNode. There are three properties and one method than can be used to view, set and convert a node value: Value property: returns the node value UnitString property : returns the unit in which the data is stored in Aspen Plu...
Problem Statement: How to modify the DocumetManagement KB so that the comparison between issued values and current values is based on the display value/format and not the internally stored value?
Solution: You need to do the below modification in DocumentMangement KB. The IsNumberChanged function does a string compare on the current and issued value - if the strings are different at all, the value is shown red. The following code, placed before the comparison modifies the current and issued strings based on the...
Problem Statement: Do you have a model of an Amines Plant in Dynamics?
Solution: See attached. Keywords: Amines, Dynamics, Simulation References: None
Problem Statement: How do you scale all of the feeds of your flowsheet by the same multiple? I know that I can add a Multiplier (Mult) block to every stream, but I want to enter the scale factor in only one place.
Solution: A single Calculator block can be used to write the scale factor to all of the Multiplier blocks at once. The Calculator block's arithmetic expressions can either equate each MULT block's scale factor to a specific value or to a defined parameter's value. The advantage of using a parameter type variable in the...
Problem Statement: May I use parameters in domain declaration to encapsulate some custom logics about number of sections and the spacing preferences for each section?
Solution: Yes. By default, in Aspen Custom Modeler (ACM) code, domain declaration takes parameters directly for number of sections and individual spacing preferences. Then on model's instances forms, user can reassign them with custom values. However, if there is a pattern for the spacing preferences on each continuous...
Problem Statement: What is the Visual Basic syntax for entering the three types of pressure drop specifications and retrieving the pressure profile in a RadFrac block? How do you access: 1. Pressure drop for the entire column 2. Pressure drop per stage 3. Pressure profile (referenced by stage number)
Solution: In the attached example, please review the cmd_RunSimulation subroutine for all of the code needed to enter the 3 types of pressure drop specifications. 1. The column pressure drop specification for block B6: go_simulation.Tree.FindNode("\Data\Blocks\B6\Input\DP_COL").value = 5.0 where: go_simulation is...
Problem Statement: How can we vary the mole or mass fraction of the inlet feed stream while holding the feed flow constant in a sensitivity analysis?
Solution: Varying a mole or mass fraction is not recommended, as no single mole or mass fraction is in fact an independent variable (the total must always add up to unity). For this reason component fraction has not been made accessible as a manipulated variable in a Sensitivity block. However, you can use the followin...
Problem Statement: McCabe-Thiele Plot Unit Operation Extension
Solution: The attached example demonstrates how to generate a McCabe Thiele plot for a specified column, between specified stages, and for specified light and heavy key components. Note: This Automation application has been created by AspenTech as an example of what can be achieved through the object architecture of HY...
Problem Statement: How to recreate identical workspace on different Aspen Basic Engineering server?
Solution: Please refer to attached word document for step by step procedure. Notes: 1. This procedure only applies to same version of Aspen Basic Engineering, Please DO NOT use this example to upgrade from older version to newer version. 2. Make sure your version number and cumulative patch are same on both...
Problem Statement: How can you model a heat exchanger (HEATX) where the inlets could be either hot or cold?
Solution: If the heat exchanger specification is an outlet temperature or vapor fraction, you can simply model the exchanger by two HEATER blocks connected by a HEAT stream. However, if you need to use an area specification, you need to use the HEATX block. The ports on the HEATX are fixed as either hot or cold. There...
Problem Statement: What is Qualifier? Is there an example explaining how it can be used?
Solution: Qualifier is type of field in datasheet definer which can be used to show two or more alternative attributes in a single field depending on user's selection. Refer to the example datasheet, attached herewith, to explain the qualifier. Please include example.azci in your library which includes the class view...
Problem Statement: How to use property submodels of Aspen Dynamics in ACM?
Solution: The submodels are documented in the Aspen Dynamics on-line help. You simply need to attach the Dynamics library in ACM. The examples attached are provided to help working out how to use the property submodels (the code of these models is private). Submodel name Description Example Props_liquid Enthalpy and de...
Problem Statement: Can I use infinite dilution activity coefficient data in Aspen Plus to determine activity coefficient binary parameters for the NRTL, UNIQUAC or WILSON model? Is there an example?
Solution: Yes, you can use this data to determine activity coefficient binary parameters. This can be performed using the Property Constant Estimation System (PCES). Following is an outline of the procedure: 1. Go to the Properties\Data form. Specify the Mixture data type and accept the default data group name (e...
Problem Statement: How to model reverse flow with ACM?
Solution: The attached examples illustrate a technique that can be used to model reverse flow. Note: see attached file for complete code To model reverse flow, we define forward and reverse stream's intensive variables. The sign of the flowrate is used to select which intensive variables are used in the material and en...
Problem Statement: How to create a new model for the calculation of a physical property when there is no existing user model interface.
Solution: See the attached Microsoft Word document. The idea is to create a new in-house model using the customization described in the System Management Keywords: None References: guide. In this case, a new model for the calculation of the low pressure gas viscosity is added to replace existing models. KeyWords: tbs ...
Problem Statement: How to get ActiveX/VBA interface to report all run-status errors (for each unit operation, etc) during the simulation - as opposed to one run-status message that gives the overall completion status for the simulation
Solution: See the attached example. It uses the collection variable: go_Simulation.Tree.Data.elements("Results Summary").elements("Run-Status") to read each error statement: go_Simulation.Tree.Data.elements("Results Summary").elements("Run-Status")Output.PER_ERROR.elements In this example, it retrieves errors for e...
Problem Statement: Is it possible to automatically vary the total number of trays in a distillation column using ActiveX automation?
Solution: The attached example shows how to run multiple cases with different feed tray location and total number of theoretical stages in a RadFrac block. As those parameters are changed for a given column, it is important to account for any possible change in pumparound, heater, or other feed locations within the col...
Problem Statement: Is it possible to model supercritical extraction using an Extract block?
Solution: Yes. It is possible. Attached is an example file using an Extract block to model supercritical extraction. In this simple example, supercritical CO2 is used to extract MTBE from water. An Equation of State (EOS) that has FLEXIBLE mixing rules (allows multiple binary parameters to be regressed) should be used ...
Problem Statement: How to specify an air stream with a known humidity?
Solution: Relative Humidity of a vapor is defined as partial pressure of water vapor in a given vapor divided by vapor pressure of water at the given temperature. A Prop-set property named "Relative Humidity (RELHUMID)" is available in Aspen Plus for vapor-water system. This example demonstrates how to use this propert...
Problem Statement: Are the extension files detailed in the Transition Object Extension Developers Guide also available on-line?
Solution: The requisite extension files have been attached to this solution. Keywords: RefSYS, extension References: None
Problem Statement: How do I define overspill for an Out Of the Box AZ nozzle sheet?
Solution: See the attached document. Summary: Overspilling can be compared to association of one datasheet to another datasheet. When there is no room left for the additional objects in a datasheet, Overspilling allows the automatic spilling of objects onto an overspill sheet. In datasheet definer, you will define wher...
Problem Statement: The user does not want to have to answer all the server/license manager dialogue boxes when a new Aspen Plus session is opened. Is there any way to suppress this?
Solution: Yes, use the Visual Basic Create Object function and the Aspen Plus InitFromArchive2 IHapp method to supply all of the dialogue box information. The only message box that will appear is a brief message box (no controls) that says a connection was established with the named server. The box automatically disapp...
Problem Statement: This is an example of how to model vacuum stills that are not dedicated to a single atmospheric unit in PIMS. The solution involves defining the vacuum gas oils in the ASSAY table and the construction of an external submodel to represent the vacuum tower.
Solution: This example demonstrates a solution found in Tech Tip number 103903, available in this knowledge base. We started with a PIMS weight-based sample model and altered the model in the following ways: Removed references to the vacuum units in Table CRDDISTL. In Table CRDCUTS, changed the atmospheric resid to a t...
Problem Statement: How to model a holding tank in Aspen Plus?
Solution: There is no one block in Aspen Plus that will model a holding tank. You may use a MIXER as the first block (if you have more than one feed stream feeding into the tank) and the FSPLLIT together with In-line-Fortran to model the holding tanks function. HFLOW...
Problem Statement: Do we have an example of GPP (General physical properties) interface to Aspen Custom Modeler?
Solution: The attached file contains a simple example showing how to use the Componentlists in Aspen Custom Modeler with physical properties. The subroutine gpp_ini initializes the common blocks (I could probably have used a block data as well). The subroutine gpp_query returns the component names and options to popula...
Problem Statement: Is it possible to model kerosene/gas oil hydro-desulfurization reactor?
Solution: Solution #102664 solves a similar problem; however, the example method in this Solution gives more flexible problem specifications for certain cases. A more complete example file is also included. The attached example file can be opened in Aspen Plus 10.2 and higher. Note that there is a Model Library (.apm) ...
Problem Statement: How do you set up a user-defined pseudocomponent?
Solution: A pseudocomponent is a component that does not exist in the built-in databanks but for which you have two or more parameters that can be used to estimate a full set of properties. (A component structure is not required as this is not Property Estimation.) This is typically related to refining applications and...
Problem Statement: How can I write the values of the input and output variables in a Calculator block to the Control Panel?
Solution: It is possible to write the values of all of the defined variables in a Calculator block (previously called a Fortran block) to the Control Panel or the History file, simply by increasing the diagnostics. It does not matter whether Fortran or Excel is used to do the calculations. The procedure for increasing ...
Problem Statement: How do I report the vapor pressure for a liquid mixture?
Solution: The mixture vapor pressure can be reported by two possible ways: A) Use property PBUB in a a Property-Set and include it in the stream report. PBUB gives the mixture bubble point pressure. To implement this: 1 - Go to Properties in the Data browser. 2 - Select Prop-Sets. 3 - Click New button. 4 - Click OK for...
Problem Statement: How do I create a dynamic simulation of a compressor using the Compressor Loop Demo?
Solution: This case demonstrates dynamic simulation of a compressor. It includes the suction pot, the high pressure receiver, and the surge control system. An intercooler and water wash is also modeled. Note that data has been entered on the dynamics/pipe tab for valve VLV-100. This enables modeling of the volume effec...
Problem Statement: </u></b> How may I automate switching HYSYS Steady State spreadsheet cells to unitless? <b><u>
Solution: </u></b> HYSYS Spreadsheets will keep the unit type for calculated cells the same as the cells they are dependant upon. Sometimes this is useful, but most of the time you would want to change the variable types to what you really want. This prevents your calculations from becoming erroneous if a different uni...
Problem Statement: How does the Production Allocation utility work and do you have an example?
Solution: Note: You must have the HYSYS Upstream license in order to use this utility. Select multiple feeds to a unit on the Setup tab - see feeds A, B and C in the attached case. Press Run. On the results tab, select which product stream you want to analyze - in this case, select the Methane Product stream. Select th...
Problem Statement: How to evaluate an existing refrigeration loop with different cooling temperatures of condenser (hot day and cold day).
Solution: In this example, user's will explore how hot day and cold day will impact the compressor duty. Here, the simulation case file is setup to design a refrigeration loop with the known evaporator duty, condenser outlet and compressor inlet conditions (as the attached case study). Keywords: varying, temperature, w...
Problem Statement: User Variable to show when a case has been changed
Solution: In the attached HYSYS 3.2 case there is a flowsheet user variable to provide an indication when the case changes. Find the user variable on the Flowsheet ... Flowsheet User Variables menu option. Double click on the variable to see the VB code that drives it. This user variable fires every time the case solve...
Problem Statement: Is there a good way to change the value of a constant in a Calculator Block's Fortran?
Solution: There are two ways to accomplish this. One is to use VBA code to read the entire line of code from the Fortran code of the Calculator block into a string variable, modify the string and write the string back to the calculator block. The problem with this approach is that it can be short-circuited whenever a u...
Problem Statement: How can I read from and write to an external data file using an Aspen Plus Fortran Calculator block? Is it also possible to write to an external file?
Solution: Attached is an example that both reads from and writes to external files using the Fortran of a Calculator block. When reading or writing using a user-defined file, use a Fortran unit number between 50 and 100. The Calculator block INPUTDEF reads the input data from the file EXAMPLE.DAT. The Fortran code use...
Problem Statement: Solids, elution of fines from a catalyst
Solution: The application shows what is happening in many fluidized bed catalytic reactors. The most interesting part is the streams around mixer MIX2. In the mixer view the particle size distributions of the reactor feed, the fresh catalyst and the catalyst that returns from the cyclone can be compared. Keywords: Soli...
Problem Statement: How can I use the column flowsheet to simulate three classical air separation columns in a single simultaneous solution?
Solution: This application illustrates the use of the column flowsheet to simulate the three classical air separation columns in a single simultaneous solution. Altough this may take a little more effort to reach a first solution, subsequent solutions are obtained faster in this way. On the downside, it is not possible...
Problem Statement: Is is possible to obtain a water dew-point temperature for a mixture from AspenPlus?
Solution: The water dew-point temperature for a mixture can be accessed using the Property Set PH2OTDEW in Aspen Plus 11.1 and higher. How the Water Dew Point is Calculated: The dew temperature of pure water at the pressure equivalent to the partial pressure of water in the mixture. If that temperature is greater than...