PC Implementation of a Real-Time Simulator Using ATP Foreign Models and a Sound Card

This work reports the personal computer implementation of a real-time simulator based on the widely used Electromagnetic Transients Program, version Alternative Transients Program (EMTP-ATP) software for testing protection and control devices. The proposed simulator was implemented on a conventional...

Full description

Bibliographic Details
Main Authors: Renzo G. Fabián Espinoza, Yuri Molina, Maria Tavares
Format: Article
Language:English
Published: MDPI AG 2018-08-01
Series:Energies
Subjects:
Online Access:http://www.mdpi.com/1996-1073/11/8/2140
_version_ 1798042424686149632
author Renzo G. Fabián Espinoza
Yuri Molina
Maria Tavares
author_facet Renzo G. Fabián Espinoza
Yuri Molina
Maria Tavares
author_sort Renzo G. Fabián Espinoza
collection DOAJ
description This work reports the personal computer implementation of a real-time simulator based on the widely used Electromagnetic Transients Program, version Alternative Transients Program (EMTP-ATP) software for testing protection and control devices. The proposed simulator was implemented on a conventional PC with a GNU/Linux operative system including a real-time kernel. Using foreign models programmed in C, ATP was recompiled with the PortAudio (sound card I/O library) with tools for writing and reading the parallel port. In this way, the sound card was used as a digital-to-analog converter to generate voltage waveform outputs at each simulation time step of the ATP, and the parallel port was used for digital inputs and outputs, resulting in a real-time simulator that can interact with protection and control devices by means of hardware-in-the-loop tests. This work uses the minimum possible hardware requirements to try to implement a real-time simulator. Due to the limitation of two channels, this simulator was used mainly to demonstrate the implementation methodology concept at this stage; this concept could potentially be expanded with more powerful hardware to improve its performance. The performance of the implemented simulator was analyzed through interactions with a real intelligent electronic device (IED). Furthermore, a comparison with the results obtained by means of the well-known real-time digital simulator (RTDS) was presented and discussed.
first_indexed 2024-04-11T22:35:20Z
format Article
id doaj.art-bd65b7b1917044689a88846637f5cfd8
institution Directory Open Access Journal
issn 1996-1073
language English
last_indexed 2024-04-11T22:35:20Z
publishDate 2018-08-01
publisher MDPI AG
record_format Article
series Energies
spelling doaj.art-bd65b7b1917044689a88846637f5cfd82022-12-22T03:59:14ZengMDPI AGEnergies1996-10732018-08-01118214010.3390/en11082140en11082140PC Implementation of a Real-Time Simulator Using ATP Foreign Models and a Sound CardRenzo G. Fabián Espinoza0Yuri Molina1Maria Tavares2School of Electrical Engineering, Federal University of Paraíba (UFPB), João Pessoa 58051-970, Paraíba, BrazilSchool of Electrical Engineering, Federal University of Paraíba (UFPB), João Pessoa 58051-970, Paraíba, BrazilSchool of Electrical and Computing Engineering, University of Campinas (UNICAMP), Campinas 13083-852, São Paulo, BrazilThis work reports the personal computer implementation of a real-time simulator based on the widely used Electromagnetic Transients Program, version Alternative Transients Program (EMTP-ATP) software for testing protection and control devices. The proposed simulator was implemented on a conventional PC with a GNU/Linux operative system including a real-time kernel. Using foreign models programmed in C, ATP was recompiled with the PortAudio (sound card I/O library) with tools for writing and reading the parallel port. In this way, the sound card was used as a digital-to-analog converter to generate voltage waveform outputs at each simulation time step of the ATP, and the parallel port was used for digital inputs and outputs, resulting in a real-time simulator that can interact with protection and control devices by means of hardware-in-the-loop tests. This work uses the minimum possible hardware requirements to try to implement a real-time simulator. Due to the limitation of two channels, this simulator was used mainly to demonstrate the implementation methodology concept at this stage; this concept could potentially be expanded with more powerful hardware to improve its performance. The performance of the implemented simulator was analyzed through interactions with a real intelligent electronic device (IED). Furthermore, a comparison with the results obtained by means of the well-known real-time digital simulator (RTDS) was presented and discussed.http://www.mdpi.com/1996-1073/11/8/2140digital real-time simulationhardware-in-the-loopintelligent electronic deviceATPMODELSforeign models
spellingShingle Renzo G. Fabián Espinoza
Yuri Molina
Maria Tavares
PC Implementation of a Real-Time Simulator Using ATP Foreign Models and a Sound Card
Energies
digital real-time simulation
hardware-in-the-loop
intelligent electronic device
ATP
MODELS
foreign models
title PC Implementation of a Real-Time Simulator Using ATP Foreign Models and a Sound Card
title_full PC Implementation of a Real-Time Simulator Using ATP Foreign Models and a Sound Card
title_fullStr PC Implementation of a Real-Time Simulator Using ATP Foreign Models and a Sound Card
title_full_unstemmed PC Implementation of a Real-Time Simulator Using ATP Foreign Models and a Sound Card
title_short PC Implementation of a Real-Time Simulator Using ATP Foreign Models and a Sound Card
title_sort pc implementation of a real time simulator using atp foreign models and a sound card
topic digital real-time simulation
hardware-in-the-loop
intelligent electronic device
ATP
MODELS
foreign models
url http://www.mdpi.com/1996-1073/11/8/2140
work_keys_str_mv AT renzogfabianespinoza pcimplementationofarealtimesimulatorusingatpforeignmodelsandasoundcard
AT yurimolina pcimplementationofarealtimesimulatorusingatpforeignmodelsandasoundcard
AT mariatavares pcimplementationofarealtimesimulatorusingatpforeignmodelsandasoundcard