An Overall Study of A Real-Time Simulator and Application of RT-LAB Using MATLAB Simpowersystems
An Overall Study of A Real-Time Simulator and Application of RT-LAB Using MATLAB Simpowersystems
net/publication/322898806
CITATIONS READS
15 3,021
3 authors, including:
Some of the authors of this publication are also working on these related projects:
Anomaly Detection in Cyber-Physical System using Logistic Regression Analysis View project
All content following this page was uploaded by Subrina Noureen on 15 February 2018.
Abstract—This paper summarizes the features and advantages RTE Event software [2]. The RT-LAB software is based on
of the renowned Real-Time Digital Simulator (RTDS) called SimPowerSystems of MATLAB/SIMULINK, which has the
OPAL-RT Simulator. Alongside with its applications in the feature of modernizing model-based design in electric power
electric power system for the system design, analysis and testing.
This comprehensive study also includes a brief description of its systems [2]. The main feature of this software is to meet the
software, hardware, I/O system, modeling, Hardware-in-the-Loop transient simulation requirements of electromechanical drives
and other prospects. Tremendous advancement in the storage and electric systems [3]. Wide accessibility, greater ease of
capacity and computational speed of the modern computer use and more compatibility with commercial products are
system has done for the last few decades. Assimilating this the vital leverages of this simulator. Additionally, Real-time
advancement, this simulation tool has designed with unique
features like real-time model-in-the-loop, Hardware-in-the-loop. software-in-the-loop (SIL) and Hardware-in-the-Loop (HIL)
Also for moderate operational and maintenance cost, OPAL-RT applications are gradually accepted as important tools for
Simulator has become more prevalent to the researcher. There engineering design mainly in the power system field [5-8]. All
are immense scopes of experimental research in power systems these features are offered by this simulator are more intriguing
analysis. This is the prime reasoning for describing the necessity for both academic and industrial applications. This features
and significance of OPAL-RT simulator in this work. In addition,
a semi-simulation experiment of a PV system is presented using will improve the accuracy of prediction of current and future
RT-LAB software. Two of the most salient tools of OPAL-RT needs of power.
are 1) RT-LAB and 2) ARTEMIS, which were applied in power The present work is based on the development of real-
electronics are also summarized. time simulator, RT-Lab Simulator Architecture, and the details
of RT-LAB Works. Additionally, a short summary of the
Keywords—Real-Time Digital Simulator (RTDS), PV system,
Power electronics, Model based design, Software-in-the-loop (SIL), OP5700 real-time simulator (currently used at Texas Tech
Hardware-in-the-loop (HIL) University) will be described in short. Detailing of every steps
for the implementation of a Photovoltaic system model from
I. I NTRODUCTION MATLAB/SIMULINK interface to RT-LAB software been
defined as well.
Simulators have been widely used for the design and
development of electrical power system for several years for
II. EVALUATION OF REAL-TIME SIMULATORS
designing of transmission lines in power generation systems
to the optimization of motor efficiency in the transportation Simulation technology has emerged from physical/analog
industry [1]. It has been proven that simulation is an efficient simulators to High Voltage Direct Current (HVDC) simulators,
tool for engineers and scientists for the successful applica- transient network analyzer (TNA) electromagnetic analyzer
tion development as it supports fast, reliable, precise and (EMT). These include the protection and control studies.
economical study of power systems. Currently, there are few However, the hybrid TNA/Analogue/Digital simulators can
simulators available. Among them, OPAL-RT is technically study the EMT behavior as well. Real time digital simulators
more viable for its fast reliable operation and performance. are the excellent examples of reliable, accurate simulation
OPAL-RT simulator accommodates eMEGAsim, HYPERSIM, technology, which are used to perform complex simulations
eFPGAsim, ePHASORsim which are hardware integrated in real time environment for power system network analysis.
software. Among these software programs, eMEGAsim is a Besides, the digital real-time simulators include all the features
more user-friendly, flexible and scalable digital-analog hybrid to its system shows in Fig. 1 [3] Although, physical simulators
real-time simulator which includes RT-LAB, ARTEMIS, and have served their roles in power systems industry very well;
B. Simulator Outline
C. Communication Protocol system using the SC-Console subsystem. Each subsystem runs
RT-LAB digital simulator supports both C37.118 IEEE in each different core of the simulator. • All input signals to
Standards and IEC 61850 standards to communicate between
hosts and the targets PCs. It supports SPECTRACOM stan-
dards too. To achieve fast transmission and reception, the
Ethernet communication is built between target and the hosts
PCs. In addition, it has excellent unique feature of parallel
computation of system models that can abate the step size
from millisecond to microsecond duration [16].
V. OP5700 REAL-TIME SIMULATOR OVERVIEW Fig. 6. Opcomm Block with two I/O ports
The configuration of the OP5700 simulator is given in a
tabular form below: the subsystem must first go through Opcomm block which
saves the execution time.
• Microgrid Model need to be run in a fixed step time so
that it can run the model in real time by choosing fixed step
size according to model requirement and hardware capability.
• Then RT-Lab software is used to convert the Simulink
model into C-code and to load each subsystem in to each
core of the simulator. Finally, Microgrid model should be
executed in RT-lab to analyze the real time behavior of the
system.
C. Simulation Results
The model was tested in RT-LAB environment and the
results shows the effectiveness of this simulator. The simu-
lation was done is steady-state condition. Fig 8. shows the
block diagram of the overall setup. Here the PV system is
connected with the grid alongside with the virtual PMU with
communication protocol C37.118 protocol. In the Fig 9. The
overall RT-LAB model with three subsystem has shown. Fig
Fig. 11. Simulink SC Block
9-10 are the internal blocks of the SM subssystem and the
SC subsystem. In fig 11 the output of the PV system is shown
varing with the Irradiance and the temepature. Lastly, in fig
13-14 the grid Current, voltage and the phase angles are shown
as well.