Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1
ADV 9.pdf
Introduction
This module will introduce you to several advanced topics concerning the operation and convergence of the Recycle unit operation. The Recycle unit operation is used when recycling a product stream back to a previous point in the simulation. The Recycle is a logical operation; it does not transform or adjust the stream that passes through it. The purpose of the Recycle operation is to allow the user to specify the outlet stream while the inlet stream has not yet been calculated. After HYSYS solves this operation, the inlet stream and outlet stream will be identical, within set tolerances. The Recycle operation can be used several times in a given simulation. Every time a recycle operation is added, the total time needed for the simulation to successfully calculate and converge increases. The information presented in this module can be used to reduce this time and achieve greater success with the Recycle unit operation.
Learning Objectives
In this module, you will learn how to:
Position Recycle operations for optimum performance. Use the various numerical parameters to help reduce convergence time.
Prerequisites
Before beginning this module, you should have a good understanding of the HYSYS program, as well as previous experience with the Recycle unit operation.
Try to place a Recycle block in a position that will allow as many streams as possible to be defined. This means that Recycles should be placed after Mixers and before separating operations (Separators, Columns, and Tees). Place Recycle operations upstream of operations that will define a property of the stream. For example, it is good to place Recycle operations before Separators because this will set the pressure in the Recycles outlet stream. Other good choices include compressor aftercooler outlets and trim heater outlets (set temperature). Never place a Recycle operation in a position that will conflict with an Adjust operation. Try to position the Recycle operations in stable streams. A stable stream will be able to converge much faster than a stream that will fluctuate as the Recycle operation solves. Accurate estimations for the initial outlet stream conditions can help to reduce the time and the number of iterations that the recycle operation must perform before a solution is reached. Try to specify reasonable values for the Recycles outlet stream.
Absolute Tolerance
0.01 0.01 0.01 0.001 (this is a relative error) 1.0 0.0001
Tolerances are calculated using HYSYS internal units. These units are essential the SI system.
While the absolute tolerances are set within the program, the relative tolerances are specified by the user. The default relative tolerance for all properties is 10, which HYSYS inserts automatically. You are able to specify any value here; remember, however, that smaller tolerances will require more calculation time. But how does HYSYS calculate the actual tolerance of the Recycle operation? To answer this question we will look at Temperature, using the default relative tolerance of 10 and the set absolute tolerance of 0.01. Multiplying these two values will give a tolerance of 0.1. This means that the temperature of the Recycles outlet stream must be within 0.1 oC (0.18 oF) of the temperature of the Recycles inlet stream in order for the operation to be solved. So, if the inlet streams temperature is 25.67 oC (78.21 oF), then the temperature of the outlet stream will be between 25.57 - 25.77 oC (78.03 - 78.39 oF). If your simulation contains streams with very low (ppm) concentrations, you may want to set the concentration tolerance to a lower value. Otherwise the default tolerances work well in most applications.
The default tolerance for VF is 0.1 (10*0.01), about +/- 10%. This may seem high, but VF is dependant on T, P and composition and these values have a much lower tolerance.
Default Value
3
Definition
The number of iterations per number of accelerations. Using the default, acceleration is applied to every third iteration Sets the maximum value for Q in Wegstein equation. Sets the minimum value for Q in Wegstein equation. The number of iterations before the first acceleration is applied.
-20
The Wegstein equation is given here. This equation is used to determine the values passed to the outlet stream for each accelerated iteration. XN + 1 = Q X N + ( 1 Q ) YN In this equation: X = the value in the outlet stream (assumed) Y = the value in the inlet stream (calculated) N = the iteration number Q = the acceleration factor HYSYS chooses the value of Q that it will use depending on the amount of change that has occurred between successive iterations. A larger value of Q will be used when the change between successive iterations is large, and vice-versa.
A positive Q will help dampen out any oscillations that may occur. Note that Q max should be increased if, and only if, oscillations are affecting the convergence of the Recycle.
Composition and Flowrate values are always passed through the Recycle operation, regardless of the flash type.
10
Information Summary
Using the Recycle Operation
The Recycle operation is used when returning a product stream to an upstream point in the simulation. The Product stream of the recycle operation is user-specifiable while the feed stream is calculated by HYSYS.
Recycle Tolerances
Calculated as the product of the relative tolerance (user specified) and the absolute tolerance (set in the program). Tolerances are calculated using HYSYS internal units. Simulations will recycle streams that have very low concentrations of important components, may require lower relative tolerances for the composition specification.
Multiple Recycles
If the Recycles are nested, the tolerances must be tighter for the inside operations and looser for the outside ones. Simultaneous Recycles are not calculated by the regular solver with the other operations, rather the simultaneous solver will run only after all other operations have been calculated.
Flash Types
Newer versions of HYSYS (2.1 and up) allow the user to select the flash type that the recycle operation will perform. The default choice is PT and works well in most cases. A PH flash will be a better choice for very pure recycle streams.
10
11
Exercise
Main Process Flow Diagram
11
12
Subflowsheet #1
Subflowsheet #2
Subflowsheet #3
12
13
Questions
These questions can be answered individually or discussed by the whole group. Examine the Main PFD given on page 11. This flowsheet has been solved using two Recycle operations. Is there a way to solve it using only one? _____________ Should these Recycle operations be set to "Nested" or "Simultaneous"? _____________ Given that most streams in this flowsheet are mixtures of various light Hydrocarbons, would you expect any advantage to be seen by choosing a flash type other than the PT default, yes or no? __________ If yes, which type would you choose? __________ Would there be any advantage in placing "Recycle 1" after "E-102" instead of before it? _____________ What about moving "Recycle 2" to a position between "V-100" and "MIX-109"? _____________ Or between "MIX-109" and "Sub-FS #2"? _____________ Can you think of any other positions for "Recycle 1" that might lead to quicker convergence? _____________ What about "Recycle 2"? _____________ "Recycle 1" has the relative tolerances for Flow and Composition set to 1. How will this affect convergence time? _____________
13
14
Optional Exercise
Open the HYSYS 2.1 case ADV Flowsheet.hsc supplied on the course disk, and answer the following questions by working with the flowsheet. Change the flowrate of Feed and see how long it takes HYSYS to reconverge the flowsheet. Hint: a small change will reduce convergence time. Change the Recycles to "Nested" and return the Feed flowrate to its original level. Did it take longer to converge with the Recycles as "Nested" or "Simultaneous"? _____________ Set the Recycles to solve using Successive Substitution (see page 7). Again, adjust the Feed flowrate and observe how long it takes HYSYS to reconverge the flowsheet. Next, set the Acceleration Frequency to 1 and the Acceleration Delay to 1, (for both Recycles) and monitor the time needed to reconverge the flowsheet. Does Wegstein Acceleration help to converge these Recycles or not? _____________ Change the Acceleration Method to Dominant Eigenvalue Which Acceleration Method converges the simulation faster? Wegstein, Dominant Eigenvalue, or none at all. _____________ Change the tolerances of the Recycle operations and monitor the effect on convergence time. Move the Recycle operations to the positions mentioned on the previous page and see if convergence time (or the number of iterations) is reduced. Can you see any noticeable improvement in convergence time after repositioning the Recycles? _____________
14
15
15
16
Answer Key
Questions, page 13
Examine the Main PFD given on page 11. This flowsheet has been solved using two Recycle operations. Is there a way to solve it using only one? _____________
These Recycles operations are definitely interacting; therefore, they should be set as Simultaneous.
Given that most streams in this flowsheet are mixtures of various light Hydrocarbons, would you expect any advantage to be seen by choosing a flash type other than the PT default, yes or no? __________ If yes, which type would you choose? __________
No; the PT flash type works well for streams that are mixtures. A PH flash is better for pure streams, but we do not have those here.
Would there be any advantage in placing "Recycle 1" after "E-102" instead of before it? _____________
Yes; placing the recycle operation (Recycle 1) after the aftercooler (E-102) would set the temperature of the recycles inlet stream, thereby helping to reduce convergence time.
What about moving "Recycle 2" to a position between "V-100" and "MIX-109"? _____________
The advantage here is less obvious than for the previous question. It really depends on what information the user has specified and what is calculated. The best advice here is to try it and see what happens.
Or between "MIX-109" and "Sub-FS #2"? _____________
16
17
Can you think of any other positions for "Recycle 1" that might lead to quicker convergence? _____________
No; slight improvements might be seen in placing it in another position, but no big improvements will be seen in convergence time.
What about "Recycle 2"? _____________
Other than placing it after the cooler, no other positions are available for this recycle operation. If it is moved, another recycle operation may be required. If another recycle operation is added, convergence time is sure to increase.
"Recycle 1" has the relative tolerances for Flow and Composition set to 1. How will this affect convergence time? _____________
Lower tolerances will always increase convergence time. The user must decide whether these lower tolerances are necessary, or not.
According to my trials, the convergence time was slightly greater when the recycles were set to nested, though the difference was not great.
Does Wegstein Acceleration help to converge these Recycles or not?
Yes; convergence time was shortest with the acceleration delay at 1 and the acceleration frequency at 1.
Which Acceleration Method converges the simulation faster? Wegstein, Dominant Eigenvalue, or none at all.
Yes; moving Recycle 1 to a position after the cooler did reduce the convergence time. Moving Recycle 2 to any other position did not significantly affect the convergence time in my simulation.
17
18
18