Académique Documents
Professionnel Documents
Culture Documents
Common Causes of EO
Problems
The problems listed below are common causes of failures in EO models.
Both the material input and output to an area of the flowsheet are fixed.
Recycle loops where all the pressures are set via pressure drops leaving the
pressures indeterminate.
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
Closed circuits. Cooling or heating systems with a closed circuit are singular.
The loop must be opened and only the temperature, enthalpy and molar
volume stream attributes should be connected through User connections.
Fugacities that are very large or very small. This can cause problems in the
solver. Sometimes the physical property system will set the fugacity to an
upper limit of 1E20, which may be un-solvable. A warning will be issued in
this case. Try to avoid the flash or use the Light-Key and Heavy-Key option
for the flash.
Flashes in blocks that are highly superheated or subcooled. Look for vapor
fractions that are greater than 1.5 (the upper limit is 2.0) or less than -0.5
(the lower limit is -1.0). If these streams have no chance of moving into the
two-phase region, change the phase to vapor-only or liquid-only. Though
the Auto-Phase function should do this automatically, certain flashes are not
considered such as zone analysis in the heat exchanger models.
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
Select View | Solver Reports and click the report your want to view.
Description
EVALUATE
EQUATIONS
PRINT BLOCK
CONVERGENCE
PRINT LARGEST
EQUATIONS
EXCLUDE BLOCK
blockid
EXCLUDE
EQUATION eqnid
ANALYZE
JACOBIAN tol
PRINT FIXED
PRINT
MEASUREMENTS
PRINT ACTIVE
CONSTRAINTS
The EO Variables grid can be effective for using Queries to determine if any
variables have converged to unrealistic values such as:
Negative flows
Negative compositions
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
Cause
This occurs when using the default DMO solver for equation-oriented mode.
This solver is unbounded, and may move very far from the actual solution
during the search since no bounds are enforced. Because of this, this error
may also be accompanied by other errors from models that cannot be solved
at these conditions.
Solution
You can help the solver by specifying your problem more tightly. For instance,
you can remove unnecessary flashes between a group of single-phase blocks
by specifying them as vapor-only or liquid-only as appropriate.
You can also try switching to a solver that enforces bounds, such as LSSQP.
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
Cause
This is generated by the enhancement introduced in Aspen Plus 2004.1 to
allow automatic phase dropping. When this option is enabled, Aspen Plus
automatically adjusts the allowed phases in each flash associated with a block
(outlet flash, mixed inlet flash, dew or bubble point flash) if any phases are
missing at initialization.
Solution
To prevent the appearance of this message, set the appropriate valid phases
for each feed stream in its Input | Flash Options sheet, and for each block
in its Valid phases field(s).
It is also possible to suppress the phase-dropping feature by setting Remove
missing phases to No on the EO Configuration | EO Options | Global |
Additional Options | Flash Options sheet. This is not recommended unless
the EO solutions are being driven into superheated or subcooled regions
(where phases would exist that are being suppressed by the phase-dropping
feature).
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
Cause
These are generated when the non-zero components feature added in Aspen
Plus 2004.1 causes components to be dropped from certain streams. When
this option is enabled, Aspen Plus automatically reduces the component slate
by removing components not present at initialization. It does so with several
exceptions to avoid removing components which might appear in a block.
Solution
To prevent the appearance of these messages, specify component groups
throughout the simulation wherever certain components are missing. If you
do not want the components to be dropped, you could reduce the
Component tolerance on the EO Options sheet, or increase the flow of the
component above the component tolerance. You can also disable the Remove
Components option on any EO Options sheet to disable this feature in the
areas affected by that sheet.
EO Troubleshooting Guide
EO Troubleshooting Guide
Because SM solves in a sequential-modular fashion one block at a time it
is often very straightforward to diagnose solution failures in this strategy. EO,
on the other hand, solves all the blocks simultaneously and thus it can be
difficult to pinpoint the exact cause of a failure. This document provides a
guide to diagnosing solution failures in EO. The guide is provided as
numbered steps, though they need not be followed rigorously.
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
Be sure in each of these steps to reset the variable values after each failure.
This can be done by any of the following:
Export a variable file and re-load as needed. The variable file can be from a
previous successful solution. If none is available, the SM results can be
saved by exporting the file before the EO solution.
Once convergence is achieved, it is a good idea to exercise the flowsheet by
making changes to the operating conditions within the expected range of
operation. This will give an indication of the robustness of the specifications
as well as the modeling approach.
Be aware that the EO strategy is much more sensitive than SM. Thus,
flowsheets that operate well in SM may not always convert cleanly to EO.
However, if the problem runs well in EO, chances are its SM behavior will also
improve.
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
Worst
Model
------$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
The residual will get worse as the iteration proceeds accompanied by many
line searches, indicating divergence. Also, the non-linearity ratio is negative,
indicating highly non-linear behavior. When creep is used for this case, the
output becomes:
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
Residual
Objective
Objective
Overall
Model
Convergence Convergence Function Nonlinearity Nonlinearity
Iteration
Function
Function
Value
Ratio
Ratio
--------- ----------- ----------- ---------- ------------ -----------0
8.848D-01
0.000D+00 0.000D+00
9.828D-01
9.828D-01
<Line Search Creep Mode ACTIVE> ==> Step taken 1.00D-01
1
5.759D-01
0.000D+00 0.000D+00
9.941D-01
9.941D-01
<Line Search Creep Mode ACTIVE> ==> Step taken 1.00D-01
2
5.028D-01
0.000D+00 0.000D+00
9.956D-01
9.956D-01
<Line Search Creep Mode ACTIVE> ==> Step taken 1.00D-01
3
4.391D-01
0.000D+00 0.000D+00
9.962D-01
9.962D-01
<Line Search Creep Mode ACTIVE> ==> Step taken 1.00D-01
4
3.815D-01
0.000D+00 0.000D+00
9.966D-01
9.966D-01
<Line Search Creep Mode ACTIVE> ==> Step taken 1.00D-01
5
3.300D-01
0.000D+00 0.000D+00
9.970D-01
9.970D-01
<Line Search Creep Mode ACTIVE> ==> Step taken 1.00D-01
6
2.842D-01
0.000D+00 0.000D+00
9.973D-01
9.973D-01
<Line Search Creep Mode ACTIVE> ==> Step taken 1.00D-01
7
2.438D-01
0.000D+00 0.000D+00
9.976D-01
9.976D-01
<Line Search Creep Mode ACTIVE> ==> Step taken 1.00D-01
8
2.083D-01
0.000D+00 0.000D+00
9.969D-01
9.969D-01
<Line Search Creep Mode ACTIVE> ==> Step taken 1.00D-01
9
1.362D-01
0.000D+00 0.000D+00
9.976D-01
9.976D-01
<Line Search Creep Mode ACTIVE> ==> Step taken 1.00D-01
10
1.163D-01
0.000D+00 0.000D+00
9.778D-01
9.778D-01
11
5.553D-04
0.000D+00 0.000D+00
9.840D-01
9.840D-01
12
1.534D-06
0.000D+00 0.000D+00
9.993D-01
9.993D-01
13
7.331D-13
0.000D+00 0.000D+00
Worst
Model
-------$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
$B1HTR
This case was successful using the default creep step of 0.1 and iterations of
10. More serious problems may require a smaller step size and/or more
iterations.
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
10
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
B1.BLK.P_TEMP
from 117.09 to UB 100.00 C
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
11
12
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
This indicates that the initial residual is relatively small, but the ill-conditioned
nature of the problem caused it to diverge.
Yet another indicator is very large shadow prices (1E10 or greater) in the
ATSLV file:
Index
======
159
170
150
3
Residual
============
-6.51704D-05
6.42336D-05
-7.21017D-06
-6.93285D-06
Price
=============
4.13200D+24
4.13200D+24
4.68009D+24
-4.67878D+24
The above example shows that the unscaled residual for the stream mole flow
is very small, but because the shadow price is very large, the scaled residual
is large (leading to the residual convergence function of 1E20 in the previous
output). This would point to a problem with the flowsheet material balance.
Usually in cases like these LSSQP will detect the singularity and indicate the
offending equation. Other times it will not detect the singularity and yet solve
the problem. However, the flowsheet will not be robust to changes in the
operating conditions. If DMO appears singular but LSSQP solves the problem,
exercise the flowsheet with LSSQP to check the robustness of the model.
This is harder to diagnose since the solvers did not directly detect the
singularity. In this case, it is best to proceed to the following steps to help
localize the troublesome equations.
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
13
14
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
===== ========================================
491
590
589
511
502
$B1HTR.BLK.LMTD
$B1HTR.BLK.PT_9_LMTD
$B1HTR.BLK.PT_8_LMTD
$B1HTR.BLK.FC12_INTERP_PT_9_DUTY
$B1HTR.BLK.FC11_INTERP_PT_9_DUTY
Ratio
Deviation
============
============
-2.02771D+01
6.02861D+00
5.51072D+00
4.17770D+00
2.93968D+00
2.12771D+01
5.02861D+00
4.51072D+00
3.17770D+00
1.93968D+00
The Ratio should be near one. Large negative values, such as that shown
above, indicate that the equation is behaving in the opposite direction of that
predicted by the solver.
For LSSQP:
OBJECTIVE AND WORST MERIT FUNCTION CONTRIBUTORS
----------------------------------------------Penalty
Equation
Difference
Old
Value
New
Value
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
Predicted
Value
15
0.0
2.26721D-1
5.17216D-4
5.16741D-4
1.11661D-4
1.11381D-4
1.00000D+0
-1.40978D+4
-1.40875D-3
-1.41405D-3
-6.27624D+0
-6.26055D+0
1.00000D+0
2.26721D+5
2.39803D-2
2.40705D-2
1.11661D+2
1.11381D+2
1.00000D+0
1.8190D-11
-1.6098D-15
-3.6555D-15
-7.4269D-12
-6.4571D-12
The pressure drop parameter in the Heater model. In this case, change the
scale factor of the pressure drop parameter variable.
Very large or very small fugacities in a flash (common to almost all models).
In this case, the scale factors of the both the fugacity and composition may
need to be changed.
The scale factor may be changed from the command line with:
variableid.SCALE = value
or in the EO Input form. Enter a large value if the variable is very large or a
small value if the variable is very small. Begin with values on the order of 103
or 10-3 and adjust from there. Do not simply enter the magnitude of the
variable as the scale factor. The scale factor probably should not exceed 10+9
and 10-9.
The scaling for all the model variables can be checked by printing a file with
the variable values and scale factors. Use the command:
WRITE VARFILE [VALUE, SCALE] TO "SCALING.VAR"
16
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
Load this file into Excel and compute a scaled value as:
ScaledValue = abs(value) / scale
Sorting this new column in ascending order can help localize poorly scaled
variables.
Generally, the most problematic scaling issues are associated with variable
values that are very large. It is not normally advisable to modify scale factors
for values that are very small, unless the solution to the particular EO
problem has a strong dependence on the exact values of the very small
variable values (such as in kinetic reaction mechanisms where reactive
intermediates are being modeled, and their concentrations are very small but
important).
Derivatives that are very small. These may be just noise effects.
Derivatives of flash equations with respect to the vapor fraction where the
flash lies right on the phase boundary. There is a known discontinuity at the
phase boundary for the flash equations.
If there is some question about the accuracy of the analytic derivatives,
change to numeric derivatives:
blockid.DERIV_METHOD = NUMERIC
EO Troubleshooting Cases
EO Troubleshooting Cases
Case 1: EO problem is not incorporating the results of an SM Design-Spec,
optimization, or balance block.
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
17
Cause 1
The SM flowsheet operation is manipulating a stream variable that is not a
feed stream to the process. The specification is overwritten by the results of
another block.
Solution 1
Change the specification of the flowsheet operation so it manipulates a feed
stream to the process.
Note: A feed stream inside a hierarchy block is not really a feed stream; the
attached stream outside the hierarchy block is feeding into it. In this case, the
variables of the stream inside the hierarchy block are set to match the values
of the corresponding stream outside the hierarchy block. A manipulation of
this stream should be placed outside the hierarchy block and should
manipulate the stream outside the hierarchy block.
Cause 2
The SM flowsheet operation is manipulating a variable that does not have a
fixed specification in EO.
Solution 2
Either add a spec group to make this variable fixed, or change the
specifications of the SM problem so that the variable manipulated is specified.
Cause 3
Some input variables cannot be updated by Input Reconciliation, so the
results of the SM flowsheet will not be carried over into EO.
Check the list of Input Reconciliation limitations to determine whether this is
the problem. The variables described cannot have their input values updated
as a result of such manipulations.
18
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
Solution 3
Redesign the flowsheet operation so it does not depending on manipulating
such variables, or set explicit specifications in EO for the final values of the
SM flowsheet manipulation.
Cause 1
If you choose Reinitialize equation oriented simulation with changes in
configuration, Flowsheet/Hierarchy level EO-Input and EO-Options may not be
used during initialization after specifying sequential-modular input changes at
the block level, and you also have specified equation-oriented variable values
or other attributes on the EO Input or EO Options forms at the top level or
at the level of a hierarchy block, these specifications will be ignored in this
type of initialization. This type of reinitialization may also be performed
implicitly when you change SM block specifications and rerun the problem in
EO.
Solution 1
If you want these specifications to always be invoked, specify them in the EO
Input form or the Block Options EO Options sheet within the block.
Cause 2
If you choose Rebuild equation oriented simulation and reinitialize with
current EO results after an SM input change resulting in the rebuild of a block,
EO Input variable value statements referencing the block at the hierarchy or
flowsheet levels will be overwritten by the restored variable value vector.
Solution 2
To do other forms of reinitialization, save the variable values in an external
file prior to performing the SM input changes and then import the saved
variable values after the re-initialization is complete. Use the export (
) and
import (
) EO variables buttons on the control panel to export and import
these files.
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.
19
20
This documentation is an excerpt of the Aspen Plus 2006.5 online help. 2007 Aspen Technology.