1. Introduction
The International Energy Agency estimates that the industrial sector accounts for more almost two-fifths of the global energy consumption [
1]. As such, this sector is responsible for releasing large quantities of industrial waste heat to the environment—via cooling media, exhaust gases, and hot equipment surfaces, among others. This is especially true for chemical, minerals and metals, pulp and paper, and the food industries [
2]. Recovering, storing, and reusing this surplus heat when required is a means of improving industrial energy efficiency and lowering its overall environmental impact. Moreover, waste heat recovery presents a low-cost energy resource with the potential to realize significant energy savings, improving the competitiveness of the sector.
According to [
3], industrial symbiosis occurs when multiple process plants are located within the same geographical area, facilitating by-product reuse, utilities and infrastructure sharing, and a joint provision for shared services. Surplus heat recovery is an especially attractive proposition for such industrial clusters since it presents an opportunity for flexible energy exchange within the cluster, with plants representing both sources and sinks of surplus heat. Today, recovered high-grade heat is mostly reused within the process itself in order to reduce exergy losses, but low-grade surplus heat below 200 °C provides recovery potential for external energy exchange [
4]. Such low-grade heat integration is thus highly beneficial for energy exchange in industrial clusters, since participating plants can fulfill their low-grade heat demands from within the cluster itself.
For optimal use of energy, two main aspects must be considered: (1) Design of the process and its infrastructure; and (2) How to optimally operate the system to maximize energy recovery. For example, in [
5], optimal location of the intermediate-fluid circuits was determined for heat integration across multiple plants to maximize savings. Some studies have focused specifically on design optimization in industrial clusters [
6,
7,
8,
9]. However, even for plants with a well-designed surplus heat recovery system, there may be further operational and control challenges to deal with. A prominent operational challenge for surplus heat exchange between multiple plants is the temporal decoupling between the availability of surplus heat and its demand [
10]. From the various available technologies [
11], thermal energy storage (TES) is a viable option to handle this issue. Surplus heat is supplied to, and extracted from, a TES unit at different temperatures, allowing for a diverse set of plants to participate in the energy exchange. TES units offer operating flexibility to heat recovery by creating a buffer between the supply and demand of surplus heat, thereby reducing peak energy requirements. With TES, however, the dynamic operational aspects become extremely important. Optimal operation and control of TES units has been studied previously within different application areas. For instance, optimal operation of TES units in buildings for reducing peak loads was considered by [
12]. In [
13,
14], model predictive control (MPC) is implemented on a TES system for energy-efficient buildings. Another application of MPC on a TES system for multi-energy district boilers is investigated in [
15]. Classical control techniques like the proportional-integral-derivative (PID) control have also been investigated, for instance in TES for concentrated solar polar [
16]. An optimal control scheme was proposed by [
17] for surplus heat exchange using TES in industrial clusters. A review of various types of TES and their applications can be found in [
18,
19], whereas a review of optimization and control for TES systems is given in [
20].
A TES unit within an industrial cluster setting presents a unique challenge from an operator’s perspective, in that there are various system uncertainties to contend with. In [
21], it is noted that supply of low-grade surplus heat is usually unstable because of temperature fluctuations in the processes producing it. Similarly, there is volatility in consumer-side heat demands and process temperatures. These uncertainties in the supply and demand profiles of surplus heat affect efficient utilization of the TES unit. Additionally, daily variability in the electricity prices can directly influence the operating costs, since electricity from the grid is often used for peak heating. Disregarding these uncertainties in the system can lead to control solutions that are not only suboptimal, but also infeasible. The plant–model mismatch that arises due to these uncertainties may result in control solutions that cause critical constraint violations. In an industrial cluster, this may translate to larger heat-acquisition costs to satisfy consumer demands, leading to high carbon emissions if fossil fuel-based peak heating is involved. Operating constraints relating to safety or process specifications may also be violated. Such constraint violations usually come with a significant economic penalty, and so may not be acceptable to the stakeholders in the industrial cluster.
To achieve robust operation against uncertainty, the multistage nonlinear MPC proposed by [
22] can be employed. Here, the uncertainty is modeled in terms of discrete scenarios of operation, evolving in the form of a “scenario-tree”. The scenario-tree gives a measure of how future control inputs can take
recourse action to negate the effect of future uncertainties, since these scenarios are explicitly modeled. This notion of feedback is what makes the multistage MPC less conservative than other robust MPC methods like the min-max MPC [
23]. However, a limitation of this approach is that the problem size increases exponentially an with increasing number of considered scenarios. For computational efficiency, it is important to capture maximum uncertainty information with fewer scenarios.
In this context, the availability of historical data from industrial processes motivates the need for data-driven approaches to scenario selection in multistage MPC. Industrial data is particularly useful for heat integration processes, since the heat supply and demand profiles often exhibit correlations. Principal component analysis (PCA) is a popular multivariate data-analysis method that can be used to identify correlations in such datasets. By identifying correlations, PCA is able to explain the uncertainty data in fewer dimensions. This means it can be effectively leveraged to choose fewer scenarios without losing uncertainty information, leading to a compact scenario tree for multistage MPC. Apart from dimensionality reduction, PCA can be used in data pre-processing to detect outliers. These represent instances where the system was either sampled wrongly or was not in normal operation. Statistically, outliers are considered to not be a part of the general sampling population, and are excluded from our analysis to avoid unnecessary conservativeness in scenario selection.
Although a control method like the standard MPC offers a limited degree of robustness against process disturbances [
24], it does not explicitly account for uncertainties in the system. In this paper, we argue that for optimally operating a TES unit in an industrial cluster, uncertainty in heat supply and demand must be taken into account rigorously. To this end, we implement the scenario-based multistage MPC method on an industrial cluster model. We further show that the inherent correlations present in the supply and demand profiles can be exploited using the data-driven PCA approach, and that these can be used to quantify the uncertainty in the multistage MPC framework. We demonstrate that in comparison to a standard MPC formulation where uncertainties are not modeled, the proposed framework leads to an efficient utilization of the TES unit by avoiding violations of critical operating constraints specified by the stakeholders in the industrial cluster.
3. Case Study: Data Description and Analysis
We consider a case study with one supplier and one consumer of heat, exchanging heat via a TES tank. The values of the various system parameters are given in
Table 2.
A tank volume of
is considered. This approximately corresponds to a cylindrical tank with a height of 10 m and a diameter of 11 m. The heat losses in heat exchangers, and in the pipes carrying the hot water, are considered to be negligible. The operating bounds on the various system variables are given in
Table 3.
The heat supply and demand data used in this case study is based on the 2017 data from Mo Fjernvarme, a district heating company which is part of the Mo Industrial Park in northern Norway. The surplus heat in Mo Fjernvarme is sourced from a smelting plant within the industrial park in form of flue gases. The demand, on the other hand, comes from the town of Mo i Rana and from within the industrial park itself. For simplicity, we do not model the various processes within Mo Industrial Park in this work. As such, the models that describe our case study are not directly related to the industry park layout or processes. We instead focus on the overall heat supply and demand data from the industry park for data analysis, along with the general model developed in
Section 2.1, to demonstrate the effectiveness of our proposed approach.
The hourly heat supply and demand for 2017 is shown in
Figure 6. For the spring, summer, and fall months of April to November, it can be seen that the demand is lower. However, for the winter months of January–March and December, there is large variation in the demand compared to a relatively smaller variation in supply. Since optimal operation is considered on a daily basis, a TES unit is not relevant for periods when supply is always higher, since the demand can be completely satisfied by the supplied heat. However, for the winter months, an optimal operation strategy would allow for making TES storage and discharge decisions in order to reduce the peak heating. Moreover, for diurnal thermal storage there must be a period in the day at which supply is greater than demand.
Figure 7 shows the aggregated heat supply and demand for each month of 2017.
We analyzed the demand and supply data the winter months of January–March and December to detect any outliers. For a total of 121 winter days with hourly variation in heat flows, PCA was performed separately in both sets of supply and demand data. Our analysis shows that there were many outliers in the data during the month of December, and hence this month was discarded (see
Appendix C for more details on outlier detection). Of the remaining winter months, January shows the least difference between the total supplied heat and the total heat demand, making it a suitable candidate to inspect daily storage. Hence, we focus on the month of January in this work.
Since hourly heat data is available, the January data includes 31 sample points (for 31 days), corresponding to each of the 24 h of the day. However, our analysis in
Figure A2 shows that the 2nd, 3rd, 4th, 5th, and the 13th days of the month are outliers in terms of either the heat supply or demand. Hence, these are excluded from the analysis. The scatter plot of the data points for each of the 24 h is shown in
Figure 8. For most of the day, a linear correlation can be seen for the heat supply and demand. The exceptions are the morning hours of 8–10 a.m., and the afternoon hours of 3–5 p.m. These are the peak demand hours, as can be expected of a district heating system. The supply and demand data for these hours are thus not linearly correlated to each other.
Figure 9 shows the mean hourly demand trend averaged over the winter months of January–March and December. It is evident that 8–10 a.m. and 3–5 p.m. are the expected peak heating hours.
The aim is to apply the optimal control strategy for operation during a typical January 2018 day, based on the available January 2017 data shown in
Figure 8. Applying standard or multistage MPC as described in
Section 2.3 requires a prediction of the heat supply and demand across the prediction horizon, which is taken to be 24 h. These values are taken to be the means of the data corresponding to each of the scatter plots in
Figure 8. Additionally, the multistage MPC also requires scenario selection for each hour of operation. This scenario selection can be done by performing PCA on the corresponding scatter plots in
Figure 8, as explained in
Section 2.4. For the non-peak demand hours, since there is a strong linear correlation between the supply and demand, the scenarios are chosen only along the dominant principal component. This implies a total of 3 scenarios, corresponding to the minimum and maximum scores, along with the mean value. For the peak hours of 8–10 a.m. and 3–5 p.m., the correlation is not strong enough, and thus the scenarios are chosen along the first two principal components to more accurately encompass the uncertainty. The number of scenarios is 5, corresponding to the extreme scores along the two principal components, along with the mean.
4. Results and Discussion
The infinite-dimensional problem (
A9) is converted into a finite-dimensional NLP by using third-order Radau collocation to approximate the state equations. The inputs and the uncertain parameters are discretized into finite elements, but are considered to be piecewise constant within each element. The reader is referred to Chapter 10 of [
26] for more on the collocation-based discretization method. We consider a prediction horizon of
h. The finite-dimensional NLP is formulated using 24 finite elements, implying that control action is taken every hour. This also implies that the uncertain parameters are assumed to evolve on an hourly basis, as is also the case from the industrial data.
The scenarios representing the uncertainty are chosen according to PCA from their respective January 2017 data sets. As explained before, we have discrete realizations of the uncertainty for every stage of the multistage MPC problem, in case of the non-peak demand hours. Similarly, we have discrete realizations for the peak hours. We assume a robust horizon of in this study, giving us either 3 or 5 total scenarios in the multistage MPC problem, depending on the hour of operation. Further, we consider equal weights for all scenarios.
To evaluate the effectiveness of the multistage MPC strategy for this case study, we compare it with a standard MPC formulation where no uncertainty is considered. To simulate the “true” plant data, we use the same system model as that in the NLP, but the heat supply and demand data from a typical day in January 2018. For comparison, identical data representing the true values of heat supply and heat demand is used in the plant simulation, for both the standard and multistage MPC methods.
An important point to note is that we only consider the application of both the MPC strategies during dynamic operation of the TES, and not during edge-cases like when the TES is empty at the start. The initial conditions of the system are obtained by solving the steady-state problem of the system for some given heat supply and demand. To begin with an empty TES would be equivalent to a start-up phase where all the supplied heat goes to heating up the tank, and all the demanded heat is fulfilled via peak heating. In this case, there are not enough degrees of freedom to improve performance or robustness via MPC, especially over a shorter horizon. The advantage of using MPC is thus not obvious in this case.
The NLPs (17) and (18) are modeled using the software
JuMP [
34] (version 0.18.5), within the framework of the
Julia [
35] (version 0.6.2). The solver used within this framework is
Ipopt [
36] (version 3.12.8), which uses interior-point algorithms to solve the NLPs. The MA27 [
37] linear solver is used within
Ipopt. It must be noted that
Ipopt is not a global optimization solver. This implies that for nonconvex problems like the one considered in this paper,
Ipopt can guarantee local, but not global, optimality.
4.1. Storage vs. No Storage
We begin by demonstrating the advantage and the economic benefit of using the TES as a buffer, as opposed to direct heat exchange between the suppliers and consumers. The modeling of the system without storage considers a single heat exchanger that is used to directly couple the supplier and the consumer.
Figure 10 shows the results of a standard MPC formulation applied to both cases—with and without storage. For the sake of this comparison, no plant–model mismatch is considered, implying perfect prediction of supply and demand by the cluster operator. Further, the initial temperature of the tank is 70.63 °C.
In the case with no storage, the extent of peak heating and dumping is solely determined by the operating bounds on the system variables. As such, the predictive ability of MPC does not provide any added benefit for operation. When the supply exceeds the demand, the excess heat is dumped and when the demand exceeds the supply, the deficit heat is acquired through peak-heating—subject to the operating constraints. On the other hand, using TES significantly reduces the heat dumping as well as peak heating. During periods of low demand, the excess heat is used to charge up the TES, and during periods of high demand, the expensive peak-heating only begins after using the stored energy in the tank. This is also apparent from the variation in the temperature of the TES as shown in
Figure 11, going up during off-peak periods and falling when the demand is higher. Overall, using a TES leads to around
reduction in the dumped heat and around
reduction in the peak heating requirements.
4.2. Standard vs. Multistage MPC
Next, we compare the results of the standard and multistage MPC applied to the TES system. We focus on the operating constraints in the system for this demonstration. The supply of heat on the supplier side is assumed to come from a batch cooling process, which requires that the return temperature does not exceed 85 °C. As such, any temperatures above the mandated limit may lead to inferior product quality in the batches. Similarly, the district heating network on the consumer side needs the return temperature to be above 60 °C. Therefore, any constraint violation on these return temperatures carries an economic penalty for the respective supplier or consumer. The initial values of the process temperatures, and , are 91.28 °C and 50 °C respectively. The initial temperature in the tank is 70.63 °C. These values are obtained from the steady-state optimization of the system for mean values of heat supply and demand.
To investigate the robustness of the methods, the actual heat supply and demand profiles of 6 January 2018 are considered. The expected values in both the MPC formulations come from the 2017 data, as do the scenarios of multistage MPC method. The difference in the 2017 and 2018 data creates the plant–model mismatch.
Figure 12 shows the supplier return, consumer return, and the tank temperature profiles obtained by the application of the two control strategies, given the constraints on the return temperatures. It can be seen that the temperature profiles are higher with multistage MPC in general. The multistage MPC keeps the tank heated up and discharges it less than the standard MPC, even though there is a higher demand. This conservativeness is because the multistage MPC respects the constraint on consumer-side return temperature
to keep it above 60 °C. In contrast, the standard MPC violates this operating constraint during 8 out of the 24 h of operation, since it prioritizes the economic objective of demand satisfaction at the cost of constraint violation. The multistage MPC, having accounted for such a scenario in its scenario-tree formulation, anticipates that recourse action is possible in the future time steps. As a consequence,
is always above its limit in order to satisfy consumer demand, and does not violate it.
Multistage MPC, however, has a higher cost of peak heating than standard MPC, as shown in
Figure 13. While standard MPC suggests a total peak heating of 42.15 MWh, multistage MPC results in 88.73 MWh of peak heating across the day. This can be thought of as the “cost of robustness” required by multistage MPC. Since
can only drop so much, the remaining heat demand has to be satisfied through additional peak heating. The supplier also has to dump a lot of heat compared to standard MPC, since the temperature of the return stream has to be brought down below 85 °C. Another factor is the temperature difference between the supplier and the TES, which becomes too small to transfer heat.
Figure 13 also shows the differences in the actual and expected heat supply and demand profiles. The standard MPC is oblivious to these differences in the heat supply and demand, and proposes control solutions that require lesser peak heating. The plant–model mismatch that arises from this uncertainty, however, causes the states to violate their operating constraints. Although the standard MPC suggests lower peak heating requirements compared to multistage MPC, this is counterproductive because it is not robust and ends up violating the operating constraint for a significant operating period. The economic penalty of such suboptimal operation may be significantly higher than any savings achieved via lower peak heating.
We repeated the simulations for all days of January 2018 using the corresponding heat supply and demand profiles, and found that multistage MPC is consistently successful in keeping the system within the specified limits, whereas the standard MPC frequently results in constraint violations. This can be seen in
Figure 14, which shows the supplier and consumer return temperature profiles for all the days in January 2018. These simulations show the applicability of the method even when the heat supply at the start of the horizon is lower than the heat demand, as was the case for multiple days in January 2018.
The robustness offered by multistage MPC comes with a higher peak heating cost. The average daily use of peak heating across all days in January with standard MPC is found to be 17.27 MWh, whereas for multistage MPC it is 73.11 MWh. We also noted the frequency of constraint violations in both cases. The supplier and consumer-side return temperature constraints are violated during a daily average of 3.2 h and 3.6 h respectively for standard MPC. The corresponding values for multistage MPC are 0.06 h and 0.03 h respectively. This shows that the cluster operator is better off employing the multistage MPC strategy even though it has higher peak heating cost. This is because the long periods of unprofitable operation in standard MPC may not be acceptable to the stakeholders, resulting in higher overall costs. Multistage MPC thus helps to keep the overall costs down, while also making the system robust against uncertainties in heat supply and demand.
5. Conclusions
In this paper, the application of multistage MPC strategy was investigated for an industrial cluster system with a hot water TES unit. The case study presented a model with one supplier and one consumer of surplus heat, whereby the heat exchange happens through a TES tank. The model was derived using energy balances over the various system components. The surplus heat exchange in the cluster with a TES was found to be much more cost-effective compared to a corresponding system without TES. We further looked at the challenge of effectively handling the uncertainty in heat supply and demand for this system, with the proposed multistage MPC scheme. A scenario-tree formulation for the uncertain supply and demand was implemented, and the robustness of this strategy was demonstrated by comparing it to a standard MPC formulation where uncertainty is not taken into account. The scenario selection in the multistage MPC is done via the data-driven PCA algorithm, which results in a computationally efficient but robust formulation. We use additional data analysis to detect outliers in the data and to predict trends in the heat profiles.
The results demonstrated that although the multistage MPC is more conservative than the equivalent standard MPC formulation in terms of peak heating requirements (the “cost of robustness”), it is much better at keeping the system within specified bounds on the system states. We considered operating constraints on the return temperatures on the supplier and consumer plants, and found that a standard MPC strategy leads to frequent, non-trivial, constraint violations. The multistage MPC, on the other hand, was able to steer the system while respecting these operating constraints and was also not overly conservative. We argue that large economic penalties for constraint violations justify the use of the multistage MPC strategy over standard MPC, as it is more effective in handling the uncertain heat supply and demand. In a nutshell, we demonstrated that implementing the proposed robust control strategy can result in an energy-efficient utilization of the TES unit for surplus heat exchange, not only providing cost-savings to the industrial cluster as a whole, but also benefiting its individual stakeholders.