IEEE/CAA Journal of Automatica Sinica  2015, Vol.2 Issue (2): 166-172   PDF    
Operation Efficiency Optimisation Modelling and Application of Model Predictive Control
Xiaohua Xia, Jiangfeng Zhang    
1. Department of Electrical, Electronic and Computer Engineering, University of Pretoria, Pretoria 0002, South Africa;
2. Department of Electronic and Electrical Engineering, University of Strathclyde, G11XW, UK
Abstract: The efficiency of any energy system can be charaterised by the relevant efficiency components in terms of performance, operation, equipment and technology (POET). The overall energy efficiency of the system can be optimised by studying the POET energy efficiency components. For an existing energy system, the improvement of operation efficiency will usually be a quick win for energy efficiency. Therefore, operation efficiency improvement will be the main purpose of this paper. General procedures to establish operation efficiency optimisation models are presented. Model predictive control, a popular technique in modern control theory, is applied to solve the obtained energy models. From the case studies in water pumping systems, model predictive control will have a prosperous application in more energy efficiency problems.
Key words: Model predictive control (MPC)     operation efficiency     energy efficiency    
Ⅰ. INTRODUCTION

With the increasing shortage of energy supply, energy efficiency improvement has been widely recognised as the quickest and most effective method to alleviate energy supply pressure. Energy efficiency generally consists of many components,such as management efficiency,operational efficiency, carrier efficiency,information and control efficiency,billing efficiency,maintenance efficiency,conversion efficiency,thermal efficiency,luminous efficiency,etc. In [1, 2, 3],these energy efficiency components were summarised and classified as performance efficiency,operation efficiency,equipment efficiency,and technology efficiency (POET). A prominent application of this kind of POET classification is to prevent the loss of energy efficiency improvement opportunities,which is shown in the energy audit practices[4]. This POET classification can also be applied to general energy optimisation so that all the key aspects of energy efficiency are optimised. Note the fact that proper sizing and matching of different system components,which include changing the operational schedules amongst others,for a given energy system will often save both energy and energy cost in many scenarios,therefore this paper focuses on the operation efficiency optimisation. Operation efficiency is often evaluated in terms of performance indicators such as energy,power,cost,etc.[1]. It follows that operation efficiency can usually be written as an optimisation problem with objective functions to be the minimisation of energy or power consumption,energy cost,etc. This kind of optimisation problem is formulated over a given time period,and can often be understood as an optimal control problem since the time dependent operation functions can be treated as the control input in optimal control. Thus various control techniques will be applicable to these energy problems. This paper focuses on the establishment of operation efficiency optimisation models and the application of model predictive control (MPC) to solve the obtained models.

MPC is well-known for its ability to use simple models,to handle constraints,and also for its closed-loop stability and inherent robustness. Therefore,MPC has become a popular tool for many industrial problems[5, 6, 7]. The MPC technique can be applied to many operation efficiency optimisation problems in which the energy systems are operated over evolving time spans. In the literature,there are various case studies on operation efficiency optimisation,and these studies include cases such as steel plant peak load management[8],energy management of a petrochemical plant[9],rock winder systems[10],water pumping systems[11, 12],power generation economic dispatch[13],power generation maintenance[14],etc. From these studies,it turns out that the most challenging part in the MPC applications is not the MPC itself,but the energy system modelling. Also existing studies focus on particular systems only, a general description on the operation efficiency optimisation modelling techniques is necessary. This paper summarises these modelling techniques and particularly formulates the general logic correlation constraints. These general modelling principles are illustrated by a few examples which include mineral processing, pumping systems and plant maintenance.

The paper is organized as follows. The next section provides a unified modelling framework for operation efficiency optimisation. General steps to apply MPC principles are also summarised. Section III provides some case studies,and the last section is the conclusion.

Ⅱ.OPERATION EFFICIENCY OPTIMISATION MODELLING AND MPC APPLICATIONS

According to [1],operation efficiency is a system wide measure which is evaluated by considering the proper coordination of different system components. This coordination of system components consists of the physical,time,and human coordi nation parts. Operation efficiency has the following indicators: physical coordination indicators (sizing and matching); time coordination indicator (time control); and human coordination indicator. It is usually difficult to model the human coordinations in operation efficiency,therefore we will focus on the physical and time coordination indicators.

A. Optimal Control Modelling for Operation Efficiency

The purpose to optimise operation efficiency is usually to save energy and energy cost while at the same time to meet certain service requirement. In the following,the objective functions of the operation efficiency operation model will be chosen as both the energy and energy cost.

Assume that an energy system consists of $N$ components,each of them can be independently controlled as on or off. Whenever the $i$-th component is switched on,its power consumption will be its rated power $P_i$ kW for $i=1,2,\cdots,N_1$,and be any value between $0$ and its rated power $P_i$ kW for $i=N_1+1, N_2+2,\cdots,N$,where $N_1\leq N$. The first $N_1$ components have only simple on/off status and include examples such as electric water heaters,electric kettles,and incandescent lights, while the last $N-N_1$ components have variant powers and examples can be motors controlled by variable speed drives. Let the energy price at time t be $p(t)/ kWh; then the energy consumption function fE and energy cost function fC over a fixed time interval [t0,tf] are given below.

$\begin{align}\label{objective} f_E=&\int_{t_0}^{t_f}\sum_{i=1}^{N}P_iu_i(t)\mbox{d} t ,\notag\\ f_C=&\int_{t_0}^{t_f}\sum_{i=1}^{N}P_iu_i(t)p(t)\mbox{d} t,\end{align}$ (1)
where $u_i(t)$ represents the on/off status variable and is defined as follows: ${u_i}(t)\left\{ {\begin{array}{*{20}{l}} { = 1,{\text{ }}thei - thcomponentisonand1 \leqslant i \leqslant {N_1}} \\ { = 0,{\text{ }}thei - thcomponentisoffand1 \leqslant i \leqslant {N_1}} \\ { \in [0,1],{\text{ }}if{N_1} \leqslant i \leqslant N} \end{array}} \right.$ The two functions $f_E$ and $f_C$ will be minimised. After formulating these two objective functions,the remaining part on the modelling is to find proper constraints. The coordination within the $N$ components of the system can be very complicated. For illustration purposes,the following typical types of coordination relations between these $N$ components are modelled.

1) Logic correlations

a) The status $u_i(t_a)$ does not affect the status of $u_j(t_b)$. For this case,we do not need to build any mathematical constraint.

b) If $u_i(t_a)$ is in the switched on status,then $u_j(t_b)$ must be in the off status. To find out a mathematical equivalent expression for this constraint, the following sign function is introduced. Let ${\rm sgn}(x)$ be 1 if $x>0$; 0 if $x=0$; and -1 if $x < 0$. Noting the fact that $u_i(t_a)$ and $u_j(t_b)$ are nonnegative,then it follows that this constraint is equivalent to: \begin{equation} ({\rm sgn}(u_i(t_a))+1)({\rm sgn}(u_j(t_b))+2)\neq 6. \end{equation} A prominent benefit to use sign function to obtain the above constraint is that this type of constraint covers the case when $i$ or $j$ is greater than $N_1$,that is,it covers the case where those components with variable powers are involved. An example for this type requirement can be that a piece of equipment is powered either by the grid,or by a distributed generation system,but cannot be by the two at the same time. Then the connection status of the main grid to the equipment at time $t$ corresponds to $u_1(t)$,while the connecting status of the distributed generation system corresponds at time $t$ to $u_2(t)$. This constraint following two constraints are derived as: $ \begin{array}{l}({\rm sgn}(u_1(t))+1)({\rm sgn}(u_2(t))+2)\neq 6, \mbox{for all} \ t.\end{array}$

c) If $u_i(t_a)$ is in the switched on status,then $u_j(t_b)$ must be in the on status. This constraint is equivalent to the following inequality.

$\begin{equation} ({\rm sgn}(u_i(t_a))+1)({\rm sgn}(u_j(t_b))+2)\neq 4. \end{equation}$ (3)
An example for this case is that at a residential home,when people switched on the TV at the lounge in the evening,they must have switched on the light in the lounge first. That is,when the status of the TV at time $t_a$ is on,then the status of the light must already be on at $t_a$.

d) If $u_i(t_a)$ is in the switched off status,then $u_j(t_b)$ must be in the on status. This constraint is equivalent to:

$\begin{equation} ({\rm sgn}(u_i(t_a))+1)({\rm sgn}(u_j(t_b))+2)\neq 2. \end{equation}$ (4)

e) If $u_i(t_a)$ is in the switched off status,then $u_j(t_b)$ must be in the off status. This constraint is equivalent to:

$\begin{equation} ({\rm sgn}(u_i(t_a))+1)({\rm sgn}(u_j(t_b))+2)\neq 3. \end{equation}$ (5)

2) Mass balance

Mass balance is a very common constraint in various energy systems. It can often be simplified as that at a given time period,the mass should be balanced at any system component. Mass balance equation can also be established for the overall system. For illustration purpose,we establish only the mass balance equation for a single system component:

$\begin{equation}\label{massbalance} M_i(t+\Delta t)=M_i(t)+M_i^{\rm in}(t)-M_i^{\rm out}(t), \end{equation}$ (6)
where $M_i(t)$ and $M_i(t+\Delta t)$ are the masses of the $i$-th component at time $t$ and $t+\Delta t$, respectively; while $M_i^{\rm in}(t)$ (or $M_i^{\rm out}(t)$) is the amount of mass entered into (or left) component $i$ during the time period $(t,t+\Delta t)$. The mass $M_i(t_0)$ at the initial time $t_0$ is often given. The $M_i^{\rm in}(t)$ and $M_i^{\rm out}(t)$ are often determined by the on/off status of the $(i-1)$-th and $i$-th components,respectively. That is,there are functions $h_i$ and $g_i$ such that $M_i^{\rm in}(t)=h_{i-1}(u_{i-1}(t))$ and $M_i^{\rm out}(t)=g_i(u_i(t))$. In many applications,these $h_i$ and $g_i$ are often linear functions,and thus
$\begin{equation} M_i^{\rm in}(t)=a_{i-1}u_{i-1}(t),M_i^{\rm out}(t)=b_iu_i(t), \end{equation}$ (7)
where $a_{i-1}$ and $b_i$ are constants. If there is no mass losses between the $(i-1)$-th component and the $i$-th component and ignore the time taken for the mass to flow from component $(i-1)$ into component $i$,then $M_{i-1}^{\rm out}(t)=M_i^{\rm in}(t)$. In a water pumping system,this mass balance equation is that the water volume changes in a reservoir equals the difference of the amount of water entering into the reservoir and the amount of water leaving the reservoir. In conveyor belt systems,the mass balance equation represents the mass changes at a stock silo equals the differences between incoming and outgoing masses to and from the stock silo.

3) Energy balance

Energy balance can be established similarly as the mass balance equation (6) either at a system component level or the overall system level. That is,the two types of energy balance equations can be briefly written as the following. $\begin{array}{l} E(t+\Delta t)=E(t)+E^{\rm in}(t)-E^{\rm out}(t)-E^{\rm loss}(t),\\ E_i(t+\Delta t)=E_i(t)+E_i^{\rm in}(t)-E_i^{\rm out}(t)-E_i^{\rm loss}(t), \end{array}$ where $E$ refers to energy (e.g.,kinetic energy,potential energy),$E(t)$ or $E_i(t)$ represent the energy stored in the whole system or component $i$ at time $t$,the superscripts in, out,loss represent the energy flows into,useful energy flows out from,or energy losses at the whole system or system component during the time period $(t,t+\Delta t)$. $E_i^{\rm in}(t)$ is usually a function of the switching status $u_i(t)$ and/or $E_{i-1}^{\rm out}(t)$,i.e.,there exists a function $\alpha_i$ such that $E_i^{\rm in}(t)=\alpha_i(u_i(t),E_{i-1}^{\rm out}(t))$. $E_i^{\rm out}(t)$ is often a function determined by the switching status $u_i(t)$ and/or a given external demand $D_{i}(t)$,that is,there exists a function $\beta$ such that $E_i^{\rm out}(t)=\beta_i(u_i(t),D_i(t))$. The energy loss $E_i^{\rm loss}(t)$ is often determined by external variables such as temperature differences,humidity,pressure,material thermal convection coefficients,etc.,and it is usually computable if $u_i(t)$ is given. Therefore,there exists a function $\gamma_i$ such that $E_i^{\rm loss}(t)=\gamma_i(u_i(t))$. Similarly,one can calculate $E^{\rm in}(t),E^{\rm out}(t)$ and $E^{\rm loss}(t)$.

4) Process and service correlations

To meet special process or service requirements,some system components are often requested to be switched on simultaneously for a minimum time duration within a given period. This requirement is equivalent to request each of these components to be switched on for a minimum time duration at the given period. Assume that the $i$-th component must be switched for at least a duration of $\Delta T$ within the period $[t_1,t_2]$. This requirement can be formulated as the following inequality: $ \int_{t_1}^{t_2}{\rm sgn}(u_i(t))\mbox{d}t\geq \Delta T $ There are also other types of process and service correlations, such as the delivered electrical power from a generator must meet the end user demand,an air conditioner must deliver the expected cooling load,and the pressure of compressed air must satisfy specified ranges. The corresponding constraints need to be worked out according to specific requirements.

5) Boundary constraints

There are often boundary constraints for some intermediate variables. For example,if the purpose is to save at least 10 000 kWh per year,and to save energy cost at least 10 000/year,then the two constraints can be written as $f_E\geq 10 000$ and $f_C\geq 10 000$. Other examples include the storage capacity limit of mineral silos in a conveyor belt system,reservoir capacity limit in a pumping systems,generator minimum and maximum power output,minimum and maximum temperature limits of hot water inside a water heater,steam pressure limit of a boiler,etc. These intermediate variables can usually be written as a function of the switching status $u_i(t),i=1,\cdots,N$,according to relevant physical dynamic processes. Generally,the following inequality is obtained:

$\begin{equation}\label{constraintboundary} \lambda(u_1(t),u_2(t),\cdots,u_N(t))\geq 0. \end{equation}$ (8)

The above mathematical constraints provide a summary for those frequently met physical requirements in many energy systems. However,due to the complex nature of physical processes and service requirements,there will be much involved cases where none of the above derived models is directly applicable,and further analysis on the corresponding energy systems must be done.

B. MPC for Optimal Control Models

The model obtained in (1)~(8) is an optimal control model with control variables $u_1(t),\cdots,u_N(t)$. This optimal control problem is often difficult to solve since the sign function is discontinuous and the variables $u_1(t),\cdots,u_{N_1}(t)$ are binary integers. Therefore,this problem is discretised using the sampling of $t_0 < t_1< \cdots< t_m=t_f$,$\Delta t=(t_m-t_1)/m=t_{i+1}-t_i$,$1\leq i\leq m$,and then reformulated as follows:

$ \begin{equation}\label{model} \begin{array}{ll} \min & F_1(U),\\ \min & F_2(U),\\ {\rm s.t.} & G(U)\geq 0, \end{array} \end{equation}$ (9)
where $U=(u_1(t_1),u_2(t_1),\cdots$,$u_N(t_1)$,$u_1(t_2), u_2(t_2)$,$\cdots,u_N(t_2)$,$u_1(t_m)$,$\cdots, u_N(t_m))^{\rm T}$ is the control variable.This discrete form is easy to be implemented in MPC approach. In the MPC approach,the optimisation horizon is movable over any consecutive time length $m\Delta t=t_m-t_0$,i.e.,it is solved over $[t_k,t_{m+k}]$ for all $k=0,1,2,\cdots$,for the corresponding optimisation problem:
$\begin{equation}\label{model2} \begin{array}{ll} \min & F_1(U^k),\\ \min & F_2(U^k),\\ {\rm s.t.} & G(U^k)\geq 0, \end{array} \end{equation}$ (10)
with the variable $U^k=(u_1(t_{k+1})$,$ u_2(t_{k+1})$,$\cdots$, $u_N(t_{k+1})$,$u_1(t_{k+2})$,$u_2(t_{k+2})$,$\cdots$, $u_N(t_{k+2})$,$u_1(t_{k+m})$,$\cdots$,$u_N(t_{k+m}))^{\rm T}$. After obtaining the solution,$u_1(t_{k+1})$,$u_2(t_{k+1})$, $\cdots$,$u_N(t_{k+1})$ are implemented over the time period $[t_{k+1},t_{k+2})$. At the end of the time interval $[t_{k+1}, t_{k+2})$,initial values are updated according to real time changes,and the above problem (10) is resolved over the time interval $[t_{k+1},t_{k+m+1}]$ for the variable $U^{k+1}$ which is defined in the same way; see [16] for a similar MPC algorithm. The above MPC iteration steps will be applied in the case studies in Section III.

Ⅲ. CASE STUDIES

In this section,a mineral processing system is investigated to illustrate the energy modelling procedures in Section II-A. The water purification system in [11] is restudied to propose an alternative model. The general plant maintenance problem is formulated to generalise the special case of generator maintenance in [14].

A. Mineral Processing System

In the mineral processing system in Fig. 1,minerals are fed at the rate of $F(t)$ tons/hour to the 80 kW conveyor belt B1. From the 200 kW crusher C1,these minerals are further transported by conveyor belt B2 to a 50 kW screen system. After the screen, smaller size minerals go to the 150 kW conveyor belt B3,larger size ones go to the 100 kW crusher C2 to be recrushed and then sent back to conveyor belt B2. Minerals from B3 are sent to a 3 000 ton stock silo,where they will be further supplied to the 50 kW conveyor belt B4 and from B4 to the 150 kW conveyor belt B5. The plant feed demand at the end of conveyor belt B5 is $D(t)$ tons/hour. The question for this problem is to minimise electricity cost in terms of a time-of-use electricity tariff over the time interval $[t_0,t_N]$. Discretise $[t_0,t_N]$ as $t_0 <_1<\cdots<t_N,t_1-t_0=t_2-t_1=\cdots=t_N-t_{N-1}=\Delta T$.

Download:
Fig. 1 Mineral processing system.

The overall mineral processing energy system consists of conveyors B1,B2,B3,B4,B5; crushers C1,C2; and a screen. Define the on/off switching status functions for these system components as follows. $u_{i,k}^B$ represents the on/off status of the $i$-th conveyor B$_i$ at the $k$-th time interval,with $i=1,2,3,4,5$; $u_{1, k}^C$ and $u_{2,k}^C$ are the on/off status of crushers C1 and C2 at the $k$-th time interval,respectively; and $u_k^S$ is the on/off status of the screen at time $k$. The values of these switching status functions can only be 0 or 1,representing ``off'' or ``on'' status. Following the steps in Section II-A,the objective function to minimise electricity cost over $[t_0,t_N]$ for a given electricity tariff $\$ p_k/{\rm kWh}$,$k=1,\cdots,N$,is written as

$\begin{align} \min & \sum_{k=1}^Np_k(80u_{1,k}^B+200u_{1,k}^C+300u_{2,k}^B+150u_{3,k}^B+\notag\\ &\quad 100u_{2,k}^C+50u_k^S+50u_{4,k}^B+150u_{5,k}^B)\Delta t. \end{align}$ (11)

Note in the mineral process,conveyors B1,B2,B3,crushers C1, C2,and the screen have the same operation schedule,i.e.,they are switched on at the same time,and switched off at the same time. Similarly,conveyors B4 and B5 must also have the same operating schedule in order to minimise energy cost. Therefore, the following equalities hold:

$\begin{equation}\label{example3-2} \begin{array}{l} u_{1,k}^B=u_{1,k}^C=u_{2,k}^B=u_{3,k}^B=u_{2,k}^C=u_k^S,\\ u_{4,k}^B=u_{5,k}^B,k=1,\cdots,N.\end{array} \end{equation}$ (12)

From the mass balance relations,it is reasonable to assume that all minerals fed at conveyor B1 will be fed at the same rate $F(t)$ tons/hour to the 3 000 ton stock silo; and similarly,the conveyor B4 must be fed at the rate of $D(t)$ tons/hour from the stock silo. Then the following mass balance relation at the stock silo can be obtained:

$\begin{equation} M_{k}=M_{k-1}+F(k)-D(k),k=1,\cdots,N, \end{equation}$ (13)
where $M(k)$ represents the mass of minerals at the stock silo at time $k$,the initial mass $M(0)$ is assumed to be given. Usually the stock silo has a certain capacity constraint for safety reasons,such as the stored minerals at any time must be within the range of 10 tons to 2 980 tons. Then the following constraints can be obtained.
$\begin{equation}\label{example3-4} 10\leq M_{k}\leq 2980,k=1,\cdots,N. \end{equation}$ (14)
Now the optimisation problem (11)~(14) can be solved to find an optimal on/off status control over the time interval $[t_0,t_N]$. An MPC algorithm can be easily designed to optimise the on/off scheduling status over the time interval $[t_k, t_{N+k}]$. We would however leave the MPC applications in the following two subsections.

B. Water Purification System

Fig. 2 is an illustration of the water pumping scheme at a water purification plant in South Africa[11]. Water flows at the rate of 40 mL/day (mega liter per day) from the purification plant into reservoir R1. The maximum capacity of R1 is 1.4 mL,and it is also supplied with water from a fountain at the rate of 5 mL/day. The water from R1 is pumped to both reservoir R2 and reservoir R3,with the maximum capacity of 120 mL and 60 mL,respectively. The water to R2 is pumped by pumps K1,K2 and K3,each rated at 300 kW with the same capacity to pump 22 mL/day. Water from R1 to R3 is pumped by pumps G1,G2 and G3,each rated at 275 kW with the capacity to pump 10 mL/day. R2 and R3 are also supplied by a water utility called Randwater at the cost of ZAR 2.98/kL,where ZAR represents the South African currency rand. R3 is also supplied by boreholes at a rate of 10 mL/day with the cost of ZAR 0.30/kL; water cost from R1 to R2 and R3 has the same rate ZAR 1.03/kL. Pumps K3 and G3 are used as back-up pumps and usually are switched off. To simplify the model,it is assumed in [11] that pump G2 keeps running continuously,and pump K2 is chosen as the control object,and the following optimisation model is obtained.

$\begin{equation}\label{jacoeqn} \begin{array}{ll} \min_{u_t,z} & \sum\limits_{t=1}^Tu_tpc_t+ \frac{P}{S}zC,\\ {\rm s.t.} & L_1^t=L_1^0+\sum\limits_{k=1}^{t-1}(\mbox{FLOWIN}_1^k-u_k\mbox{FLOWOUT}_1^k),\\ & 1.3\,{\rm mL}\geq L_1^t\geq 0.2\,{\rm mL},t=1,\cdots,T,\\ &\sum\limits_{t=1+kS}^{kS+S}u_tP-Pz_s\leq 0,k=0,\cdots, (\frac{T}{S}-1), \end{array} \end{equation}$ (15)
where the two parts in the objective function represent the energy charge and the maximum demand charge,respectively,$L_1^t$ is the volume of water in reservoir R1 which should always be between 0.2 mL and 1.3 mL for capacity limit and safety reasons,$u_t$ is the on/off status of pump K2,S = 2,C = ZAR 66.5/kW, P=300 kW,and $z$ is an intermediate variable which helps to calculate the maximum demand. It is obvious that the constraint about water levels can be derived from the general mass balance constraint in (6). Therefore,this model is a direct application of the general principles in the previous section. Reference [11] further applies MPC to the above problem over a moving horizon of 24 hours. Percentage of savings under benchmarks with the assumptions for real value $u_t\in [0,1]$,the open loop control with binary values of $u_t$,and MPC with binary values of $u_t$ are compared,and Fig. 3 illustrates that MPC and open loop controller have almost the same amount of savings. However,if there is a positive random inflow disturbance,i.e., FLOWIN$_1^t$ is replaced by FLOWIN$_1^t $ + 0.2 $\times$ FLOWIN$_1^t \times r(m)$ with $r(m)$ a random number between 0 and 1,then the open loop solution will violate the reservoir allowable capacity 1.3 mL at R1 as shown in Fig. 4. Therefore,MPC method will be very helpful to provide a robust solution.

Download:
Fig. 2 A water pumping system[11]

Download:
Fig. 3 Comparison of the savings by open loop controller and MPC[11].

Download:
Fig. 4 Reservoir level constraint violation of open loop controllers[11]

The model in (15) can be further improved by incorporating more control variables and constraints. For instance,all the four pumps G1,G2,K1,K2 can be controlled simultaneously,and the customer water demand can also be considered so as to minimise the supplementary water supply which has a high cost of R2.98/kL.Then the objective function in (15) can be revised as follows.

$\begin{equation}\label{jacoeqn2} \begin{array}{l} \sum\limits_{t=1}^T(\sum\limits_{i=1}^4 u_i^tpc_t + 2.98 R_2^t + 2.98 R_3^t)+ \frac{P}{S}zC, \end{array} \end{equation}$ (16)
where $u_i^t$ represents the on/off status of the four pumps at time $t$,$R_2^t$ and $R_3^t$ are the amount of supplementary water supplied from the water company Randwater at time $t$ to the reservoirs R2 and R3,respectively. Assume that customer demand at time $t$ from reservoirs R2 and R3 are $D_2^t$ and $D_3^t$, respectively. The water levels in R2 and R3 will satisfy similar constraints like those for R1 in (15). For example,the water in R2 must satisfy the following constraint.
$\begin{equation}\label{jacoeqn3} \begin{array}{l} \mbox{maximum water capacity of R2}\geq L_2^t\geq\\ \qquad \mbox{minimum water capacity of R2},\\ L_2^t=L_2^{t-1}+ (u_1^t+u_2^t)v_1+R_2^t-D_2^t, \end{array} \end{equation}$ (17)
where $u_1^t$ and $u_2^t$ are the on/off status of the two pumps K1 and K2,respectively; $v_1$ is the amount of water which can be pumped by pump K1 per unit time,which remains the same for pump K2; $D_2^t$ is the customer water demand from reservoir R2. Note that electricity suppliers often have incentives to industrial customers who are willing to reduce evening peak load, therefore it is proposed to expect the four pumps K1,K2,G1,G2 are not switched on simultaneously at the evening peak period 18:00-20:00. This can be easily formulated as the following logic correlations:
$\begin{equation}\label{jacoeqn4} \begin{array}{l} u_1^t+u_2^t+u_3^t+u_4^t\leq 3,\ \mbox{for}\ t\in (\mbox{18:00, 20:00}). \end{array} \end{equation}$ (18)
The new model can be further applied in the MPC approach to achieve better energy savings.

C. Plant Maintenance Optimal Scheduling

Generator maintenance optimal scheduling has been studied by many authors; see references listed in []. Similar maintenance scheduling problems exist in many industrial plants. Starting from the model in [14],this subsection proposes an optimisation model to characterise the general plant maintenance scheduling problem.

Assume a plant consists of $n$ divisions (or units) which need to be regularly maintained. Consider a fixed time period of $m$ days over which an optimal maintenance schedule needs to be found. For simplicity,assume that each division needs to undergo one and only one maintenance within the $m$ days.

Let $t$ represent time (in days),and $x_{i,t}$ be the maintenance state of the $i$-th division on the $t$-th day,with $x_{i,t}$ = 1 representing the $i$-th division is under maintenance on the $t$-th day,while $x_{i,t}=0$ has the converse meaning. Define $y_{i,t}$ to be the start up state,with $y_{i,t}$ equal to 1 implying that the $i$-th division has been finished maintenance at time $(t-1)$ and is started to work normally at time $t$.

The objective is to minimise maintenance cost by noting the fact that each division will deliver profits at any given time,and its closing down for maintenance will cause not only the maintenance cost but also the loss of the corresponding profits. For this purpose,assume that $\$ p_{i,t}$ is the profit produced by the $i$-th division on the $t$-th day if it is operating normally. Assume that the maintenance cost for division $i$ is $\$ a_i$ per day,the starting up cost of division $i$ is $\$ b_i$. Then the objective function is formulated below.

$\begin{equation}\label{eq:a} \min J = \sum_{i=1}^n\sum_{t=1}^m (a_i x_{i,t} + b_i y_{i,t} - p_{i,t}x_{i,t}). \end{equation}$ (19)

Note that a division under maintenance cannot be started. Therefore the following constraint is obvious.

$\begin{equation}\label{eq:b} x_{i,t} + y_{i,t} \leq 1,\ 1 \leq t \leq m. \end{equation}$ (20)

Equation (21) means that the maintenance for division $i$ needs $k_i$ days within the $m$ days, while (22) implies that whenever the maintenance of division $i$ starts,it will take $k_i$ consecutive days and no interruption is allowed.

$\begin{equation}\label{e6} \sum_{t=1}^{m} x_{i,t} = k_i,\ 1 \leq i \leq I. \end{equation}$ (21)
$\begin{equation}\label{e7} \begin{array}{ll} \sum\limits_{t = 1}^{T - k_i +1}x_{i,t}x_{i,t+1}\ldots x_{i,t+k_{i}-1} = 1,\ 1 \leq i \leq I. \end{array} \end{equation}$ (22)

The maintenance on these divisions may be subject to certain logic correlations. For instance,the first two divisions cannot be maintained together (i.e.,at least one of them must be working). This can be written as the following constraint:

$\begin{equation}\begin{array}{ll} x_{1,t}+ x_{2,t}\leq 1,& 1\leq t\leq m. \end{array} \end{equation}$ (23)
Other types of logic correlation constraints can be formulated following the formulae in Section II-A.

The number of maintenance crew needed at any maintenance instant must not exceed the number of available crews:

$\begin{equation}\label{e8} \begin{array}{ll} \sum\limits_{j=1}^n(1 - x_{j,t-1}) x_{j,t}\ldots x_{j,t+q-1}M_j^q \leq A_{t+q-1},\\ 1 \leq q \leq k_i,\ 2 \leq t \leq m - k_i + 1,1\leq i\leq n, \end{array} \end{equation}$ (24)
where $M_{i}^{q}$ is the number of crew needed for the $q$-th day of maintenance for the $i$-th division,and $A_t$ is the available number of crew at time $t$.

There might also be a least requirement on the daily profit produced even some of the divisions are under maintenance. For example,the following inequality indicates that the minimum daily profit should be at least $\$ A$.

$\begin{equation} \begin{array}{ll} \sum\limits_{i=1}^n p_{i,t}(1-x_{i,t})\geq A,& 1\leq t\leq m. \end{array} \end{equation}$ (25)

Other system requirements can be added to the above model in order to determine a practically implementable scheduling plan.

The above optimisation model is formulated over the time period from $t=1$ to $t=m$,and it is easily changed into a time period starting from any day for the MPC applications. Dynamic market impact on the profit $p_{i,t}$ can be easily captured in the MPC approach,therefore,the MPC application will greatly improve the reliability of the above maintenance scheduling model.

Ⅳ CONCLUSIONS

This paper summarises general techniques in energy system operation efficiency modelling and the corresponding model predictive control approach to the obtained energy optimisation models. Examples from mineral processing and plant maintenance are used to illustrate the modelling process,case study on a water pumping system shows further the effectiveness of the model predictive control approach.

References
[1] Xia X H, Zhang J F. Energy efficiency and control systems-from a POET perspective. In:Proceedings of the 2010 Conference on Control Methodologies and Technology for Energy Efficiency. Portugal:IFAC, 2010. 255-260
[2] Xia X H, Zhang J F, Cass W. Energy management of commercial buildings-a case study from a POET perspective of energy efficiency. Journal of Energy in Southern Africa, 2012, 23(1):23-31
[3] Xia X H, Zhang J F. Modeling and control of heavy-haul trains. IEEE Control Systems Magazine, 2011, 31(4):18-31
[4] Xia X H, Zhang J F. Energy auditing-from a POET perspective. In:Proceedings of the 2010 International Conference on Applied Energy. Singapore, 2010. 1200-1209
[5] Allgöwer F, Zheng A. Nonlinear Model Predictive Control. Berlin:Birkhäuser Verlag, 2000.
[6] García C E, Prett D M, Morari M. Model predictive control:theory and practice-a survey. Automatica, 1989, 25(3):335-348
[7] Qin S J, Badgwell T A. A survey of industrial model predictive control technology. Control Engineering Practice, 2003, 11(7):733-764
[8] Ashok S. Peak-load management in steel plants. Applied Energy, 2006, 83(5):413-424
[9] Wu T Y, Shieh S S, Jang S S, Liu C C L. Optimal energy management integration for a petrochemical plant under considerations of uncertain power supplies. IEEE Transactions on Power Systems, 2005, 20(3):1431-1439
[10] Badenhorst W, Zhang J F, Xia X H. Optimal hoist scheduling of a deep level mine twin rock winder system for demand side management. Electric Power Systems Research, 2011, 81(5):1088-1095
[11] van Staden A J, Zhang J F, Xia X H. A model predictive control strategy for load shifting in a water pumping scheme with maximum demand charges. Applied Energy, 2011, 88(12):4785-4794
[12] Zhang H, Xia X H, Zhang J H. Optimal sizing and operation of pumping systems to achieve energy efficiency and load shifting. Electric Power Systems Research, 2012, 86:41-50
[13] Xia X H, Zhang J F, Elaiw A. An application of model predictive control to the dynamic economic dispatch of power generation. Control Engineering Practice, 2011, 19(6):638-648
[14] Ekpenyong U E, Zhang JF, Xia X H. An improved robust model for generator maintenance scheduling. Electric Power Systems Research, 2012, 92:29-36
[15] Yamayee Z A. Maintenance scheduling:description, literature survey, and interface with overall operations scheduling. IEEE Transactions on Power Apparatus and Systems, 1982, 101(8):2770-2779
[16] Zhang J F, Xia X H. A model predictive control approach to the periodic implementation of the solutions of the optimal dynamic resource allocation problem. Automatica, 2011, 47(2):358-362