Aspen Utilities User Guide V7 - 3
Aspen Utilities User Guide V7 - 3
Aspen Utilities User Guide V7 - 3
User Guide
Version V7.3
March 2011
Copyright (c) 1981 2011 by Aspen Technology, Inc. All rights reserved.
Aspen Utilities, Aspen Online, Aspen InfoPlus.21, Aspen Utilities Planner TM, Aspen Utilities On-Line OptimizerTM
(Utilities Optimizer), Aspen Utilities OperationsTM, Aspen SLMTM, Aspen Engineering Suite, the aspen leaf logo, and
Plantelligence & Enterprise Optimization Solutions are trademarks or registered trademarks of Aspen Technology,
Inc., Burlington, MA.
All other brand and product names are trademarks or registered trademarks of their respective companies.
This document is intended as a guide to using AspenTech's software. This documentation contains AspenTech
proprietary and confidential information and may not be disclosed, used, or copied without the prior consent of
AspenTech or as set forth in the applicable license agreement. Users are solely responsible for the proper use of
the software and the application of the results obtained.
Although AspenTech has tested the software and reviewed the documentation, the sole warranty for the software
may be found in the applicable license agreement between AspenTech and the user. ASPENTECH MAKES NO
WARRANTY OR REPRESENTATION, EITHER EXPRESSED OR IMPLIED, WITH RESPECT TO THIS DOCUMENTATION,
ITS QUALITY, PERFORMANCE, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Aspen Technology, Inc.
200 Wheeler Road
Burlington, MA 01803-5501
USA
Phone: + (781) 221-6400
Toll Free: +(1) (888) 996-7001
URL: https://www.aspentech.com
Contents
Introducing Aspen Utilities .....................................................................................1
What You Need To Use This Guide ......................................................................1
Section Descriptions ...............................................................................2
About This Document .......................................................................................2
Related Documentation .....................................................................................2
Technical Support ............................................................................................3
1 Aspen Utilities Planner User Interface .................................................................5
Starting Aspen Utilities Planner ..........................................................................5
Aspen Utilities Planner Main Window...................................................................5
Flowsheet Window..................................................................................6
Explorer Window ....................................................................................6
Message Window....................................................................................6
Optimization Menu .................................................................................6
Initializing Physical Properties ............................................................................6
Creating and Simulating an Aspen Utilities Model .................................................8
Aspen Utilities Model Library ....................................................................8
Adding Data to the Blocks .......................................................................8
Running in Simulation Mode ....................................................................8
2 Data Editors .......................................................................................................11
Profiles Editor ................................................................................................ 12
Accessing the Profiles Data Editor........................................................... 14
Editing Demand Profile.......................................................................... 15
Editing Availability Profile ...................................................................... 17
Updating Profiles .................................................................................. 18
Filtering Profile Data ............................................................................. 21
Viewing Profiles.................................................................................... 22
Printing Profiles.................................................................................... 24
Saving and Transferring Profile Data....................................................... 25
Selecting a Case .................................................................................. 26
Editing a Case...................................................................................... 27
Copying a Case .................................................................................... 28
Exporting a Case .................................................................................. 29
Changing the Location of the Databases.................................................. 31
Tariff Editor ................................................................................................... 32
Accessing the Tariff Editor ..................................................................... 33
Adding Contract ................................................................................... 35
Editing a Contract ................................................................................ 36
Deleting a Contract .............................................................................. 37
Adding Tiers ........................................................................................ 38
Editing a Tier ....................................................................................... 39
Entering Tariff Cost Equations................................................................ 39
Contents
iii
iv
Contents
Producing Optimization Results and Tariff Information from Aspen Utilities 106
Obtaining Results from Multi-Period Optimization ................................... 109
6 Aspen Utilities Planner Reference ....................................................................111
Model Library............................................................................................... 111
List of Models .................................................................................... 112
General Model Structure ..................................................................... 113
Standard Variable Names in Models ...................................................... 114
Ports and Streams.............................................................................. 115
Specifying Capacity Limits ................................................................... 115
Feeds ............................................................................................... 116
Demands .......................................................................................... 120
Headers ............................................................................................ 124
Steam Models .................................................................................... 127
Pumps .............................................................................................. 132
Turbines............................................................................................ 137
Heat Exchangers ................................................................................ 142
Multipliers ......................................................................................... 151
Fuel Models ....................................................................................... 154
Emissions.......................................................................................... 169
Templates ......................................................................................... 177
Flowsheet Development ................................................................................ 179
Dealing with Snapshots....................................................................... 179
Variable Specification Fixed and Free ................................................. 179
Appendix 1 Configuring the Demand Forecasting Editor...................................181
Before you Start .......................................................................................... 183
Units of Measure .......................................................................................... 185
Configuring General Information .................................................................... 185
EquationTypes ................................................................................... 185
Operators.......................................................................................... 186
Config............................................................................................... 186
PeriodSet .......................................................................................... 186
Period ............................................................................................... 186
GeneralInput ..................................................................................... 187
Configuring Production Parameters ................................................................. 187
DemandForecasting Input ................................................................... 187
XinVal............................................................................................... 189
Configuring Modes........................................................................................ 190
TblModes .......................................................................................... 190
TblModeValues................................................................................... 191
PeriodModes ...................................................................................... 191
Configuring Calculations................................................................................ 192
tblEquationDefinition .......................................................................... 192
CalcVars ........................................................................................... 193
Configuring Demand Calculations ................................................................... 195
DemandCalcsEquations ....................................................................... 195
DemandCalcs..................................................................................... 195
Index ..................................................................................................................197
Contents
Section Descriptions
This guide contains the following sections:
Introduction a brief overview of the guide and a list of related
documentation.
Section 1 Aspen Utilities Planner User Interface an overview of the
application software and how to create an Aspen Utilities model.
Section 2 Data Editors Detailed information on inputting data into Aspen
Utilities utility demands, equipment availability, tariff information, and
utility demand forecasting.
Section 3 Optimization Configuration how to achieve certain optimization
objectives such as hot standby requirements, startup/shutdown constraints,
load shedding, and others. Also how to diagnose optimization problems.
Section 4 Aspen Utilities On-line Implementation an overview of using
Aspen Utilities Planner with Aspen Online to get data from the plant data
historian and run calculations.
Section 5 Microsoft Excel Interface how to run Aspen Utilities and view
results from Microsoft Excel and the necessary prerequisites.
Section 6 Aspen Utilities Reference detailed information covering the models
used in Aspen Utilities and some ideas on flowsheet development.
Appendix 1 Configuring the Demand Forecasting Editor detailed information
about the demand forecasting application; a subset of tables within the
demand database. These need to be configured following a certain
convention.
Glossary an explanation of terms used throughout this guide.
Related Documentation
In addition to this document and the on-line Help system supplied with Aspen
Utilities, the following documents are provided in PDF format to help users
install, learn and use Aspen Utilities.
Title
Content
Technical Support
AspenTech customers with a valid license and software maintenance
agreement can register to access the online AspenTech Support Center at:
https://support.aspentech.com
This Web support site allows you to:
Search for tech tips, solutions and frequently asked questions (FAQs)
Send suggestions
Technical advisories
Customer support is also available by phone, fax, and email. The most up-todate contact information is available at the AspenTech Support Center at
https://support.aspentech.com.
In the Open dialog box, use the Look in list box to locate the directory
where the file is stored, select the file you want to open, and click Open.
Optimization Menu
Contents Pane
Message Window
Flowsheet Window
The flowsheet window is where you build the flowsheet.
Explorer Window
The Explorer Window contains the All Items pane and the Contents pane.
Message Window
The message window displays all messages from Simulation to Optimization.
Optimization Menu
These menu items are used to edit/set the input for optimization to launch
the Profiles and Tariff Editors, to make optimization settings, and to start an
optimization run.
In the tree view in the All Items pane, expand the Utilities subfolder
under the Libraries folder, you can select all utilities models and streams
from Stream Type subfolder and Utility_Models subfolder.
Blocks may have additional forms, for example to add efficiency curves to the
block.
10
2 Data Editors
There are three basic types of information input into Aspen Utilities: utility
demands, equipment availabilities, and utility tariffs. Utility demands are the
amount of each utility (e.g., HP Steam, LP Steam, etc.) that must be supplied
by the utility system. Equipment availabilities define the availability of utility
system equipment whether the equipment is available, its minimum and
maximum, etc. These demands and availabilities can be entered for one time
period or multiple time periods. In Aspen Utilities, demands and availabilities
are entered in the Profiles Editor; the utility tariffs are entered in the Tariff
Editor. Both editors are available within the same form. Apart from the above
two editors, Aspen Utilities also has a tool for calculating utility demands from
plant production rates and operating conditions, called Demand Forecasting.
Results from Demand Forecasting can be transferred to the demand profile in
the Profiles Form. The Demand Forecasting Editor, also known as DFE, is now
available within the same form as the Tariff and Profiles editors.
All data is stored in Microsoft Access databases by default, but other
databases Oracle and SQL Server are supported. Profile data is stored in
ProfileData.mdb, Tariff data is stored in TariffData.mdb, and Demand
forecasting data is stored in DemandData.mdb. Apart from these three
databases, there is a fourth database used by Aspen Utilities Interface.mdb
which is an internal database used by optimization to collect and hold data
from the other databases and store results from an optimization run. The
following diagram highlights the overall relationships between various data
editors and corresponding databases.
2 Data Editors
11
Profiles Editor
The Profiles Editor is used to enter data for utility demands and equipment
availability. Profile data is grouped in cases. Each case contains an equipment
availability profile, a utility demand profile, and a period set. A period set
contains any number of time periods, each with its own start and end time.
The Profiles Editor form is shown here for a case named Case1.
12
2 Data Editors
The Demand Profile for Case1 is displayed with all areas, all equipments, and
all periods:
The demand profile shown above relates to the example.auf flowsheet in the
Aspen Utilities Examples folder.
In general, the demand profile shows the demand for utilities external to the
utility system flowsheet, from the process units. The example above shows
steam demand from the process units as HP Steam Use. Demands are
usually linked to feed or demand blocks in the flowsheet. The availability
profile shows availability and constraints on equipment modeled in the Aspen
Utilities flowsheet. Data for demands and availabilities are entered in the form
of a range Min and Max. If the value is fixed, enter the same value for the
minimum and maximum.
Before the Profiles Editor can be used it is necessary to configure the profiles
database with data from the Aspen Utilities model that has been developed.
Refer to the Updating Profiles section later in this chapter.
In general, the steps in using the editor are:
1
Make the changes required to the demand and availability profiles. Use
Update to add or delete profiles according to the flowsheet changes.
Note: The Update button is only available when the editor is launched
from within Aspen Utilities. Its not available in the standalone Editor
launched from the Start menu.
2 Data Editors
Click Save to save the data. The running status bar shows the progress. It
displays Profile data saved successfully when the save is completed.
13
When prompted by a period dialog, select the periods that should have
data sent to the optimizer.
Click Apply.
Click
14
2 Data Editors
2 Data Editors
15
When the editor starts, it displays the Demand profiles. You can change
between Demand and Availability profiles by selecting the appropriate radio
button as shown below:
You can type in the minimum and maximum values for the selected demand
profiles as well as its unit of measure. The fields for the demand profile are:
Start Time this is the starting time and date for the period to which the
data relates.
End Time this is the ending time and date for the period to which the
data relates.
You cannot alter Legend, Start Time, and End Time with the editor. The time
is setup in the demand database. However, you could change them directly in
the profile database if necessary.
16
Unit the unit of measure for data entry and display. The default unit of
measure is defined within the profiles database but for any editing session
this can be changed by double clicking on the unit and selecting a new
unit.
Area the field used to group the processes in the plant. Area is
particularly useful for a multiplant case, where process units are often
located in different geographical locations (north, south, etc.). Refer to the
Updating Profiles section for how to set areas.
2 Data Editors
The Availability profile allows you to define equipment availability (on or off)
and set equipment constraints. Usually equipment design constraints are set
within the definition of the block in Aspen Utilities. However, these constraints
can be further refined within the availability profile. For example, a boiler may
be designed to generate a maximum 200 t/h of steam and have a 25%
turndown. Therefore, within the definition of the block in Aspen Utilities the
optimization limits can be set as follows:
MinStmFlow = 50 ton/hr.
However, if for some reason the maximum generation of steam from the
boiler is limited to 150 ton/hr, this can be set as the maximum value. When
optimization is invoked, the more constraining of the limits set in the
availability profile or the optimization limits are taken.
Note: The availability profile has more than one type of data for the same
piece of equipment - availability and range (Minimum and Maximum).
The availability profile has the following data:
Legend a description of the data. You cannot change this value within
the editor.
Start Time the starting time and date for the period to which the data
relates. You cannot change this value within the editor.
End Time the ending time and date for the period to which the data
relates. You cannot change this value within the editor.
Min Value the minimum value of the range. If the data item is related
to equipment availability then this box is disabled.
Max Value the maximum value of the range. If the data item is related
to equipment availability then the box has a drop down list allowing you to
select the following options:
o
2 Data Editors
Not Available the item of equipment is not available for use; for
example, it is down for maintenance. In this case the optimizer cannot
switch on the unit even if it is economic to do so.
17
Unit the unit of measure for data entry and display. The default unit of
measure is defined within the profiles database but for any editing session
this can be changed by double clicking on the unit and selecting a new
unit.
Area The field used to group the processes in the plant. Area is
particularly useful for a multiplant case, where process units are often
located in different geographical locations (north, south, etc.). Refer to the
Updating Profiles section for how to set areas.
If equipment availability is set as Available, the minimum value for all settings
for that piece of equipment should be set to 0 within the availability profile.
This allows the equipment usage to go to zero (not used) during the
optimization.
Updating Profiles
Before using the Editor to edit the demand and availability profiles, the
underlying Profiles database must be set up properly. The database must
contain the equipment and port name associated with the profile, its display
unit of measure, etc. As the flowsheet is developed, new process blocks might
be added to the flowsheet while others might be deleted. It is necessary to
keep the profile database updated with the changing flowsheet. The Update
feature in the Profiles Editor facilitates this and is available when the editor is
launched from within Aspen Utilities.
Note: The Update button is not available in the standalone Editor launched
from the Start Menu.
18
2 Data Editors
When you click Update on the Editor Menu bar, you are first asked to select
the profile that you wish to update:
Select the appropriate choice and click OK. Here we select Demand profile as
an example.
2 Data Editors
19
To add a profile, select the equipment and port in the left-most two panes
and then click Add. The newly added profile will be displayed in the Selected
Ports list in the form Equipment*Port.
To remove an existing profile, select it in the Selected Ports list and click
Remove. When you close the form the selected profile is removed from the
grid.
Note: You need to click Save on the Editor Command bar to save your
changes in the Profiles database.
The following list contains brief descriptions of fields shown in the Update
window:
20
Ports contains all possible profile variables associated with the selected
block.
Configure the Configure new ports window appears when you click
Configure after new ports are added. In this window, you can select the
display unit of measurement and categorize the selected ports into
predefined areas. After clicking OK, the newly added/removed profile on
the grid appears/disappears.
2 Data Editors
This window will only appear for newly added profiles and will close upon
completion of last new profile configuration.
By Area
Click on the area filter displays a drop-down list with all defined areas listed.
Select an item to view data relating to a specific area or to all areas.
By Equipment
Click on the equipment filter displays a drop-down list with all items of
equipment listed. Select an item to view data relating to a single piece of
equipment or to all equipments.
By Period
Click on the period filter displays a drop-down list with all periods listed.
Select an item to view data relating to a single period or to all periods.
Note: The equipment filter and the period filter can be used together.
2 Data Editors
21
Viewing Profiles
In addition to the equipment view of profile data, you can click on View in the
main command bar in the editor and switch to period view.
Equipment View
22
2 Data Editors
Period View
2 Data Editors
23
Printing Profiles
Demand and equipment availability profiles can be viewed and printed in
HTML format. The Print preview window appears when you click Print on
the Editor Menu bar. This is the HTML view format of the selected profile.
Click Print on the Print preview window, the report will be sent to the
printer. Meanwhile, a Save As dialog box appears which allows you to save
the report.
24
2 Data Editors
2 Data Editors
25
Selecting a Case
Each Profiles database can contain many cases, which may represent different
operating scenarios for the utility plant. When the Profiles editor is first
launched, the profile data in the default case is displayed, as shown below:
You can display, edit, and transfer profile data in other cases by selecting a
different case in the drop-down list.
26
2 Data Editors
Editing a Case
Each case contains a set of demand profiles and a set of availability profiles.
The Demand and Availability profiles that comprise a case can be changed
with the Edit Case dialog box shown below. This case editing capability,
along with other case management features, allows you to easily carry out
What-if analyses when multiple operating scenarios exist in the utility plant.
The following dialog box is displayed when you click Edit on the Editor Menu
bar:
2 Data Editors
Demand profile all demand profiles are listed in the drop-down list and
the current demand profile is highlighted.
Select Period Set all period sets are listed in the drop-down list and
the current period set is highlighted.
27
Copying a Case
Copy case is used to copy an entire case to a new case. This is also an easy
way to generate a new case. Clicking Copy in the Editor Menu bar displays
the following dialog box:
Case Frame
Profile frame
Period set
frame
Case Frame
Profile Frame
Copy Profile (check box) - Indicates that the current demand and
availability profiles, listed here, should be copied to the new case.
ID - The demand and availability profile ids for the new case.
Name - The demand and availability profile names for the new case.
28
Copy Period Set (check box) - Indicates that the current period set,
listed here, should be copied to the new case.
2 Data Editors
Exporting a Case
Export case is used to Import/Export the case from/to an external source
(database or data source file). The Select database to import/export case
window appears when you click Export on the Editor Menu bar:
Select the correct location in Look in drop down list to find the external data
source file you want to import/export.
2 Data Editors
29
After a source has been selected, the Import/Export Case window displays:
All cases in the current profile database are listed in the left column. All the
cases in the external database are listed in the right column. From here, you
can decide which case or which profile in the case to export or import.
30
2 Data Editors
Browse to each of the Profile, Tariff, Demand and Interface databases and
click OK.
The Set for all users checkbox is used to set the same database location for
all users. When this is unchecked, only Registry values in
HKEY_CURRENT_USER are set. When this is checked, Registry values in both
HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE are set.
2 Data Editors
31
Tariff Editor
Optimization in Aspen Utilities is all about cost saving on utilities, i.e.,
minimizing the total utility cost during the plant operation. The input cost data
to Aspen Utilities is the price of each purchased or sold utility. The Tariff
editor is used to enter this information. This Tariff data is stored in an Access
database (TariffData.mdb). As in Profiles data, you must transfer the data to
the optimizer before an optimization run takes place.
The tariff structure defined in Aspen Utilities contains two components, the
Contract and the Tier. In the tariff editor, you define a Contract in Contract
Definition Table for each utility purchased or sold. For each contract, you
create one or more tiers to define the actual utility price. In many cases,
utility tariffs vary non-continually with usage or usage rate. To handle these
types of contracts, multiple tiers are used to define various price structures in
a utility contract.
In general, follow below steps to use the Tariff Editor:
32
Click Commit to save the data in the Tariff database and to send the data
to the optimizer.
2 Data Editors
2 Data Editors
33
All contracts are listed in the upper-half of the table, and the tiers of the
selected contract are listed in the lower half of the table. You can add and
delete contracts and tiers by using Add and Delete on the Command bar.
34
2 Data Editors
Adding Contract
When new purchased or sold utilities are introduced into the flowsheet, you
will need to add a new contract. To add a new contract, right click the mouse
somewhere in the top table and select Add contract. Alternatively, you can
click the arrow on Add and select Contract in the drop-down menu:
2 Data Editors
Block the name of the block (usually a feed or demand block) in Aspen
Utilities flowsheet which uses or provides the utility in the contract. The
previous example shows a Block name of FuelFeed, which is a unit
operation in the example file, example.auf.
35
Port a drop-down list from which you select the port in the block that
provides or uses the utility in the contract. The previous example shows a
Port name of FuelOut1, which is a port name in unit operation FuelFeed in
the example file, example.auf.
Buy/Sell this allows you to specify whether the utility is bought or sold.
In the previous example the utility is bought.
Utility Type a drop-down list from which you select one of three utility
types: Fuel, Electricity, or Steam. In the previous example the utility type
is Fuel.
Used to Date - this input is only enabled if a Forecast is used. You must
enter the amount of utility used from the start of the contract period to
the current date.
Forecast - this input is only enabled if a Forecast is used. You must enter
a forecast of the amount of utility used between the end of the run period
and the end of the contract period.
Peak Price enter here the peak cost in the contract, in units of
monetary unit/usage. Valid when Do Peak is Yes.
Peak Value specify the peak usage value. For Usage type contracts
(Rate/Usage field), this is the maximum amount of the utility used so far.
Unit you can select the unit of measure for data entry and display.
Editing a Contract
Edit mode is entered when you double-click in any grid cell.
36
2 Data Editors
Deleting a Contract
To delete a contract, select a contract in the contract definition table and click
Delete | Contract on the Command bar:
Alternatively, select a contract in the Contract Definition table, right click the
mouse in any cell, and select Delete Contract.
2 Data Editors
37
Adding Tiers
You can add, edit, or delete tiers associated with a particular contract the
same way as for contracts. To see the tiers associated with a particular
contract, click on a Contract ID in the top Contract Definition table.
To add a tier for a contract, click Add on the Editor Menu bar, and then select
Tier from the drop-down menu (or right-click the mouse and click Add tier) a
new row is generated in the Tier Definition table. Alternatively, select a
contract, right click the mouse in any cell of the tier in the Tier Definition
table, and select Add Tier.
38
Variable Cost the cost of utility per unit of use. The base unit is the
same unit of measure defined for the related contract. In this case we
would need to add the cost per GJ of fuel.
Fixed Cost the fixed cost portion of the contract, if any. Enter 0 if there
is no fixed cost (you cannot leave this field blank).
Min Rate the minimum amount of the utility that can be used in an
hour. This field is used only if the contract is controlled by Rate. If the
contract is controlled by usage, enter 0 (you cannot leave this field blank).
If the field is disabled, any entry here is not being used in optimization.
Max Rate the maximum amount of the utility that can be used in an
hour. This field is used only if the contract is controlled by Rate. If the
contract is controlled by usage, enter 0 (you cannot leave this field blank).
If the field is disabled, any entry here is not being used in optimization.
2 Data Editors
Min Usage the minimum amount that can be used within this tier. This
field is active if the contract is controlled by Usage. If the contract is
controlled by rate, enter 0 (you cannot leave this field blank). If the field
is disabled, any entry here is not being used in optimization.
Max Usage the maximum amount that can be used within this tier. This
field is used only if the contract is controlled by Usage. If the contract is
controlled by rate, enter 0 (you cannot leave this field blank). If the field
is disabled, any entry here is not being used in optimization.
Time dependent if the variable cost of a tier varies with time, select
Yes, if not select No. When Yes is selected, Variable Cost by Period table
appears below the Tier Definition table. Enter the variable cost for each
period.
Editing a Tier
Edit mode is entered when you double-click in any grid cell.
2 Data Editors
39
of a fixed standing charge, taxes, a unit price, delivery cost, etc. The fixed
and variable cost for each tier can be calculated by combining these individual
cost components.
In order to do this, you need to input the individual cost components and the
equations that use the cost components, for each tier.
Click Costing on the main command bar in the combined editor and the
cost component form is displayed:
Enter the name, description, and value for each cost component in the
grid.
Note: The names of the cost components cannot be duplicated. In
addition, the names cannot contain square brackets ([ and ]).
40
2 Data Editors
2 Data Editors
41
42
Right click the mouse in the fixed or variable cost cell in the tier table and
select Cost Equations from the context menu.
2 Data Editors
2 Data Editors
43
Note: The equation cannot be more than 65535 characters. If this becomes a
limitation, Aspen Utilities recommend using shorter cost component names to
reduce the length of the equation string. You can provide a meaningful
description for the cost component in the Notes field; this description is
shown when the cost component is selected.
You can use any functions or mathematical operators that are recognized by
Microsoft Excel since Excel is used to evaluate the equation. When you click
on the Value cell the equation is evaluated and the result will be displayed.
The following screenshots illustrate how to select cost components, their
descriptions, and building an equation:
Typing a left square bracket [ displays a list of all defined cost components.
The text entered in the Notes field is displayed in the tool-tip window.
44
2 Data Editors
Pressing the Space bar or double-clicking on the name in the list substitutes
the name into the equation and closes the bracket.
2 Data Editors
45
Deleting a Tier
To delete an existing tier, select the desired contract in the top table, then
select the desired tier in the Tier Definition table, and click Delete | Tier
from the Command bar. Alternatively, select the tier, right click the mouse in
any cell, and select Delete Tier from the context menu.
46
2 Data Editors
2 Data Editors
47
When you select and click OK, the corresponding report print preview is
displayed. Click Print on the Print preview window, the report will be sent
to the printer and at the same time a Save As dialog box will be loaded which
allows you to save the report.
48
Click Optimization | Editors from the Aspen Utilities menu to open the
Demand Forecasting Editor or launch the standalone editor from the Start
menu. Click on DFE in the command bar.
Click Calc in the Command bar to calculate the utility demands. The
running status bar shows the progress.
Click Save to save the data. This saves the utility demands to the Profiles
database (ProfileData.mdb) and updates the production parameter
information in the Demand database (DemandData.mdb).
Click
2 Data Editors
2 Data Editors
49
50
Modes select the mode of operation for the period for each process
unit that has multiple modes of operation, using the drop-down list.
Click Calc to calculate the utility demands. The calculated utility demands
can be seen in the lower pane of the window:
2 Data Editors
2 Data Editors
51
Equation Editor
Equations Viewer
Equation Editor
The Equation Editor field is for you to edit demand forecasting equations. The
table at the top contains all of the equations that have been defined. When
you click on an equation in the grid, the equation definition is displayed in the
below text box.
The equations with the Demand check box selected at the top table means
they are the equations for utility demand.
In the example above the HP Steam Use equation contains two variables:
[cvY1] and [cvY2]. Variables are contained with square brackets [ ].
Variables can be defined as values (e.g., 5, Mode1, True), or other
equations. Variables that represent equations are displayed in the table at the
top and all other variables are displayed by clicking Variables.
Equations Viewer
You can view the equations defined in this field and evaluate them. Select the
variable you want to see from drop-down list and the equation it represents is
displayed in the text box at the bottom. In this field, you can only check the
equations but cannot edit. In the example above, [cvY1] is selected in the
drop-down list and the equation it represents seen at the bottom. You can
evaluate the equation by clicking Evaluate next to the equation.
52
2 Data Editors
Notice that there is no equation defined for HP Steam Use. The first step is
to create the equation.
2
If you need to set this equation as a utility demand, then select the Set
this equation to be a utility demand check box.
3
2 Data Editors
Click OK and you return to the Equation editor ready to create the
equation for cvY1:
53
54
2 Data Editors
2 Data Editors
55
Notes:
1. Notice that the right bracket is automatically inserted for you.
2. Notice that the [SEASON] is enclosed in double-quotes because it
contains text.
5
56
Continue editing:
2 Data Editors
Click Variables to see the variables defined for DFE. Refer to the
section Displaying Equation Variables for more information.
Finally, complete the equation:
2 Data Editors
57
58
2 Data Editors
2 Data Editors
59
Note: Not all errors are caught this way. Some equation errors are not
caught until Microsoft Excel is evaluating the equation. In these cases you
will see a large negative number being displayed.
8
60
You can edit other equations for HP Steam Use in a similar fashion.
2 Data Editors
2 Data Editors
61
62
2 Data Editors
This will be more noticeable as the number of equations and variables get
larger.
2 Data Editors
63
Adding an Equation
To add an equation, first create the equation variable by clicking Add
Equation and the Add Equation dialog box appears:
Enter the Equation ID and Equation description. The Equation ID becomes the
equation variable name seen in the equation drop-down list in the Equations
Viewer field and drop-down variable list.
64
2 Data Editors
Click OK to return to the equation editor. The new equation is selected and
can be entered in the text box in Equation Editor field:
Note: When adding an arbitrary equation, you must to uncheck the Set this
equation to be a utility demand checkbox. When checked, the system
assumes you are creating an equation that is linked to a utility.
Deleting an Equation
Delete an equation by selecting an equation and clicking Delete Equation.
You will be asked to confirm the deletion.
2 Data Editors
65
This table contains variables that come from the Demand and Profiles
databases as well as user-defined variables. User-defined variables include
production rate variable, mode variable and user variable.
To create a user defined variable, click Add. The Add Variable dialog box
appears:
Notes:
66
2 Data Editors
Variable names may not contain square brackets [ and ] since these are
used by DFE to enclose variable names.
Variable values can be changed for any variable but only values for user
variables are saved when you click OK. This allows you to temporarily
change production rates, modes, etc., while evaluating an equation.
Once created, a variable name and description cannot be edited. You must
delete the variable and recreate it.
Production rates
DemandForecastingInput
Mode variables
tblModes
Equation variables
tblEquationDefinition
User variables
tblUserVariables
2 Data Editors
67
Check the variables that you want to display in the drop-down variable list
when a left bracket [ is typed in the equation editor.
68
2 Data Editors
The editor displays the additional columns using default values as inputs for
period length, mode values, and production rates. You can edit these inputs
either manually or by copying and pasting data from Microsoft Excel.
2 Data Editors
69
70
2 Data Editors
3 Optimization Configuration
This chapter describes how to set your input data to achieve specific types of
optimizations. Topics covered are: enforcing hot standby requirements,
configuring startup/shutdown constraints, configuring load shedding, and
obtaining marginal utility costs.
This chapter also describes how to identify optimization errors and gives tips
on how to fix them. Advanced optimizer settings are also discussed here.
3 Optimization Configuration
71
72
The hot standby requirement is also set in this dialog box. This value must
be specified in tonnes/hr.
Run the optimization as usual either from the Microsoft Excel Interface or
from Aspen Utilities Planner.
3 Optimization Configuration
If the hot standby constraint cannot be met, the optimization will still
complete but with a lower hot standby capacity.
Configuring Startup/Shutdown
Constraints
It is possible to set start-up and shut-down times and costs within Aspen
Utilities. When carrying out a multi-period optimization, these values are
taken into account to determine the economic profile for utility generation
and/or purchase over the entire optimization timeframe.
Start-up and shut-down times and costs can be provided for most blocks by
accessing the Optimization_Settings form.
To enable startup and shutdown calculations, set the DoStartStop variable to
True. The default for all blocks is False.
StartUpTime the time taken to start the unit from cold to actually
producing utility.
3 Optimization Configuration
73
74
3 Optimization Configuration
To account for lost production and other related costs, you can enter the
cost of load shedding in LoadShedCost, further down in the AllVariables
table.
You must also provide the availability and demand profiles to be used in
the load shedding calculation. Do this by filling in the OptInputMods table
in the Interface database (Interface.mdb).
An example is shown below. The example also shows multiple profiles
two time periods to be considered in the optimization.
3 Optimization Configuration
75
b Click OK and a text editor is displayed. Enter the text shown in the
screen below. Here, n should be replaced with the number of periods that
are being considered in the load shedding calculation.
76
3 Optimization Configuration
AUapp.Simulation.Flowsheet.Invoke "SteamLoadShedding"
Exit Sub
ErrHandle:
MsgBox Err.Description
End Sub
5
Run optimization. When the optimization is complete you can check the
solution as usual in Aspen Utilities Planner or create a Visual Basic
function to extract the results from Aspen Utilities Planner to Excel in a
user-preferred format.
3 Optimization Configuration
77
You must indicate which headers are to be included in the marginal cost
calculation.
3
78
Display the summary table for the desired header by double-clicking on it.
Select True for the IncludeMarginalCost parameter. Repeat this step
until all desired headers are specified:
3 Optimization Configuration
Run the optimization. When the optimization completes the marginal cost
of header is reported in the variable MarginalCost in the summary table of
the header model.
3 Optimization Configuration
79
80
3 Optimization Configuration
View LP Model brings up a list file, (a Dash compilation file for the
model).
View Log file the optimization iteration log, which could contain
infeasibility information if the optimization failure is caused by infeasibility.
This file is displayed at the end of running Presolve Error Check.
This error report indicates that the particular LP problem is infeasible due to
the equation FPort(1, Boiler, BFW), which points to port BFW in block Boiler in
the flowsheet. The infeasibility is that in this case, the lower bound of the
BFW port in the boiler is 75.8 tonnes/hr but the upper bound of connected
stream flow is 30 tonners/hr only. So the Lower Bound is greater than the
Upper Bound.
Therefore, you can correct the incorrect data and then begin your calculation.
3 Optimization Configuration
81
Error Tracking
Apart from the above obvious type of infeasibility, there could be other
infeasibility due to the failure of closing the mass balance on a process block.
This is more difficult to detect and usually cannot be picked up by the solver
built-in presolve mechanism.
In Aspen Utilities Planner, error tracking is carried out by introducing a
balance variable on each mass balance equation which is minimized in the
objective function. When the optimization completes, the problematic
balance equations and corresponding blocks containing the balance equations
will be listed in the simulation message window. This should give an indication
of where to search for faulty limit specifications.
In general, this type of error is much more difficult to detect than the first
type. It requires careful engineering analysis and familiarity with the
flowsheet even after identifying the error by using Error tracking.
The following forms show an example of input error and using the errortracking mechanism to detect it:
82
3 Optimization Configuration
Note: LP Process Steam Generation is 1000 tonnes/hr (much higher than the
maximum boiler steam generation (200 tonnes/hr)).
Although the input is correct in mathematical terms (minimum<=maximum)
and the presolve mechanism does not detect any error, it causes an infeasible
solution when the optimization runs.
An Error Tracking run with the input data has the following output:
3 Optimization Configuration
83
Note: The solution contains objective function values that are very big
numbers. This usually indicates the balance variables are non-zero in some
process balance equations.
In the simulation message window, the error messages indicate that the
balance equation in block HPHDR is not balanced (this becomes balanced only
with non-zero relaxation variables). By inspecting the profiles data, we find
that the LP Steam Generation (LPGEN) is too large and hence causes the
infeasible solution.
84
3 Optimization Configuration
Simultaneous mode means that the entire optimization model covering all
periods is solved simultaneously. This approach can be slow and poses
numerical difficulties when dealing with a large optimization model. However,
under some circumstances (e.g., equipment Startup/Shutdown, when timedependent utility contracts need to be taken into account, etc.), this mode
must be used to satisfy optimization constraints.
MultiRun, as indicated by its name, makes optimization runs as many times
as there are periods defined in the model. Convergence is relatively fast and
robust with this mode. You should use this mode when there is no
requirement to connect one period optimization to another period
optimization.
3 Optimization Configuration
85
Cut Strategy
Cut strategy is a setting that controls the number of cuts generated in each
branch and bound solution. The following table summarizes the available cut
strategy. You should refer to general Branch and Bound methods for mixer
integer linear programming to understand more about Cuts:
Values for Cut Strategy
86
Description
3 Optimization Configuration
-1
No cuts.
Presolve Strategy
The Optimizer provides a number of algorithms for simplifying a problem prior
to the optimization process. This elaborate collection of procedures, known as
presolve, can often greatly improve the Optimizer's performance by
modifying the problem matrix, making it easier to solve. The presolve
algorithms identify and remove redundant rows and columns, reducing the
size of the matrix. In most cases this is a helpful tool in reducing solution
times. However, presolve is included as an option and can be disabled by
entering 0 for Presolve Strategy. Here, we have other three options: 1, 2 and
3. 1 means conservative, 2 moderate and 3 aggressive. The default value is 2
(moderate).
3 Optimization Configuration
87
88
3 Optimization Configuration
Linking with InfoPlus.21 via Aspen Online, Aspen Utilities can be configured as
an on-line implementation. In online mode, Aspen Utilities takes data
automatically from the real-time data historian at certain time intervals and
updates the demand profiles automatically.
One of the main differences between offline implementation and online
implementation is that Aspen Utilities must run unattended. Therefore Aspen
Utilities must be configured to run without user intervention.
Open the On_Line form. This form is available for all demand blocks and
for the GeneralModel block.
Right click the mouse on one of these block types and select Forms |
On_Line.
89
In this form you need to give the number of inputs (nInputs), its
corresponding ID and input values (array OptInputVar), the number of
process operating modes (nModes), its corresponding ID (array ModeID)
and mode value (array ModeValue). The On_line form is illustrated in the
following example.
In this example, two blocks, FCC and CRU, contribute to the total LP
consumption (LPUSE). The LP consumption correlation for FCC has one
independent variable (FCC_Throughtput) and the correlation for CRU has
two independent variables (CRU_Throughput and CRU_ARO); therefore,
the total number of inputs (nInputs) is 3. Each process has a different
operating mode and thus nModes is 2. The values for ModeID are given as
FCC_Mode and CRU_Mode, respectively (arbitrary, but descriptive). There
are two operating modes for each process and thus nModeValue is 2
respectively. You also need to specify the number of target variables, in
this case the number of LP consumption for nTargets and name of the
contribution from each process (FCC_LPUSE and CRU_LPUSE) for
TargetVariableID.
The calculation result will be displayed and stored in array TargetValue for
each processes.
90
Note: All these names (IDs) must be the same as those defined in the
database.
91
parameter to True in the On_Line form for the various types of Feed and
Demand blocks and the GeneralModel block.
92
You can run Aspen Utilities Planner and view the results from within Microsoft
Excel. This allows you to develop a graphical representation of your flowsheet
and to retrieve and report Aspen Utilities Planner results within Excel. This
chapter describes how to use the Aspen Utilities Planner Microsoft Excel
interface.
When the Add-In installed a new menu item - named Aspen Utilities is
added to the Excel menu bar.
93
When the Aspen Utilities Planner Add-In is installed, the Aspen Utilities menu
item will be present on the main excel menu bar.
Close Aspen Utilities close the Aspen Utilities file and shutdown Aspen
Utilities Planner.
Simulation Menu
o
94
Get Latest Values this option retrieves the latest values from
Aspen Utilities Planner for the variables selected on the Simulation
Links worksheet.
Reconciliation Menu
o
Get Latest Values this option retrieves the latest values from
Aspen Utilities Planner for the variables selected on the Simulation
Links worksheet.
Optimization Menu
o
At the bottom of the Aspen Utilities menu item is a list of the most recently
opened Aspen Utilities files. This recent file list is discarded when the Add-In
is uninstalled.
Select Open Aspen Utilities File from the Aspen Utilities menu item.
Click OK.
The status bar in Excel shows the full path name of the file being opened.
When the file is open the status area message changes to Ready.
If required, you can make Aspen Utilities Planner visible by selecting Show
Aspen Utilities from the Aspen Utilities menu.
95
There are two sections in the Simulation Links sheet: the left-hand side is
used for sending values to Aspen Utilities Planner and the right-hand side is
used to retrieve values from Aspen Utilities Planner.
Note: A Simulation Links command bar is added to the Excel menu area.
All information is saved with the spreadsheet. If you change the Aspen
Utilities Planner file in certain ways (e.g., renaming a block, removing a block,
changing the model by removing a variables, etc.), some links may become
invalid and these cells are highlighted yellow the next time the spreadsheet is
open. A yellow highlight indicates the block or variable in the simulation link
does not exist in the currently opened Aspen Utilities flowsheet.
96
Click on the left-hand side dropdown list to display all block names in the
flowsheet as shown below:
Select the block of interest and the name will be added to the first empty
row on the Send Values side.
Click on the Variable Name drop-down list to display all the variables
associated with the selected block. Select a variable and its name is
inserted next to the block name in the worksheet. An example of the
variable name list is shown below.
97
Continue the above steps until all your input variables are selected. When
the data on the spreadsheet reaches the last couple of rows near the
bottom of the worksheet a line is automatically added.
By default, the value you enter must be in the current unit of measure
defined in Aspen Utilities Planner. You can enter a different unit of
measure in the Unit column (e.g., GJ/hr for energy flow, ton/hr for mass
flow, etc.). The value will be converted to the new unit when it is sent to
Aspen Utilities Planner. If you select the menu item Aspen Utilities |
Simulation | Send Values, the values are converted and sent without
executing simulation. This is done automatically when you simulate or
optimize the flowsheet. Take care when entering a different unit of
measure, that the string you enter is known to Aspen Utilities Planner.
98
Click on the third drop-down list from left to display all block names in the
flowsheet:
Select the block of interest and the name will be added to the first empty
row on the Retrieve Values side.
Click on the Variable Name drop-down list to display all the variables
associated with the selected block. Select a variable and its name is
inserted next to the block name in the worksheet. An example of the
variable name list is shown below:
99
Place the mouse cursor in the cell that you want to map to a Simulation
link and type = in the cell (cell E17 in the example above).
Switch to Simulation Links worksheet and click on the Value column for
the variable to map. Press the Enter key and Excel links the cells in the
two worksheets.
Note: The value column you should choose for the variable to map is the
value column in Retrieve latest values from Aspen Utilities form on the
right side.
100
Repeat these steps until all Simulation links have been mapped to your
flowsheet drawing.
By doing this, cell values in your flowsheet drawing will change when the
variable values change in the Simulation Links sheet that is, when Get
Latest Values is selected or a flowsheet simulation or optimization is
performed.
Note: The unit of measure is not always shown after mapping. The units
fields in the table are used to display/send values in units of measure that
are different than the flowsheet. If the Units field is blank, values are sent
to or retrieved from the flowsheet with no unit conversion. If the Units
field has a string (UOM), the value is sent to or retrieved from the
flowsheet along with the UOM. Aspen Modeler attempts to convert the
value.
101
With the Aspen Utilities Planner Excel Interface, you can set up and run the
data reconciliation problem.
102
Click on the Model Names drop-down list to display all block names in the
flowsheet. Select the block in which the data measurement is located.
Click on the Variable Name drop-down list to display all variables for the
selected block. Select the variable name that represents the measured
data.
The block and variable names along with its data will appear in the
worksheet as shown below:
Repeat the above steps until all desired variables are configured.
The columns in the Reconciliation worksheet are:
o
Value - shows the current value in the flowsheet and will show the
reconciled value after the reconciliation run is executed.
103
Note: The reconciliation problem must include at least one fixed variable.
o
Lower Bound and Upper Bound - indicate the range that variables
are allowed to vary during the reconciliation run.
Once the reconciliation sheet is configured, you can reconcile the flowsheet by
selecting the menu item Aspen Utilities | Run Reconciliation.
Here are a few tips that may help you set up the reconciliation problem:
1
Make sure the steady state simulation runs OK before using data
reconciliation.
104
Double-click on the Simulation Links sheet in the tree view and add the
function BeforeOptimise in the source code window as shown below:
You can put the tasks you want to run before optimization inside this
BeforeOptimise function. These tasks may, of course, call Excel functions,
other functions you create, or Aspen Utilities functions.
105
Click Tools | Macros | Visual Basic Editor to display the Excel Visual
Basic Editor.
Double-click on the Simulation Links sheet in the tree view and add
function FlowsheetUpdate in the source code window as shown below.
Here, functions MPUpdate and CostsUpdate are two built-in functions in
the Aspen Utilities Planner Excel Add-In that transfer the results and
costing information from Aspen Utilities Planner to Excel worksheet:
106
Enter the desired unit of measure you want the value displayed in (the
Units column) and give the conversion factor that converts the value from
the current unit in Aspen Utilities Planner to this unit (the Conversion
Factor column):
Value 2 CF Value1
Where:
Value2 = number in the desired unit
Value1 = number in the current unit in Aspen Utilities Planner
For example, if current unit for mass flow in Aspen Utilities Planner is
ton/hr and you want to show the number in Mlb/hr, the conversion factor
is 2.21 (Mlb/hr = 2.21 ton/hr).
107
108
Run optimization and the results will be populated into the worksheet as
shown here:
109
110
Model Library
An Aspen Utilities flowsheet consists of a number of Models.
111
List of Models
The following table lists the Aspen Utilities Planner models and their
categories:
112
Model Name
Model Category
Air_Mix
Headers
AirMultiplier
Multipliers
AS_HeatEx
Heat_Exchangers
Boiler
Fuel_Models
Chiller
Heat_Exchangers
Combustor
Fuel_Models
Condenser
Heat_Exchangers
Deaerator
Steam_Models
DemandAir
Demands
DemandFuel
Demands
DemandPower
Demands
DemandSteam
Demands
Desuperheater
Steam_Models
DFBoiler
Fuel_Models
DriveList
Pumps
Dual_Fuel_Demand
Demands
FeedAir
Feeds
FeedFuel
Feeds
FeedPower
Feeds
FeedSteam
Feeds
Fuel_Vap
Heat_Exchangers
FuelHeader
Headers
FuelMultiplier
Multipliers
GasTurbine
Fuel_Models
GeneralModel
Templates
Heater
Heat_Exchangers
Heater_1
Heat_Exchangers
HRSG
Fuel_Models
MultiStageTurbine
Steam_Turbines
PowerHeader
Headers
PowerMultiplier
Multipliers
Pump
Pumps
PumpList
Pumps
SteamEjector
Steam_Models
SteamHeader
Headers
SteamMultiplier
Multipliers
Stm_Flash
Steam_Models
Stm_Mix
Steam_Models
Stm_Turb
Steam_Turbines
Stm_Valve
Steam_Models
WW_HeatEx
Heat_Exchangers
AirAirExchanger
Heat_Exchangers
FuelMixer
Fuel_Models
FuelSwitch1toN
Fuel_Models
Burner
Emissions_Model
EmissionsChemney
Emissions_Model
EmissionsNode
Emissions_Model
EmissionsSwitch
Emissions_Model
NOXEstimator
Emissions_Model
All models have one or more inlet ports and one or more outlet ports. In most
models you can connect multiple streams to one port. In some models only
one stream can be connected to either the inlet or outlet port and where this
is the case it is stated in the model description.
The model has the following general structure:
Inlet Port
(Type 1)
Outlet Port
(Type 1)
Mixer
Splitter
Model Specific
Calculations
Mixer
Splitter
Inlet Port
Outlet Port
Where
not 2)
(Type 2)a port is of a single stream type, the associated splitter or mixer is
(Type
required.
113
114
Variable
Description
Flow. This is mass flow for all streams except fuel streams
where it is heat flow.
Enthalpy.
Pressure.
Temperature.
vf
StartUpCost
ShutDownCost
StartUpTime
ShutDownTime
DoOnOff
DoStartStop
DoSteamReserve
CI
Carbon Index.
F_mass
F_mol
MW
Molecular Weight.
OD
SI
Sulfur Index.
CO2
SOx
O2
Oxygen concentration.
Pout
Tout
DelP
Pressure drop.
Duty
Heat Duty.
Power
Power.
Fuel Port.
Power Port.
Air Port.
Fuel Stream.
Power Stream.
Streams can only connect ports of the same type. Therefore a steam stream
can only connect two steam ports. When a stream is dragged onto the
flowsheet only the appropriate ports are highlighted for connection. It is not
possible to connect to the incorrect port type.
115
Feeds
Feed blocks are used to represent/define the supply of utilities from outside
the boundary of the utility system model. There are four utility supply blocks
corresponding to the four stream types. Only one stream can be connected to
each feed block.
It is possible to set minimum and maximum flow limits on all feed blocks. It is
not possible to switch off feed blocks during optimization.
FeedSteam
FeedSteam
Description
The FeedSteam model is used to model the external supply of steam or water
to the utility system. This may be purchased steam from an external supplier,
steam generated in a process unit or the supply of make-up water.
116
Inlet Ports
There are no inlet ports.
Outlet Ports
Port Name
Description
SteamOut(SteamOut1)
Outlet Stream
No
Specifications
Variable
Description
Tout
Pout
SteamOut(SteamOut1).F
FeedFuel
FeedFuel
Description
The FeedFuel model is used to model the external supply of fuel to the utility
system. This steam may be purchased fuel from an external supplier or fuel
generated in a process unit.
Inlet Ports
There are no inlet ports.
117
Outlet Ports
Port Name
Description
FuelOut(FuelOut1)
Outlet Stream
No
Specifications
Variable
Description
CVout
MWout
OD
FuelOut(FuelOut1).F
CI
SI
Notes:
The oxygen demand of a fuel is the mass ratio oxygen to fuel under
stoichiometric conditions.
The enthalpy flow of the fuel feed: FuelOut(FuelOut1).F, is a fixed
variable by default, but may be switched to become a free variable to
satisfy degree of freedom requirements.
If emissions (CO2 and SOX) are to be calculated within the model then the
Carbon Index (CI) and the Sulphur Index (SI) must be specified. Both of
these indices are the mass ratio of the emission to fuel.
FeedPower
FeedPower
Description
The FeedPower model is used to model the external supply of power to the
utility system. This steam may be purchased power from an external supplier
or power generated in a process unit.
Inlet Ports
There are no inlet ports.
118
Outlet Ports
Port Name
Description
PowerOut(PowerOut1)
Outlet Stream
No
Specifications
Variable
Description
PowerOut(PowerOut1).Power
Power Supply.
FeedAir
FeedAir
Description
The FeedAir model is used to model the external supply of air to the utility
system.
Inlet Ports
There are no inlet ports.
Outlet Ports
Port Name
Description
AirOut(AirOut1)
Outlet Stream
No
Specifications
Variable
Description
AirOut(AirOut1).F
Mass flowrate.
Tout
O2
119
Demands
Demand blocks are used to represent/define the demand of utilities from
outside the boundary of the utility system model. There are four utility
demand blocks corresponding to the four stream types. Only one stream can
be connected to the demand blocks
It is possible to set minimum and maximum flow limits on all demand blocks.
It is not possible to switch demand blocks off during optimization.
DemandSteam
DemandSteam
Description
The DemandSteam model is used to model demand for steam or water
external to the utility system.
Inlet Ports
Port Name
Description
SteamIn(SteamIn1)
Inlet Stream
No
Outlet Ports
There are no outlet ports.
Specifications
Variable
Description
SteamIn(SteamIn1).F
Notes:
120
DemandFuel
DemandFuel
Description
The DemandFuel model is used to model demand for fuel external to the
utility system.
Inlet Ports
Port Name
Description
FuelIn(FuelIn1)
Inlet Stream
No
Outlet Ports
There are no outlet ports.
Specifications
Variable
Description
FuelIn(FuelIn1).F
Notes:
DemandPower
DemandPower
Description
The DemandPower model is used to model demand for power external to the
utility system.
121
Inlet Ports
Port Name
Description
PowerIn(PowerIn1)
Inlet Stream
No
Outlet Ports
There are no outlet ports.
Specifications
Variable
Description
PowerIn(PowerIn1).Power
Power Demand.
DemandAir
DemandAir
Description
The DemandAir model is used to model demand for air external to the utility
system.
Inlet Ports
Port Name
Description
AirIn(AirIn1)
Inlet Stream
No
Outlet Ports
There are no outlet ports.
Specifications
122
Variable
Description
AirIn(AirIn1).F
Notes:
Dual_Fuel_Demand
Dual_Fuel_Demand
Description
This block is used to represent a demand for fuel, but where one of two fuels
or a mix of the two fuels can satisfy the demand.
Inlet Ports
Port Name
Description
FuelIn(FuelIn1)
Inlet Stream 1
No
FuelIn(FuelIn2)
Inlet Stream 2
No
Outlet Ports
There are no outlet ports.
Specifications
Variable
Description
FuelIn(FuelIn1).F
FuelIn(FuelIn2).F
Optimization Limits
Variable
Description
MinFuelDuty_1/MaxFuelDuty_1
MinFuelDuty_2/MaxFuelDuty_2
Ratio_min/Ratio_max
Note: The calorific value, molecular weight, oxygen demand, carbon index
and sulphur index for each fuel are inherited from the outlet of the upstream
blocks. These variables should never be fixed.
123
Headers
There are four headers corresponding to the four stream types.
SteamHeader
Steamheader
Description
The steam header block is used to represent the site steam header systems.
It can also be used to split a steam/water stream. The model allows multiple
feeds and products.
Inlet Ports
Port Name
Description
SteamIn(SteamIn1)
Inlet Streams
Yes
Outlet Ports
Port Name
Description
SteamOut(SteamOut1)
Outlet Streams
Yes
Blowsteam(BlowSteam1)
Vent Flow
No
WaterOut(Blowdown)
Blowdown Flow
No
Specifications
Variable
Description
Tout
Pout
BlowSteam(BlowSteam1).F
BDRatio
Optimization Limits
124
Variable
Description
MinFlow/MaxFlow
MinBDFlow/MaxBDFlow
MinVentFlow/MaxVentFlow
Note: The heat loss and pressure drop in the header are calculated. The
enthalpy and vapor fraction of outlet are calculated from the temperature and
pressure specification.
FuelHeader
Fuelheader
Description
The fuel header block is used to represent the site fuel distribution system.
The model allows multiple feeds and consumers. The property (MW, OD, CV,
CI, SI) of the fuel within the header is based on an average of the feeds.
These properties are transferred to the outlet streams.
Inlet Ports
Port Name
Description
FuelIn(FuelIn1)
Inlet Streams
Yes
Outlet Ports
Port Name
Description
FuelOut(FuelOut1)
Outlet Streams
Yes
Specifications
No specifications required.
Optimization Limits
Variable
Description
MinFuelDuty/MaxFuel Duty
PowerHeader
PowerHeader
Description
The power header block is used to represent the site power distribution
system. The model allows multiple feeds and consumers.
125
Inlet Ports
Port Name
Description
PowerIn(PowerIn1)
Inlet Streams
Yes
Outlet Ports
Port Name
Description
PowerOut(PowerOut1)
Outlet Streams
Yes
Specifications
No specifications required.
Optimization Limits
Variable
Description
MinPower/MaxPower
Air_Mix
Air_Mix
Description
The Air_Mix model is used to mix air flows.
Inlet Ports
Port Name
Description
AirIn(AirIn1)
Inlet Streams
Yes
Port Name
Description
AirOut(AirOut1)
Outlet Streams
No
Outlet Ports
Specifications
No specifications required.
Optimization Limits
126
Variable
Description
MinFlow/MaxFlow
Steam Models
Deaerator
Description
The deaerator is used for deaeration of water for steam generation. The
deaerator model allows multiple water feeds and a single steam feed. A single
boiler feed water stream is produced. You can also connect a vent stream.
The model calculates the amount of steam required to heat the feed water to
the saturated conditions at the deaerator operating pressure.
Ensure that the water and steam feeds are connected to the correct ports.
Inlet Ports
Port Name
Description
SteamIn(SteamIn1)
Deaeration Steam
No
WaterIn(WaterIn1)
Water Feed
Yes
Outlet Ports
Port Name
Description
WaterOut(WaterOut1)
Water Outlet
No
Blowsteam(BlowSteam1)
Vent Flow
No
Specifications
Variable
Description
Pdeaer
VR
Vent Ratio.
Optimization Limits
Variable
Description
MinBFWout/MaxBFWou
t
MinDFWin/MaxDFWin
MinSteam/MaxSteam
MinVent/MaxVent
127
Stm_Valve
Stm_valve
Description
This model is used to reduce the pressure of a steam/water stream.
Inlet Ports
Port Name
Description
SteamIn(SteamIn1)
Inlet Stream
No
Outlet Ports
Port Name
Description
SteamOut(SteamOut1)
Outlet Stream
No
Specifications
Variable
Description
Psout
Outlet Pressure.
Optimization Limits
128
Variable
Description
MinFlow/MaxFlow
Desuperheater
Description
This is used to model letdown stations where the steam is desuperheated.
The amount of water required to desuperheat the steam is calculated.
Ensure that the water and steam feeds are connected to the correct ports.
Inlet Ports
Port Name
Description
SteamIn(SteamIn1)
Inlet Steam
No
WaterIn(WaterIn1)
Desuperheating Water
No
Outlet Ports
Port Name
Description
SteamOut(SteamOut1)
Outlet Stream
No
Specifications
Variable
Description
Psout
Outlet Pressure.
Tsout
Outlet Temperature.
Optimization Limits
Variable
Description
MinSteam/MaxSteam
MinWater/MaxWater
129
Stm_Flash
Description
This is used to model flash drums. The model allows multiple steam streams
at the inlet. The block allows two outlet streams, a water stream, and a steam
stream, both at saturated conditions.
Ensure that the water and steam products are connected to the correct ports.
Inlet Ports
Port Name
Description
SteamIn(SteamIn1)
Inlet Steams
Yes
Outlet Ports
Port Name
Description
SteamOut(SteamOut1)
Flash Steam
No
WaterOut(WaterOut1)
Flash Condensate
No
Specifications
Variable
Description
Pflash
Optimization Limits
130
Variable
Description
MinFeedFlow/MaxFeedFlow
MinVapFlow/MaxVapFlow
MinLiqFlow/MaxLiqFlow
Stm_Mix
Description
This model is used to mix steam/water streams. The condition of the outlet
stream is calculated from an energy and mass balance of the feeds.
Inlet Ports
Port Name
Description
SteamIn(SteamIn1)
Inlet Steams
Yes
Outlet Ports
Port Name
Description
SteamOut(SteamOut1)
Flash Steam
No
Specifications
No specifications required.
Optimization Limits
Variable
Description
MinFlow/MaxFlow
SteamEjector
Description
This model acts as a steam thermocompressor. The outlet steam pressure
and entrainment ratio need to be specified, and the model calculates the inlet
HP and LP steam required.
131
Inlet Ports
Port Name
Description
SteamIn(HPSteamIn)
Inlet Steam
No
SteamIn(LPSteamIn)
Inlet Steam
No
Port Name
Description
SteamOut(IPSteamOut)
Outlet Steam
No
Outlet Ports
Specifications
Variable
Description
EntrainmentRatio
Optimization Limits
Variable
Description
MinHPInletSteam/MaxHPInletSteam
MinLPInletSteam/MaxLPInletSteam
MinOutletSteam/MaxOutletSteam
Pumps
Pump
Description
The pump model is used to increase the pressure of a water stream. The
model allows multiple water feeds and one outlet. One or more power feeds
can also be added to the model.
The pump efficiency can be specified as a fixed value or as an efficiency
curve. The default efficiency method is Constant and in this case, you must
specify the efficiency (ConstEff).
Inlet Ports
Port Name
132
Description
SteamIn(SteamIn1)
Inlet Streams
Yes
PowerIn(PowerIn1)
Inlet Power
Yes
Outlet Ports
Port Name
Description
SteamOut(SteamOut1)
Outlet Stream
No
Specifications
Variable
Description
Pout
Outlet Pressure.
EffMethod
ConstEff
NEffPoints
If LookUpTable is selected, you must enter the efficiency curve in the EffTable
form. A minimum of two points (NeffPoints) must be specified. The data is
entered as efficiency against volumetric flow through the pump.
133
Optimization Limits
Variable
Description
PowerMin/PowerMax
FlowMin/FlowMax
Note: If an efficiency curve is entered for the pump the minimum and
maximum mass flow limits are determined by the range of the efficiency
curve.
Drive List
Description
The drive list model is used to represent a number of motor/turbine drives
that can be used for a particular pump or group of pumps that have the same
service, e.g., cooling tower pumps. The model has both a single steam feed
and steam product, which are connected to each turbine drive in the list. This
means all drives included in the drive list have to be between the same steam
levels. The model also has a single power feed and power product. The power
product stream is connected to a single power demand (a pump or power
demand block).
Inlet Ports
134
Port Name
Description
SteamIn(SteamIn1)
Inlet Streams
No
PowerIn(PowerIn1)
Inlet Power
No
Outlet Ports
Port Name
Description
SteamOut(SteamOut1)
Outlet Stream
No
PowerOut(PowerOut1)
Outlet Power
No
Specifications
Variable
Description
NoDrives
DriveName(n)
DriveOption(n)
Psout
Shaftwork(n)
SteamFlow_A(n)
SteamFlow_B(n)
Efficiency(n)
Optimization Limits
Variable
Description
MinWork(n)/MaxWork(n)
MinShaftwork/MaxShaftwork
MinFlow/MaxFlow
MinPower/MaxPower
Notes:
The shaftwork should be supplied for n-1 drives. In simulation mode the
shaftwork for the remaining drive is calculated along with the steam
demand of the turbine drives and the power demand for the motor drives.
For each of the turbine drives a set of constants must be supplied to
represent the efficiency of the turbine. The constants can be entered on
the SteamFlow_Constants table. The efficiency of the turbines are
represented as follows:
Steam Demand = SteamFlow_A + SteamFlow_B*Shaftwork
In optimization mode the economic mix of drivers is calculated.
135
Pump List
Description
The pump list model represents one or more process pumps which have the
option of either a turbine or motor driver. The model allows only one steam
inlet and one steam outlet stream so pumps should be grouped together by
turbine drivers operating between the same steam levels. The model also
allows a single power feed.
The model does not have a power out port therefore it is not possible to
connect this model to another model on the Aspen Utilities flowsheet as in the
case of the drive list. Instead the power demand is specified directly in the
block for each pair of drives. For optimization, this power demand can be set
in the profiles data editor.
Inlet Ports
Port Name
Description
SteamIn(SteamIn1)
Inlet Streams
No
PowerIn(PowerIn1)
Inlet Power
No
Outlet Ports
Port Name
Description
SteamOut(SteamOut1)
Outlet Stream
No
Specifications
136
Variable
Description
NoPumps
PumpName(n)
PumpOption(n)
Psout
PowerRequired(n)
SteamFlow_A(n)
SteamFlow_B(n)
Efficiency(n)
Optimization Limits
Variable
Description
MinFlow/MaxFlow
MinPower/MaxPower
Notes:
Turbines
Stm_Turbine
Description
This is used to model a single stage turbine. The isentropic efficiency can be
specified as a fixed value or as an efficiency curve. The default efficiency
method is Constant and you must specify the efficiency (ConstEff).
Inlet Ports
Port Name
Description
SteamIn(SteamIn1)
Inlet Streams
No
Outlet Ports
Port Name
Description
SteamOut(SteamOut1)
Outlet Stream
No
PowerOut(PowerOut1)
Outlet Power
No
Specifications
Variable
Description
137
Pout
Outlet Pressure.
SteamOut(SteamOut1).F
EffMethod
ConstEff
NEffPoints
If LookUpTable is selected then you must enter the efficiency curve in the
EffTable form. A minimum of two points (NeffPoints) must be specified. The
data is entered as flow against power generated in the turbine.
Optimization Limits
Variable
Description
PowerMin/PowerMax
FlowMin/FlowMax
If an efficiency curve is entered for the turbine the minimum and maximum
mass flow limits are determined by the range of the efficiency curve.
Note: The conditions (temperature and pressure) of the steam feed is
supplied by an upstream block. You can change the mass flow of steam
specification to a power specification by fixing variable
PowerOut(PowerOut1).Power or linking it to a power demand on
another block.
138
MultiStageTurbine
Description
This is used to model a multiple stage turbine. There are three ways to
specify the performance of multistage turbine: constant isentropic efficiency,
linear relation between power and mass flow and lookup table. The default
efficiency method is Constant and in this case, you must specify the efficiency
(ConstEff).
Inlet Ports
Port Name
Description
SteamIn(n)
Inlet Streams
Yes
Outlet Ports
Port Name
Description
SteamOut(n)
Outlet Stream
Yes
PowerOut(PowerOut1)
Outlet Power
No
Specifications
Variable
Description
nStages
Number of Stages.
SPout(n)
SteamIn(n).
SteamOut(n-1)
EffMethod
ConstEff
STout(n-1)
NeffPoints
You should specify the type of stages in the stage data form. A multistage
turbine with n stages has n-1 interstages.
139
The kInterstange can be used to linearly capture the effect of extraction flow
to nominal power after properly specify the Interstage.
140
Optimization Limits
Variable
Description
MinInlet/MaxInlet
MinimumInduction(n-1)
MaximumInduction(n-1)
MinimumExtraction(n-1)
MaximumExtraction(n-1)
MinPassout/MaxPassout
PowerMin/PowerMax
sMinFlow(n)/sMaxFlow(n)
ExtrLimitConstant(n-1)
ExtrLimitPowerTerm(n-1)
ExtrLimitInletSteamTerm(n-1)
ExtrLimitPassoutTerm(n-1)
IndLimitConstant(n-1)
IndLimitPowerTerm(n-1)
IndLimitInletSteamTerm(n-1)
IndLimitPassoutTerm(n-1)
141
Notes:
The conditions (temperature and pressure) of the steam feed are supplied
by an upstream block.
You can change the mass flow of steam specification to a power
specification by fixing variable PowerOut(PowerOut1).Power or
linking it to a power demand on another block.
Heat Exchangers
AS_HeatEx
Description
This model is used to model either a steam generator using flue gas or as an
air/steam heat exchanger. You must specify the type of exchanger to be
modeled using HXMode. The options are either HX to model the air/steam
heat exchanger or StmGen to model the steam generator.
Inlet Ports
Port Name
Description
WaterIn(WaterIn1)
Inlet Steam/Water
Yes
AirIn(AirIn1)
Inlet Air/Fluegas
No
Outlet Ports
142
Port Name
Description
SteamOut(SteamOut1)
Outlet Stream
No
AirOut(AirOut1)
Outlet Air/Fluegas
No
Specifications
Variable
Description
HXMode
Tsout
DelPs
Optimization Limits
Variable
Description
MinStmFlow/MaxStmFlow
MinAirFlow/MaxAirFlow
Qmin/Qmax
Minimum/maximum duty.
Tcinmin/Tcinmax
Tcoutmin/Tcoutmax
Thinmin/Thinmax
Thoutmin/Thoutmax
Notes:
Chiller
Description
The air chiller model represents an air cooler using refrigeration. The
refrigeration system is not modeled and the refrigeration system utility
requirements are calculated using factors that relate the chiller duty to the
143
steam and power requirements. The temperature of the outlet air stream is
specified. A heat balance is not carried out on the block.
Inlet Ports
Port Name
Description
SteamIn(SteamIn1)
Inlet Steam/Water
No
PowerIn(PowerIn1)
Inlet Power
No
AirIn(AirIn1)
Inlet Air
No
Port Name
Description
WaterOut(WaterOut1)
Steam Condensate
No
AirOut(AirOut1)
Outlet Air
No
Outlet Ports
Specifications
Variable
Description
DelP
Tsout
Taout
StmFact
PowFac
The power factor, which is defined as the power demand per unit
of cooling duty. The default units are therefore MWhr/GJ.
Optimization Limits
Variable
Description
MinStmFlow/MaxStmFlow
MinAirFlow/MaxAirFlow
Qmin/Qmax
Minimum/maximum duty.
PowerMin/PowerMax
Minimum/maximum power.
Condenser
144
Description
This model is used to condense steam. The product stream is saturated water
at the outlet pressure of the condenser.
Inlet Ports
Port Name
Description
SteamIn(SteamIn1)
Inlet Steam/Water
No
FuelIn(FuelIn1)
Inlet Fuel
No
Outlet Ports
Port Name
Description
WaterOut(WaterOut1)
Steam Condensate
No
FuelOut(FuelOut1)
Fuel
No
Specifications
Variable
Description
DelP
Optimization Limits
Variable
Description
MinStmFlow/MaxStmFlow
Qmin/Qmax
Minimum/maximum duty.
FuelVap
Description
This model is used to calculate the amount of steam that is required to
vaporize a liquid fuel stream. It is not a rigorous heat balance, as the
properties of the fuel are not modeled. Instead, you must specify a mass ratio
of steam to fuel required to heat and vaporize the fuel steam.
145
Inlet Ports
Port Name
Description
SteamIn(SteamIn1)
Inlet Steam/Water
No
Port Name
Description
WaterOut(WaterOut1
)
Steam Condensate
No
Outlet Ports
Specifications
Variable
Description
DelP
Optimization Limits
Variable
Description
MinStmFlow/MaxStmFlow
Qmin/Qmax
Minimum/maximum duty.
MinHFuel/MaxHFuel
Heater
Description
This model is used to heat water or steam. It is represented as a single sided
heat exchanger with a single steam feed in and a single steam feed out. The
duty of the heater must be fixed and the data is supplied via the profiles
database.
Inlet Ports
146
Port Name
Description
SteamIn(SteamIn1)
Inlet Steam/Water
No
Outlet Ports
Port Name
Description
SteamOut(SteamOut1)
Outlet Steam/Water
No
Specifications
Variable
Description
DelP
Duty
Optimization Limits
Variable
Description
MinStmFlow/MaxStmFlow
Heater_1
Description
This model is used to heat water or steam. It is represented as a single sided
heat exchanger with multiple steam feeds in and a single steam feed out. The
outlet temperature of the heater must be fixed.
Inlet Ports
Port Name
Description
SteamIn(SteamIn1)
Inlet Steam/Water
No
Outlet Ports
Port Name
Description
SteamOut(SteamOut1)
Outlet Steam/Water
No
Specifications
Variable
Description
DelP
Tsout
147
Optimization Limits
Variable
Description
MinStmFlow/MaxStmFlow
Qmin/Qmax
Minimum/maximum duty.
WW_HeatEx
WW_HeatEx
The model is used to exchange heat between two water/steam streams. The
model allows multiple water/steam feeds and single product streams. You
must ensure you have connected the feed and product streams to the correct
ports (hot or cold side).
Inlet Ports
Port Name
Description
WaterIn(ColdWaterIn)
Yes
WaterIn(HotWaterIn)
Yes
Port Name
Description
WaterOut(ColdWaterOut)
No
WaterOut(HotWaterIn)
No
Outlet Ports
Specifications
Variable
Description
DelPhw
DelPcw
Thwout
Optimization Limits
148
Variable
Description
Tcwinmin/Tcwinmax
Tcwoutmin/Tcwoutmax
Thwinmin/Thwinmax
Thwoutmin/Thwoutmax
MinCWFlow/MaxCWFlow
MinHWFlow/MaxHWFlow
Qmin/Qmax
Notes:
Some other common specifications and the changes that are required are
listed below. The changes can be made in the Flash_Type form.
Cold_Outlet.FlashMode
SetPH
Hot_Outlet.FlashMode
SetPT
Cold_Outlet.FlashMode
SetPT
Hot_Outlet.FlashMode
SetPH
Condensing Steam
o
Cold_Outlet.FlashMode
SetPH
Hot_Outlet.FlashMode
SetPV
Fixed Duty
o
Cold_Outlet.FlashMode
SetPH
Hot_Outlet.FlashMode
SetPH
149
AirAirExchanger
Description
The model is used to exchange heat between two air streams. The model
allows a single air feed in and single outlet stream. You must ensure you have
connected the feed and product streams to the correct ports (hot or cold
side).
Inlet Ports
Port Name
Description
AirIn(ColdIn)
No
AirIn(HotIn)
No
Port Name
Description
AirOut(ColdOut)
No
AirOut(HotIn)
No
Outlet Ports
Specifications
Variable
Description
Duty
Heat Duty.
Optimization Limits
150
Variable
Description
MinColdAirFlow/MaxC
oldAirFlow
MinHotAirFlow/MaxHo
tAirFlow
TColdAirInMin/TColdAi
rInMax
THotAirInMin/THotAirI
nMax
TColdAirOutMin/TCold
AirOutMax
THotAirOutMin/THotAi
rOutMax
Qmin/Qmax
Multipliers
There are four Multipliers corresponding to the four stream types.
SteamMultiplier
Description
The steam multiplier block provides a quick and simple mechanism for
augmenting or decreasing the flowrate of steam in a stream by a fixed factor.
The model supports multiple feed streams but only a single outlet stream.
Inlet Ports
Port Name
Description
SteamIn(SteamIn1)
Inlet Streams
Yes
Outlet Ports
Port Name
Description
SteamOut(SteamOut1)
Outlet Stream
No
Specifications
Variable
Description
Multiplier
Optimization Limits
Variable
Description
MinFlow
MaxFlow
Note: There is no heat loss and pressure drop in the block, and all the
properties of the outlet stream are calculated from the mixed inlet stream.
151
FuelMultiplier
Description
The fuel multiplier block provides a quick and simple mechanism for
augmenting or decreasing the flowrate of fuel in a stream by a fixed factor.
The model supports multiple feed streams but only a single outlet stream.
Inlet Ports
Port Name
Description
FuelIn(FuelIn1)
Inlet Streams
Yes
Outlet Ports
Port Name
Description
FuelOut(FuelOut1)
Outlet Stream
No
Specifications
Variable
Description
Multiplier
Optimization Limits
Variable
Description
MinFuelDuty
MaxFuelDuty
Note: All the properties of the outlet stream are calculated from the mixed
inlet stream.set to those of the inlet stream.
PowerMultiplier
152
Description
The power multiplier block provides a quick and simple mechanism for
augmenting or decreasing the flowrate of power in a stream by a fixed factor.
The model supports multiple feed streams but only a single outlet stream.
Inlet Ports
Port Name
Description
PowerIn(PowerIn1)
Inlet Streams
Yes
Outlet Ports
Port Name
Description
PowerOut(PowerOut1)
Outlet Stream
No
Specifications
Variable
Description
Multiplier
Optimization Limits
Variable
Description
MinPower
MaxPower
AirMultiplier
Description
The air multiplier block provides a quick and simple mechanism for
augmenting or decreasing the flowrate of air in a stream by a fixed factor.
The model supports multiple feed streams but only a single outlet stream.
Inlet Ports
Port Name
Description
AirIn(AirIn1)
Inlet Streams
Yes
Port Name
Description
AirOut(AirOut1)
Outlet Stream
No
Outlet Ports
153
Specifications
Variable
Description
Multiplier
Optimization Limits
Variable
Description
MinFlow
MaxFlow
Note: There is no heat loss and pressure drop in the block, and all the
properties of the outlet stream are calculated from the mixed inlet stream.
Fuel Models
Boiler
Description
This is a simplified boiler model. A rigorous heat and material balance is
calculated. It is possible to calculate the boiler fan power requirement within
the model and in this case, you can also connect a power feed to the model.
The efficiency can be specified as a fixed value or as an efficiency curve. The
default efficiency method is Constant and in this case you must specify the
efficiency (ConstEff).
154
Inlet Ports
Port Name
Description
WaterIn(BFW)
Inlet BFW
Yes
AirIn(AirIn1)
Inlet Air
No
FuelIn(Fuel)
Inlet Fuel
No
Outlet Ports
Port Name
Description
SteamOut(VHPSteam)
Steam Production
No
WaterOut(Blowdown)
Blowdown
No
AirOut(Fluegases)
Fuelgas
No
Specifications
Variable
Description
SteamOut(VHPSteam).F
EffMethod
BDRate
Blowdown rate.
O2out
Pdrop_Gen
Pdrop_SH
Tboiler
FanCoeffB
FanCoeffC
Optimization Limits
Variable
Description
MinAirFlow/MaxAirFlow
MinFuelDuty/MaxFuelDuty
MinStmFlow/MaxStmFlow
155
DF_Boiler
Description
This model is an extension of the boiler model as it allows two fuel feeds.
Inlet Ports
Port Name
Description
WaterIn(BFW)
Inlet BFW
Yes
AirIn(AirIn1)
Inlet Air
No
FuelIn(Fuel1)
Inlet Fuel
No
FuelIn(Fuel2)
Inlet Fuel
No
Outlet Ports
156
Port Name
Description
SteamOut(VHPSteam)
Steam Production
No
WaterOut(Blowdown)
Blowdown
No
AirOut(Fluegases)
Fuelgas
No
Specifications
Variable
Description
SteamOut(VHPSteam).F
FuelIn(FuelIn1).F
EffMethod
BDRate
Blowdown rate.
O2out
Pdrop_Gen
Pdrop_SH
Tboiler
FanCoeffB
FanCoeffC
If LookUpTable is selected as the efficiency method, then you must enter the
efficiency curve in the EffTable form. A minimum of two points (NeffPoints)
must be specified. The curve is in the form efficiency against steam flow.
Optimization Limits
Variable
Description
MinAirFlow/MaxAirFlow
MinFuelDuty/MaxFuelDuty
MinStmFlow/MaxStmFlow
Combustor
157
Description
This model is used to combust fuel in an air stream and so raises the
temperature of the air stream.
Inlet Ports
Port Name
Description
AirIn(AirIn1)
Inlet Air
No
FuelIn(FuelIn1)
Inlet Fuel
No
Port Name
Description
AirOut(AirOut1)
Outlet Air
No
Outlet Ports
Specifications
Variable
Description
FuelIn(FuelIn1).F
Optimization Limits
Variable
Description
MinAirFlow/MaxAirFlow
MinFuelDuty/MaxFuelDuty
O2min
Gas Turbine
Description
This is a simplified gas turbine model using performance curves. The model
uses lookup tables relating the heat consumption, exhaust flow, and
exhaust temperature to power production. Heat losses are a result of the
model calculations.
158
Inlet Ports
Port Name
Description
AirIn(AirIn1)
Inlet Air
No
FuelIn(FuelIn1)
Inlet Fuel
No
SteamIn(SteamIn1)
Inlet Steam
No
Outlet Ports
Port Name
Description
AirOut(AirOut1)
Outlet Air
No
PowerOut(PowerOut1)
Generated Power
No
Specifications
Variable
Description
Npoints
Pow_Vals(n)
HeatVals(n)
FlowVals(n)
TempVals(n)
PowerOut(PowerOut1).Power
ApplyTemperatureCorrection
K1Power
K2Power
K1HeatCons
K2HeatCons
K1Exhaust
K2Exhaust
159
Variable
Description
K1ExhaustTemp
K2ExhaustTemp
Tref
ApplyHumidityCorrection
K1Humidity
K2Humidity
AugmentationFactor
SteamInjectionPercent
Optimization Limits
All limits for the optimization are determined from the performance curves.
160
The input parameters are self-explanatory and consistent with the terms used
in the Specifications table earlier in the previous section.
161
The humidity correction coefficients are at the bottom of the form. The
humidity correction is calculated from these according to:
HumidityCorrection = Humidity*k1 + k2
To specify gas turbine performance curves, right click on the gas turbine and
choose from the Form menu item in the context menu.
Flow Curve
To open the flow curve, right click on the gas turbine and choose Form |
FlowCurve. FlowCurve Profile Plot appears.
162
Double click on any part of the diagram (the curve, coordinate, etc.) You can
change the text font, line color, point mark, etc. as you like.
If you want to edit the value of each point or enter additional points, right
click on the gas turbine and choose Form | FlowTable to open the
FlowTable table.
You can edit the value of existing points by changing the Value column.
Change the NPoints to add new points or delete existing points. After entering
the value, the new point will be shown in FlowCurve.
163
Heat Curve
To open the heat curve, right click on the gas turbine and choose Form |
HearCurve. HeatCurve Profile Plot appears.
Double click on any part of the diagram (the curve, coordinate, etc.) You can
change the text font, line color, point mark, etc. as you like.
If you want to edit the value of each point or enter additional points, right
click on the gas turbine and choose Form | HeatTable to open the
HeatTable table.
164
You can edit the value of existing points by changing the Value column.
Change the NPoints to add new points or delete existing points. After entering
the value, the new point will be shown in HeatCurve.
Temp Curve
To open the temp curve, right click on the gas turbine and choose Form |
TempCurve. TempCurve Profile Plot appears.
Double click on any part of the diagram (the curve, coordinate, etc.) You can
change the text font, line color, point mark, etc. as you like.
If you want to edit the value of each point or enter additional points, right
click the mouse on the gas turbine and choose Form | TempTable to open
the TempTable table.
165
You can edit the value of existing points by changing the Value column.
Change the NPoints to add new points or delete existing points. After entering
the value, the new point will be shown in TempCurve.
HRSG
Description
This is a simplified model of a heat recovery steam generator. A rigorous heat
and material balance is calculated. The inlets to the model are a steam
stream for the boiler feed water, air stream and fuel stream for
supplementary firing. The outlets of the model are two steam streams, one
for boiler blowdown and one for steam, and an air stream for flue gas.
The efficiency is specified as the maximum efficiency in the HRSG.
166
Inlet Ports
Port Name
Description
WaterIn(BFW)
Inlet BFW
Yes
AirIn(AirIn1)
Inlet Air
No
FuelIn(Fuel)
Inlet Fuel
No
Outlet Ports
Port Name
Description
SteamOut(VHPSteam)
Steam Production
No
WaterOut(Blowdown)
Blowdown
No
AirOut(Fluegases)
Fuelgas
No
Specifications
Variable
Description
SteamOut(VHPSteam).F
FuelIn(Fuel).F
BDRate
Blowdown rate.
O2out
Pdrop_Gen
Pdrop_SH
Tboiler
Tref
MaxEff
Maximum efficiency.
Optimization Limits
Variable
Description
MinAirFlow/MaxAirFlow
MinFuelDuty/MaxFuelDuty
MinStmFlow/MaxStmFlow
167
This process during the flowsheet update can only work when the default
variable specifications do not change except the SteamOut(VHPSteam).F.
FuelMixer
Description
This model is used to mix fuel streams.
Inlet Ports
Port Name
Description
FuelIn(FuelIn1)
Yes
Port Name
Description
FuelOut(FuelOut1)
no
Outlet Ports
Specifications
No specifications need to be defined in this model.
Optimization Limits
Variable
Description
MinFuelDuty
MaxFuelDuty
FuelSwitch1toN
168
Description
This model is used to route a fuel stream to an outlet port.
Inlet Ports
Port Name
Description
FuelIn(FuelIn1)
No
Port Name
Description
FuelOut(FuelOutX)
No
Outlet Ports
Specifications
Variable
Description
nFuelOut
Optimization Limits
Variable
Description
MinimumFuelInletFlow/MaximumFuelInletFlow
MinimumFlow(FuelOutX)/MaximumFlow(Fuel
OutX)
nMinOutlets/nMaxOutlets
Minimum/Maximum number of
active outlet ports.
Emissions
Burner
Description
The Burner model is used to do the following tasks:
169
Calculate the flue-gas flow and composition. A butner block does not carry
out the thermal calculation. The fuel out of the burner block should be
connected to the fuel block where it is consumed.
Inlet Ports
Port Name
Description
SteamIn(SteamIn1)
Inlet steam
No
FuelIn(FuelInX)
Inlet fuel X
represents the number
of inlet fuel ports
specified by variable
nFuelIn.
Yes
Port Name
Description
FuelOut(FuelOutX)
No
AirOut(AirOut1)
Outlet air
No
Outlet Ports
170
Specifications
Variable
Description
nBurners
nBurnerGroups
nBurnerFuels
BurnerFuel
BurnersInGroup
AtomisationSteamFactor(FuelInletX)
FuelInletToOutlet(FuelOutletX)
AirOut(AirOut1).T
AirDensity
AirFlowFactor(FuelInX)
AirOut(AirOut1).O2
Optimization Limits
Variable
Description
nMinBurners/nMaxBurners
nMinGroupBurners/nMaxGroupBurners
BurnersInGroup
171
EmissionsChimney
Description
This model is used to combine multiple air/emission streams into a single
stream.
Inlet Ports
Port Name
Description
AirIn(AirIn1)
Yes
Port Name
Description
AirOut(AirOut1)
No
Outlet Ports
Specifications
No specifications need to be defined in the model.
Optimization Limits
Variable
Description
MinFlow
MaxFlow
EmissionsNode
172
Description
This model is used to add constraints on the emission discharges and
concentrations.
Inlet Ports
Port Name
Description
AirIn(AirIn1)
No
Port Name
Description
AirOut(AirOut1)
No
Outlet Ports
Specifications
The following equations are added in order to model and constrain the overall
SOX and CO2 emission in the tracking period:
Variable
Description
PastSOXProd
PastCO2Prod
RemainingTime
Optimization Limits
Variable
Description
MinAirFlow/MaxAirFlow
MinSOXFlow/MaxSOXFlow
MinCO2Flow/MaxCO2Flow
MinSOXConc/MaxSOXConc
Minimum/Maximum SOX
concentration
MinCO2Conc/MaxCO2Conc
Minimum/Maximum CO2
concentration
MinEndOfPeriodSOX/MaxEndOfPeriodSOX
MinEndOfPeriodCO2/MaxEndOfPeriodCO2
MinEndOfPeriodSOXConc/MaxEndOfPeriodSOX
Conc
Minimum/Maximum SOX
concentration at the end of
tracking period
173
Variable
Description
MinEndOfPeriodCO2Conc/MaxEndOfPeriodCO2
Conc
Minimum/Maximum CO2
concentration at the end of
tacking period
MinTotalFlueGas/MaxTotalFlueGas
Minimum/Maximum volumetric
flow of flue gas
EmissionsSwitch
Description
This model is used to route an emission stream to an outlet subject to the
SOX and CO2 flow and concentration limits specified for the ports.
Inlet Ports
Port Name
Description
AirIn(AirIn1)
Inlet air
No
Port Name
Description
AirOut(AirOutX)
No
Outlet Ports
Specifications
Variable
Description
nAirOut
Optimization Limits
174
Variable
Description
MinInletAirFlow/MaxInletAirFlow
MinAirFlowOut(AirOutX)/MaxAirFlowOut(Air
OutX)
MinSOXInletFlow/MaxSOXInletFlow
MinSOXInletConc/MaxSOXInletConc
MinCO2InletFlow/MaxCO2InletFlow
MinCO2Conc/MaxCO2Conc
Variable
Description
concentration
MinSOXOutConc(AirOutX)/MaxSOXOutConc(
AirOutX)
MinCO2OutConc(AirOutX)/MaxCO2OutConc(
AirOutX)
NOXEstimator
Description
NOXEstimator is used as a general block to model NOX generation processes
such as Boiler, HRSG, Gas Turbine, etc. The model is typically used to handle
nonlinear NOX generation curve by piecewise linearization.
Inlet Ports
Port Name
Description
AirIn(AirIn1)
Yes
SteamIn(SteamIn1)
Yes
FuelIn(FuelIn1)
Yes
PowerIn(PowerIn1)
Yes
WaterIn(WaterIn1)
Yes
Outlet Ports
Port Name
Description
AirOut(AirOut1)
No
SteamOut(SteamOut1)
No
FuelOut(FuelOut1)
No
PowerOut(PowerOut1)
No
WaterOut(WaterOut1)
No
175
Specifications
Variable
Description
nAirIn
nSteamIn
nPowerIn
nFuelIn
nWaterIn
nAirOut
nSteamOut
nPowerOut
nFuelOut
nWaterOut
nPoints
NOXCorrVars
nNOXCorrVars
NOXCorrectionVariables(*)
NOXGenCorr_A(*)
NOXGenCorr_B(*)
Notes:
The above parameters for specifying the number of inlet and outlet ports
have a maximum limit of 1 and minimum limit of 0. This indicates these
parameters behave more like Boolean indicators of whether the block has
the particular type of ports (1 = Yes, 0 = No).
In the Emissions table, you must specify nPoints and then enter the NOX
generation curve in terms of Fuel consumption vs. NOX generation.
If the NOX generation curve also involves other variables, they can be
included by specifying the correction variables. For example, if the NOX
generation curve can be expressed as an nonlinear function of fuel
NOXCorrectionVariables(1) should be SteamOut1.
NOX = f (Fuel) + A*Steam + B
This block is typically inserted in front of a fuel consumption block such as
Boiler, GT, HRSG, etc. The inlet fuel is first fed to the NOX Estimator and
then passes through to the fuel consumption block. In the NOXEstimator
block, at least an inlet fuel port and an outlet air port must be specified.
Other ports can be added depending on the correction terms.
NOXGen, NOXGen_Fuel and NOXGen_TotalCorr are the variables that
store the results of NOX generated in the progress.
176
Optimization Limits
There are no optimization limits for this model.
Templates
General Model
Description
This is a general model, which has all the types of ports at the inlet and at the
outlet. You can specify the number of ports for each type in the Summary
form.
Inlet Ports
Port Name
Description
SteamIn(SteamInn)
Steams Port 1 to n
Yes
AirIn(AirInn)
Air Ports 1 to n
Yes
FuelIn(FuelInn)
Fuel Ports 1 to n
Yes
PowerIn(PowerInn)
Power Ports 1 to n
Yes
WaterIn(WaterInn)
Water Ports 1 to n
Yes
177
Outlet Ports
Port Name
Description
SteamOut(SteamOutn)
Steams Port 1 to n
No
AirOut(AirOutn)
Air Ports 1 to n
No
FuelOut(FuelOutn)
Fuel Ports 1 to n
No
PowerOut(PowerOutn)
Power Ports 1 to n
No
WaterOut(WaterOutn)
Water Ports 1 to n
No
Specifications
Variable
Description
SteamOut(SteamOutn).F
SteamOut(SteamOutn).T
Steam Temperature
SteamOut(SteamOutn).P
Steam Pressure
FuelOut(FuelOutn).F
FuelOut(FuelOutn).OD
FuelOut(FuelOutn).CV
FuelOut(FuelOutn).MW
WaterOut(WaterOutn).F
WaterOut(WaterOutn).T
Water Temperature
WaterOut(WaterOutn).P
Water Pressure
AirOut(AirOutn).F
AirOut(AirOutn).O2
Air O2 Content
AirOut(AirOutn).SOx
AirOut(AirOutn).T
Air Temperature
AirOut(AirOutn).CO2
PowerOut(PowerOutn).Power
Power Flow
SteamIn(SteamInn).F
FuelIn(FuelInn).F
WaterIn(WaterInn).F
AirIn(AirInn).F
PowerIn(PowerInn).Power
Power Flow
Optimization Limits
There are no optimization limits for this model.
178
Flowsheet Development
Dealing with Snapshots
A Snapshot is a binary data file that stores all the variable values in the
simulation. The snapshot files are generated by Aspen Utilities Planner/Aspen
Custom Modeler according to the snapshot settings in Tools | Settings.
Please refer to the Aspen Custom Modeler User Guide to learn more about
snapshots (search for Snapshot).
179
180
The demand forecasting application uses a subset of tables within the demand
database which need to be configured following a certain convention. The
structure and relationships between these tables is shown in the diagram
below:
181
Fixed (y = A)
Linear (y = Bx+A)
Quadratic (y = Cx2+Bx+A)
Power (y=DxE)
Exponential (y=GeFx)
You selected the equation type and entered the equation coefficients.
The new equations are much more general and flexible. Because DFE uses
Microsoft Excel to evaluate the equations, the equations can contain any
operation that can be used in Excel.
This version of the Demand Forecasting is configured slightly differently than
11.1 to support the use of multiple cases within the profiles editor. It will
however read databases configured for the 11.1 editor.
To distinguish between various configurations of Demand Database there is a
version field in the VersionInfo table of the Demand Database.
The possible values are:
182
Configuring the demand profile and period set ID the data is saved to.
This is achieved by configuring the data within the following tables:
o
PeriodSet
Period
GeneralInput
Config
DemandForecastingInput
XinVal
TblModeValues
TblModes
PeriodModes
Configuring the link between CalcVars and the variables within the Aspen
Utilities Model. This is achieved by configuring the DemandCalcs table.
SteamFeed
183
HPUSE
LPGEN
LPUSE
PWRUSE
There are three process units on the site (Acetic Acid, VAM and EtAc) each of
which takes a different mix of utilities. The individual utility demands for each
of the process units need to be calculated, summed and linked to the correct
demand block.
The table below shows which unit uses/generates which utility and the
equation that links the utility demand to the production parameter. All of the
production rates are in ton/hr.
Unit
Process
Equation
HP Generation
Mode 1:
(ton/hr)
HP Use
VAM Process
(ton/hr)
EtAc Process
LP Generation
EtAc Process
Mode 1:
(ton/hr)
LP Use
(ton/hr)
Power Use
9.5
(MWh)
VAM Process
EtAc Process
Demand Forecasting Correlations
3.2
0.27* EtAc production rate
The equation coefficients should be such that the y value is calculated in the
Aspen Utilities Planner base units of measurement.
Units of measurement for the x parameter can be chosen. When the demand
forecasting application is also used for performance monitoring, the equations
should be set up so that the x parameter is in the same units of measure as
any corresponding IMS tag which measures that parameter.
184
The Profiles database should already have been generated and the Demand
Variable Map is shown below:
ID
DemandProfileId
EquipmentPropId
HPUSE.D1
D1
HPUSE.SteamIn1
LPGEN.D1
D1
LPGEN.SteamOut11
LPUSE.D1
D1
LPUSE.SteamIn1
PWRUSE.D1
D1
PWRUSE.PowerIn1
SteamFeed.D1
D1
SteamFeed.SteamOut
1
IP21SourceTag
Configured tblDemandVarMap
Units of Measure
All utility demands should be calculated in the Aspen Utilities Planner base
units of measure.
These are:
Configuring General
Information
EquationTypes
This table lists all of the equation types that are used within Demand
forecasting.
Important: Do not edit this table.
185
Operators
This table lists the operators used within the demand forecasting module.
Important: Do not edit this table.
Config
This table is used to set the number of decimal places that are used to display
the results of the calculation.
PeriodSet
There are three fields for each record:
Field
Description
PeriodSetID
This is the ID of the period set that the data is saved to. The
period set ID must be the same as the period set ID used to define
the default case within the profiles database. This is usually P1.
NoOfPeriods
StartTime
This is the starting time for the first period. Again any date/time
can be entered here as it can be altered using the editor. The
format for the data/time is dd/mm/yyyy hh:mm:ss.
PeriodSetID
NoOfPeriods
P1
1
Completed PeriodSet Table
StartTime
07/05/2002 00:00:01
Note: If your database has a version number of 2.0.0.2, the PeriodSetID field
is not used to determine the periodset written to in the profiles database,
instead the PeriodSetID as defined by the Case (from tblCases in the Profiles
Database) is used.
Period
There are four fields in the Period table:
186
Field
Description
PeriodID
A unique ID for the period, used when specifying the values of the
production parameters. When periods are added to the demand
forecasting database, the PeriodIDs are generated automatically
and are of the form Period1, Period2 etc. It is therefore
recommended but not necessary to use Period1 as the ID for the
first period.
PeriodNo
This is the order number of the period, i.e., period 1 has the
PeriodNo 1, period 2 has the PeriodNo 2 and so on.
Field
Description
PeriodLength
PeriodSetID
This is the period set that has been set in the PeriodSet Table.
PeriodID
PeriodNo
Period1
1
Completed Period Table
PeriodLength
PeriodSetID
P1
GeneralInput
There are three fields in the GeneralInput table:
Field
Description
DemandProfileID
The ID of the demand profile the data is saved to. In the first
instance you cannot change the profile the data is saved as
because the profiles editor does not support multiple profiles.
The ID selected must be the same ID and the default demand
profile ID used in the profiles database. This is usually D1.
PeriodSetID
This is the ID of the period set the period data is saved to. As
with the demand profile ID, you cannot change this
information and the selected ID must be the same as the
default period set ID used in the profiles database. This is
usually P1.
DefaultCase
PeriodSetID
D1
PS1
Completed GeneralInput Table
DefaultCase
1
Configuring Production
Parameters
DemandForecasting
Input
This table is used to list all of the production parameters used in demand
forecasting equations:
187
Field
Description
ID
Legend
TagID
DefaultXVal
The default value for the production parameter used if the number
of periods used for demand generation is increased. These data
can be altered using the editor.
Legend
TagID
AAProd
VAMProd
EtAcProd
EtAc Production Rate, ton/hr
Completed DemandForecastingInput Table
188
DefaultXVal
25
31
27
XinVal
This table is used to specify the value of the production parameters. Some
data needs to be entered into the table initially but this data can then be
edited using the editor:
Field
Description
ID
DFID
DemandProfileID
PeriodID
ID
DFID
DemandProfileID
PeriodID
AAProd.1
AAProd
D1
Period1
23
EtAcProd.1
EtAcProd
D1
Period1
28
D1
Period1
30
VAMProd.1
VAMProd
Completed XinVal Table
189
Configuring Modes
TblModes
This table is used to provide information on which plants have modes. The
table consists of the following fields:
Field
Description
Mode_ID
Legend
Description
DefaultValue
Mode_ID
Legend
Description
DefaultValue
ACETIC
ACETIC.LEAN
EO
EO Mode
EO.MEDIUM
SEASON
Season
SEASON.WINTER
190
TblModeValues
This table is used to list all of the available modes for each of the process
units. The table consists of the following fields:
Field
Description
ID
A unique ID for each mode the plant can operate it. The
convention is to concatenate the Mode_ID with the mode ordinal
value.
Mode_ID
ValueString
OrdinalValue
ID
Mode_ID
ValueString
OrdinalValue
ACETIC.LEAN
ACETIC
Lean
ACETIC.RICH
ACETIC
Rich
EO.HIGH
EO
High
EO.LOW
EO
Low
EO.MEDIUM
EO
Medium
SEASON.FALL
SEASON
Fall
SEASON.SPRING
SEASON
Spring
SEASON.SUMMER
SEASON
Summer
Winter
SEASON.WINTER
SEASON
Completed tblModeValues Table
PeriodModes
This table is used to store the mode setting for each period in the profile. The
table consists of the following fields:
Field
Description
PeriodMode_ID
Period_ID
Mode_ID
ModeValueID
PeriodMode_ID
Period_ID
Mode_ID
ModeValueID
Period1.ACETIC
Period1
ACETIC
ACETIC.LEAN
SEASON
SEASON.FALL
Period1.SEASON
Period1
Completed PeriodModes Table
191
Configuring Calculations
Refer to the CalcVars section if you need to reference earlier versions of the
Demand database.
tblEquationDefinition
This table specifies the equations used for calculating the utility demands
from production parameters and modes of operation.
The table consists of the following fields:
Field
Description
recID
EqnID
EqnDescription
EqnString
In our example, if the production rate is zero, the utility demands should be
zero also. Therefore we need to put a conditional (IF statement) around the
equation.
The completed table might be:
recID
EqnID
EqnDescription
EqnString
cvY1
Reboiler Steam
IF("[SEASON]"="(SEASON.WINTER)",
IF([X1]>0,6+0.2*[X1]+2*[X1]^2,0),90)
cvY10
IF("[EO]"="(EO.MEDIUM)",5,0)
cvY11
IF("[EO]"="(EO.LOW)",0,0)
cvY12
CT2 Turbines Y1
IF("[SEASON]"="(SEASON.FALL)",1,0)
cvY13
IF("[SEASON]"="(SEASON.SUMMER)",3,0
)
cvY14
IF("[SEASON]"="(SEASON.WINTER)",4,0)
cvY2
Stripping Steam
IF("[ACETIC]"="(ACETIC.LEAN)",0,0)
cvY3
Turbine PT5
cvY4
CT1 Turbines
15
10
cvY5
CT2 Turbines Y5
0.5*[X1]^1.5 + 37.71
11
cvY6
CT2 Turbines Y6
IF("[ACETIC]"="(ACETIC.RICH)",1000,0)
12
cvY7
CT2 Turbines Y7
IF("[SEASON]"="(SEASON.SPRING)",2,0)
13
cvY8
CT2 Turbines Y8
IF("[EO]"="(EO.HIGH)",10,0)
14
cvY9
CT2 Turbines Y9
IF("[ACETIC]"="(ACETIC.LEAN)",0.5,0)
15
HPUSE.St
eamIn1
Total
HPUSE.SteamIn1
+[cvY1] +[cvY2]
16
LPGEN.St
eamOut1
Total
LPGEN.SteamOut
1
+[cvY4] +[cvY3]
192
CalcVars
This CalcVars section, while obsolete, is included in case you need to
reference earlier versions of the Demand database. Refer to the
tblEquationDefinition section for a description of the current database.
This table specifies the equations used for calculating the utility demands
from the production parameters.
The table consists of the following fields:
Field
Description
DemandForecastingInputID
YvalID
CalcVarID
Legend
EquType
TagID
CoeffA - CoeffG
IsZeroNotZero
Mode
ModeID
In our example, if the production rate is zero, the utility demands should be
zero as well. Therefore, the IsZeroNotZero flag must be set if there are any
fixed consumptions. Also the power usage correlations on Acetic Acid and
VAM are not a function of production rate but they need to be linked to
production rate to enable the flag to work.
193
For the example, the completed table is shown in the following table:
194
Configuring Demand
Calculations
Refer to the DemandCalcs section if you need to reference earlier versions of
the Demand database.
DemandCalcsEquations
This table is used to relate a Demand variable to the equation that calculates
the demand.
The DemandVarID along with tblDemandVarMap in the Profiles database link
the total utility demand to a variable in the Aspen Utilities flowsheet.
The table consists of the following fields:
Field
Description
DemandVarID
DemandVarEquationID
DemandVarEquationID
HPUSE.SteamIn1
HPUSE.SteamIn1
LPGEN.SteamOut1
LPGEN.SteamOut1
PWRUSE.PowerIn1
PWRUSE.PowerIn1
SteamFeed.SteamOut1
SteamFeed.SteamOut1
Configured DemandCalcsEquations Table
DemandCalcs
This DemandCalcs section, while obsolete, is included in case you need to
reference earlier versions of the Demand database. Refer to the
DemandCalcsEquations section for a description of the current database.
This table is used to add all of the individual CalcVars together and link them
to a DemandVarID, which through the profiles database, links the total utility
demand to a variable in the Aspen Utilities flowsheet.
The table consists of the following fields:
Field
Description
DemandVarID
195
Field
Description
a legacy from 11.1.
This field should contain the EquipmentPropId defined for the
Demand in question from the tblDemandVarMap table in the
profiles database.
CalcVarID
Operator
196
DemandVarID
CalcVarID
Operator
SteamFeed.D1
AAHPGenMode1
SteamFeed.D1
AAHPGenMode2
LPUSE.D1
AALPUseMode1
LPUSE.D1
AALPUseMode2
PWRUSE.D1
AAPower
HPUSE.D1
EtAcHPUse
LPGEN.D1
EtAcLPGen
PWRUSE.D1
EtAcPower
HPUSE.D1
VAMHPUse
LPUSE.D1
VAMLPUse
PWRUSE.D1
VAMPower
Configured DemandCalcs Table
Index
A
Adding data to the blocks 8
Aspen Utilities menu bar in
Microsoft Excel 94
Aspen Utilities models
creating 8
selecting 8
Aspen Utilities windows 5
AspenTech support 3
AspenTech Support Center 3
Availability profile 17
C
customer support 3
D
Demand
air 122
blocks 120
dual fuel 123
fuel 121
min. and max. flow limits 120
power 121
steam 120
Demand profile 13
documentation 2
E
e-bulletins 3
Emissions models
Burner 169
EmissionsChemney 172
EmissionsNode 173
EmissionsSwitch 174
NOXEstimator 175
Index
197
T
Tariff data editor
contract definition table 34
data required 35
editing the add contract dialog
36, 39
overview 32
using 32
technical support 3
Templates 177
Turbines
stm_turbine 137, 139
U
Utility supply blocks 116
V
Viewing results from Microsoft
Excel 93
W
web site, technical support 3
S
Section contents 2
Simulation mode 8
Starting a simulation 9
Starting Aspen Utilities 5
Startup/shutdown constraints 73
Steam models
deaerator 127
desuperheater 129
sim_valve 128
stm_flash 130
stm_mix 131
Stream types 115
support, technical 3
198
Index