Model-Based Predictive Control Applied to Multi-Carrier Energy Systems Mich`ele Arnold, Student Member, IEEE, Rudy R. Negenborn, G¨oran Andersson, Fellow, IEEE, Bart De Schutter, Member, IEEE
Abstract— The optimal operation of an integrated electricity and natural gas infrastructure is investigated. The couplings between the electricity system and the gas system are modeled by so-called energy hubs, which represent the interface between the loads on the one hand and the transmission infrastructures on the other. To increase reliability and efficiency, storage devices are present in the multi-carrier energy system. In order to optimally incorporate these storage devices in the operation of the infrastructure, the capacity constraints and dynamics of these have to be taken into account explicitly. Therefore, we propose a model predictive control approach for controlling the system. This controller takes into account the present constraints and dynamics, and in addition adapts to expected changes of loads and/or energy prices. Simulations in which the proposed scheme is applied to a three-hub benchmark system are presented. Index Terms— Optimal power flow, optimization, model predictive control, electric power systems, natural gas systems
I. I NTRODUCTION OWADAYS, conventional infrastructures, such as electricity, hydrogen, natural gas, and local district heating systems, are mostly planned and operated independently of each other. In practice, however, these individual systems are coupled, as, e.g., small-scale combined heat and power plants (μCHP) and other distributed generation plants (so-called coand trigeneration [1]) are used more and more. It is therefore expected that by pursuing the integrated control of several of such systems, improved efficiency and performance can be achieved. The various energy carriers available and the conversion possible between them significantly affect both the technical and the economical operation of energy systems. In particular, consumers get flexibility in supply and could therefore decide in favor of, e.g., cost, reliability, system emissions, availability, or a combination of these. Currently, research effort is addressing the integrated control of combined electricity and natural gas systems [2], [3]. In [2], the impact of natural gas infrastructures contingencies on the operation of electric power systems has been analyzed. In [3], the electricity and gas systems are coupled by using the concept of so-called energy hubs [4]. The energy hubs serve
N
M. Arnold (corresponding author) and G. Andersson are with the Power Systems Laboratory, ETH Z¨urich, Physikstrasse 3, 8092 Z¨urich, Switzerland, e-mail: {arnold,andersson}@eeh.ee.ethz.ch. R.R. Negenborn and B. De Schutter are with the Delft Center for Systems and Control of the Delft University of Technology, Mekelweg 2, 2628 CD Delft, The Netherlands, e-mail:
[email protected],
[email protected]. B. De Schutter is also with the Marine and Transport Technology department of the Delft University of Technology.
978-1-4244-4241-6/09/$25.00 ©2009 IEEE
as interface between the loads and the transmission infrastructures of both types of systems. The above mentioned twocarrier system is then modeled as a number of interconnected energy hubs. Because of the increasing number of facilities for distributed generation with fluctuating energy infeed (generation profiles), the issue of storing energy becomes more important. Electric energy storage devices are expensive and their operation causes energy losses. In order to still enable the electric energy supply in time, the operation of a μCHP device in combination with a heat storage is studied. Since the ratio of produced heat and electricity of a μCHP device is predefined, its operation always has to be aligned with the electric and thermal loads. By means of the heat storage, the μCHP device can be operated with focus on following the electric load while storing the thereby produced heat. The operation costs are presented when comparing the operation of the μCHP device with and without heat storage support. Furthermore, the costs are compared with the decoupled operation mode, i.e. when the electricity and natural gas system are operated independently of each other, i.e. when no μCHP devices are in usage. For determining the optimal operation of the integrated electricity and natural gas system an optimal power flow problem is solved. An optimization problem for the entire system is solved by a central controller, which determines the optimal operational set-points of the system, i.e. of the energy generation units, converters and storage devices. In [3], a steady-state optimization has been solved, in which the interconnected energy hub system is modeled with static, steady-state models. In this paper, storage devices with dynamic behavior are present in the multi-carrier system. Since they cause a dependency between consecutive time steps optimization over multiple time steps is required. Therefore, for the optimal operation of the system, actions have to be determined taking the expected future behavior of the system into account. For optimizing the operation over multiple time steps, we propose to use model predictive control (MPC) [5], [6]. MPC is widely used in different application areas since system dynamics, data forecasts and operational constraints can be taken into account explicitly. In our case, a supervisory coordinator uses MPC to determine the actions for the individual energy hubs that give the best predicted behavior, based on characteristics of the transmission infrastructures, the dynamics of the storage devices, and the load and price profiles. By using this predictive approach, the energy usage can be adapted to expected fluctuations in the energy prices,
as well as to expected changes in the load profiles. This paper is organized as follows. In Section II the mathematical model of the considered two-carrier system is given. MPC is proposed in Section III for the optimal operation of the system. The control problem for the network is presented, taking future system behavior into account. Simulations in which the proposed method is applied to a three-hub benchmark system are presented in Section IV. Section V concludes this paper and outlines directions for future research. II. M ODELING The studied multi-carrier energy systems consist of several interconnected energy hubs. As example we consider a system consisting of three hubs that are interconnected by an electricity and natural gas transmission system (Fig. 1). The couplings between the electricity and the gas system are modeled by means of energy hubs. In principle, an energy hub is a generalization or extension of a network node that includes conversion, conditioning, and storage of multiple energy carriers. It represents the interface between the energy sources and transmission lines on the one hand and the power consumers on the other hand. The energy hub is a modeling concept with no restrictions to the size of the modeled system. Single power plants or industrial buildings as well as bounded geographical areas such as entire towns can be modeled as energy hubs. Below we formalize the model of this system.
Fig. 1. System setup of three interconnected energy hubs. Active power is provided by generators G1 , G2 , G3 . Hubs H1 and H2 have access to adjacent natural gas networks N1 , N2 . Central controller measures all system variables (dashed arrows).
time provides the possibility for optimizing the input energies, e.g., using criteria such as cost, availability, emissions, etc. [4]. In the following equations, time is discretized into discrete time steps k = 0, 1, . . ., where a discrete time step k corresponds to the continuous time kT , with T being the sampling time in hours.
A. System setup In the system under study, each energy hub represents a general consumer, e.g., a household, that uses both electricity and gas. Each of the hubs has its own local electrical energy G , for i ∈ production (Gi , with electric power production Pe,i {1, 2, 3}). Hub H1 is connected to a large gas network N1 , G . In addition, hub H2 can obtain gas from with gas infeed Pg,1 G . Each hub a smaller local gas tank, modeled as gas infeed Pg,2 H H consumes electric power Pe,i and gas Pg,i , and supplies energy to its electric load Le,i and its heat load Lh,i . The hubs contain converter and storage devices in order to fulfill their energy load requirements. For energy conversion, the hubs contain a μCHP device and a furnace. The μCHP device couples the two energy systems as it simultaneously produces electricity and heat from natural gas. All hubs additionally comprise a hot water storage device. Compressors (Cij , for (i, j) ∈ {(1, 2), (1, 3)}) are present in the gas network within the pipelines originating from hub H1 . The compressors provide a pressure decay and enable the gas flow from the large gas network to the surrounding gas sinks. Depending on the prices and load profiles, the μCHP device is utilized differently. At high electricity prices, the μCHP device is mainly operated according to the electric load. The thereby produced heat is then either used to supply the thermal load or stored in the heat storage device. At low electricity prices, the electric load is preferably supplied directly by the electricity network and the gas is used for supplying the thermal load via the furnace. Hence, there are several ways in which electric and thermal load demands can be fulfilled. This redundancy increases the reliability of supply and at the same
B. Power conversion For each of the three energy hubs, the electric load Le,i (k) and the heat load Lh,i (k) at a time step k are related to the H H (k) and gas hub input Pg,i (k) as follows: electricity Pe,i Le,i (k) = Lh,i (k)
Li (k)
1 0
H CHP νg,i (k)ηg,e,i Pe,i (k) , CHP F H νg,i (k)ηg,h,i + (1 − νg,i (k))ηg,h,i Pg,i (k) Ci (k)
(1)
Pi (k)
CHP CHP and ηg,h,i denote the gas-electric and gas-heat where ηg,e,i F denotes the efficiencies of the μCHP device1 and where ηg,h,i efficiency of the furnace. The variable νg,i (k) (0 ≤ νg,i (k) ≤ 1) represents a dispatch factor that determines how the gas is divided between the μCHP and the furnace. The term H (k) defines the gas input power fed into the μCHP νg,i (k)Pg,i H and the part (1 − νg,i (k))Pg,i (k) defines the gas input power going into the furnace. In general, the conversion between the input and output powers, collected in vectors Pi (k) and Li (k), respectively, is expressed by a coupling matrix Ci (k). As the dispatch factor νg,i (k) is variable, different input vectors Pi (k) can be found to fulfill the output loads Li (k). This offers additional degrees of freedom in supply. 1 In this paper the efficiencies are assumed to be constant. However, they can also be dependent on, e.g., the converted power level.
l
C. Power storage The storage device is modeled as an ideal storage in combination with a storage interface. In the considered setup, hot water storage devices are implemented. The relation between the heat power exchange Mh,i (k) and the effectively stored energy Eh,i (k) at time step k is defined by the following equation: E˙ h 1 ΔEh,i 1 dEh,i ≈ = eh,i eh,i dt eh,i Δt 1 stb = Eh,i (k) − Eh,i (k − 1) + Eh,i , eh,i
eh,i =
e+ h,i
if Mh,i (k) ≥ 0 (charging/ standby)
1/e− h,i
else
(2)
(discharging)
(3) − , e are the charging and discharging efficiency of where e+ h,i h,i the heat storage device, including the efficiency of the storage interface, converting the energy carrier exchanged with the system into the carrier stored internally. Eh,i (k) denotes the stb represents the standby storage energy at time step k. Eh,i stb energy losses of the heat storage device per period (Eh,i ≥ 0). For each hub hot water storage devices are implemented. Equation (1) is therefore completed with additional storage power flows, which are collected in a vector Mi (k): Le,i (k) = Lh,i (k) + Mh,i (k)
Li (k)+Mi (k)
H CHP 1 νg,i (k)ηg,e,i Pe,i (k) . CHP F H 0 νg,i (k)ηg,h,i + (1 − νg,i (k))ηg,h,i Pg,i (k)
(4)
Pi (k)
Ci (k)
Qcom
m Q mn C
P
−Qnm
pm
n
pn
Fig. 2. Model of a gas pipeline with compressor (C) and pipeline (P). Compressor demand is modeled as additional power flow Qcom .
by the voltage magnitudes V (k) and angles θ(k) and the line parameters:
Mh,i (k) =
with
pl
Qln
The storage power flows Mi (k) define how the storage energies affect the output flows, i.e., describe how the storage energy derivatives are mapped into equivalent output-side flows.
∗ Vm (k)ejθm (k) (Vm (k)e−jθm (k) Smn (k) = ymn 2 −Vn (k)e−jθn (k) ) − jbsh mn Vm (k)
where the superscript ∗ denotes the conjugate complex of the value. The line is modeled as π-equivalent with the shunt admittance ymn and the shunt susceptance bsh mn . b) Pipeline network: Figure 2 shows the model of a gas pipeline composed of a compressor and a pipeline element. The volume flow balance at node m at time step k is defined as Qm (k) − Qmn (k) = 0, (7) n∈Nm
where Qm (k) is the volume flow injected at node m, Qmn (k) denotes the line flow between nodes m and n, and Nm denotes the set of neighboring nodes of node m, i.e., the nodes connected to node m through a pipeline. The line flow Qmn (k) is defined as (8) Qmn (k) = kmn smn smn (pm (k)2 − pn (k)2 ), where pm (k) and pn (k) denote the upstream and downstream pressures, respectively, and kmn identifies the line constant. The variable smn indicates the direction of the gas flow as
+1 if pm (k) ≥ pn (k) smn = (9) −1 otherwise. To maintain a certain pressure level a compressor is needed. Here, the compressor is driven by a gas turbine which is modeled as additional gas flow Qcom (k) = kcom Qmn (k)(pm (k) − pl (k)),
D. Transmission network For the transmission networks of both the electricity network and the gas pipeline network, power flow models based on nodal power balances are implemented. Analogous to the hub equations, the nodal power balances are defined per time step k as well. a) AC electricity network: Electric power flows are formulated as nodal power balances of the complex power, according to the normal power flow equations [7]. At node m, the complex power balance at time step k is stated as Smn (k) = 0 (5) Sm (k) − n∈Nm
where Sm (k) is the complex power injected at node m. Smn (k) denotes the power flow to all adjacent nodes n of node m, summarized in the set Nm . The line flows are expressed
(6)
(10)
where pl (k) denotes the pressure at the compressor input side and kcom is a compressor constant. The resulting gas flow into the pipeline Qmn (k) is therefore determined by Qmn (k) = Qln (k) − Qcom (k).
(11)
The pressure at the compressor output pm (k) is determined by pm (k) = pinc (k)pl (k),
(12)
where pinc (k) defines the pressure amplification of the compressor. Depending on the required line flow Qmn (k), pinc (k) is adjusted accordingly. For the purpose of this study, these simplified compressor models provide sufficient accuracy. More advanced compressor equations taking into account changing fluid properties are given in [8].
E. Combined energy hub transmission network modeling
control
The combined electricity and gas network is obtained by combining the power flow models stated above. For each time step k an algebraic state vector z(k) and a dynamic state vector x(k) are defined. The algebraic state vector includes the variables for which no dynamics are explicitly defined. The dynamic state vector includes variables for which dynamics are included. Hence, T (13) x(k) = Eh (k)
inputs
z(k) = [VT (k) θ T (k) pT (k) pT inc (k) T H T T (PH e ) (k) (Pg ) (k)]
(14)
where - V(k) = [V1 (k), V2 (k), V3 (k)]T and θ(k) = [θ1 (k), θ2 (k), θ3 (k)]T denote the voltage magnitudes and angles of the electric buses, respectively, - p(k) = [p1 (k), p2 (k), p3 (k)]T denotes the nodal pressures of all gas buses, - pinc (k) = [pinc,1 (k), pinc,2 (k)]T denotes the pressure amplification of the compressors, H H H T - PH e (k) = [Pe,1 (k), Pe,2 (k), Pe,3 (k)] denotes the electric inputs of the hubs, and H H H T denotes the gas - PH g (k) = [Pg,1 (k), Pg,2 (k), Pg,3 (k)] inputs of the hubs and - Eh (k) = [Eh,1 (k), Eh,2 (k), Eh,3 (k)]T denotes the energy contents of the heat storage devices. At each time step k, the control variables u(k) are defined to include the active power generation of all generators, the natural gas imports of all gas networks and the dispatch factors of all hubs, i.e., T T G T T , (15) u(k) = (PG e ) (k) (Pg ) (k) ν g (k) where G G G T - PG e (k) = [Pe,1 (k), Pe,2 (k), Pe,3 (k)] denotes the active power generation of all generators G G T defines the natural gas - PG g (k) = [Pg,1 (k), Pg,2 (k)] imports and - ν g (k) = [νg,1 (k), νg,2 (k), νg,3 (k)]T describes the dispatch factors at the gas input junctions. Now, the model that we use to represent the combined electricity and gas network, including the hub equations with the dynamics, can be written in compact form as x(k + 1) = f (x(k), z(k), u(k)) 0 = g(x(k), z(k), u(k)).
(16) (17)
III. C ONTROL PROBLEM In this section we discuss the control of the system introduced above. The goal is to implement a supervisory, central controller that defines the set-points of the energy generation units of the hubs. This central controller measures all variables in the network and determines all actions for all actuators. In Fig. 1 the central controller is indicated. The dashed lines indicate the information exchange between the individual hubs and the central controller. It is assumed that within the hubs,
measurements
system
MPC controller control actions
optimization
model
prediction
objective, constraints
Fig. 3. Illustration of model predictive control, showing interactions between system and controller.
there are local controllers which ensure that the obtained setpoints are met. We propose that the central controller uses an MPC approach. The goal of the control scheme is to determine values for the control variables u(k) in such a way that the costs for electricity generation and natural gas usage are minimized over the considered simulation period. Hence, the control problem can be stated as determining the inputs u(k) in such a way that the control objectives are achieved, while satisfying the system constraints2 . First, we explain the basic idea of MPC. Then, the control problem for the considered hub system is formulated. A. Model predictive control Since storage devices are included in the optimization, optimization for multiple periods is required. As control strategy we propose to use MPC. MPC [5], [6] is an optimizationbased control strategy. An optimization problem is solved, in which an internal model is used to find those actions that give the best predicted behavior of the system over a predefined prediction horizon with length N . In this optimization operational constraints are also taken into account. MPC is suited for control of multi-carrier systems, since it can adequately take into account the dynamics of energy storage devices and the characteristics of the electricity and gas networks. MPC operates in a receding horizon fashion, meaning that at each time step new measurements of the system and new predictions into the future are made and new control actions are computed. By using MPC, actions can be determined that anticipate future events, such as increasing or decreasing energy prices. In Fig. 3 MPC is illustrated schematically. At each control step k, an MPC controller first measures the current state of the system, x(k). Then, it determines using (numerical) optimization which control input u(k) to provide by determining the actions that over a prediction horizon of N time steps give the best predicted performance according to a given objective function. The control variables computed for the first prediction step are then applied to the system. The system then transitions to a new state, x(k + 1), after which the cycle is repeated. 2 In addition to the stated objectives, it is straightforward to also include voltage regulation and power flow limitations as control objectives.
L
B. Control problem formulation
e,i
J=
G qiG (k + l)(Pe,i (k + l))2
h,i
l=0 i∈G G + qiN (k + l)(Pg,i (k + l))2 ,
(18)
where G includes all generation units, i.e., the three generators and the two natural gas imports. The prices for electricity generation of all generators i and for the natural gas consumption of the two gas networks for time step k are denoted by qiG (k) and qiN (k), respectively. These prices can vary throughout the day. The central control problem formulation is now stated as ˜(k), u ˜ (k)) min J(˜ x(k + 1), z ˜ (k) u
(19)
subject to ˜ (k + 1) = ˜f (˜ ˜(k), u ˜ (k)) x x(k), z ˜ (˜ ˜(k), u ˜ (k)) = 0 g x(k), z ˜ ˜(k), u ˜ (k)) ≤ 0, h(˜ x(k), z
(20) (21) (22)
where the tilde over a variable represents a vector with the values of this variable over a prediction horizon of N steps, ˜ (k) = [ uT(k) , . . . , uT(k+N −1) ]T . The inequality cone.g., u straints (22) comprise limits on the voltage magnitudes, active and reactive power flows, pressures, changes in compressor settings and dispatch factors. Furthermore, power limitations on the hub inputs and on gas and electricity generation are also incorporated into (22). Regarding the storage devices, limits on the storage contents and the storage flows are imposed. The optimization problem (19)–(22) is a nonlinear programming problem [9], which can be solved using solvers for nonlinear programming, such as sequential quadratic programming [9]. In general, the solution space is non-convex and therefore finding a global optimum cannot be guaranteed. Only a local optimum is returned by numerical optimization. IV. C ASE STUDY Simulations are presented, in which the proposed MPC scheme is applied to the three-hub benchmark system depicted in Fig. 1. We use the snopt solver through the Tomlab interface [10] in Matlab.
Loads [p.u.]
5 4 3 2 1 0
Prices [m.u./p.u.2]
In the MPC formulation the central controller determines the inputs u(k) for the network. The control objective is to minimize the energy costs, represented by the following objective function, where costs of the individual energy carriers are modeled as quadratic functions of the corresponding powers: N −1 3
L
6
0
5
10
Time step k
15
20
qG 1
25
qG, qG 2
3
gN i
30
20
10
0 0
5
10
Time step k
15
20
25
Fig. 4. Daily profile for electricity Le,i (k) and heat loads Lh,i (k) (upper plot) and prices for electricity qiG (k) and natural gas consumption qiN (k) (lower plot).
electricity prices are varying during the day, showing a peak around noon. Furthermore, electricity generation at hubs H2 and H3 is chosen twice as expensive as at hub H1 . The reason for choosing different electricity prices is to obtain three hubs with different setups. (Hub H1 has a cheap access to electricity and gas, hub H2 has an expensive electricity and a limited gas access and hub H3 has an expensive electricity access and no gas access.) Gas prices remain constant throughout the day and are the same for all hubs. The loads are given in p.u. (per unit) values and the price coefficients are described in m.u./p.u.2 , where m.u. refers to monetary units. Regarding the electricity network, bus 1 is modeled as slack bus, i.e., having the voltage angle and voltage magnitude fixed (V1 (k) = 1∠0◦ p.u.). The other two buses are modeled as PV buses, for which the net active power and the voltage magnitude are specified. Also within the gas network bus 1 serves as slack bus, having a fixed pressure value of 1 p.u. The coefficients and simulation parameters used are listed in Table I. Since hub H2 is assumed to have only access to a smaller gas tank, a flow rate constraint of 2 p.u. is imposed G (k). The network is mainly supplied via the large gas on Pg,2 G (k), delivering the gas to the neighboring buses network Pg,1 by means of the two compressors. TABLE I PARAMETERS OF THE THREE - HUB SYSTEM IN P. U . coefficients μCHP F stb Eh,i
A. Simulation setup
eh,i
At each hub, the daily profiles of the load demands and the energy prices are known in advance. Here, we assume that these load and price forecasts are perfect. However, in reality, there are always forecast errors. As a first study, we assume perfect forecasts and it is believed that the following results are representative also for small forecast errors. The given profiles are typical profiles for a household. The electricity and heat loads are assumed to be the same for all hubs and are depicted in the upper plot in Fig 4. Regarding the prices, the
limits
CHP = 0.3, η CHP = 0.4 ηg,e,i g,h,i
F ηg,h,i = 0.75 stb = 0.2 Eh,i
− e+ h,i = eh,i = 0.9
Vi G Pe,i
0.9 ≤ |Vi | ≤ 1.1 G ≤ 10 0 ≤ Pe,i
pi pinc,i νi G Pg,i
0.8 ≤ pi ≤ 1.2 1.2 ≤ pinc,i ≤ 1.8 0 ≤ νi ≤ 1 G ≤ 20, 0 ≤ P G ≤ 2 0 ≤ Pg,1 g,2
Ei Mh,i
0.5 ≤ Ei ≤ 3 -3 ≤ Mh,i ≤ 3
g,1
14
E1 [p.u.]
e,1
16
PG
4
4
10 8
0
0
5
10
2 0 0
5
10
Time step k
15
20
25
G (k) and natural gas import P G (k) of Fig. 5. Active power generation Pe,1 g,1 hub H1 over entire simulation horizon, for a prediction horizon with length N = 5.
Based on the profiles, the total generation costs are minimized for a simulation of Nsim = 24 time steps, where one time step corresponds to 1 hour. To analyze the performance of the central controller, we vary the length of the prediction horizon N between N = 1, i.e. no prediction (optimizing just for the actual time step), and N = 24, i.e. predicting for all 24 time steps at once. B. Prediction horizon with length N = 5 The behavior of the system is illustrated for a prediction horizon with length N = 5. We consider this length of prediction horizon as adequate for practical applications and it represents a proper trade-off between control performance on the one side and obtainable forecasts and computational effort on the other side. An optimization for 5 time steps is run, at each time step k implementing only the control variables for the current time step k and then starting the procedure again at time step k + 1 using updated system measurements. Running this procedure over the entire simulation period [0, 24], total operation costs of 2.73 · 104 m.u are obtained. Figure 5 shows the respective evolution of the active power generation and natural gas import at hub H1 . The electricity generation mainly corresponds to the electricity load pattern and the natural gas import evolves similar to the heat loads. However, natural gas is also used during time periods, in which no heat is required. During these periods gas is converted by the μCHP device for supporting the electricity generation. The thereby produced heat is stored and used later for the heat supply. At hubs H2 and H3 , the active power generation shows a similar evolution, but with a level roughly half as high as at hub H1 , since their generation is twice as expensive as at hub H1 . At hub H2 , where the gas access is limited, the maximum amount of gas is imported during day times, i.e. when the prices for electricity generation are high. In Fig. 6, the storage contents for different lengths of prediction horizons are presented. The horizontal lines indicate the storage limits (0.5 p.u. ≤ Ei (k) ≤ 3 p.u.). First, we focus on the storage behavior for a prediction horizon of length N = 5, which is represented by the dashed line. All three storage devices are half full before the optimization starts. In general, the storage devices are mainly discharged during
N= 24
0
5
10
0 0
5
10
Time step k
15
20
25
15
20
25
15
20
25
2 0
6 4
N=5
2
12
E3 [p.u.]
Hub H1: Control variabes [p.u.]
PG
E2 [p.u.]
N=3 18
Time step k
4 2
Time step k
Fig. 6. Storage evolution over simulation horizon. Comparison of different lengths of prediction horizon N = 3, N = 5, N = 24. TABLE II C OMPARISON OF OPERATION COSTS , N = 5 μCHP √ √ x x
storage √ x √ x
costs [m.u.]
increase
2.73 · 104 2.98 · 104 2.94 · 104 3.07 · 104
base 9.2% 7.7% 12.5%
the heat load peaks and charged when no heat is required. However, the heat storage devices are not only important for the heat supply but indirectly also for electricity generation, since the μCHP devices can be operated according to the electricity load requirements due to the heat storage devices. At high electricity prices, electricity generation via μCHP is cheaper than via the generators, thus, the μCHP devices are preferably used for supplying the electricity demand while storing all excessive produced heat. This is also the reason why the contents of storages E1 and E2 rise again at the end of the simulation. During the heat load peaks almost all gas is directed into the furnaces because the thermal efficiencies of the μCHPs are not sufficient in order to supply the heat loads, not even by means of the heat storages. During these time periods, the operational costs increase correspondingly because the μCHPs can not be used for supplying the electricity loads. In the following the operation costs are compared for different system setups regarding the μCHPs and the storage devices. As base case serves the configuration with μCHPs and storage devices. In Table II the increase in costs for the different cases are presented, in each case with a prediction horizon length of N = 5. In the first two cases, the μCHPs are utilized and the performance with and without heat storages is compared. Using the μCHP devices without the heat storages, total operation costs of 2.98 · 104 m.u. are obtained, corresponding to an increase of 9.2%. This is due to the fact that the μCHP devices cannot be utilized during periods without heat loads because the thereby produced heat cannot be used. The second two cases present the costs obtained in decoupled operation mode, namely when the electricity and natural gas networks are optimized independently of each other. No power is converted by the μCHP devices in this mode. Running the optimization without μCHP usage but including the heat
4
Total operation costs [m.u.]
2.9
x 10
2.85
2.8
2.75
2.7
2.65 0
Fig. 7.
5
10
15
Length of prediction horizon N
20
25
Total operation costs for different lengths of prediction horizon N .
storages, total costs of 2.94 · 104 m.u. are obtained. Thus, by decoupling both infrastructures instead of operating them at once, generation costs are increased by 7.7 %. Running the simulation with either the μCHP nor the storage devices yields total costs of 3.07 · 104 m.u., corresponding to an increase of 12.5 %. C. Comparison between different lengths of prediction horizon For showing the effect of prediction, prediction horizons with different lengths N are compared. In order to obtain a fair comparison, the prediction horizon is reduced towards the end of the simulation. Hence, in each case, the controller knows the same data, i.e., the measurements of the same 24 time steps. Figure 7 shows the total operation costs defined in (18) for different lengths of the prediction horizon N . Generally, the operation costs decrease with increasing prediction horizon. But this is not always the case. Depending on the input profiles, some prediction horizon lengths yield poorer results since the planned actions are suboptimal with respect to the whole simulation horizon. As can be seen, a fast decay of the operation costs occurs mainly within the first five prediction horizon lengths N = 1, . . ., N = 5. For longer prediction horizons, not much reduction of the cost is gained, except for optimizing for all 24 time steps at once (N = 24). Besides that, computational effort increases with increasing prediction horizon length. In Fig. 6, the storage contents for different lengths of prediction horizons (N = 3, N = 5, N = 24) are compared. At a prediction horizon with a length of N = 3 (dash-dotted line), the storage devices are filled up too late or are even emptied before the heat load peaks (storage devices E1 and E3 at time steps k = 1 . . . 3) because the controller recognizes these peaks too late. With increasing length of prediction horizon, the storage devices are filled up earlier. By operating the storage devices in a more efficient way, i.e. mainly by filling them up earlier, the above discussed cost reductions with increasing prediction horizon length (Fig. 7) are achieved. Especially the storage device at hub H3 is utilized more efficiently with increasing prediction horizon length. Since hub H3 has no direct gas access, it avoids filling up the storage device when knowing only limited information in advance. When optimizing for all 24 time steps at once (solid line)
the most efficient behavior over the simulation horizon is obtained. The control variables for all next 24 time steps are determined and applied at time step k. But optimizing for all time steps at once is not applicable in practice since the data for the whole next day is normally not known in advance. Moreover, possibly occurring disturbances cannot be handled and computational effort becomes too high. Hence in practice, applying MPC with a properly chosen length of prediction horizon is the best choice. In general, depending on the specifications, a trade-off between control performance and computational effort has to be made. For the application example presented in this paper, a prediction horizon length of N = 5 yields the best compromise. Moreover, issues such as obtainable forecasts and size of possible disturbances also influence the choice of an adequate length of prediction horizon. V. C ONCLUSIONS AND FUTURE RESEARCH In this paper we have proposed the application of model predictive control to interconnected hub systems. The dynamics of storage devices, forecasts on energy prices and demand profiles, and operational constraints are taken into account adequately by the predictive control scheme, which is an effective control approach for this type of systems. The performance of different prediction horizons of varying length have been compared. With an increasing length of the prediction horizon total operation costs decrease, but computational effort increases accordingly. Future research will address the incorporation of disturbances within the profiles instead of assuming perfect forecasts. Furthermore, a distributed implementation of the central controller will be developed. In addition, network operators, which influence the energy exchanges between the hubs, are to be incorporated into the interconnected hub system. ACKNOWLEDGMENTS This research is supported by the project “Vision of Future Energy Networks” (VoFEN) of ABB, Areva T&D, Siemens, and the Swiss Federal Office of Energy, the BSIK project “Next Generation Infrastructures (NGI)”, the Delft Research Center Next Generation Infrastructures, the European STREP project “Hierarchical and distributed model predictive control (HDMPC)”, and the project “Multi-Agent Control of Large-Scale Hybrid Systems” (DWV.6188) of the Dutch Technology Foundation STW. R EFERENCES [1] J. Hernandez-Santoyo and A. Sanchez-Cifuentes, “Trigeneration: An alternative for energy savings,” Applied Energy, vol. 76, no. 1–3, pp. 219–277, 2003. [2] T. W. M. Shahidehpour, Y. Fu, “Impact of natural gas infrastrucutre on electric power systems,” Proceedings of the IEEE, vol. 93, no. 5, pp. 1024 – 1056, 2005. [3] M. Arnold, R. R. Negenborn, G. Andersson, and B. De Schutter, “Distributed control applied to combined electricity and natural gas infrastructures,” in Proceedings of the International Conference on Infrastructure Systems, Rotterdam, The Netherlands, Nov. 2008. [4] M. Geidl and G. Andersson, “Optimal power flow of multiple energy carriers,” IEEE Transactions on Power Systems, vol. 22, no. 1, pp. 145– 155, 2007. [5] J. M. Maciejowski, Predictive Control with Constraints. Harlow, England: Prentice Hall, 2002. [6] E. F. Camacho and C. Bordons, Model Predictive Control. New York, New York: Springer-Verlag, 2004. [7] P. Kundur, Power System Stability and Control. New York, New York: McGraw-Hill, 1994.
[8] E. S. Menon, Gas Pipeline Hydraulics, New York: Taylor & Francis, 2005. [9] D. P. Bertsekas, Nonlinear Programming. Beltmore, Massachusetts: Athena Scientific, 2003. [10] P. E. Gill, W. Murray, and M. A. Saunders, “SNOPT: An SQP algorithm for large-scale constrained optimization,” SIAM Journal on Optimisation, vol. 12, no. 4, pp. 979–1006, 2002.
Mich`ele Arnold (S’07) was born in Bern, Switzerland. She received her MSc degree in electrical engineering and information technology from ETH Zurich (Swiss Federal Institute of Technology Zurich), Switzerland, in 2006. In 2006, she joined the Power Systems Laboratory of ETH Zurich where she is working towards her PhD. Her research interests are modeling and optimization of power systems, multi-agent systems and distributed control. She is a student member of IEEE.
Rudy Negenborn was born in Utrecht, The Netherlands. He received the MSc degree in computer science (with a specialization in intelligent systems) cum laude from Utrecht University, The Netherlands, in 2003. In 2007, he obtained his PhD degree at the Delft Center for Systems and Control of the Delft University of Technology, The Netherlands. His PhD thesis was on multi-agent or distributed model predictive control with applications to power networks. Currently, Rudy Negenborn is a postdoctoral researcher at the same center. Rudy Negenborn’s more fundamental research interests include multi-agent systems, distributed control, model predictive control, and hybrid systems. His more applied research interests include applications to transportation networks in general, and water and power networks in particular.
G¨oran Andersson (M’86, SM’91, F’97) was born in Malm¨o, Sweden. He obtained his MSc and PhD degree from the University of Lund in 1975 and 1980, respectively. In 1980 he joined ASEA, now ABB, HVDC division in Ludvika, Sweden, and in 1986 he was appointed full professor in electric power systems at the Royal Institute of Technology (KTH), Stockholm, Sweden. Since 2000 he is a full professor in electric power systems at ETH Zurich (Swiss Federal Institute of Technology Zurich), Switzerland. His research interests are in power system analysis, simulation and control. Another research interest is future energy and power systems. He is a member of the Royal Swedish Academy of Engineering Sciences and Royal Swedish Academy of Sciences, and he is active in IEEE PES. He was the recipient of the IEEE PES Outstanding Power Educator Award 2007.
Bart De Schutter (M’08) was born in Ekeren, Belgium. He received the MSc degree in electrotechnical-mechanical engineering in 1991 and the PhD degree in Applied Sciences (summa cum laude with congratulations of the examination jury) in 1996, both at K.U.Leuven, Belgium. Currently, he is a full professor at the Delft Center for Systems and Control and at the Marine & Transport Technology department of Delft University of Technology in Delft, The Netherlands. Bart De Schutter was awarded the 1998 SIAM Richard C. DiPrima Prize and the 1999 K.U.Leuven Robert Stock Prize for his PhD thesis. He is associate editor of Automatica and of the IEEE Transactions on Intelligent Transportation Systems. His current research interests include hybrid systems control, discrete-event systems, multi-agent systems, control of intelligent transportation systems, and optimization.