The complexity of a smart grid with a high share of renewable energy resources introduces several issues in testing power equipment and controls. In this context, real-time simulation and Hardware in the Loop (HIL) techniques can tackle these problems that are typical for power system testing. However, implementing a convoluted HIL setup in a single infrastructure can be physically impossible or can increase the time required to test a smart grid application in detail. This paper introduces the Joint Test Facility for Smart Energy Networks with Distributed Energy Resources (JaNDER) that allows users to exchange data in real-time between two or more infrastructures. This tool enables the integration of infrastructures, exploiting the synergies between them, and creating a virtual infrastructure that can perform more experiments using a combination of the resources installed in each infrastructure. In particular, JaNDER can extend a HIL setup. In order to validate this new testing concept, a coordinated voltage controller has been tested in a Controller HIL setup where JaNDER was used to interact with an actual On Load Tap Changer (OLTC) controller located in a remote infrastructure. The results show that the latency introduced by JaNDER is not critical; hence, under certain circumstances, it can be used to expand the real-time testing without affecting the stability of the experiment.
Various development and validation methods for cyber-physical systems such as Controller-Hardware-in-the-Loop (C-HIL) testing strongly benefit from a seamless integration of (hardware) prototypes and simulation models. It has been often demonstrated that linking discrete event-based control systems and hybrid plant models can advance the quality of control implementations. Nevertheless, high manual coupling efforts and sometimes spurious simulation artifacts such as glitches and deviations are observed frequently. This work specifically addresses these two issues by presenting a generic, standard-based infrastructure referred to as virtual component, which enables the efficient coupling of simulation models and automation systems. A novel soft real-time coupling algorithm featuring event-accurate synchronization by extrapolating future model states is outlined. Based on considered standards for model exchange (FMI) and controls (IEC 61499), important properties such as real-time capabilities are derived and experimentally validated. Evaluation demonstrates that virtual components support engineers in efficiently creating C-HIL setups and that the novel algorithm can feature accurate synchronization when conventional approaches fail.