In this method, the original combination of uncertainty parameter values for each subperiod is set to the nominal point. are the nominal values of uncertain parameters. In order to limit uncertain parameters , , and are introduced as the expected variation in a positive or negative direction. After critical point identification, represents the value of uncertain parameters in each critical point, and represents the expected variation of uncertain parameters corresponding to critical point s.
3.1. Nominal Multiperiod HEN Topology Generation
The topology of the nominal multiperiod HEN, including the number of heat exchangers, the matching of hot and cold streams, the heat exchange area assignment, etc., is obtained by solving Model A. Since Model A is a single-period problem, the representative subperiod method [
7] will determine the subperiod used to solve Model A nominally with
. By determining the structure of the nominal HEN, the heat transfer areas in the rest of the non-representative subperiods are optimized by solving Model A with a fixed nominal structure.
The model is extended from the stage-wise superstructure-based method proposed by Yee and Grossmann [
2] in
Figure 2, by including the calculation for parameters related to phase changes in streams, for example, the identification of phase changes for the streams, the calculation of material content in a stream when the phase changes occurs, and the consideration of the latent heat of vaporization for the energy balance in heat recovery matching when vaporization is involved. In a stage-wise superstructure, note that (1) heaters can only occur before stage 1 and coolers can only occur after stage
k; (2) for each stream, only one heat transfer match is allowed to exist within a stage; (3) in each stage, hot streams exchange heat with cold streams, and finally reach the targeted temperature at the end of the HEN; (4) in this model, stream splitting is not allowed.
The objective function Model A:
subject to equality constraints (A1)–(A6); inequality constraints (A7)–(A12); equality area constraints (A13); as well as the phase change constraints, which will be discussed in the following. Detailed constraint equations can be found in
Appendix A. In this objective function,
is the total annual cost of subperiods of the HEN, which is set as the objective function.
, and
represent the cost coefficient of the heat exchanger, heat transfer area, cooling utility, and heating utility, respectively;
,
, and
are the binary variables representing the existence of each heat exchanger of hot stream
i and cold stream
j match at stage
k, cooler for hot stream
i, and heater for cold stream
j, respectively;
,
, and
represent the corresponding heat transfer area of each heat exchange unit;
,
, and
represent the corresponding heat load of each heat exchange unit.
is the cost exponent of the heat transfer area.
The Antoine formula, a mathematical expression of the relation between the vapor pressure and the temperature, is adopted to determine the saturated vapor pressure of the process streams:
where
are the saturation vapor pressure of component
x, which is of interest. In this work, it is the produced ammonia.
are the temperature of the hot and cold streams in stage
k.
A,
B, and
C are the Antoine coefficients.
The calculated saturation vapor pressure is then used to determine whether phase changes occur. As shown in Equations (3) and (4), when the calculated saturation vapor pressure
is smaller than
, the partial pressure of component
x is in stream
i, and the initial vapor fraction Vhin is not equal to 0, the sign function
takes value 1, then
equals 1, indicating that the hot stream
i will experience a phase change in stage
k. If the calculated saturation vapor pressure
is larger than the partial pressure of component
x in stream
i, or the initial vapor fraction Vhin is equal to 0, the sign function
takes value 0, then
equals 0, indicating that phase change will not occur. The same rule applies to the cold stream.
The molar content of the substance of interest in the gas phase,
, is calculated using the Larson–Black empirical formula given in Equation (5) [
23]:
where
, and
denote the coefficients that take a specific value for a certain substance. P is the total pressure of the stream.
is the modified coefficient. In this work, the substance considered is ammonia, for which
, and
take values of 4.1856, 60.2724, and 1099.5, respectively.
In this work, the heat of vaporization of components for hot streams and cold streams,
, is calculated by fitting Equations (6) and (7):
which is used to calculate the heat load of streams with phase changes.
Then the vapor fraction
of each stage of each hot stream is calculated by the following constraints (8):
where
is the component content of
x.
of each stage of each cold stream is determined by the conservation of energy.
The final nominal multiperiod HEN structure is determined using the maximum area principles, which define the maximum area of a heat exchanger in each subperiod as the final assigned area.
3.2. Critical Point Identification
The scenario is a combination of the values of in the case. There are infinite combinations since the uncertain parameters are set as continuous variables restricted to a range. It is unrealistic to consider all combinations simultaneously, so reducing the number of scenarios is necessary. In this step, therefore, a single-scenario NLP Model B is introduced to control the number of scenarios to the number of heat exchange units. The model is repeated for each heat exchange unit, and the result of each optimization will be a combination of values of uncertain parameters representing the heat exchange unit’s critical point.
An approximate one-level formulation [
14] is chosen to save time and cost, as well as to avoid the enumeration of multiple scenarios. The objective function Model B is as follows:
subject to equality constraints (A1)–(A6); phase change constraints (1)–(8); inequality constraints (A7)–(A12); equality area constraints (A13); inequality uncertain parameter range constraints (9) and (10). In this objective function,
represents the heat transfer area of each exchanger unit, which includes heat exchanger
, heater
, and cooler
. M is a large number, which is added to compromise the minimization of the TAC and maximization of the heat transfer areas.
The equations in Model B are the same as in Model A, except that the uncertain parameters are involved in the solution as variables, which is constrained by (9) and (10).
3.3. Multiperiod HEN Flexibility Tests
After obtaining critical points, the superiority and adaptability of the design should be assessed. According to the results of the scenario selection in Model B,
are chosen as the data for this step to calculate the flexibility index. Model C is also a single-scenario NLP problem, which is based on the model of Swaney and Grossmann [
11] and is performed for each subperiod.
The objective function Model C is as follows:
subject to equality constraints (A2)–(A6); phase change constraints (1)–(8); inequality constraints (A7)–(A10); inequality area Equations (11)–(13); equality uncertain parameter constraints (14). Model C contains only part of the equations for Model A and Model B.
Equality area constraints (A13) are replaced by inequality area constraints (11)–(13) to obtain the values of uncertain parameters, and Equation (14) is added to calculate the flexibility index:
where
represents the direction of deviation from the nominal point towards the critical point;
u represents heat transfer coefficients;
,
,
represent the temperature differences of heat exchange units;
are the initial temperature of hot utility and cold utility;
represents the flexibility index of each critical point, which measures the size of the feasible operating region in uncertain parameters and constraint parameters within which possible operation is guaranteed. If the value of the flexibility index of the HEN is equal to or greater than 1, the design of the HEN is feasible within an uncertain parameter range. The smaller the value of
, the smaller the degree of deviation.
After operating Model C, the flexibility index of each subperiod is defined as the minimum of all critical points by Model D.
The objective function Model D is as follows:
The flexibility index of the whole multiperiod HEN is finally determined as the minimum value of the flexibility indexes of the three subperiods.
3.4. Flexibility Improvement
In cases where the flexibility index is less than 1, a flexibility improvement of the nominal HEN is needed, which is carried out by increasing the heat transfer areas of the corresponding heat transfer units. This operation allows for a bigger heat transfer load and a smaller heat transfer temperature difference. Based on the obtained heat transfer structure, the heat transfer area, and the identified critical points, the solution is solved using the following model with the flexibility index set to 1.
The objective function Model E is as follows:
subject to equality constraints (A1)–(A6); phase change constraints (1)–(8); inequality constraints (A7)–(A12); equality uncertain parameter constraints (14); inequality area constraints (15)–(17).
Model E contains most of the equations of Model A and Model B, where the equality area constraints (A13) are replaced by inequality area constraints (15)–(17) to solve for the heat transfer area that needs to be improved.
where
, and
are the additional heat transfer areas of heat exchangers, coolers, and heaters. Nominal
,
, and
are input as known data, while the flexibility index is set to 1, i.e., it should ensure that the improved HEN is guaranteed to adapt parameter fluctuations. The critical points of Model B are solved for each subperiod and each heat exchanger to obtain the corresponding
, and
. Finally, three kinds of areas are again confirmed using the maximum area principles, and
, and
are the final assigned heat transfer area for each heat exchanger.