Next Article in Journal
Research on Optimal Landing Trajectory Planning Method between an UAV and a Moving Vessel
Next Article in Special Issue
Aerodynamic Sensitivity Analysis for a Wind Turbine Airfoil in an Air-Particle Two-Phase Flow
Previous Article in Journal
The Direct Integration Method with Virtual Initial Conditions on the Free and Forced Vibration of a System with Hysteretic Damping
Previous Article in Special Issue
Multi-Time-Scale Coordinated Operation of a Combined System with Wind-Solar-Thermal-Hydro Power and Battery Units
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

MPC for Optimized Energy Exchange between Two Renewable-Energy Prosumers

Department of Electrical and Computer Engineering, University of Dayton, Dayton, OH 45440, USA
*
Author to whom correspondence should be addressed.
Appl. Sci. 2019, 9(18), 3709; https://doi.org/10.3390/app9183709
Submission received: 27 July 2019 / Revised: 3 September 2019 / Accepted: 4 September 2019 / Published: 6 September 2019
(This article belongs to the Special Issue Advanced Solar–Wind–Hydro Hybrid Energy System)

Abstract

:
Renewable energy and information technologies are changing electrical energy distribution, favoring a move towards distributed production and trading between many buyers and sellers. There is new potential for trading between prosumers, entities which both consume and produce energy in small quantities. This work explores the optimization of energy trading between two prosumers, each of which consists of a load, renewable supply, and energy storage. The problem is described within a model predictive control (MPC) framework, which includes a single objective function to penalize undesirable behavior, such as the use of energy from a utility company. MPC integrates future predictions of supply and demand into current dispatch decisions. The control system determines energy flows between each renewable supply and load, battery usage, and transfers between the two prosumers. At each time step, future predictions are used to create an optimized power dispatch strategy between the system prosumers, maximizing renewable energy use. Modeling results indicate that this coordinated energy sharing between a pair of prosumers can improve their overall renewable energy penetration. For one specific choice of prosumers (mixed residential–commercial) penetration is shown to increase from 71% to 84%.

1. Introduction

Electric power grids are currently undergoing a transition from large centralized power stations to distributed generation, which includes significant renewable components [1]. Utilizing a high percentage of intermittent renewable energy creates new engineering problems, requiring greater flexibility from controllable power sources and large-scale energy storage systems. Information technology is also shaping changes to the energy sector, allowing for automated and reliable tracking of transactions between many buyers and sellers [2]. The new ability for small prosumers to trade directly with each other creates potential to improve renewable energy utilization. This work explores an optimal dispatch algorithm that controls all energy flows within two prosumers (small scale producers and consumers, such as homes with rooftop PV) and determines when they should share energy.

1.1. Microgrids

A microgrid is a small electrical network that includes loads, sources, and possibly storage, and can trade power with the larger electrical grid or, at times, operate in islanded mode. For example, a microgrid installation at the University of California San Diego can generate more than 90% of the electricity used on campus annually with wind and solar power, saving more than $800,000 per month [3]. There are several areas of microgrid research that support the overall goal of maximizing the usage of locally produced (often renewable) energy. A microgrid with significant renewable components requires careful frequency and voltage control, AC/DC conversion, and other electrical considerations [4]. Optimal power point tracking can be applied to get the most energy transfer possible from a turbine or PV system [5]. Correctly sizing the renewable components for a given load is another microgrid research topic. For example, researchers have studied the problem of sizing a hybrid solar/wind system with battery storage as a multiobjective optimization, using a genetic algorithm (GA) to minimize both annual system cost as well as the probability of losing power [6]. Researchers have also considered optimizing the control algorithms for island microgrid operations, with management of battery storage and diesel generation using forecasting [7]. Previous work by the authors reported on studies with a control scheme for a microgrid with battery and thermal storage, and a methodology for sizing these components [8,9].
If microgrids can trade energy with one another, this provides another opportunity for improving the overall renewable penetration as well as the value of each microgrid. In this case, when one microgrid has excess energy it has the option to transfer this energy to microgrids with an energy deficit. Blockchain technology for automatically tracking such transactions has recently been developed [10]. A microgrid network in Brooklyn, New York applies this technology, allowing members to efficiently manage and record energy transactions within the local network [11]. A summary of case studies involving peer-to-peer energy sharing is provided by [12]. The concept of optimizing the overall performance of a network of microgrids is relatively new in the literature. A framework for such a network can be studied as a convex optimization problem combining transactions and distributed energy production costs, using algorithms such as alternating direction method of multipliers (ADMM) to maximize renewable penetration while minimizing costs [13]. Other researchers have created an energy sharing structure to integrate prosumers into an energy sharing zone with an internal pricing model based on supply and demand ratio for renewable energy [14]. A model predictive control (MPC) framework is applied to a microgrid network to optimize the scheduling of power exchange between members as well as control local energy storage systems using forecasts of load, supply, and prices [15].

1.2. Outline and Scope of This Work

The approach in this work is to develop a single dispatching scheme that coordinates a pair of prosumers to optimize their overall renewable energy penetration. This is unique in that it utilizes future predictions of supply and load for both prosumers and creates a single objective function to optimize. The control scheme determines the flows within each prosumer, as well as the energy trading between them, to optimize an objective, effectively turning the two prosumers into a single operating unit. This is conceived here as a centralized approach that could be implemented by a third party who receives data from both prosumers, as well as weather forecasts, and transmits real-time energy allocation instructions back to the prosumers. Future work will focus on a decentralized version of this concept, operating in a manner like the prosumer network in New York mentioned earlier [11]. The scheme would also require cooperation from the local utility company, in terms of reasonable tariffs for utilizing their infrastructure and for purchasing excess energy from the prosumers. The two prosumers can be pre-existing entities (prosumers) that are ideally selected to be complementary, such that one is likely to have an energy deficit when the other has a surplus. The proposed control scheme enables better overall penetration for the two prosumers and reduces the exchanges between them and external providers. The behavior of the algorithm can be modified through the objective function, by including terms that reflect battery storage lifetime, for example.

1.3. Model Productive Control

Model predictive control (MPC) refers to techniques that utilize models of a process and incorporate future predictions of performance and external variables to systematically determine control signals by minimizing an objective function at each time step [16]. These algorithms predict future process behavior and choose a control sequence to optimize an objective function based on these predictions. The initial value of this control sequence is retained before advancing the prediction window into the future for the next time step. Applications of MPC include industrial control of robots, servo motors, steam generators, and control of anesthesia delivery [17]. As well as having the ability to utilize available forecasting data, MPC can efficiently incorporate constraints and manage multiple control variables. MPC does have a large computational burden (the optimization) at each time step, although this is only a problem for applications that require high-speed sampling. A generic MPC schematic is illustrated in Figure 1, where a process model predicts future outputs based on previous inputs/outputs and optimized future control signals.
MPC is frequently applied to power delivery systems, especially those that involve renewable sources and distributed generation. For example, MPC is used in maximum power point tracking for DC power systems, to manage the fluctuating output from a PV array connected to a constant DC bus [18]. Active and reactive power disturbances that occur within combined wind-turbine and battery microgrids can also be controlled by MPC, while maximizing power delivery from the turbines [19]. These algorithms have also been used to mitigate disturbances caused by errors in weather forecasting models in a distributed generation system [20].

1.4. Case Study

Figure 2 below illustrates the main components of the two prosumers used in this study and power flows between them. These two prosumers are envisioned as two prosumers within a larger network of prosumers. The structure of both prosumers is the same, consisting of a load, renewable energy supply, battery storage, and connections to other sources of power, such as the other prosumers in the larger network and/or a retail energy supplier. Transactions between the two prosumers are shown as power flows through the peer-to-peer transactions block.
The differences between the prosumers are captured in the two load profiles and the renewable energy profiles, the example used throughout this work imagines one load as residential and the other as commercial, although the system applies to any two loads that are complementary to one another. The residential and commercial load profiles are modeled based on real data, and renewable energy resource (RER) supplies are based on typical meteorological year (TMY) weather data and models for PV and wind turbines. The modeling presented here does not include currents or voltages, just discrete hourly energy flows. Variable energy pricing is not modeled, although the MPC objective function contains parameters that could depend on energy prices. Although there are several MPC formulations possible, here, a state space approach is used because it allows for handling many variables easily.
The cost function is formulated as a constrained quadratic, whose complexity depends on the number of variables and the length of the control horizon. Referring again to Figure 2, it is possible to consider MPC operation with or without the energy sharing. This can be easily achieved by adjusting constraint parameters within the algorithm. This allows for exploration of the potential benefit of coupling two prosumers within a larger network of prosumers. Energy sharing between the two coupled prosumers is prioritized over energy sharing with other prosumers in the network.

2. Problem Formulation

The MPC algorithm is designed to maximize the use of renewable power for the two loads, minimizing the trading that occurs with the rest of the network or other retail energy suppliers. This means that the algorithm seeks to isolate the coupled prosumers as much as possible from the rest of the energy network. The following subsections define the MPC problem, including a battery storage model, state-space formulation, objective function, a reference trajectory based on forecast information, and all system constraints.

2.1. Battery Storage

Using k to represent hourly time steps ( k = 1 , 2 , 3 , ) , the two battery states of charge S O C R ( k ) and S O C C ( k ) , both in kWh, are combined into a single vector,
x m k = S O C R k S O C C k .
This vector will become part of the state-space model, and it is used to construct a recursive matrix algebra update for the batteries, with the following equation and definitions.
x m k + 1 = x m k + b m u k ,
u ( k ) = [ P 2 R , P 2 C , P 3 R , P 3 C , P 4 R , P 4 C , P R C , P C R , P B R C , P B C R ] ,
b m = 0 0 η C 0 η D 0 0 0 0 0 0 0 0 η C 0 η D 0 0 0 0 .
In these definitions, η C and η D are the charging and discharging efficiencies for energy transfers to the battery P 3 R , P 3 C and from the battery P 4 R , P 4 C , respectively. The vector u ( k ) is defined as the control vector for the system, and it contains all the energy flows that the algorithm must choose at each time step. These flows are all functions of k, although this is not shown to simplify the expressions.

2.2. State-Space Formulation

To develop a state-space representation of the system, it is first necessary to define an objective function and system outputs. Table 1 organizes the definitions of objective function terms and corresponding outputs. Each term represents a system energy component that can be penalized by selection of corresponding weighting terms, C 1 to C 5 . Note that renewable energy that is consumed directly by the loads is not penalized, whereas there are objective terms for externally supplied power ( J 1 R , J 1 C ), energy into and out of the batteries ( J 2 R , J 2 C ), energy flows to other network prosumers ( J 3 R , J 3 C ), RER flows between the coupled prosumers ( J 4 R , J 4 C ), and battery flows between the coupled prosumers ( J 5 R , J 5 C ). Constants C 1 to C 5 serve as weighting parameters that can modify the relative significance of each objective term. The definition of the terms ( J 1 R ) relies on the constraint that the load must be completely satisfied at each time step ( P 1 R = P L R P 2 R P 4 R P C R P B C R ). The same constraint holds for the commercial prosumer.
To formulate the state-space model, we define the ten system outputs listed in Table 1 which are combined as a single output vector y ( k ) . The system input x ( k ) is constructed from x m ( k ) and y ( k ) . The following expressions summarize these relationships.
y ( k + 1 ) = [ y m R ( k ) , y m C ( k ) , y a R ( k ) , y a C ( k ) , y b R ( k ) , . . .
y b C ( k ) , y d R ( k ) , y d C ( k ) , y e R ( k ) , y e C ( k ) ] ,
x ( k ) = x m ( k ) y ( k ) .
x ( k + 1 ) = A x ( k ) + B u ( k ) ,
y ( k ) = C x ( k ) ,
where
A = I 2 × 2 0 2 × 10 0 10 × 2 0 10 × 10 ,
B = 0 0 η c 0 η D 0 0 0 0 0 0 0 0 η C 0 η D 0 0 0 0 C 1 0 0 0 C 1 0 0 C 1 0 0 0 C 1 0 0 0 C 1 C 1 0 0 0 C 3 0 C 3 0 0 0 C 3 0 0 0 0 C 3 0 C 3 0 0 0 C 3 0 0 0 0 C 2 0 C 2 0 0 0 0 0 0 0 0 C 2 0 C 2 0 0 0 0 0 0 0 0 0 0 C 4 0 0 0 0 0 0 0 0 0 0 C 4 0 0 0 0 0 0 0 0 0 0 C 5 0 0 0 0 0 0 0 0 0 0 C 5 ,
and
C = 0 10 × 2 I 10 × 10 .

2.3. MPC Objective Function and Reference Trajectory

The MPC objective function is defined at each time step by summing all ten terms in Table 1. The function looks forward to a time horizon defined by N p , summing energy terms over a selected time interval according to
J ( k ) = i = k k + N p q = 1 5 [ J q R ( i ) + J q C ( i ) ] .
To develop an expression for J ( k ) that can be expressed as a quadratic, we define
Y ( k ) = [ Y T ( k ) , Y T ( k + 1 k ) , . . . , Y T ( k + N p 1 k ) ] T ,
where the notation y ( k + i | k ) represents the predicted value of y at step i associated with sampling time k.
Using the same notation, future predictions for residential and commercial loads are represented by P L R ( k + i | k ) and P L C ( k + i | k ) , respectively. These could be generated from historical data, models for human behavior, weather forecasts, etc. Similarly, future predictions for residential and commercial RER outputs are represented by P R E R R ( k + i | k ) and P R E R C ( k + i | k ) , respectively, as would be generated from weather forecasts and models for the various hardware components involved in renewable power generation. All the predicted quantities, for each time step into the future up to the prediction horizon N p , are combined into a single reference trajectory vector R ( k ) , given by
R ( k ) = C 1 P L R ( k ) C 1 P L C ( k ) C 3 P R E R R ( k ) C 3 P R E R C ( k ) 0 6 × 1 C 1 P L R ( k + N p | k ) C 1 P L C ( k + N p | k ) C 3 P R E R R ( k + N p | k ) C 3 P R E R C ( k + N p | k ) 0 6 × 1 .
The output vector Y ( k ) should follow this reference, and the minimization of the MPC objective can now be re-expressed in quadratic form:
min J ( k ) = min ( Y ( k ) R ( k ) ) ( Y ( k ) R ( k ) ) .

2.4. System Constraints

There are two main equality constraints in the system model, such that the power total flows into the loads meet those loads exactly at each time interval,
P L R ( k ) = P 2 R ( k ) + P 4 R ( k ) + P 1 R ( k ) + P C R ( k ) + P B C R ( k ) ,
P L C ( k ) = P 2 C ( k ) + P 4 C ( k ) + P 1 C ( k ) + P R C ( k ) + P B R C ( k ) .
The power flows that form the control vector u ( k ) , must meet various inequality constraints. Each of these flows is non-negative and each has an upper bound. In addition, transfers from the RER and battery to the residential load cannot exceed the load
P 2 R ( k ) + P 4 R ( k ) + P C R ( k ) + P B C R ( k ) P L R ( k ) ,
P 2 C ( k ) + P 4 C ( k ) + P R C ( k ) + P B R C ( k ) P L C ( k ) .
Also, the three power flows from the RER supply cannot exceed the total available RER output at any time.
P 2 R ( k ) + P 3 R ( k ) + P R C ( k ) P R E R R ( k ) ,
P 2 C ( k ) + P 3 C ( k ) + P C R ( k ) P R E R C ( k ) .
The power flows P 1 R ( k ) and P 1 C ( k ) are bounded according to
0 P 1 R ( k ) P 1 R max ,
0 P 1 C ( k ) P 1 C max .
Due to equality constraints, Equations (8) and (9), these can be rewritten as
P 2 R ( k ) + P 4 R ( k ) + P C R ( k ) + P B C R ( k ) P 1 R max P L R ( k ) ,
P 2 C ( k ) + P 4 C ( k ) + P R C ( k ) + P B R C ( k ) P 1 C max P L C ( k ) .
The inequality constraints can now be summarized in a single expression
γ 1 M 1 u ( k ) ,
where γ 1 = [ γ R , γ C ] , the inequality is taken elementwise, and γ R and γ C are defined as
γ R = P R E R R ( k ) P 2 R m a x P 3 R m a x P 4 R m a x P R C m a x P B R C m a x P 1 R m a x P L R ( k ) P L R ( k ) 0 6 × 1 , γ C = 0 6 × 1 P R E R C ( k ) P 2 C m a x P 3 C m a x P 4 C m a x P C R m a x P B C R m a x P 1 C m a x P L C ( k ) P L C ( k ) .
Furthermore, M 1 = [ M R , M C ] , where M R and M C are defined as
M R = 1 0 1 0 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 1 0 0 1 0 1 1 0 0 0 1 0 0 1 0 1 ,
M C = 0 1 0 1 0 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 1 0 1 0 0 1 0 0 0 1 1 0 1 0 .
The constraints are applied to the predicted control flows at each future time step, using the following definition of the predictive control vector, where N C is the control horizon.
The constraints are then applied at each time step,
γ 1 ( k ) γ 1 ( k ) γ 1 ( k ) U ( k ) M 1 0 0 M 1 ,
where γ ¯ 1 ( k ) = γ 1 ( k ) γ 1 ( k ) γ 1 ( k ) and M ¯ 1 = M 1 0 0 M 1 N c .
The predicted values of the state of charge can now be written as
x m ( k + i | k ) = x m ( k ) + b m j = k j k + i 1 u ( j ) .
By defining the predictive state of charge X m (k) as
X m ( k ) x m ( k ) x m ( k + 1 | k ) x m ( k + N c 1 | k ) ,
we can write
X m ( k ) = I 2 × 2 I 2 × 2 I 2 × 2 x m ( k ) + B m U ( k ) , B m = b m 0 0 b m b m 0 b m b m b m .
Since each storage system state of charge is constrained to be between upper and lower limits, this can be applied to each of the predicted values x m ( k + i | k ) in the predictive state of charge. The constraints can then be represented in one inequality γ ¯ M ¯ U ( k ) as
γ ¯ 1 γ ¯ 2 u ( k ) u ( k + 1 | k ) u ( k + N c 1 | k ) M ¯ 1 M ¯ 2 ,
where γ ¯ 2 and M ¯ 2 are defined as
γ ¯ 2 = x m ( k ) B C R min B C C min I 2 × 2 I 2 × 2 I 2 × 2 B C R min B C C min x m ( k ) I 2 × 2 I 2 × 2 I 2 × 2 , M ¯ 2 = B m B m .

2.5. MPC Algorithm

Given the system model, Equation (2); the objective function, Equation (3); and the constraint equation on Equation (16), it is possible to develop the MPC algorithm, as outlined by Wang [21]. First, the following MPC gains are formed:
F = ( C A ) , ( C A 2 ) , ( C A N p ) ,
= ( C A ) 0 0 ( C A B ) ( C B ) 0 ( C A N p 1 B ( C A N p 2 B ( C A N p N c B ,
and
E = ϕ ϕ , H = ( F x ( k ) R ( k ) ) ϕ .
Using these definitions, the predicted output vector becomes Y ( k ) = F x ( k ) + ϕ U ( k ) . This allows the quadratic form of the objective in Equation (5) to be rewritten as
J ( k ) = ( F x ( k ) R ( k ) ) ( F x ( k ) R ( k ) ) + 2 ( F x ( k ) R ( k ) ) ϕ U ( k ) + U ( k ) ϕ ϕ U ( k ) .
The minimization of the objective function can now be expressed using terms that depend only on U ( k ) ,
min J ( k ) = min [ 2 ( F x ( k ) R ( k ) ) ϕ U ( k ) + U ( k ) ϕ ϕ U ( k ) ] .
Using Matlab© quadratic programming optimization routine at Equation (21) is solved under the constraints in Equation (16). A receding horizon control is implemented by keeping u ( k ) , the first 10 elements U ( k ) . All system states, inputs, and outputs are then updated using u ( k ) and state-space, Equation (2), for the next time k = k + 1 , and the process is then repeated for the next time step.

3. Simulation Results

3.1. Load and Supply Forecasting

To evaluate this MPC approach requires realistic data for residential and commercial loads, RER supply profiles for the locations of these loads, and methods for forecasting these four quantities into the future. The load profiles used are derived from residential apartment meter readings and a model for a commercial-kitchen electrical load, resulting in hourly demand P L R ( k ) and P L C ( k ) for one year [6]. At each hour k, the demand forecasts P L R ( k + i | k ) and P L C ( k + i | k ) for i = 1 , , N P are selected randomly and uniformly from 60% to 140% of the actual future demand, where N P is the predicted horizon of future load demand and equal to 24 h.
The RER profiles P R E R R and P R E R C are each created as a mix of wind and solar power, using wind turbines 3 m 2 swept area per turbine), fixed position solar panels 2 m 2 per panel), and a model that converts TMY data for Ohio into hourly turbine and solar PV output [6]. The residential RER system has 1 turbine, 150 panels, and 220 kWh battery capacity; and the commercial RER system has 2 turbines, 120 panels, and 180 kWh battery capacity. The RER output forecasts at each hour k, P R E R R ( k + i | k ) and P R E R C ( k + i | k ) for i = 1 , , N P are selected randomly and uniformly from 80% to 120% of the actual RER powers, where N P is the predict horizon of future supply and equal to 24 h.
Figure 3 and Figure 4 show examples of demand and supply profiles for the residential and commercial systems. The vertical line in each subplot indicates current time k, corresponding to midnight, with one day of past (historical) values to the left and one day of future forecasted values to the right. Actual future load and supply (which would not be known in a real application) are also shown to illustrate forecasting error.

3.2. Performance Benefit of Prosumer Pairing

The MPC algorithm can be operated in two ways, with or without sharing between the paired prosumers. To run the algorithm in unshared mode, the parameters P R C m a x , P C R m a x , P B C R m a x , and P B R C m a x are all set to zero, which prevents the MPC algorithm from sharing energy between the prosumers. By running the algorithm for the full year, sharing and unsharing, comparisons can be made between the two scenarios to illustrate the benefits of sharing/pairing. For the paired mode of operation, Figure 5 shows the monthly total energies that flow between the paired prosumers. This figure illustrates some seasonal activity, in that more energy is transferred from the residential to the commercial prosumer in the summer compared to the winter months. We can also see that on average, the residential prosumer has more excess energy to transfer to the commercial prosumer. The upper plot in Figure 6 shows average daily behavior for the full year, illustrating RER energy surplus (production minus load) for both prosumers. These plots indicate when each prosumer has a surplus (more RER output than load) and when each has a deficit (less RER output than load). The solar activity is apparent in these plots, showing an average surplus energy in the afternoon. There are times during the day when there are significant differences between the surplus energy available in the two prosumers. During this time, it is expected that one prosumer will be likely to transfer energy to the other prosumer, confirmed by the positive energy transfers evident in the lower plot. Clearly, the commercial prosumer transfers more energy to the residential prosumer in the morning, and vice-versa in the afternoon. This indicates how the MPC algorithm exploits differences between the two paired prosumers. Figure 7 shows total purchases from external prosumers in the network for both paired prosumers, using both modes of operation (sharing versus unshared). Clearly, the amount of energy needed from outside sources drops when the two prosumers are paired.
Table 2 summarizes total results for paired versus unpaired MPC operation. If the two prosumers under consideration are unpaired, the combined percentage of the loads met with RER energy is 75%, which increases to 86% when the loads are paired. In other words, a greater percentage of the RER output remains within the two prosumer paired system. The total RER output that is transferred to outside prosumers in the network decreases for the paired case.

4. Conclusions

This work describes the utility of an MPC approach for efficiently coupling two prosumers, each with their own renewable energy supply and battery storage. This builds upon earlier research which explored MPC for managing one prosumer’s energy flows to another prosumer. Here, a single MPC dispatch algorithm manages all flows internal to the paired prosumers, as well as shared energy flows between them. By exploiting differences between the two prosumers’ supply and load profiles, higher renewable energy penetration is achieved for the coupled system relative to the penetration achieved if the prosumers operate independently. An example of a residential prosumer paired with a commercial prosumer is presented to illustrate this point. The MPC approach utilizes forecasts of supply and demand, ensuring the batteries are drained prior to times of anticipated excess supply, and the batteries are full prior to times of anticipated excess demand.
Renewable penetration could be further improved by networking more than two prosumers in this manner, although the current MPC formulation may not scale easily due to the number of variables involved. One approach for scaling may be to only apply MPC to manage shared energy flows, but not flows that are internal to each prosumer.
Although this work does not explicitly consider energy pricing, the coefficients for the MPC objective function could be functions (changing in time, if necessary) of prices. The coefficients could similarly be adjusted to more precisely reflect battery efficiency and life, losses due to DC to AC conversion, physical distances between prosumers, and other electrical or economic considerations. Such approaches can further refine the potential of an MPC approach to optimized energy exchange. Future research will consider the algorithm’s performance with a smaller time-step, and modifications necessary to handle rapid fluctuations in load and supply.

Author Contributions

I.A. designed the model, computational the framework, analysed the data, and wrote the manuscript. M.D. contributed to the design, implementation of the research, and supervised the project. R.O. provided critical feedback and helped shape the research. All authors discussed the results and contributed to the final manuscript.

Funding

This research was funded by University of Dayton, Dayton, Ohio, USA.

Acknowledgments

This work has been supported in part by the University of Dayton Office for Graduate Academic Affairs through the Graduate Student Summer Fellowship Program.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Booth, S.; Barnett, J.; Burman, K.; Hambrick, J.; Westby, R. Net Zero Energy Military Installations: A Guide to Assessment and Planning; Technical Report; National Renewable Energy Lab. (NREL): Golden, CO, USA, 2010. [Google Scholar]
  2. Mylrea, M.; Gourisetti, S.N.G. Blockchain for Smart Grid Resilience: Exchanging Distributed Energy at Speed, Scale and Security. In Proceedings of the Resilience Week (RWS), Wilmington, DE, USA, 18–22 September 2017; pp. 18–23. [Google Scholar]
  3. Washom, B.; Dilliot, J.; Weil, D.; Kleissl, J.; Balac, N.; Torre, W.; Richter, C. Ivory tower of power: Microgrid implementation at the University of California, San Diego. IEEE Power Energy Mag. 2013, 11, 28–32. [Google Scholar] [CrossRef]
  4. Díaz-González, F.; Sumper, A.; Gomis-Bellmunt, O.; Villafáfila-Robles, R. A review of energy storage technologies for wind power applications. Renew. Sustain. Energy Rev. 2012, 16, 2154–2171. [Google Scholar] [CrossRef]
  5. Bizon, N. Optimal operation of fuel cell/wind turbine hybrid power system under turbulent wind and variable load. Appl. Energy 2018, 212, 196–209. [Google Scholar] [CrossRef]
  6. Aldaouab, I.; Daniels, M.; Hallinan, K. Microgrid Cost Optimization for a Mixed-Use Building. In Proceedings of the Power and Energy Conference (TPEC), College Station, TX, USA, 9–10 February 2017; pp. 1–5. [Google Scholar]
  7. Palma-Behnke, R.; Benavides, C.; Lanas, F.; Severino, B.; Reyes, L.; Llanos, J.; Sáez, D. A microgrid energy management system based on the rolling horizon strategy. IEEE Trans. Smart Grid 2013, 4, 996–1006. [Google Scholar] [CrossRef]
  8. Aldaouab, I.; Daniels, M. Renewable Energy Dispatch Control Algorithms for a Mixed-Use Building. In Proceedings of the Green Energy and Smart Systems Conference (IGESSC), Long Beach, CA, USA, 6–7 November 2017; pp. 1–5. [Google Scholar]
  9. Aldaouab, I.; Daniels, M.; Ordóñez, R. Model Predictive Control Energy Dispatch to Optimize Renewable Penetration for a Microgrid with Battery and Thermal Storage. In Proceedings of the Texas Power and Energy Conference (TPEC), College Station, TX, USA, 8–9 February 2018; pp. 1–6. [Google Scholar]
  10. Atzori, M. Blockchain Technology and Decentralized Governance: Is the State Still Necessary? SSRN: Rochester, NY, USA, 2015. [Google Scholar]
  11. Peck, M.E.; Wagman, D. Energy trading for fun and profit buy your neighbor’s rooftop solar power or sell your own-it’ll all be on a blockchain. IEEE Spectr. 2017, 54, 56–61. [Google Scholar] [CrossRef]
  12. Zhang, C.; Wu, J.; Long, C.; Cheng, M. Review of existing peer-to-peer energy trading projects. Energy Procedia 2017, 105, 2563–2568. [Google Scholar] [CrossRef]
  13. Zhou, Y.; Ci, S.; Li, H.; Yang, Y. A New Framework for Peer-to-Peer Energy Sharing and Coordination in the Energy Internet. In Proceedings of the Communications (ICC)—2017 IEEE International Conference on IEEE, Paris, France, 21–25 May 2017; pp. 1–6. [Google Scholar]
  14. Liu, N.; Yu, X.; Wang, C.; Li, C.; Ma, L.; Lei, J. Energy-sharing model with price-based demand response for microgrids of peer-to-peer prosumers. IEEE Trans. Power Syst. 2017, 32, 3569–3583. [Google Scholar] [CrossRef]
  15. Ouammi, A.; Dagdougui, H.; Dessaint, L.; Sacile, R. Coordinated model predictive-based power flows control in a cooperative network of smart microgrids. IEEE Trans. Smart Grid 2015, 6, 2233–2244. [Google Scholar] [CrossRef]
  16. Parisio, A.; Rikos, E.; Glielmo, L. A model predictive control approach to microgrid operation optimization. IEEE Trans. Control. Syst. Technol. 2014, 22, 1813–1827. [Google Scholar] [CrossRef]
  17. Camacho, E.F.; Alba, C.B. Model Predictive Control; Springer Science & Business Media: New York, NY, USA, 2013. [Google Scholar]
  18. Shadmand, M.B.; Balog, R.S.; Abu-Rub, H. Model predictive control of PV sources in a smart DC distribution system: Maximum power point tracking and droop control. IEEE Trans. Energy Convers. 2014, 29, 913–921. [Google Scholar] [CrossRef]
  19. Hooshmand, A.; Malki, H.A.; Mohammadpour, J. Power flow management of microgrid networks using model predictive control. Comput. Math. Appl. 2012, 64, 869–876. [Google Scholar] [CrossRef] [Green Version]
  20. Oldewurtel, F.; Parisio, A.; Jones, C.N.; Gyalistras, D.; Gwerder, M.; Stauch, V.; Lehmann, B.; Morari, M. Use of model predictive control and weather forecasts for energy efficient building climate control. Energy Build. 2012, 45, 15–27. [Google Scholar] [CrossRef] [Green Version]
  21. Wang, L. Model Predictive Control System Design and Implementation Using MATLAB®; Springer Science & Business Media: New York, NY, USA, 2009. [Google Scholar]
Figure 1. General model predictive control (MPC) control flow [9].
Figure 1. General model predictive control (MPC) control flow [9].
Applsci 09 03709 g001
Figure 2. Coupled microgrid block diagram with two prosumers.
Figure 2. Coupled microgrid block diagram with two prosumers.
Applsci 09 03709 g002
Figure 3. Two days of residential demand and supply profiles used in simulation.
Figure 3. Two days of residential demand and supply profiles used in simulation.
Applsci 09 03709 g003
Figure 4. Two days of commercial demand and supply profiles used in simulation.
Figure 4. Two days of commercial demand and supply profiles used in simulation.
Applsci 09 03709 g004
Figure 5. Monthly total energy transfers between the two prosumers.
Figure 5. Monthly total energy transfers between the two prosumers.
Applsci 09 03709 g005
Figure 6. Average daily energy transfers between the two prosumers.
Figure 6. Average daily energy transfers between the two prosumers.
Applsci 09 03709 g006
Figure 7. Average daily energy from external prosumers to both prosumers.
Figure 7. Average daily energy from external prosumers to both prosumers.
Applsci 09 03709 g007
Table 1. System outputs and objective terms.
Table 1. System outputs and objective terms.
System OutputsObjective Function TermsDescription
y m R = C 1 [ P 2 R + P 4 R + P C R + P B C R ] J 1 R = C 1 2 P 1 R 2 = [ C 1 P L R y m R ] 2 Energy purchased from other network
y m C = C 1 [ P 2 C + P 4 C + P R C + P B R C ] J 1 C = C 1 2 P 1 C 2 = [ C 1 P L R y m R ] 2 prosumers or retail suppliers
y a R = C 2 ( P 3 R + P 4 R ) J 2 R = C 2 2 ( P 3 R + P 4 R ) 2 = y a R 2 Charging and discharging energy
y a C = C 2 ( P 3 C + P 4 C ) J 2 C = C 2 2 ( P 3 C + P 4 C ) 2 = y a C 2 transfer to battery
y b R = C 3 P 5 R J 3 R = C 3 2 P 5 R 2 = y b R 2 Energy sold to other network prosumers
y b C = C 3 P 5 C J 3 C = C 3 2 P 5 C 2 = y b C 2
y d R = C 4 P R C J 4 R = C 4 R 2 P R C 2 = y d R 2 Energy transferred from the residential renewable energy resource (RER)
y d C = C 4 P C R J 4 C = C 4 C 2 P C R 2 = y d C 2 supply to the commercial load and vice versa
y e R = C 5 P B R C J 5 R = C 5 2 P B R c 2 = y e R 2 Energy transferred from the residential
y e C = C 5 P B C R J 5 C = C 5 2 P B C R 2 = y e C 2 battery to the commercial load and vice versa
Where R—residential prosumer and C—commercial prosumer.
Table 2. Performance for both operating modes.
Table 2. Performance for both operating modes.
UnpairedPaired
Percentage of both loads satisfied by RER production71%84%
Percentage of total RER output transferred to other prosumers39%32%

Share and Cite

MDPI and ACS Style

Aldaouab, I.; Daniels, M.; Ordóñez, R. MPC for Optimized Energy Exchange between Two Renewable-Energy Prosumers. Appl. Sci. 2019, 9, 3709. https://doi.org/10.3390/app9183709

AMA Style

Aldaouab I, Daniels M, Ordóñez R. MPC for Optimized Energy Exchange between Two Renewable-Energy Prosumers. Applied Sciences. 2019; 9(18):3709. https://doi.org/10.3390/app9183709

Chicago/Turabian Style

Aldaouab, Ibrahim, Malcolm Daniels, and Raúl Ordóñez. 2019. "MPC for Optimized Energy Exchange between Two Renewable-Energy Prosumers" Applied Sciences 9, no. 18: 3709. https://doi.org/10.3390/app9183709

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop