DigSilent PowerFactory Co-simulation

DigSilent PF
Mosaik
OPC UA
ABB AC500
Python
Co-Simulation

Co-simulation Enviroment

Cooperative simulation (co-simulation) is a modern approach to the simulation of complex systems, where several specialized simulation tools work together to create a coherent model. In this article, we present a implementaion of co-simulation enviroment using the Mosaik framework to link the professional simulation tool DIgSILENT PowerFactory with a ABB AC500 V3 PLC controller via the OPC UA protocol.

System Architecture

The system consists of three main components:

  1. DIgSILENT PowerFactory - simulates the behaviour of the power grid and represents a controlled system
  2. PLC controller - implements the control algorithms and control logic
  3. Mosaik framework - orchestrates communication and synchronization between components

Communication between components is implemented via the OPC UA protocol, which ensures reliable real-time data exchange.

Framework Mosaik

Mosaik is an open-source framework written in Python that provides an infrastructure for creating co-simulations. Its main advantages include:

  • Flexible linking of different simulation tools
  • Time synchronization management
  • Easy configuration of simulation scenarios
  • Extensibility via modules

System architecture

Integration of DIgSILENT PowerFactory

The PowerFactory is connected to the co-simulation via a special adapter that:

  • Manages communication with the PowerFactory API
  • Synchronizes simulation time
  • Provides cyclic data exchange with between the components of the simulation environment

PLC Controller

The control software runs on the AC500 PLC platform and is connected via an adapter that is part of the simulated environment. The adapter communicates with the PLC via the OPC UA protocol. The controller receives measured values from the simulated network and executes control algorithms, then sends control commands back to the PowerFactory. In the process, the OPC UA protocol provides standardized and secure data exchange, offers system scalability, and enables real-time data transfer between components. Virtual Commissioning

Benefits and conclusion

  • The ability to test real control algorithms on a detailed network model, enabling safe verification of functionality before deployment
  • Accurate simulation of dynamic system behaviour thanks to the interconnection of professional tools
  • Flexibility to change configurations or components to facilitate testing of different scenarios
  • Possibility to extend with additional simulation tools according to project needs
  • Detailed study of the behaviour of complex systems in a safe simulated environment

© 2024 Portfolio. All rights reserved.

Design inspired from.

Made with 💓 By Jan. Powered by Astro.