Co-simulation with DIgSILENT PowerFactory and Matlab: Optimal integration of plug-in electric vehicles in distribution networks

J. García-Villalobos, I. Zamora, Mattia Marinelli, P. Eguia, J.I. San Martin

Research output: Chapter in Book/Report/Conference proceedingBook chapterResearchpeer-review


Smart grid concept is gaining more and more importance in electric power systems. In near term, electric grids will be more intelligent, interconnected and decentralised. Dealing with a significant number of distributed resources in a smart way, frequently requires the use of optimal control techniques, which find the best solution according to a defined objective function. Taking into account all these aspects, the simulation of these types of problems are characterised by having a great number of controlled resources and the use of advanced control techniques. In this context, DIgSILENT PowerFactory provides useful tools to simulate complex systems. On the one hand, the DIgSILENT. Programming Language (DPL) can be used for multiple purposes such as automation of simulations, automatic generation of simulation scenarios, analysis of results, etc. On the other hand, the DIgSILENT Simulation Language (DSL) and the digexfun interface allow the implementation of advanced control techniques. Using the digexfun interface, DIgSILENT PowerFactory can send and receive data from other mathematical software APIs such as Matlab. This chapter presents a co-simulation framework developed to test optimal control methods for root mean square (RMS) simulations on DIgSILENT PowerFactory. As an example, the implementation of a smart charging control for plug-in electric vehicles in electric distribution networks is explained.
Original languageEnglish
Title of host publicationAdvanced Smart Grid Functionalities based on Power Factory
EditorsFrancisco Gonzalez-Longatt , Jose Rueda
Publication date2017
ISBN (Print)978-3319505312
Publication statusPublished - 2017
SeriesGreen Energy and Technology

Bibliographical note


  • Co-simulation
  • Digexfun interface
  • Optimal control
  • DPL
  • Plug-in electric vehicles

Fingerprint Dive into the research topics of 'Co-simulation with DIgSILENT PowerFactory and Matlab: Optimal integration of plug-in electric vehicles in distribution networks'. Together they form a unique fingerprint.

Cite this