Professional Documents
Culture Documents
Inputs Inputs
driven the need for advanced protection and control
technology, to ensure the efficient and reliable operation of 0μs 50μs 100μs
power grids [1-4]. While these resources have a large potential Fig. 1. Representation of real time simulation having time step of 50 μs
for providing uninterrupted green power in the form of micro-
grids, they also create technological and economic challenges Real time simulation ensures that simulated model and
for the bulk power system. The rapidly varying nature of physical component could interact with each other with proper
power generation and consumption in micro-grids introduces time synchronization. Real time simulation that involves
certain difficult scenarios, such as reverse power flow, connecting hardware devices (e.g. controllers, protection
islanding, and frequency and voltage instabilities that cannot relays, PMUs, and sensing devices such as CTs, PTs) to a
be neglected. Consequently, some special protection schemes simulated model is called hardware-in-the-loop simulation
have been investigated in [5], [6]. Further, micro-grids demand (HIL). A simple diagrammatic representation of HIL is shown
hierarchical control structures that rely on rapidly evolving in Fig. 2.
information and control technology (ICT) [7-9]. Such layered HIL simulation offers a cost-effective and comprehensive
control schemes must be implemented to handle various means of testing micro-grid/smart grid control and protection
scenarios that may occur in a micro-grid. Concurrently schemes by covering functional and robustness testing at both
cybersecurity aspect of the grid must be verified, as the impact the algorithmic and communication/interface levels. Detailed
of cyber threat is real and significant [10-12]. All these make it simulation models of the system under study are created in real
time platform to capture dynamic effects in the time-scales of
T. Ilamparithi is with OPAL-RT Technologies Inc., India. (e-mail: interest (i.e. EMT or transient stability) under a range of
t.ilamparithi@opal-rt.com). operating conditions. The important requirements of a real
Simon Abourida is with OPAL-RT Technologies Inc., Canada (e-mail:
simon.abourida@opal-rt.com). time HIL simulation setup is to ensure high fidelity of the
Thomas Kirk is with OPAL-RT Technologies Inc., Canada (e-mail: system modelled and minimum loop latency between the
thomas.kirk@opal-rt.com). physical device and virtual system in the simulator. Due to
2
these requirements, a HIL simulation of complex networks | V | is the measured line to ground voltage of bus 1 by a one
comprising of multiple components with different dynamic
phase voltage transformer
characteristics is a challenge. Hence, the choice of the real
time simulation tool is important. S is the apparent power, and
HARDWARE IN LOOP P, Q are the active and reactive powers transmitted from bus 1
REAL TIME SIMULATOR to bus 2, respectively.
RUNNING PLANT MODEL The measured impedance is a complex value and has real and
imaginary parts, which can be written as:
§ V2 ·
Communication ¨ ¸ (2)
channel R ¨ 2 2 ¸
uP
¨ P Q ¸
© ¹
PHYSICAL § V 2
·
CONTROLLER, ¨ ¸ (3)
PMU, IED etc. X ¨ 2 2 ¸
uQ
¨P Q ¸
© ¹
Using (2) and (3) the squared magnitude of impedance can be
Fig. 2. Concept of Hardware-In-Loop real time simulation
written as
4
In this paper, three applications that highlight the use of V
R X
2 2 (4)
real time simulators for studies in micro-grids and smart grids P2 Q2
are presented. For each of the application the challenges For fixed apparent power, (4) represents a circle in the
involved in accomplishing a hard real time simulation and complex plane centered at (0,0) and with fixed radius as shown
solutions used are briefed. in Fig. 4.
where
| Z | is the apparent impedance obtained by a measuring unit
installed at bus 1 in Fig. 3.
| I | is the line current flow from bus 1 to bus 2, measured by a
phase current transformer
3
C. Solution
The contradicting requirement of accomplishing good
accuracy (low time step) and accommodating large network
(large time step) is met by opting for a sophisticated real
time solver called ARTEMiS from OPAL-RT Technologies
[15]. This advanced solver uses a higher order
approximation compared to the traditional solver used in
MATLAB. With the higher order approximation, the
accuracy of the solution is improved significantly even with
larger time step. Further, the designed solver also exploits
some of the basic matrix properties such as sparse matrix to
ensure smaller execution time.
Fig. 5. Apparent impedance in R-X plane Another key benefit of the selected solver is its ability to
decouple a large network in to two smaller subsystems
B. Challenges without any time delay with its State-Space Nodal method
[16-18]. Such decoupling permits simultaneous execution of
In order to validate the reverse power flow detection
large network model in multiple computing units. Hence,
algorithm, a micro-grid comprising of a few distributed energy
large network can be split into many smaller networks thus
resources (DER) and storage element has to be simulated in
real time. A few phasor measurement units (PMU) will be bringing down the execution time.
interfaced with the test network to capture the currents and An example of such application is shown on Figure 7,
voltage phasors. A schematic of the test system is given in Fig. where IEEE 34-bus distribution system, connected to 4
6. generic microgrids (PV system, battery storage system, wind
generation system and loads); the whole power grid is
modelled with Simulink SimPowerSystems with
Distribution feeder
(ARTEMiS-SSN) library and solver, and it is simulated on
an OP5600 Real-Time Simulator, allowing it to be
connected to a physical real PMU as shown.
PMU 1
Solar PV power
Battery
Wind generation
Load
Microgrid
application in terms of fast switching power converters Real-time simulation can be employed as an efficient
embedded in a distribution network. In addition to those testing tool by simulating attacks and system failures. Real
challenges, this network considered for testing supervisory time simulators provide a platform for simulation of virtual
controller also comprises of detailed models of components grids where the testing of multiple scenarios can take place
such as diesel generators, induction motors, transformers and simultaneously and in real-time. A typical real time
dynamic loads that include effects such as saturation and simulation setup used in cyber security assessment studies is
hysteresis. Further, there are several breakers and associated shown in Fig. 9.
relays, whose status change depending upon the operating
conditions. Finally, as per IEEE 1547 standard
communication protocols such as Modbus over TCP need to
be used for appropriate information exchange.
B. Solution
To accommodate high frequency converters, and short-line
based distribution network, advanced solver ARTEMiS is
used as in the previous case. In addition, to ensure non-
linear effect such as saturation is modelled more accurately
and executed in real time, the model is slightly modified to
remove algebraic loops but still does not compromise on the
accuracy. Other non-linear components such as varistors are
executed in real time using a special iterative algorithm
embedded in ARTEMiS solver.
By making use of the special solver, a few supervisory
controllers for a virtual micro-grid were tested by MIT and
were reported [19]. Fig. 9. Typical real time simulation setup for cyber security assessment
different types of communication protocols ought to be [10] Y. Yang, T. Littler, S. Sezer, K. McLaughlin and H. F. Wang, “Impact
of cyber security issues on smart grid,” in Proc. 2011 IEEE Innovative
supported by the real time simulator. This concern is addressed Smart Grid Tech. Europe Conf., pp. 1-7.
by developing software code for each type of communication [11] E. Y. Dari, and M. Essaaidi, “An overview of smart grid cyber security
protocol that work in dedicated computational unit of a real state of the art study,” in Proc. 2015 IEEE International Renewable and
time simulator. By adopting such an approach, large number of Sustainable Energy Conf., pp. 1-7.
[12] P. Kaster, and P. K. Sen, “Power grid cyber security: challenges and
physical components such as PMUs can be communicated impacts,” in Proc. 2014 IEEE North American Power Symposium, pp.
using appropriate protocol without compromising on real time 1-6.
simulation effect. [13] H. Hatta, M. Asari, and H. Kobayashi, “Study of energy management
for decreasing reverse power flow from photovoltaic power systems,” in
By making use of such communication protocols, research Proc. 2009 IEEE Conf. on Sustainable Alternative Energy, pp. 1-5.
related to cyber security issues have been carried out by many [14] J. C. Boemer, B. G. Rawn, M. Gibescu, M. A. M. M. van der Meijden,
research groups around the world. and W. L. Kling, “Response of wind power park modules in distribution
systems to transmission network faults during reverse power flows,” IET
Trans. Renewable Power Generation, vol. 9, pp. 1033-1042, Jun. 2015.
VI. CONCLUSION [15] ARTEMiSTM: For high precision real time simulation of
electromechanical systems [Online]: http://www.opal-
The need and capabilities of using real time simulators in
rt.com/sites/default/files/artemis_en.pdf
providing virtual micro-grid and smart grid is presented in this [16] C. Dufour, J. Mahseredjian , J. Bélanger: "A Combined State-Space
paper. The advantage of a real time simulator is that it Nodal Method for the Simulation of Power System Transients", IEEE
provides a platform to test and validate control and protection Transactions on Power Delivery, vol. 26, no. 2, pp. 928-935, April 2011
[17] C. Dufour, G. Sapienza: "Testing 750 node distribution grids and
systems by interfacing with physical components as well as by devices using optimized parallel delay-free real-time solvers and modern
exchanging information through appropriate communication grid protocols", Int. Symposium on Smart Electric Distribution Systems
protocols. To highlight the possibilities of usage, three and Technologies (EDST), Vienna, Austria, Sept. 8-11, 2015
[18] C. Dufour, S. Alma, S. Cuni, G. Scrosati, G. Valvo, G. Sapienza:
different applications namely reverse power flow detection "Renewable integration and protection studies on a 750-node
based on phasor measurements in a microgrid, supervisory distribution grid using a real-time simulator and a delay-free parallel
control and cybersecurity assessment are presented in this solver", CIRED, Lyon, France, June 15-18, 2015
[19] R. O. Salcedo, J. K. Nowoein, C. L. Smith and R. P. Rekha,
work. To ensure proper testing and validation, the real time “Development of a real-time hardware in the loop power systems
simulation solution must be able to replicate modern micro- simulation platform to evaluate commercial microgrid controllers,”
grid and smart grid with high fidelity. Some common Lincoln Laboratory, MIT, Massachusetts, Feb. 2016.
challenges encountered in performing real time simulation of
complex system such as micro-grid and smart grids are
VIII. BIOGRAPHIES
mentioned in this work. Finally, some of the solutions used to
overcome these challenges are also briefed.
T. Ilamparithi completed his B.E. from Anna University, M. Tech. from IIT-
Delhi and Ph.D. from University of Victoria, Canada. He has been with
VII. REFERENCES OPAL-RT Technologies since April 2013. He has worked on a few projects
[1] Y. W. Chen, and J. M. Chang, “EMaaS: Cloud-based energy including real time simulation of power systems for HVDC transmission and
management service for distributed renewable energy integration,” IEEE fault studies. He is a member of IEEE since 2010.
Trans. Smart Grid, vol. 6, pp. 2816-2824, Nov. 2015.
[2] M. Sandoval, and S. Grijalva, “Future grid business model innovation: Simon Abourida has a Master’s degree in electrical engineering from
distributed energy resources services platform for renewable energy Ecole Polytechnique de Montreal, and over 18 years of experience in
integration,” in Proc. 2015 IEEE Asia Pacific Conf. on Computer Aided electrical engineering, project management and business development. At
System Engineering, pp. 72-77. OPAL-RT, he led several projects in real-time and hardware-in-the loop
[3] H. Chen, “Key technologies for renewable energy integration – a full simulation in the fields of power systems, renewable energy systems, hybrid
scale demonstration at Hainan Island,” in Proc. 2013 IEEE Asia-Pacific vehicles, motor drives and power electronics.
Power and Energy Engineering Conf., pp. 1-6.
[4] K. Rahbar, C. C. Chai, and R. Zhang, “Real-time energy management Thomas Kirk joined OPAL-RT Technologies in 2014 following a M.A.Sc.
for cooperative microgrids with renewable energy integration,” in Proc. from the University of Waterloo, where he specialized in experimental fluid
2014 IEEE Intl. Conf. on Smart Grid Communications, pp. 25-30. dynamics. His work in simulation started first at Bechtel’s Aluminum Center
[5] C. Jian, H. Zheng-you, and J. Wei, “The overview of protection schemes of Excellence in Montreal. He has his B.Eng. from McGill University, and is
for distribution systems containing micro-grid,” in Proc. 2011 IEEE an IEEE and PES member.
Asia-Pacific Power and Energy Engineering Conf., pp. 1-4.
[6] Z. Li, Y. Li, G. Fu, and B. Li, “Directional protection based on fault
component energy function in micro-grid,” in Proc. 2012 IEEE
Innovative Smart Grid Tech. Conf., pp. 1-5.
[7] Y. Shi-Tian, Z. Lei, C. Zhi-Xin, W. Jia, and W. Bingbing, “A micro-
grid control system based on EtherCAT,” in Proc. 2011 IEEE
Information Technology, Computer Engineering and Management
Sciences Conf., pp. 385-388.
[8] W. Kohn, Z. B. Zabinsky, and A. Nerode, “A micro-grid distributed
intelligent control and management system,” IEEE Trans. Smart Grid,
vol. 6. Pp. 2964-2974, Nov. 2015.
[9] Z. Wang, R. Yang and L. Wang, “Intelligent multi-agent control for
integrated building and micro-grid systems,” in Proc. 2011 IEEE
Innovative Smart Grid Tech. Conf., pp. 1-7.