Professional Documents
Culture Documents
66 5 305.2
W
module
= 100.7kW
) = x
:= { : R
+
0
R
+
0
| K, is unbounded}
L := { : R
+
0
R
+
0
| is continuous and strictly decreasing with lim
t
(t) = 0}
KL := { : R
+
0
R
+
0
| is continuous, (, t) K, (r, ) L}
7
x
k
x
=
k
(x
0
x
) (5)
holds for all x
0
k
(x
x
1
x
2
x
1
10
x
1
= [V
i
]
T
i = 1, 2 . . . 10
x
2
10
x
2
= [
i
]
T
i = 1, 2 . . . 10
(6)
where V
i
and
i
are nodes voltage and angle of bus i. Additionally, more variables and
vectors are needed for controllers formulation, such as: power of the nodes S
i
= P
i
+jQ
i
,
admitance matrix Y and the generated power from the DG units, P
DG
i
:
Y = [Y
ij
] (7)
S =
P
load
Q
load
P
load
10
P
load
= [P
L
i
]
T
i = 1, 2 . . . 10
Q
load
10
Q
load
= [Q
L
i
]
T
i = 1, 2 . . . 10
(8)
P
DG
= [P
DG
i
]
T
i = 1, 2 . . . 8
m=1
(Y
im
V
i
)
(10)
Eq. (10) is solved iteratively through the Newthon-Raphson (NR) power ow algorithm
[31], with prior knowledge of P
DG
i
, i = 2, 3 . . . 8 and current load consumption of every
8
node of the system. P
DE
is estimated in a prediction horizon of length N. One important
modication to the power ow equation, Eq. (10) is the inclusion of the reactive power
consumed by the WTG at Bus-7, which is calculated as follows [32]:
Q
WT
=
V
2
7
z
p
+
V
2
7
+
V
4
7
4P
7
z
2
2z
(11)
z = z
1
+z
2
z
p
=
z
c
z
m
z
c
z
m
where the negative sign of Eq. (11) represents reactive power consumption of the induc-
tion generator of the WTG from the network; z
m
, z
c
, z
1
and z
2
represent the excitation
reactance, reactance of the capacitor banks installed at the terminal of the induction
generator, the stator and rotor reactance, respectively.
The control objectives of this strategy are to ensure a complete coverage of load demand
and to maintain microgrids voltage and frequency within secure operation limits when
the microgrid is operating in islanded mode. A microgrid centralized control (MGCC)
strategy for load shedding is proposed for accomplishing the above-mentioned aims. A
control vector u for managing loads connection and disconnection, is dened in Eq.
(12) and Table 1 shows the relationship between every bit of the control vector and its
corresponding load controller for switching purposes, i.e. u
i
= 1 L
i
is connected,
u
i
= 0 L
i
is disconnected.
u = [u
i
] i = 1, 2 . . . 13 u
i
is a binary signal (12)
Table 1: Control vector correspondance with loads
Control signal Load Observations
u
1
L
1
= {L
1
L
2
} Variable loads
u
2
L
3
L
4
Constant loads
u
3
L
5
Constant load
u
4
L
6
Variable load
u
5
L
7
Variable load
u
6
L
8
Constant load
u
7
L
9
Constant load
u
8
L
10
Constant load
u
9
L
11
Constant load
u
10
BSS-1 Charge mode
u
11
BSS-1 Discharge mode
u
12
BSS-2 Charge mode
u
13
BSS-2 Discharge mode
An important issue in the design of an MPC (linear or nonlinear) is the availability of
a model for predicting the output variable. In this particular case, the output variable
9
to be controlled is the generated power of the DE, whose value has to be kept within a
secure operating range for avoiding potential over generation scenarios that could lead the
entire system to instability. Figure 3 shows the controllers architecture for integrating
the NMPC as an MGCC.
Figure 3: NMPC architecture for a centralized load shedding strategy
The NR power ow algorithm has been used for calculating the P
DE
under dierent
loading circumstances (whether a load shedding command from the MGCC is applied
or not), so predicted values are obtained for the generated power from the DE in the
upcoming sampling times. Once the measurements are acquired, the approximate model
of Figure 3 receives this information for running the NR algorithm for predicting the P
DE
,
although an important issue is the fact that the power is quite variable and it would not
be the same value until the next sampling time. This fact has been considered and two
approaches are tested for the initial iterative load values of the NR algorithm in order to
predict the P
DE
:
1. Take the load measurements and consider them as constants during the prediction
horizon;
2. A load predictor has been designed using articial neural networks (ANN). Since
the load proles are alike every day, 20 load proles from dierent days of the week
for every variable load in the microgrid (L
1
, L
6
, L
7
and L
9
) were taken for training
the ANN. The load predictor receives as inputs the load measurement and the hour
of the day and gives the load prediction for the upcoming 45 minutes, as shown in
Figure 4. Therefore, up to N = 3 could be used in the NMPC algorithm using this
load predictor.
The encircled rst dot shown in Figure 4 at 4AM represents the load measurement
and the remaining three dots the prediction made by the ANN predictor every 15
minutes. Three more predictions can be observed in the Figure at 13h00 and 22h00.
A third approach for predicting the P
DE
was developed and embedded in the NMPC
algorithm; an autoregressive with external input (ARX) model through a data-based
10
0 4 8 12 16 20 24
0
0.05
0.1
0.15
0.2
0.25
0.3
Load1 typical profile (pu)
Figure 4: L
1
prediciton using ANN
modeling using an adaptive neuro-fuzzy inference system (ANFIS) was used. As in the
case of the ANN training algorithm, 20 dierent generation proles for dierent days of
the week were taken as training set for the ANFIS. Additionally, the ARX conguration
developed is the one detailed in [33, 34] and shown in Figure 5.
All the above-mentioned techniques for predicting the output variable are embedded
into the NMPC algorithm in order to perform an MGCC for load shedding, using the
receding horizon control concept.
3.2.1 MGCC algorithm
1. Define a DE power generation reference r
2. Take systems measurements: Z
k
=
P
DG
(k)
T
P
load
(k)
T
T
3. Set Z
0
= Z
k
and solve the following optimal control problem (OCP):
minimize
J
N
(Z
0
, u()) =
N
p
1
k=0
(
u
P
DE
(k, Z
k
, x
k
, u
k
) r)
2
subject to
u
P
DE
(k + 1, Z
k
, x
k
, u
k
) = f (
u
P
DE
(k, Z
k
, x
k
, u
k
) , u
k
)
constrained to
11
Figure 5: P
DE
ANFIS model
P
DE
min
= 0.05 < P
DE
< P
DE
max
= 0.2
L
1
, L
7
and L
8
always have to be connected (high priority loads;
At least 1 of the following loads has to be connected: L
3
, L
5
or
L
11
(low priority loads);
At least 1 of the following loads has to be connected: L
6
, L
9
or
L
10
(low priority loads);
{t : P
DE
< r SOC < 100%} batteries go into charging mode;
{t : P
DE
> r SOC > 10%} batteries go into discharge mode
(batteries deliver energy to the grid);
The minimum load to be shed is 10% of the actual connected load.
4. Define the control law (Z
k
) = u
(1)
The OPC is called feasible for an initial value Z
0
whenever the set u
N
(Z
0
) over which
the optimization is performed is nonempty.
Generally speaking, the OPC can be represented by:
minimize
u
f(u)
subject to
u
L
u u
U
b
L
Au b
U
c
L
c(u) c
U
Where u, u
L
, u
U
R
n
, f(u) R, A R
m
1
n
, b
L
, b
U
R
m
1
and c
L
, c(u), c
U
R
m
2
,
represent the control variable, upper and lower limits of the u; cost function, matrix of
linear constraints, upper and lower limits of the linear constraints; nonlinear constraints,
upper and lower limits of c(u), respectively. The control vector u for the particular case of
12
the proposed NMPC algorithm is restricted to be binary. The OPC problem is essentially
related with nding the minimum of the real valued function f(u) subject to the dened
in the continuous-discrete space. Integer and discrete valued variables with given lower
and upper bounds may always be represented by sets of binary variables [35]. Problems
of this type are generally termed mixed-integer nonlinear programming (MINLP) prob-
lems. The mixed-integer linear, quadratic and nonlinear programming package of Tomlab
for Matlab has been used for solving the OCP, due to its advantages in solving large,
sparse or dense mixed-integer linear, quadratic and nonlinear programming problems. For
MINLP, Tomlab implements a branch-and-bound algorithm searching a tree whose nodes
correspond to continuous nonlinearly constrained optimization problems. The continuous
problems are solved using a sequential quadratic programming. The method avoids the
use of penalty functions. Global convergence is enforced through the use of a trust region
and the new concept of a lter which accepts a trial point whenever the objective or the
constraint violation is improved compared to all previous iterates [36].
4 Simulation results
The microgrid of Figure 1 was implemented in Simulink using the Simpower Systems
library. A 24 hour simulation is performed for testing the proposed controller. Variable
load proles for L
1
+L
2
, L
6
, L
7
and L
9
are used, as shown in Figure 2, while the remaining
loads are kept constant with maximum values specied in Table 2. Variable proles for
wind velocity and solar irradiance were used during the simulation, as shown in Figure
6. The microgrid starts operating in grid-connected mode and at 2 AM, suddenly an
islanding operation is forced in the left side feeder. The right side feeder is not considered
in this case, since the S
c
(coupling switch) is kept opened.
0 5 10 15 20
10.5
11
11.5
12
12.5
13
13.5
14
14.5
15
15.5
Time (h)
Wind velocity (m/s)
0 5 10 15 20
0
100
200
300
400
500
600
700
800
900
1000
Time (h)
Solar irradiance (W/m
2
)
Figure 6: Proles of wind velocity and solar irradiance used in the simulation
13
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
0
0.1
0.2
0.3
0.4
0.5
Time (s)
DEG generated power (pu)
0 4 8 12 16 20 24
0.01
0.005
0
0.005
0.01
0.015
0.02
BSS1 power (pu)
Time (s)
0 4 8 12 16 20 24
0.01
0
0.01
0.02
0.03
BSS2 power (pu)
Time (s)
Open loop
NMPC no Load Prediction
NMPC + ANN Load Precitor
NMPC + ANFIS model
Figure 7: Performance comparison of the NMPC with dierent model approaches
Therefore, the MGCC is monitoring the microgrid all the time and under an islanding
event, whose detection has not been devoted in this paper but in [37] are presented
techniques that deal with this issue. Once the islanding is conrmed by an islanding
detection algorithm, the NMPC starts processing data every 15 minutes, except when
P
DE
> 1.1 r that is a close condition to its limit and the algorithm evaluates all the
variables in order to calculate certain load shed until the next scheduled calculation loop.
Figure 7 shows a performance comparison of the NMPC algorithm when the three
dierent techniques for predicting the P
DE
output, detailed in Section 3.2, are used
for an optimization horizon N = 2. It is clearly seen from there that the approach
which considers the loads measurements as constants in the prediction horizon oers
poor results, since the imposed generation limit P
DE
max
= 0.2 is over passed, with a high
risk of potential over generation representing potential danger of causing instability in
the network. On the other hand the load proles estimation using ANNs before the load
14
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
0
0.1
0.2
0.3
DEG generated power (pu)
Time (h)
Open loop
NMPC+ANFIS
0 4 8 12 16 20 24
0.94
0.96
0.98
1
1.02
Voltage amplitude (pu)
Time (h)
Open loop
NMPC+ANFIS
0 4 8 12 16 20 24
0.97
0.98
0.99
1
1.01
Frequency (pu)
Time (h)
Open loop
NMPC+ANFIS
Figure 8: P
DE
output signal when the load shedding NMPC strategy is used
ow analysis is performed, oers a much better result and the generation prole never
overpasses the generation limit. Finally, the ARX-ANFIS model oers the best result,
since the generation prole establishes much closer to the reference r = 0.18, which is
the same for all the cases. For this test, no batteries management strategy has been
implemented and they are working in charge and discharge mode according to what is
shown in Figure 7 that is an ideal case of battery usage, since it is considered that the
batteries are available any time needed.
Further results on the systems performance are shown in Figures 8 and 9, regarding
microgrids voltage and frequency and loads and batteries switching due to the NMPC
calculation. It is remarkable the benet of using this technique, since voltage amplitude
keeps between the 5% gap when the microgrid works in islanding mode, which is not the
case when no control action is performed. Additionally, constraints are consistent with
what was stated in the NMPC algorithm and there is no disconnection of loads L
1
, L
7
15
0 4 8 12 16 20 24
0.12
0.14
0.16
0.18
0.2
WTG power (pu)
0 4 8 12 16 20 24
0
0.01
0.02
PV1 power (pu)
0 4 8 12 16 20 24
0.01
0
0.01
0.02
BSS1 power (pu)
0 4 8 12 16 20 24
0.01
0
0.01
0.02
BSS2 power (pu)
0 4 8 12 16 20 24
0
0.1
0.2
0.3
Load1 profile (pu)
0 4 8 12 16 20 24
0
10
20
x 10
3
Load3 profile (pu)
0 4 8 12 16 20 24
0
0.01
0.02
0.03
Load5 profile (pu)
0 4 8 12 16 20 24
0
0.01
0.02
Load6 profile (pu)
0 4 8 12 16 20 24
0
5
10
x 10
3
Load7 profile (pu)
0 4 8 12 16 20 24
0
10
20
x 10
3
Load8 profile (pu)
0 4 8 12 16 20 24
0
0.01
0.02
Load9 profile (pu)
0 4 8 12 16 20 24
0
0.01
0.02
0.03
Load10 profile (pu)
0 4 8 12 16 20 24
0
0.02
0.04
Load11 profile (pu)
Figure 9: Proles of generated power from RES and loads power consumption
and L
8
, while keeping at least one of the low priority loads connected, as it was imposed
in the NMPC algorithm. On the other hand batteries seems to be charging when at
the same time there is not peak consumption and there is availability of power from the
generation units. Batteries go into discharge mode (delivering power to the grid) when
there is lack of power due to peak consumption, see Figure 9. An increased performance
can be noticed from the one showed in Figure 8 due to the inclusion of the batteries
management in the NMPC algorithm with respect to the one showed in Figure 7 where
an open loop batteries strategy was tested.
Time axis on Figures 7 to 9 are in hours and the abscise axis are in per unit (pu) for
a base power, S
base
= 5 MVA.
5 Conclusions
A microgrid centralized controller (MGCC) for load shedding purposes, has been designed
and tested in an isolated microgrid. Signicant performance improvement is achieved with
16
the use of this controller, since it keeps the generation power from the DG units within its
generation limits, avoiding the system to go beyond its limits with the risk of becoming
unstable. A graphical comparison between the use of this algorithm and an open loop
response makes evident the benets of the technique, since voltage and frequency keeps
stable and close to its normal operating point (1 pu), as well as assure to carry load
demand, under the cost of disconnecting low priority loads when necessary.
In the discharge mode, the battery sends active power to the grid while in the charge
mode the battery generates negative active power. During the islanding mode, the DEG
must provide all the reminding power demands that cannot be covered by other DG units.
Due to the rated power limitations of the DEG, signicant load shedding is necessary.
Appendix: Benchmark model parameters
Table 2: Load parameters of the benchmark microgrid model
Load No. Load Type P
max
(pu) Q
max
(pu)
1 Industry 0.15000 0.03100
2 Household 0.05000 0.01000
3 Household 0.00276 0.00069
4 Industry 0.00224 0.00139
5 Household 0.00432 0.00108
6 Household 0.00725 0.00182
7 Household 0.00550 0.00138
8 Industry 0.00077 0.00048
9 Household 0.00588 0.00147
10 Industry 0.00574 0.00356
11 Industry 0.00068 0.00042
14 Household 0.15000 0.03000
15 Industry 0.05000 0.01700
16 Industry 0.00032 0.00020
17 Industry 0.00330 0.00020
18 Household 0.00207 0.00052
Table 3: Transmission lines parameters
From To
R
Km
Km
nF
Km
L (Km)
Node Node
1 2 0.579 0.367 158.88 2.82
2 3 0.164 0.113 6608 4.42
3 4 0.262 0.121 6480 0.61
4 5 0.354 0.129 4560 0.56
5 6 0.336 0.126 5488 1.54
6 7 0.256 0.13 3760 0.24
7 8 0.294 0.123 5600 1.67
8 9 0.339 0.13 4368 0.32
9 10 0.399 0.133 4832 0.77
10 11 0.367 0.133 4560 0.33
11 4 0.423 0.134 4960 0.49
3 8 0.172 0.115 6576 1.3
12 13 0.337 0.358 162.88 4.89
13 14 0.202 0.122 4784 2.99
References
[1] R. Zamora and A. K. Srivastava, Controls for microgrids with storage: Review,
challenges, and research needs, Renewable and Sustainable Energy Reviews, vol. 14,
no. 7, pp. 2009 2018, 2010.
17
[2] A. Kahrobaeian and Y. A. Mohamed, Smart control interface for robust opera-
tion of DG units in grid connected and islanded modes, in Innovative Smart Grid
Technologies (ISGT), pp. 1 7, Jan. 2012.
[3] Y. Zhou, H. Held, W. Klein, K. Majewski, R. Speh, P. E. Stelzig, and
C. Wincheringer, SoftGrid: A green eld approach of future smart grid, in Pro-
ceeding of the 2nd International Conference on Smart Grids and Green IT Systems,
pp. 511, May 2013.
[4] A. Tsikalakis and N. Hatziargyriou, Centralized control for optimizing microgrids
operation, IEEE Transactions on Energy Conversion, vol. 23, pp. 241248, March
2008.
[5] J. Pecas Lopes, C. Moreira, and A. Madureira, Dening control strategies for micro-
grids islanded operation, IEEE Transactions on Power Systems, vol. 21, pp. 916
924, May 2006.
[6] S. Conti, R. Nicolosi, S. A. Rizzo, and H. Zeineldin, Optimal dispatching of dis-
tributed generators and storage systems for MV islanded microgrids, IEEE Trans-
actions on Power Delivery, vol. 27, no. 3, pp. 12431251, 2012.
[7] A. Venkat, I. Hiskens, J. Rawlings, and S. Wright, Distributed MPC strategies with
application to power system automatic generation control, IEEE Transactions on
Control Systems Technology, vol. 16, pp. 11921206, Nov 2008.
[8] F. Dorer, John-Simpson-Porco, and F. Bullo, Breaking the hierarchy: Distributed
control & economic optimality in microgrids, 2014.
[9] S. Anand, B. G. Fernandes, and M. Guerrero, Distributed control to ensure propor-
tional load sharing and improve voltage regulation in low-voltage DC microgrids,
IEEE Transactions on Power Electronics, vol. 28, pp. 19001913, April 2013.
[10] H. Mokhlis, M. Karimi, A. Shahriari, A. Abu Bakar, and J. Laghari, A new under-
frequency load shedding scheme for islanded distribution network, in Innovative
Smart Grid Technologies (ISGT), 2013 IEEE PES, pp. 16, Feb 2013.
[11] P. Mahat, Z. Chen, and B. Bak-Jensen, Underfrequency load shedding for an
islanded distribution system with distributed generators, IEEE Transactions on
Power Delivery, vol. 25, pp. 911918, April 2010.
[12] C. Taylor, Concepts of undervoltage load shedding for voltage stability, IEEE
Transactions on Power Delivery, vol. 7, pp. 480488, Apr 1992.
[13] Z. Styczynski, A. Orths, K. Rudion, A. Lebioda, and O. Ruhle, Benchmark for an
electric distribution system with dispersed energy resources, in Transmission and
Distribution Conference and Exhibition, 2005/2006 IEEE PES, pp. 314320, 2006.
18
[14] K. Meah and A. Sadrul Ula, Simulation study of the CIGRE HVDC benchmark
model with the WSCC nine-bus power system network, in Power Systems Confer-
ence and Exposition, 2009. PSCE 09. IEEE/PES, pp. 15, 2009.
[15] B. Mao, B. Zhang, J. Wang, Y. Chen, X. Zheng, Y. Gao, B. Wu, and Y. Liu,
Dynamic modelling for distribution networks containing dispersed generations and
energy storage devices, in International Conference on Power System Technology
(POWERCON), pp. 16, 2010.
[16] S. Tomohiko, S. Tielong, S. Yuanzhang, and X. Jian, Modeling and control of a
benchmark micro grid with vehicle-to-grid smart connection, in 2011 30th Chinese
Control Conference (CCC), pp. 61216126, 2011.
[17] IEEE application guide for IEEE std 1547, IEEE standard for interconnecting dis-
tributed resources with electric power systems, IEEE Std 1547.2-2008, pp. 1207,
2009.
[18] K. Rudion, A. Orths, Z. Styczynski, and K. Strunz, Design of benchmark of medium
voltage distribution network for investigation of DG integration, in Power Engineer-
ing Society General Meeting, 2006. IEEE, pp. 612, 2006.
[19] N. Lidula and A. Rajapakse, Microgrids research: A review of experimental micro-
grids and test systems, Renewable and Sustainable Energy Reviews, vol. 15, no. 1,
pp. 186 202, 2011.
[20] B. Kroposki, R. Lasseter, T. Ise, S. Morozumi, S. Papatlianassiou, and N. Hatziar-
gyriou, Making microgrids work, Power and Energy Magazine, IEEE, vol. 6, no. 3,
pp. 4053, 2008.
[21] F. Katiraei, R. Iravani, N. Hatziargyriou, and A. Dimeas, Microgrids management,
Power and Energy Magazine, IEEE, vol. 6, no. 3, pp. 5465, 2008.
[22] R. Walling and N. Miller, Distributed generation islanding-implications on power
system dynamic performance, in Power Engineering Society Summer Meeting, 2002
IEEE, vol. 1, pp. 9296 vol.1, July 2002.
[23] http://www.homerenergy.com.
[24] A. Vargas-Martnez, L. I. Minchala-Avila, Y. Zhang, L. E. Garza-Casta non, and
H. Badihi, Hybrid adaptive fault-tolerant control algorithms for voltage and fre-
quency regulation of an islanded microgrid, International Transactions on Electrical
Energy Systems, 2014.
[25] L. Minchala-Avila, A. Vargas-Martinez, Y. Zhang, and L. Garza-Castanon, A model
predictive control approach for integrating a master generation unit in a microgrid,
in Conference on Control and Fault-Tolerant Systems (SysTol), pp. 674679, Oct
2013.
19
[26] J. Zheng, D. Gao, and L. Lin, Smart meters in smart grid: An overview, in Green
Technologies Conference, 2013 IEEE, pp. 5764, April 2013.
[27] Smart meters and smart meter systems: A metering industry perspective, a joint
project of the EEI and AEIC meter committees, Edison Electric Institute (EEI),
March 2011.
[28] L. Gr une and J. Pannek, Nonlinear Model Predictive Control: Theory and Algo-
rithms. Communications and control engineering, Springer, 2011.
[29] J. Maciejowski, Predictive Control with Constraints. Prentice-Hall, 2002.
[30] D. Nesic, A. Teel, and E. Sontag, Formulas relating KL stability estimates of
discrete-time and sampled-data nonlinear systems, Systems & Control Letters,
vol. 38, no. 1, pp. 49 60, 1999.
[31] J. Glover, M. Sarma, and T. Overbye, Power System Analysis and Design. Cengage
Learning, 2011.
[32] H. Chen, J. Chen, D. Shi, and X. Duan, Power ow study and voltage stability
analysis for distribution systems with distributed generation, in Power Engineering
Society General Meeting, 2006. IEEE, pp. 8 pp., 2006.
[33] H. Nourzadeh, A. Fatehi, B. Labibi, and B. Araabi, An experimental nonlinear sys-
tem identication based on local linear neuro-fuzzy models, in IEEE International
Conference on Industrial Technology, pp. 22742279, Dec 2006.
[34] J.-S. Jang, Neuro-fuzzy modeling for dynamic system identication, in Proceedings
of the 1996 Asian Fuzzy Systems Symposium, 1996. Soft Computing in Intelligent
Systems and Information Processing, pp. 320325, Dec 1996.
[35] J. Lee and S. Leyer, Mixed Integer Nonlinear Programming. The IMA Volumes in
Mathematics and its Applications, Springer, 2011.
[36] K. Holmstr om, M. M. Edvall, and A. G oran, Tomlab - for large-scale robust opti-
mization, in Proceedings for the Nordic Matlab Conference, 2003.
[37] R. Kunte and W. Gao, Comparison and review of islanding detection techniques for
distributed energy resources, in Power Symposium, 2008. NAPS 08. 40th North
American, pp. 18, Sept 2008.
20