15 Self Tuning Virtual Synchronous Machine A Control Strategy For Energy Storage Systems To Support Dynamic Frequency Control.
15 Self Tuning Virtual Synchronous Machine A Control Strategy For Energy Storage Systems To Support Dynamic Frequency Control.
Abstract—This paper investigates the use of a virtual syn- Tp Sampling time for the prediction algorithms.
chronous machine (VSM) to support dynamic frequency control c Cost function of the optimization problem.
in a diesel-hybrid autonomous power system. The proposed VSM γi Weight factors of the cost function.
entails controlling the grid-interface converter of an energy stor-
age system (ESS) to emulate the inertial response and the damping A Search area of the optimization problem.
power of a synchronous generator. In addition, self-tuning algo-
rithms are used to continuously search for optimal parameters I. INTRODUCTION
during the operation of the VSM in order to minimize the ampli-
REQUENCY variations of consequence are more likely
tude and rate of change of the frequency variations and the power
flow through the ESS. The performances of the proposed self-
tuning (ST)-VSM and the constant parameters (CP)-VSM were
F to occur in autonomous power systems than in large in-
terconnected power grids, because they feature a relatively
evaluated by comparing their inertial responses and their damp- small generation capacity and rapid changes in power demand,
ing powers for different scenarios of load variations. For the sim- especially in the presence of stochastic energy sources such as
ulated cases, the ST-VSM achieved a similar performance to that
of the CP-VSM, while reducing the power flow through the ESS in
wind and photovoltaic generators [1]. For instance, in diesel-
up to 58%. Moreover, in all the simulated scenarios, the ST-VSM hybrid autonomous power systems, a reduced number of diesel
was found to be more efficient than the CP-VSM in attenuating generators supply the power to the load and control the fre-
frequency variations, i.e., it used less energy per Hertz reduced. quency of the system in isolation from the utility grid. If diesel
Index Terms—Autonomous power system, energy storage, fre- generators are not able to maintain frequency magnitude and
quency control, optimal control. rate of change within prescribed operational limits, tripping of
renewable generators and loads can occur, and therefore, the
assistance of other components is required in order to maintain
NOMENCLATURE the stability of the power system.
ESS Energy storage system. Different strategies that use an ESS to assist frequency con-
VSM Virtual synchronous machine. trol have been proposed. A strategy that indirectly deals with
CP-VSM Constant parameters VSM. dynamic frequency control is the smoothing of the output power
ST-VSM Self-tuning VSM. of intermittent sources [2]. One disadvantage of this technique
f Grid frequency. is that it requires the measuring of the output power of the
f∗ Stabilization frequency. intermittent source, which restricts the location of the ESS or
fp Peak frequency. establishes the need for a communication link to transmit the
tp Time at where the peak frequency occurs. measurements. An approach that allows the autonomous con-
kvi Virtual inertia. trol of distributed ESSs is the frequency droop control [3]. This
kvd Damping coefficient. strategy, inherited from the operation of conventional genera-
m in/m ax
Kvi Min./Max. value of virtual inertia. tors, relies on local measurements to control the output power
m in/m ax
Kvd Min./Max. value of damping coefficient. of the ESS with no need for a communication link, however, in
Nvi Number of elements in the search vector for the its simplest form (permanent frequency droop) this technique
virtual inertia. is intended to support only frequency regulation, thus it does
Nvd Number of elements in the search vector for the not cope with the problem of dynamic frequency control. An-
damping coefficient. other technique is called VSM and it entails controlling the
grid-interface converter of a distributed generator or an ESS to
Manuscript received March 28, 2014; revised September 19, 2014; ac-
cepted September 26, 2014. This work is supported in part by the emulate a synchronous generator or a desired characteristic of
Chilean Solar Energy Research Center (SERC-Chile) through project CON- it [4]–[12].
ICYT/FONDAP/15110019. Paper no. TEC-00181-2014. This paper investigates the use of a VSM to support dynamic
M. A. Torres, L. A. Morán, and J. R. Espinoza are with the Department of Elec-
trical Engineering, Universidad de Concepción, Concepción 4070386, Chile frequency control in a diesel-hybrid autonomous power sys-
(e-mail: [email protected]; [email protected]; [email protected]). tem. In particular, the VSM is implemented with an ESS and
L. A. C. Lopes is with the Department of Electrical and Computer En- the strategy proposed to support dynamic frequency control in-
gineering, Concordia University, Montreal H4B 1R6, QC, Canada (e-mail:
[email protected]). volves emulating the inertial response and the damping power
Digital Object Identifier 10.1109/TEC.2014.2362577 of a synchronous generator, which are present only during a
0885-8969 © 2014 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.
See http://www.ieee.org/publications standards/publications/rights/index.html for more information.
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
TORRES L. et al.: SELF-TUNING VIRTUAL SYNCHRONOUS MACHINE: A CONTROL STRATEGY FOR ENERGY STORAGE SYSTEMS 3
problem is formulated as
2
df
minimize c = γ1 + γ2 (kvi k +1 )2 · · ·
(k v i ,k v d ) k + 1 dtk +1
+ γ3 (ek +1 )2 + γ4 (kvd k +1 )2
df
subject to: if |ek | ≥ and ek ≤0
dtk
(kvi , kvd )k +1 ∈ Uvi × Uvd
Fig. 3. ST-VSM with variable inertia and damping.
γ1...4 > 0
else
III. PERFORMANCE EVALUATION
(kvi , kvd )k +1 ∈ ∅ × Uvd
The performance of the proposed ST-VSM is compared with
γ1 = γ2 = 0, γ3,4 > 0 (2) the performance of a CP-VSM for two cases: a step change in
where the subindex k + 1 denotes the one sampling time ahead the load and variations in the output of the wind generator (WG).
prediction of the corresponding variable, e = f ∗ − f is the con- Fig. 3 depicts the schematic of the simulated system. Parameters
trol error, is a predefined tolerance band to discriminate the used in simulations are summarized in Tables VI, VII, VIII, and
stabilization of the frequency, γ1...4 are weight factors that de- IX in Appendix B.
termine the relative In order to compare the performances of the CP and the ST
m inimportance of each term
m in the cost function
c, and Uvi = Kvi m ax
, Kvi and Uvd = Kvd in m ax
, Kvd are the VSMs, an index that gives a measure how much energy is used
search vectors for the virtual inertia and damping coefficient, re- from the ESS to reduce the frequency nadir is defined as
spectively. For implementation purposes, it is important to con-
Edelivered
sider that, because of the direct search method used to solve the Ip erf = [kJ/Hz] (3)
optimization problems, the calculation of the inertial response (Δfp )0 − (Δfp )VSM
involves Nvi iterations, the damping power Nvd iterations, and
where Edelivered is the energy delivered by the VSM, (Δfp )0
both functions Nvi · Nvd iterations. Therefore, provisions must
is the frequency nadir without the VSM and (Δfp )VSM is the
be taken in order to assure enough processing power for the
frequency nadir with the VSM in operation.
full deployment of the ST-VSM (inertia and damping), which
represents the case of the highest computational burden.
The self-tuning algorithms were developed under the follow- A. Load Step
ing considerations. This test consists of a load increase of 5 kW at t = 1 s (from an
1) The goal of the online optimization is to attenuate the fre- initial load of 20 kW) while only one genset (DG1) is connected
quency deviations and minimize the power flow through to the system and it operates in isochronous mode. The same
the ESS. test is conducted for the system without VSM, with the CP-
2) The algorithm searches for a value of virtual inertia and VSM, and with the ST-VSM. In order to isolate the effects of
damping coefficient as long as the frequency deviates from each action of the VSM (inertial response and damping power),
the stabilization value. Otherwise, it makes the virtual in- the performance of the ST-VSM is evaluated in three modes of
ertia equal to zero and searches for the damping coefficient operation: considering only the variation of the virtual inertia,
only. considering only the variation of the damping coefficient, and
3) The optimization is solved by direct search and the al- considering the variation of both parameters together.
gorithm to solve the minimization problems was adapted 1) Virtual Inertia: Fig. 4 shows the simulation results, where
from the one presented in [19]. the curve labeled “No VSM” is the original response of DG1,
4) For implementation purposes, the search space has to be “CP-VSM” is the response of DG1 plus the VSM with con-
discretized in order to limit the search (iterations of the stant inertia, and “ST-VSM1,2 ” are the responses of DG1 plus
algorithms) to a finite number of elements. The points ST-VSM for two different values of the weight factor γ2 . It
within the search space were defined using a linear scale is observed that the curves “ST-VSM1,2 ” present a frequency
(equally spaced), however, any other type of scale can be nadir that lies between the other two curves (see also Δfp in
used. Table I). This is because the maximum value of inertia for the
5) The cost function used in the optimization problems were ST-VSM has been set to 2, which is the virtual inertia of the
defined as the addition of quadratic terms. Other functions CP-VSM. If the virtual inertia of the ST-VSM is allowed to
such as the absolute value can also be used. However, the vary beyond the value used by CP-VSM, a greater reduction of
quadratic form is chosen because it results in a faster the frequency nadir is expected to happen. Finally, it is observed
controller [20]. that as the weight factor γ2 is decreased the frequency nadir also
6) The predictive models used to define some of the terms decreases, which can be attributed to the fact that a reduction of
used in the cost functions are presented in Appendix A. γ2 reinforces the minimization of the df /dt in (2).
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
Fig. 4. Effects of the inertial response of the CP-VSM and ST-VSM on the Fig. 6. Effects of the damping power of the CP-VSM and ST-VSM on the
grid frequency. grid frequency.
Fig. 5. Comparison between the inertial response of the CP-VSM and Fig. 7. Comparison between the damping function of the CP-VSM and ST-
ST-VSM. Waveforms associated to the frequency variation of Fig. 4. (a) and (b) VSM. Waveforms associated to the frequency variation of Fig. 6. (a) and (b)
Variation of the virtual inertia and the corresponding ESS output active current Variation of the damping coefficient and the corresponding ESS output active
for the CP-VSM. (c) and (d) Same waveforms for the ST-VSM1 . (e) and (f) current for the CP-VSM. (c) and (d) Same waveforms for the ST-VSM1 . (e) and
Same waveforms for the ST-VSM2 . (f) Same waveforms for the ST-VSM2 .
On the other hand, Fig. 5 shows the simulation results for the the ST-VSM does not recover energy as the CP-VSM does by
variation of the virtual inertia and the d-axis current of the ESS. reversing the current as shown in Fig. 5(b) (see also delivered
It is observed that, because the ST-VSM makes its virtual inertia and recovered energy in Table I).
equal to 0 right after the nadir happens, as shown in Fig. 5(c) and 2) Damping Power: Fig. 6 shows the simulation results,
(e), the frequency stabilizes, on average, 2.4 times faster than where the curve labeled “No VSM” is the original response
the CP-VSM (see the settling time in Table I) and delivering up of DG1, “CP-VSM” is the response of DG1 plus the VSM
to 42% less energy (in the case of ST-VSM1 ). As a tradeoff, with constant damping coefficient, and “ST-VSM1,2 ” are the
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
TORRES L. et al.: SELF-TUNING VIRTUAL SYNCHRONOUS MACHINE: A CONTROL STRATEGY FOR ENERGY STORAGE SYSTEMS 5
TABLE I
PERFORMANCE COMPARISON BETWEEN THE INERTIAL RESPONSE OF THE
CP-VSM AND THE ST-VSM
TABLE II
PERFORMANCE COMPARISON BETWEEN THE DAMPING FUNCTION OF THE
CP-VSM AND THE ST-VSM
VSM Δ f p (Hz) t p (s) Settling Delivered Recovered Fig. 8. Effect of the CP-VSM and ST-VSM on the grid frequency under a
Type Time (s) Energy (kJ) Energy (kJ) load increase.
TABLE III
PERFORMANCE COMPARISON BETWEEN CP-VSM AND ST-VSM UNDER A
LOAD INCREASE
TABLE IV
PERFORMANCE COMPARISON BETWEEN CP-VSM AND ST-VSM UNDER WIND
POWER
None 0.42 NA 0 0
CP 0.29 0.016 1.38 1.86
ST 0.32 0.016 0.87 0.38
TABLE V
PERFORMANCE INDEX (KJ/HZ) FOR CP-VSM AND ST-VSM
Fig. 10. Effect of the CP-VSM and ST-VSM on the grid frequency under VSM Load step Wind power
wind power. Type Inertia Damping I+D I+D
IV. CONCLUSION
The novel concept of an ST-VSM was introduced in this pa-
per. As opposed to the case of the constant parameters VSM,
the proposed ST-VSM uses optimizations algorithms to find,
through online calculations, optimal parameters (virtual inertia
and damping coefficient) that minimize a cost function that in-
volves the frequency deviations (amplitude and rate of change)
and the power flow through the ESS. This self-tuning strategy
allows the VSM to increase and reduce its inertia and damp-
ing when needed, resulting in a more efficient control of the
frequency excursions while reducing the settling times and the
energy used from the ESS.
The performances of the ST-VSM and the CP-VSM were
evaluated by comparing their inertial responses and their damp-
Fig. 11. Comparison between ST-VSM and CP-VSM under wind power. ing powers for different scenarios of load variations. For the
Waveforms associated to Fig. 10. (a) Variation of virtual inertia. (b) Variation simulated cases, the ST-VSM achieved a similar performance to
of damping coefficient. (c) ESS output current.
that of the CP-VSM while reducing the power flow through the
ESS in up to 58 %. Moreover, in all the simulated scenarios
the ST-VSM was found to be more efficient than the CP-VSM
From Fig. 10, it is observed that the CP-VSM performed
in attenuating frequency variations, i.e., it used less energy per
slightly better (31%) than the ST-VSM (24%) in reducing
hertz reduced.
the maximum frequency deviation, however, both frequency
Finally, it was also found that, depending on the type of load
curves differ, on average, in only 0.016 Hz. Therefore, it can be
variation, the operation of the proposed ST-VSM may result in
said that the ST-VSM achieved a similar performance than the
a greater discharge of the ESS when compared to the CP-VSM.
CP-VSM, while minimizing the power flow through the ESS by
This suggests that further work is required in order to include
58%. The latter can be seen from the output currents of the ESS
the state of charge of the ESS in the control strategy of the
in Fig. 11(c). Table IV summarizes the simulation results.
ST-VSM.
C. Summary
APPENDIX A
Table V shows the calculated values of Ip erf for the CP-VSM MODEL FOR PREDICTION
and the ST-VSM for the different simulation scenarios. It can be
noted that the values calculated for ST-VSM are always smaller It is assumed that the output power of the ESS, pESS , is equal
than the values calculated for the CP-VSM. This indicates that to the reference (1), which allows replacing (1) into the equation
the ST-VSM uses less energy per hertz, i.e., is more efficient in of the prime mover’s rotor. At the same time, the derivative of
reducing the frequency nadir. the frequency is replaced by a first-order difference equation
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
TORRES L. et al.: SELF-TUNING VIRTUAL SYNCHRONOUS MACHINE: A CONTROL STRATEGY FOR ENERGY STORAGE SYSTEMS 7
In the same way, the prediction for the rate of change of fre-
quency is obtained as
REFERENCES
df − (kf + kvd k +1 ) fk +1 + kvd k +1 fk∗ + β̃k +1
= (A.7) [1] Recommended Practice for Monitoring Electric Power Quality (Revision
dt k +1 J + kvi k +1 of IEEE Std 1159-1995), IEEE Std. 1159-2009, 2009.
[2] W. Li, G. Joós, and C. Abbey, “Wind power impact on system frequency
deviation and an ESS based power filtering algorithm solution,” in Proc.
APPENDIX B IEEE Power Eng. Soc. Power Syst. Conf. Expo., Oct. 2006, pp. 2077–2084.
SIMULATION PARAMETERS [3] K. De Brabandere, B. Bolsens, J. Van den Keybus, A. Woyte,
J. Driesen, and R. Belmans, “A voltage and frequency droop control
method for parallel inverters,” IEEE Trans. Power Electron., vol. 22, no. 4,
TABLE VI pp. 1107–1115, Jul. 2007.
DIESEL GENERATOR [4] J. Kehler, “Considerations for load as a virtual generator for grid secu-
rity,” in Proc. IEEE Power Eng. Soc. Gen. Meeting, Jul. 2003, vol. 4,
pp. 2289–2292.
Description Value [5] H. P. Beck and R. Hesse, “Virtual synchronous machine,” in Proc. 9th Int.
Elect. Power Quality Utilisation, Oct. 2007, pp. 1–6.
Nominal power 38 kVA [6] J. Driesen and K. Visscher, “Virtual synchronous generators,” in Proc.
Synchronous speed 1800 r/min IEEE Power Energy Soc. Gen. Meeting—Convers. Del. Elect. Energy 21st
Nominal frequency 60 Hz Century, Jul. 2008, pp. 1–3.
Total inertia 1.6 kg·m2 [7] S. De Haan, R. Van Wesenbeeck, and K. Visscher. (2008, Oct.) VSG con-
Rotational losses 0.18 kg·m2 /s trol algorithms: present ideas. [Online]. Available: http://www.vsync.eu.
Engine delay 8 ms Project VSYNC.
Fuel injection time const. 35 ms [8] K. Visscher and S. De Haan, “Virtual synchronous machines (VSGs)
Governor proportional gain 0.047 for frequency stabilisation in future grids with a significant share of de-
Governor integral gain 0.15 centralized generation,” in Proc. IET-CIRED Semin. SmartGrids Distrib.,
AVR proportional gain 0.012 Jun. 2008, pp. 1–4.
AVR integral gain 0.012 [9] Q. C. Zhong and G. Weiss, “Static synchronous generators for distributed
generation and renewable energy,” in Proc. IEEE Power Energy Soc. Power
Syst. Conf. Expo., Mar. 2009, pp. 1–6.
[10] M. Van Wesenbeeck, S. de Haan, P. Varela, and K. Visscher, “Grid tied
converter with virtual kinetic storage,” in IEEE Bucharest PowerTech, Jul.
2009, pp. 1–7.
TABLE VII [11] Q. C. Zhong and G. Weiss, “Synchronverters: Inverters that mimic
WEIGHT FACTORS AND MODES OF OPERATION OF THE ST-VSM synchronous generators,” IEEE Trans. Ind. Electron., vol. 58, no. 4,
pp. 1259–1267, Apr. 2011.
[12] H. Bevrani, T. Ise, and Y. Miura, “Virtual synchronous generators: A
Mode γ1 γ2 γ3 γ4 survey and new perspectives,” Int. J. Elect. Power Energy Syst., vol. 54,
no. 1, pp. 244–254, Jan. 2014.
Inertial response 1 0.5 0 0 [13] J. Morren, S. de Haan, and J. Ferreira, “Contribution of DG units to
Damping power 0 0 1 0.5×10 −4 primary frequency control,” in Proc. Int. Conf. Future Power Syst.,
Inertia and Damping 1 0.5 1 0.2×10 −1 Nov. 2005, pp. 1–6.
[14] J. Morren, S. de Haan, W. Kling, and J. Ferreira, “Wind turbines emulating
inertia and supporting primary frequency control,” IEEE Trans. Power
Syst., vol. 21, no. 1, pp. 433–434, Feb. 2006.
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
[15] X. Yingcheng and T. Nengling, “Review of contribution to frequency Luis A. Morán T. (S’79–M’81–SM’94, F’05) re-
control through variable speed wind turbine,” Renew. Energy, vol. 36, no. ceived the Electrical Engineering degree from the
6, pp. 1671–1677, 2011. University of Concepción, Concepción, Chile, in
[16] M. Torres and L. A. C. Lopes, “Virtual synchronous generator control in 1982, and the Ph.D. degree in electrical engineering
autonomous wind-diesel power systems,” in Proc. IEEE Montreal Elect. from Concordia University, Montreal, QC, Canada,
Power Energy Conf., Oct. 2009, pp. 1–6. in 1990.
[17] Y. Z. Sun, Z. S. Zhang, G. J. Li, and J. Lin, “Review on frequency control Since 1990, he has been with the Electrical En-
of power systems with wind power penetration,” in Proc. Int. Conf. Power gineering Department, University of Concepción,
Syst. Technol., Oct. 2010, pp. 1–8. where he is a Professor. He has extensive consult-
[18] G. Delille, B. Francois, and G. Malarange, “Dynamic frequency control ing experience in the mining industry, particularly in
support by energy storage to reduce the impact of wind and solar gener- the application of medium-voltage ac drives, large
ation on isolated power system’s inertia,” IEEE Trans. Sustain. Energy, power cycloconverter drives for semi-autogenous grinding (SAG) mills, and
vol. 3, no. 4, pp. 931–939, Oct. 2012. power-quality issues. His main areas of interest are in ac drives, power quality,
[19] J. Rodriguez, S. Bernet, B. Wu, J. Pontt, and S. Kouro, “Multilevel voltage- active power filters, flexible alternating current transmission system (FACTS),
source-converter topologies for industrial medium-voltage drives,” IEEE and power protection systems.
Trans. Ind. Electron., vol. 54, no. 6, pp. 2930–2945, Dec. 2007. Dr. Morán was an Associate Editor of the IEEE TRANSACTIONS ON POWER
[20] S. Kouro, P. Cortes, R. Vargas, U. Ammann, and J. Rodriguez, “Model ELECTRONICS from 1997 to 2001. In 1995, he received the IEEE Outstanding
predictive control—a simple and powerful method to control power con- Paper Award from the Industrial Electronics Society for the best paper pub-
verters,” IEEE Trans. Ind. Electron., vol. 56, no. 6, pp. 1826–1838, lished in the IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS. He was also
Jun. 2009. a Distinguished Lecturer of the IEEE in 2008–2009. In 1998, he received the
City of Concepción Medal of Honor for achievement in applied research.