*Article* **Real-Time Validation of Power Flow Control Method for Enhanced Operation of Microgrids**

**Hossein Abedini 1,2,\*, Tommaso Caldognetto 1,2, Paolo Mattavelli 1,2,\* and Paolo Tenti 2,3**


Received: 15 October 2020; Accepted: 12 November 2020; Published: 15 November 2020

**Abstract:** This paper describes a control methodology for electronic power converters distributed in low-voltage microgrids and its implementation criteria in general microgrid structures. In addition, a real-time simulation setup is devised, implemented, and discussed to validate the control operation in a benchmark network. Considering these key aspects, it is shown that operational constraints regarding the power delivered by sources, flowing through network branches, and exchanged at the point of connection with the main grid can generally be fulfilled by the presented control approach. The control is performed considering a cost function aiming at optimizing various operation indexes, including distribution losses, current stresses on feeders, voltage deviations. The control system allows an enhanced operation of the microgrid, specifically, it allows dynamic and accurate power flow control enabling the provision of ancillary services to the upstream grid, like the demand–response, by exploiting the available infrastructure and the energy resources. Then, the validation of the approach is reported by using a real-time simulation setup with accurate models of the power electronic converters and related local controllers, of the grid infrastructure, of the power flow controller, and of the communication network used for data exchange. It is also shown that the implemented platform allows to fully reproduce, analyze, and finally validate all the relevant steady-state and dynamic behaviors related in the considered scenario.

**Keywords:** demand–response; distributed electronic power converters; optimal power sharing; power flow control; real-time simulations

### **1. Introduction**

The role of distribution networks in power system management and support is changing dramatically. Revisions of the market framework are expected in the near future in order to exploit distributed resources for supporting upstream medium and high voltage grids [1,2]. In the perspective envisioned by the European directive [3], microgrids will be the bricks of future electric systems. They embrace loads and sources that are close to each other and can be synergized to pursue a safe and cost-effective operation of the electric system and the innovative feature of allowing end-users to become actors of the electricity market. For this aim, microgrids are expected to evolve into systems capable to ensure degrees of scalability, flexibility, reliability, robustness, and readiness similar to networks of digital devices. From the perspective of this analogy, we may refer to E-LAN, namely, Local Area Energy Networks [4]. E-LANs, represented in Figure 1, allow important features, including optimal power flow control, dispatchability at multiple points of connections with the main grid, exploitation of all the energy resources available. In general, advanced control features rely on

adequate information and telecommunication (ICT) infrastructures [5]. Such infrastructures are an important constituent of modern intelligent energy systems, whose impact, also in case of malfunctions, is rarely included in studies considering low-voltage distribution grids. Indeed, from the perspective of the required communication protocols and specifications, the considered scenario shows still fluid and evolving [6].

**Figure 1.** Modern power system scenario.

Various contributions align along the outlined direction organize microgrid control in multiple layers, as shown in Figure 2. The planning of the resources based on energy arbitrage is found at the higher level of the E-LAN control hierarchy, that is, the transactive control layer, which can be applied both at the microgrid level [1,7,8], also by exploiting detailed mathematical modeling of the distributed energy resources [9], and at the premises of single consumers too [10]. By these approaches, predictions about power needs and energy prices are taken into account to optimally exploit power flow control, as specifically done in [1,8,9]. On the other hand, network models and power flow constraints, which are considered herein, are crucial for optimal utilization of the microgrid distribution infrastructure [11]. This is particularly important when ancillary services, like demand–response, involving additional constraints to be met, have to be accommodated by relying on distributed energy resources interfaced by electronic power converters (EPCs). From this respect, automatic and predetermined power sharing techniques, see, for example, [12], typically constituting the primary control layer of microgrids [13,14], should be augmented to adapt to actual power needs and fulfill given power flow constraints optimally. A contribution from this perspective is given in [4], in which an optimal power flow controller is proposed considering steady-state operation. Herein, the approach is revised and implemented on a real-time simulation platform to evaluate its operation in dynamic conditions. Of course, such approaches may be applied jointly with load prioritization techniques based on load analyses, as proposed in [15]. These techniques can schedule the on/off status of the loads to be supplied by the available sources. The available sources can then be coordinated by optimal power flow control signals. The optimization approach described herein aims at taking advantage of every source available in the grid without using power shedding methods except those enforced at

higher levels of the control hierarchy. Instead, enhanced performance of the network is pursued by synergistic use of the control abilities of any distributed power sources.

**Figure 2.** Local Area Energy Network (E-LAN) control structure.

The validation of the approaches mentioned above is a delicate task due to the complexity and the variety of the dynamics involved (e.g., the fast response of EPCs versus the slow optimization processes and power system dynamics). For these reasons, especially when particularly complex systems are analyzed, validation is often performed by means of computer simulations rather than experimental prototype realizations. Thanks to the recent advances in digital computing, real-time simulators have been employed lately for systems studies involving the interaction of power systems and power electronics systems that are characterized by fast dynamics (e.g., tens of μs) [16]. Validation via real-time simulations presents several advantages as compared to traditional simulations. The principal ones are (*i*) the possibility of performing an on-line testing of models and controls, even while interacting with other hardware components or prototypes [17], and (*ii*) the possibility of emulating parts of a complex experimental scenario that may not be conveniently included otherwise, due to size, cost, safety, or availability constraints. Several hardware solutions are available to run real-time simulations. Some exploit general purpose toolsets, as shown in [18] and, before, in [19] and [20], others use dedicated hardware and software solutions to ease the development of models of electrical and electronic systems, as done, for example, in [21–23].

In this paper, a control architecture that makes use of an innovative optimization framework capable to fulfill the operating constraints while providing synergistic operation of all controllable sources acting in the grid is considered and analyzed. The system performances are optimized in terms of component stress, power sharing, voltage stability, energy efficiency, congestion management, demand–response, robustness against transients, and communication failures. The proposed control is tested by a real-time simulation setup combining real-time simulators (OPAL-RT), industrial central controllers, and communication network emulators. These two aspects constitute the contributions of the paper, that is, (*i*) describe a power flow optimization method applied dynamically to fulfill power constraints, and (*ii*) describe the implementation of the proposed power flow control considering a

real-time simulation setup integrating fully modeled converters controllers, realistic communication performance, allowing to validate the effectiveness of the proposed optimal control.

In the reminder of the paper, the power flow control is presented in Section 2, while Section 3 presents the primary-local control of the distributed electronic power converters. The implementation of the whole control system is described in Section 4, which also reports and discusses the obtained results. Section 5 concludes the paper.

### **2. Coordination of Distributed Electronic Power Converters**

The power flow control method considered herein is introduced in the following. The method allows to satisfy various operational constraints by exploiting the available distributed EPCs in an optimal way. The method is validated for the first time in this paper by means of real-time simulations and shown suitable for real-time control. The results are reported in Section 4.

### *2.1. Network Equations*

Consider an electrical grid, either single-phase or three-phase, with *L* branches and *N* nodes, plus the slack node (node 0) whose voltages *v*<sup>0</sup> are taken as reference voltages. Loads and sources are connected phase-to-phase or phase-to-neutral, while network branches interconnect pairs of nodes. The network graph is described by the *L* × *N* incidence matrix **A**, where the column corresponding to node 0 is omitted. For simplicity, but without loss of generality, in the following we will refer to a single-phase network where loads and sources are connected between the grid nodes and a common ground, corresponding to the neutral wire.

Let *u* be the (vector of) node voltage deviations from reference *v*0, *i* the currents entering the grid nodes, *w* the voltages across the branches oriented according to the network graph, and *j* the corresponding branch currents. The Kirchhoff's laws give:

$$
\mathbf{w} = \mathbf{A}\mathbf{u}, \quad \mathbf{i} = \mathbf{A}^T \mathbf{j}, \tag{1}
$$

where superscript *T* denotes transposition. In sinusoidal operation, we represent currents and voltages as phasors and correspondingly we may define the diagonal matrix **Λ** of branch impedances. Correspondingly, the relations between branch currents and voltages become:

$$w = \Lambda \dot{\jmath}, \quad \dot{\jmath} = \Lambda^{-1} w. \tag{2}$$

The relations between node voltages and currents are the following:

$$\mathbf{i} = \mathbf{\varUpsilon} \,, \quad \mathbf{u} = \mathbf{\varUpsilon}^{-1} \mathbf{i} = \mathbf{Z} \mathbf{i} \,, \quad \text{where:} \quad \mathbf{\varUpsilon} = \mathbf{A}^{\top} \mathbf{A}^{-1} \mathbf{A} . \tag{3}$$

In (3), **Y** is the nodal admittance matrix and its inverse **Z** is the nodal impedance matrix. Finally, we get the inverse relations of (1) by:

$$\boldsymbol{u} = \mathbf{B} \boldsymbol{w} \quad \boldsymbol{j} = \mathbf{B}^T \boldsymbol{i} \quad \text{where} \quad \mathbf{B} = \mathbf{Z} \mathbf{A}^T \boldsymbol{\Lambda}^{-1}. \tag{4}$$

Remarkably, such equations apply to both meshed and radial networks. In this latter case, **B** = **A**<sup>−</sup>1.

### *2.2. Control Equations*

Figure 3 schematically represent a network, indicating the kind of nodes and related referred to thereafter. In general terms, the nodes can be classified as:


(c) *User nodes*, supplying passive loads. Let *u<sup>u</sup>* be the voltages at such nodes and *iu* be the related load currents.

**Figure 3.** General network representation.

The function of balancing the local generation by sources and consumption by possibly connected local loads is in charge of the local controller of the current or voltage nodes. The local controller, depending on the requests coming from the central controller, may adapt its power generation to fully compensate for local load or to pursue local optimization criteria.

It is easy to show that all network voltages and currents can be expressed as a function of voltages *u<sup>v</sup>* and currents *i<sup>c</sup>* impressed by the sources which, in turn, can be controlled by acting on the EPCs interfacing the sources with the grid.

In the following, we therefore consider the voltages *u<sup>v</sup>* impressed at voltage nodes, and the currents *i<sup>c</sup>* entering the grid at current nodes, as the control (input) variables for the entire grid. The main output variables are currents *i<sup>v</sup>* at voltage nodes and voltages *u<sup>c</sup>* at current nodes, all remaining grid quantities being easily derived.

We generally express the control-to-output equations in the form:

$$
\begin{bmatrix} \dot{\boldsymbol{i}}\_{\upsilon} \\ \boldsymbol{u}\_{\boldsymbol{c}} \end{bmatrix} = \mathbf{H} \begin{bmatrix} \boldsymbol{u}\_{\upsilon} \\ \dot{\boldsymbol{i}}\_{\boldsymbol{c}} \end{bmatrix} = \begin{bmatrix} \mathbf{H}\_{\upsilon\upsilon} & \mathbf{H}\_{\upsilon\mathbf{c}} \\ \mathbf{H}\_{\upsilon\upsilon} & \mathbf{H}\_{\mathbf{c}\mathbf{c}} \end{bmatrix} \begin{bmatrix} \boldsymbol{u}\_{\upsilon} \\ \dot{\boldsymbol{i}}\_{\boldsymbol{c}} \end{bmatrix} = \begin{bmatrix} \mathbf{Y}\_{\upsilon\upsilon} - \mathbf{Y}\_{\upsilon\mathbf{c}} \mathbf{Y}\_{\upsilon\mathbf{c}}^{-1} \mathbf{Y}\_{\upsilon\upsilon} & \mathbf{Y}\_{\upsilon\mathbf{c}} \mathbf{Y}\_{\upsilon\mathbf{c}}^{-1} \\ -\mathbf{Y}\_{\upsilon\mathbf{c}}^{-1} \mathbf{Y}\_{\upsilon\upsilon} & \mathbf{Y}\_{\upsilon\mathbf{c}}^{-1} \end{bmatrix} \begin{bmatrix} \boldsymbol{u}\_{\upsilon} \\ \dot{\boldsymbol{i}}\_{\boldsymbol{c}} \end{bmatrix} \tag{5}
$$

where **Y***vv*, **Y***vc*, **Y***cv*, and **Y***cc* are sub-matrices of **Y** in (3) that refer to voltage and current nodes, respectively, and **H** is the control-to-output transfer matrix.

From the above equations, we express the currents at voltage nodes as:

$$\begin{aligned} \mathbf{i}\_{\upsilon} &= \mathbf{H}\_{\upsilon\upsilon} \mathbf{u}\_{\upsilon} + \mathbf{H}\_{\upsilon\upsilon} \mathbf{i}\_{\varsigma} + \mathbf{i}\_{\upsilon}^{0} \quad \text{where:}\\ \mathbf{H}\_{\upsilon\upsilon} &= \mathbf{Z}\_{\upsilon\upsilon}^{-1}, \qquad \mathbf{H}\_{\upsilon\upsilon} = -\mathbf{Z}\_{\upsilon\upsilon}^{-1} \mathbf{Z}\_{\upsilon\upsilon}, \qquad \mathbf{i}\_{\upsilon}^{0} = -\mathbf{Z}\_{\upsilon\upsilon}^{-1} \mathbf{Z}\_{\upsilon\upsilon} \mathbf{i}\_{\upsilon\ell} \end{aligned} \tag{6}$$

### *2.3. Constraints*

In general, the grid control problem is twofold. On one side, we wish to optimize some aspects of grid operation, as explained in the following section. On the other side, we need to fulfill specific constraints in terms of power flow at a given set of grid nodes or branches.

More specifically, in order to control the active and reactive power entering the grid at voltage nodes, currents *ivs* can be constrained. In particular, constraints may apply to their direct (active) and/or quadrature (reactive) terms. Let:

$$\mathbf{i}\_{\rm vs} = \mathbf{i}\_{\rm vsd} + \mathbf{i}\_{\rm vsq} \tag{7}$$

we assume that, among the *Nv* currents *ivs* fed by voltage sources, *N<sup>δ</sup>* are subject to constraints on the direct component, and *N<sup>γ</sup>* are subject to constraints on the quadrature component. Let *iv<sup>δ</sup>* and *iv<sup>γ</sup>* be such constrained currents, the constraints are expressed as (superscript ref indicates reference values):

$$\begin{cases} \mathbf{Y}\_{\upsilon\delta} = \dot{\mathbf{i}}\_{\upsilon\delta} - \dot{\mathbf{i}}\_{\upsilon\delta}^{\text{ref}} = \mathbf{0}\_{N\_{\upsilon\delta}}\\ \mathbf{Y}\_{\upsilon\gamma} = \dot{\mathbf{i}}\_{\upsilon\gamma} - \dot{\mathbf{i}}\_{\upsilon\gamma}^{\text{ref}} = \mathbf{0}\_{N\_{\upsilon\gamma}} \end{cases} \tag{8}$$

Similar constraints can also apply to the direct and quadrature currents entering the grid at slack node, which are related to the active and reactive power *P*ref *<sup>G</sup>* and *<sup>Q</sup>*ref *<sup>G</sup>* at the point of coupling with the upstream grid.

Currents *ics* fed by current sources can also be subject to constraints, expressed by:

$$\begin{cases} \mathbf{\varPsi}\_{c\delta} = \mathbf{i}\_{c\delta} - \mathbf{i}\_{c\delta}^{\text{ref}} = \mathbf{0}\_{N\_{c\delta}}\\ \mathbf{\varPsi}\_{c\gamma} = \mathbf{i}\_{c\gamma} - \mathbf{i}\_{c\gamma}^{\text{ref}} = \mathbf{0}\_{N\_{c\gamma}} \end{cases} \tag{9}$$

In practice, constraints in (9) reduce the number of control variables, freezing a subset of impressed currents *i<sup>δ</sup>* and *iγ*.

A last type of constraint may impose specific values to a set of branch currents. This corresponds to enforce the power flow in specific grid lines (power steering) or clearing specific branch currents (active insulation). Let *Nj* be the number of constrained branches, we may express these constraints, separately on *d* and *q* axes, as:

$$\begin{cases} \mathbf{Y}\_{j\delta} = \mathbf{0}\_{N\_{\hat{j}}} \\ \mathbf{Y}\_{j\gamma} = \mathbf{0}\_{N\_{\hat{j}}} \end{cases} \tag{10}$$

*2.4. Cost Function*

As mentioned before, the E-LAN control variables can be determined according to an optimal control approach, where a suitable cost function *ϕ* is minimized while fulfilling the above set of constraints.

In general terms, we define the cost function as:

$$
\varphi = \mathfrak{c}\_{\mathfrak{F}} \mathfrak{q}\_{\mathfrak{F}^{\mathit{r} \mathit{i}}} + \mathfrak{c}\_{\mathfrak{c}} \mathfrak{q}\_{\text{conv}} + \mathfrak{c}\_{\mathfrak{u}} \mathfrak{q}\_{\mathfrak{u}} \tag{11}
$$

where coefficients *cg*, *cc*, *cu* are weighting factors, and variables *ϕgrid*, *ϕconv*, *ϕ<sup>u</sup>* are the cost function terms, defined as follows.

• *ϕgrid* corresponds to the power loss in the distribution grid, expressed in relative terms as:

$$\varphi\_{grid} = \frac{P\_{\text{grid}}}{P\_{loss}^0} = \frac{\mathbf{r}^T \mathbf{J}^2}{P\_{\text{\%}}^0 + P\_{\text{\%}}^0} \tag{12}$$

where *Pgrid* is the grid loss in a generic operating condition, *P*<sup>0</sup> *loss* is total power loss in the condition when all controllable quantities are set to zero, *J*<sup>2</sup> is the vector of square rms values of branch currents, and *r* is the vector of branch resistances. *P*<sup>0</sup> *loss* results by adding *<sup>P</sup>*<sup>0</sup> *grid* (grid loss) and *P*0 *conv* (conversion loss).

• *ϕconv* corresponds to the total power loss in the EPCs interfacing the distributed generators with the grid, which can be driven as voltage sources or current sources to implement sources *u<sup>v</sup>* and *ic*, respectively. It is expressed by:

$$\varphi\_{conv} = \frac{P\_{conv}}{P\_{loss}^0} = \frac{r\_s^T I\_{\mathcal{S}^\infty}^2 + r\_s^T I\_s^2}{P\_{grid}^0 + P\_{conv}^0} \tag{13}$$

where *Pconv* is the conversion loss in a generic operating condition, *r<sup>g</sup>* and *r<sup>s</sup>* are the vectors of equivalent series resistances of voltage and current sources, *I*<sup>2</sup> *gs* and *I*<sup>2</sup> *<sup>s</sup>* are vectors of square rms values of source currents.

• *ϕ<sup>u</sup>* corresponds to the cumulative rms deviation of node voltages from voltage reference *v*0; it is given by the ratio between the square cumulative rms voltage deviation in a generic condition and the corresponding value when all controllable variables are set to zero:

$$\varphi\_{\rm \mu} = \frac{||\boldsymbol{u}\_{\rm \mu}||^2}{||\boldsymbol{u}\_{\rm \mu}^0||^2} = \frac{\sum\_{n=1}^N \boldsymbol{\mathcal{U}}\_{\rm un}^2}{\sum\_{n=1}^N \boldsymbol{\mathcal{U}}\_{\rm un}^0} \tag{14}$$

It is worth remarking that the coefficients in (11) may be tuned independently in order to assign different weights to voltage deviations, grid losses, and conversion losses on the optimization on the basis of the specific requirements of the application scenario.

In a similar way, we may extend the cost function to include other terms related to the power stress of distributed sources, the thermal stress of feeders, the VA stress of EPCs. The result is a cost function that accounts for the main operation aspects influencing the grid performance, and prevents useless stress of the grid components.

### *2.5. Solution of the Optimal Control Problem*

Eventually, the grid control problem can be formulated as a constrained optimum problem, where cost function *ϕ* is minimized while fulfilling constraints *ψ*:

$$\min \varrho(\mathbf{x}) \quad \text{such that} \quad \mathfrak{\boldsymbol{\upmu}}(\mathbf{x}) = \mathbf{0} \tag{15}$$

where *ψ* represents the set of constraints expressed in the linear form:

$$
\Psi(\mathbf{x}) = \mathbf{D}\_{\Psi}\mathbf{x} + \mathbf{E}\_{\Psi} \tag{16}
$$

and the cost function is expressed in the quadratic form:

$$\boldsymbol{\varphi}(\mathbf{x}) = \frac{1}{2} \mathbf{x}^T \mathbf{D}\_{\boldsymbol{\theta}} \mathbf{x} + \mathbf{x}^T \mathbf{E}\_{\boldsymbol{\theta}} + \boldsymbol{\varphi}\_0 \tag{17}$$

Expressing the matrices shown in (16) and (17) as a function of network quantities, the optimum control problem can solved in explicit form.

It can be observed that the above constraints do not include inequalities. Actually, the quantities that could be constrained by inequalities (e.g., current and power stresses, voltage deviations) are included in the cost function with proper weighting coefficients. The advantage of this approach is that the solution is found in explicit form, thus preventing convergence problems of the solving algorithm and making this latter very fast.

Finally, it is worth remarking that the above approach requires the knowledge of the network topology and network parameters. Actually, even if these data may be not fully available, there are methods presented in literature that allow identification of such information by measurements at grid nodes [24–26].

### **3. Local Control of Electronic Converters**

The literature categorizes the behavior of distributed EPCs when taken singularly in grid-feeding, grid-supporting, and grid forming [27]. In the presence of a centralized microgrid controller dispatching optimal power commands to distributed EPCs, the grid-feeding behavior may be convenient, because it allows to easily operate multiple parallel-connected EPCs following given power references, regardless of grid parameters values. Instead, in case of accidental transition to islanded operation, the grid-supporting behavior may be the most favorable, because it allows

sustaining the voltage of the local sub-grid section became isolated. This is often done by means of hierarchical structures, as described, for example, in [28], which, typically, aim at defining the operating voltage and frequency of the microgrid, but without specific load sharing schemes based on the available resources and network structure. The control structure in Figure 4, firstly presented in [29], combines valuable merits of grid-following and grid-supporting: it achieves output power regulation when the grid voltage if stiff and supports the grid voltage during transients and in case of transitions to the islanded operation.

Specifically, Figure 5 shows the complete structure of an EPC equipped with inner current and voltage controllers and *P*-*f* and *Q*-*V* droop loops. On top of these standard control loops, a power regulator with constrained output is employed. The two power control loops, that is, for the active and reactive powers, modify the droop characteristics by vertical shifts in order to make the converter follow given power references. In case of abnormal grid conditions that occur, for example, if the grid becomes particularly weak or islanded, the power controllers tend to saturate automatically. In this condition, the EPCs behave as traditional droop controlled converters, sharing incremental power needs in inverse proportion to their droop coefficients [27].

Remarkably, the considered control attains output power flow control while operating connected to the main grid, and autonomous operation with load sharing in case islanded operation occurs.

**Figure 4.** Droop control scheme with additional power control loop.

**Figure 5.** Control loops of distributed EPCs. comprising an inner inductor current control loop, voltage control loop, and droop laws.

### **4. Real-Time Simulation Results**

The real-time simulation setup shown in Figure 6 has been implemented in order to evaluate the proposed approaches in steady-state and dynamic conditions. To this end, the benchmark low-voltage network proposed in [30] and arranged as indicated in Figure 7 is considered. Figure 8 displays its model on the real-time simulator.

**Figure 6.** Real-time experimental setup with highlighted the OP4510 real-time simulator executing the network model and the EPCs control algorithms, the NE-ONE communication network emulator, the PC executing the microgrid controller, and the Yokogawa DL850EV for long-term data acquisition, processing, visualization, and recording.

**Figure 7.** Considered low-voltage microgrid.

**Figure 8.** Network model executed in FPGA.

The setup is composed of an OPAL OP4510 real-time simulator to execute the network model and the EPCs control algorithms, an iTrinegy NE-ONE network emulator to emulate the features of a real communication network, a computer to execute the microgrid controller, and the Yokogawa DL850EV for long-term data acquisition, processing, visualization, and recording. The network and the EPCs hardware are implemented using the eHS Gen 4 Solver and executed, with a time-step of 2.5 μs, on the Xilinx FPGA board Kintex-7 325T embedded in the OP4510. EPC controls and communication interface are implemented using Simulink blocks and they executed, with a time-step of 50 μs, on the four cores of the 3.5-GHz Intel Xeon CPU embedded in the OP4510. Such a model partitioning allows performing accurate real-time simulations of the considered network and of the EPC's hardware on FPGA and, concurrently, execute more complex converters controllers on CPU. The microgrid controller for optimal power flow control is implemented in Matlab and executed, with execution frequency of 2 Hz, on the desktop computer. The performances of the used computer are reported by means of the vector returned by the Matlab command bench: [0.12 0.11 0.02 0.13 0.36 0.41]. Control settings and monitoring is allowed by a dedicated graphical user interface, displayed in Figure 9. The microgrid model that is

emulated by the OP4510 and the power flow controller that is executed on the computer exchange information representing power-terms by UDP communication via the network emulator NE-ONE. The network emulator can reproduce ideal or impaired communication conditions by including delays, packet loss or corruption, latencies, etc., which allows validation with realistic communication network performances. Finally, data acquisition, visualization, and storage are performed by the DL850EV. This latter is also exploited for active and reactive power measurements using dedicated, embedded processing functions and real-time computation capabilities.

**Figure 9.** Graphical user interface for monitoring and control settings.
