Next Article in Journal
Influence of the TABS Material, Design, and Operating Factors on an Office Room’s Thermal Performance
Next Article in Special Issue
Intelligent Type-2 Fuzzy Logic Controller for Hybrid Microgrid Energy Management with Different Modes of EVs Integration
Previous Article in Journal
Experimental Identification of a Coupled-Circuit Model for the Digital Twin of a Wound-Rotor Induction Machine
Previous Article in Special Issue
Virtual Inertia Control in Autonomous Microgrids via a Cascaded Controller for Battery Energy Storage Optimized by Firefly Algorithm and a Comparison Study with GA, PSO, ABC, and GWO
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Real-Time Testing Optimal Power Flow in Smart-Transformer-Based Meshed Hybrid Microgrids: Design and Validation †

by
Rafael A. Núñez-Rodríguez
1,2,*,
Clodomiro Unsihuay-Vila
3,
Johnny Posada
4,
Omar Pinzón-Ardila
5,
Alexandre Rasi Aoki
3 and
Rodrigo Bueno-Otto
6
1
School of Engineering, Universidad Autónoma de Bucaramanga, Bucaramanga 680003, Colombia
2
School Electronic Engineering, Unidades Tecnológicas de Santander, Bucaramanga 680005, Colombia
3
Department of Electrical Engineering, Universidade Federal do Paraná, Curitiba 81531-980, Brazil
4
Department of Electronics Engineering, Universidad Autónoma de Occidente, Cali 760030, Colombia
5
School of Electronic Engineering, Universidad Pontificia Bolivariana, Floridablanca 681007, Colombia
6
R Bueno Otto Soluciones, Curitiba 81531-990, Brazil
*
Author to whom correspondence should be addressed.
This paper is an extended version of our paper published in 2023 IEEE Workshop on Power Electronics and Power Quality Applications (PEPQA), Cali, Colombia, 5–6 October 2023; pp. 1–6.
Energies 2024, 17(8), 1950; https://doi.org/10.3390/en17081950
Submission received: 4 January 2024 / Revised: 7 March 2024 / Accepted: 26 March 2024 / Published: 19 April 2024
(This article belongs to the Special Issue New Insights into Microgrids and Renewable Energy Systems)

Abstract

:
The smart transformer (ST) is a multiport and multi-stage converter that allows for the formation of meshed hybrid microgrids (MHMs) by enabling AC-DC ports in medium and low voltage. This type of microgrid has advantages over the performance of conventional hybrid AC-DC microgrids (HMGs); however, the number of degrees of freedom of the ST increases the complexity of the energy management systems (EMSs), which require adequate and accurate modeling of the power flow of the converters and the MG to find the feasible solution of optimal power flow (OPF) problems in the MHM. An ST’s equivalent power flow model is proposed for formulating the MHM OPF problem and developing low-frequency equivalent models integrated with a decoupled hierarchical control architecture under a real-time simulation approach to the ST-based MHM. A simulation model of the MHM in the Simulink® environment of Matlab® 9.12 is developed and implemented under a digital real-time simulation (DRTS) approach on the OPAL-RT® platform. This model allows for determining the accuracy of the developed equivalent models, both low-frequency and power flow, and determining the MHM performance based on optimal day-ahead scheduling. Simulation test results demonstrated the ST equivalent model’s accuracy and the MHM’s accuracy for OPF problems with an optimal day-ahead scheduling horizon based on the model-in-the-loop (MIL) and DRTS approach.

1. Introduction

Developing an efficient and sustainable electricity system under an energy transition approach involves challenges in the system’s design, planning, and operation. This system requires integrating new technologies, such as microgrids and power electronic converters, whose new paradigm is reflected in the modeling and simulation methods used to analyze, control, and manage medium- and low-voltage electrical systems [1]. Under this new paradigm, MGs play an essential role since they allow for the integration of distributed energy resources (DERs) flexibly and efficiently in distribution systems (DSs), even though they require synchronization and reactive power control mechanisms—in AC MGs’ case, voltage regulation mechanisms, and in DC MGs’ case, power dispatch algorithms—which are characteristics that increase the complexity of EMSs in MGs [2]. HMGs allow the advantages of AC and DC systems to be exploited in a flexible, reliable, and economical manner under a radial structure in most applications [3]. However, these structures require voltage regulation strategies since they present drawbacks about voltage surges at the DER coupling points and overloads at the common coupling points (CCPs) of the MG combined with voltage sags at the end of the feeder in the face of high-load-demand events [4]. Recently, ST-based MHMs have been proposed as an answer to the shortcomings of conventional HMGs since they take advantage of the degrees of freedom of the ST [5]. This type of MG allows for the forming of several meshed power flow paths by interconnecting the electronic power interface (EPI) of each DER of the MG with the medium- and low-voltage AC/DC ports of the ST; moreover, it allows for eliminating the coupling of an interconnecting converter (IC), typical of HMGs [6].
For the management of ST-based MHMs, a hierarchical control structure must be integrated. The primary level comprises the control loops of the electronic converters (voltage and current regulation) and power transfer management of the DERs and each stage of the ST. The secondary level is oriented to control power flow, voltage, frequency, and power quality criteria. Finally, the tertiary level seeks to establish decision criteria in the framework of the economic dispatch, the general supervision of the MG, and the generation and demand forecasting, ensuring the optimal operating point of the system [7]. For the design, simulation, and validation of system performance under a hierarchical control approach, mathematical models relating the DER power flow to the MHM are required to formulate and solve an optimization problem at the upper layer of the control and management of the MHM [8]. At the secondary and primary levels, low-frequency equivalent models, whose dominant dynamics are by the simulation horizon, are introduced for system performance analysis under a daily scheduling approach based on demand and generation forecasting [9,10]; these models must be sufficiently detailed so that the dynamics of interest are accurately identified throughout, while at the same time being simple enough to meet real-time simulation constraints [11,12]. Thus, it is necessary to build DRTS schemes with the detail and accuracy required to account for the reliability of both the computational models and the optimal operating point of the MHM.
Off-line (model in the loop—MIL, processor in the loop—PIL, software in the loop—SIL), online, and real-time simulations are the main methods focused on power electronics equipment testing. The digital real-time simulation can be classified into two main categories: (1) an entirely software-based DRTS and (2) hardware-in-the-loop (HIL) RT simulation or HILS. These schemes allow for testing the performance of electrical systems focused mainly on the second and first level of system control. However, with long-term approaches, model adjustments are required to capture relevant dynamics in the study while maintaining the generality of the simulation horizon [13].
Table 1 summarizes the review results of the principal published articles compared with the approach proposed in this paper. First, we seek to identify the publication date and the simulation method. We also determine whether it focuses on converter control (transient analysis) or power flow microgrid management (steady state) and whether ST integration is considered. Finally, we introduce the type of modeling, where equivalent or switched models are considered according to the simulation approach.
According to the information reported in Table 1, it is observed that the HILS method is typically used for analysis under a transient approach considering detailed or switched models. In most cases where a long-term analysis is considered, equivalent models are developed to reduce the computational load [18]; however, some works present hybrid models, switched models in the lower control layers, and equivalent models for long-term system management [29]. On the other hand, it is identified that the DRTS approach presents good performance in both switched models and equivalent models, in addition to the functionalities presented about the steady-state analysis of the system, mainly for long-term analysis for optimal power flow. Finally, it is observed that the reported works that present the study of the ST propose switched structures under an HILS method, focusing mainly on the performance of the control loops of the different ST stages.
Although DRTS and HILS models have been widely implemented to validate the performance of controllers in power electronic converters, even with a long-term approach, no works have been identified that take advantage of the benefits of ST-based MHMs in terms of the EMS performance and availability of ancillary services such as active and reactive power dispatch under a simulation approach, either DRTS or HILS, integrating equivalent and power flow models with a 24 h operation horizon. In this context, a gap is identified regarding DRTS simulation in ST-based MHMs for day-ahead operation and reactive power dispatch; therefore, the main contributions of this work are as follows:
A low-frequency equivalent model is proposed for both the ST with decoupled control loops and the PEIs MHM to develop accelerated DRTS models under long-term simulation tests.
A power flow model from a decoupled ST and PEI structure is proposed to formulate and solve an optimization problem in the MHM’s upper control and management layer for day-ahead operational planning.
A methodology for implementing ST-based MHMs’ DRTS-accelerated models allows for analyzing the system response according to the hierarchical control layer structure under a system daily operational planning approach.
This paper presents the development of a simulation model of an ST-based MHM under the Simulink® environment of Matlab® 9.12 for its subsequent implementation within a DRTS scheme under the OPAL-RT® platform. The feasible solution to the OPF problem is verified from the system performance at the first and second levels of the hierarchical control structure. The management algorithm (third level) provides the optimal system operating points by setting the criteria for active power injection on both the AC and DC sides. Reactive power control is based on the availability of the PVG resource and the battery energy storage system (BESS) (second level). These criteria are translated into references for the operating point of each MG converter, voltage, and current control (first level). On the other hand, the decoupled structure of the ST allows for the control of the power flow between the AC and DC sides of the MHM since the third stage of the ST is considered an active voltage source converter (VSC) whose operating point is set by the management algorithm.
The rest of this paper is organized as follows: Section 2 proposes the power electronic interface, modeling, and power flow equation, as well as the workflow of the DRTS approach; Section 3 presents simulation results and discusses them; while Section 4 concludes this paper.

2. Power Electronic Interface, Modeling, and Power Flow Equation

This section presents the ST’s modular model and the equivalent model averaged to implement the simulation model and the power flow equations. Likewise, the third stage of the ST supports the explanation of the electronic converters’ modeling for coupling the DER and the DC microgrid with the AC microgrid. On the other hand, the power electronic interface converters used for the DER on the AC and DC sides are modeled from the averaged approach proposed in [32,33].

2.1. Smart Transformer Modeling and Control

The ST is a multi-stage, multiport low- and medium-voltage converter for interconnection with hybrid AC-DC systems. In addition to providing services that allow for the replacement of low-frequency transformers (LFTs), the ST is conceived as an energy router since it will enable integrating algorithms for the injection or absorption of active and reactive power, mitigating harmonics, attenuating voltage drops, and limiting the current in case of short-circuit faults [34], among other aspects that allow for forming hybrid meshed microgrids.
A multi-stage modular structure is implemented since the first stage of the ST is connected to the medium-voltage grid. This structure is composed of cascaded H-bridge converter-type modules to increase the reverse voltage input to the AC-DC converter, thus obtaining a configuration of N m modules in series at the converter’s input for each phase of the medium-voltage network. The parallel medium-voltage DC outputs, one for each module, are individually connected to the input port of the second stage of the converter, consisting of a dual active bridge (DAB) converter for each module of the first stage. The secondary of the DAB is connected to a common DC bus, which has multiple functionalities, among them, to couple low-voltage DC lines or as a connection port for the input port of the third stage of the ST, formed from a VSC. Figure 1 shows the modular structure of the ST converters.
A hierarchical and decoupled control structure for each stage of the ST is presented in Figure 2. According to the planned economic dispatch at the third level, the power balance in each stage of the ST is established at the secondary level. Finally, these power requirements are translated into set points for each power converter associated with the ST so that each ST stage can work decoupled, keeping the power balance according to the grid requirements. Under this approach, the ST can work in two modes of operation concerning the direction of the power flow, from medium-voltage to low-voltage (buck mode) or vice versa (boost mode).
In the first stage of the ST, we typically find a cascaded H-bridge converter. The voltage controller of this converter sets the modulation index ( m M V ). This way, power injection or absorption from the main grid can be controlled. The boost mode adjusts the MV current injection ( i M ) into the mains grid according to power quality criteria. The buck mode regulates the M V D C on the DAB primary. The d q references of the current regulator ( i q r , i d r ) are adjusted by the power flow control mechanism.
The second stage of the ST consists of a dual active bridge integrating a high-frequency galvanic coupling. The DAB functionality allows for bidirectional power transfer between the medium- and low-voltage DC ports limited by the maximum power and minimum power ( P m a x ; P m i n ) from the modulation index ( m D A B ) of the DAB. This index is set by the power flow controller based on the required voltage level at M V D C and L V D C from the conditions set by the power reference block and the ST operating mode, which set the reference M V D C r and L V D C r .
The main component in the third stage of the ST is the voltage source converter (VSC). In this stage, ports are coupled on the AC and DC sides, allowing for bidirectional power flow control. In this way, the ST can work as a grid shaper or follower, depending on the connection and disconnection maneuver of the main grid at the common coupling point. On the other hand, this stage’s AC and DC ports allow for the connection of DERs on both AC and DC buses, given the bidirectional control of the ST and the requirements of the MG. According to the first and second levels, the controller sets the modulation index of the converter ( m L V ). For each converter operating mode, the reference voltage and current ( v L r ,   i L r ) are adjusted to maintain the L V A C , where the output of the ST is at a voltage level and frequency suitable to meet the demands of the MG in grid-former mode and current source control in grid-follower mode.
The analysis approach of the simulation models of this work is based on low-frequency models of the electronic converters with the dynamics associated with the response of the controllers, both voltage and current, and the corresponding steady-state response according to the static models of the optimal power flow problem. Thus, the switching elements of each of the ST stages are averaged based on the methodology proposed in [35]. According to the analysis presented in [36], the equivalent low-frequency model of each stage of the ST is shown in Table 2, as well as the transfer function of the linearized small-signal model used to tune the current and voltage controller loops (primary control), according to the active and reactive power requirements (secondary control) set from the optimum operating solution in each hourly period (1 h) with a 24 h horizon.
The control loops for each ST stage are implemented in cascade in the reference plane dq; the faster dynamics are set for the current loop and the slower dynamics for the voltage loops. Each control loop is composed of a PI controller, and the tuning process of the k p and k i constants are performed from the transfer functions in Table 2 using tuning techniques based on the system’s frequency response, ensuring phase margin and gain margin conditions per the process shown in [37]. Under these conditions, the ST can work in either step-down or step-up mode. However, given the nature of the optimization problem addressed in this work, the first and second stages are set in buck mode, so the control loops of the first stage seek to regulate the DC medium-voltage output ( V D A B p ) and those of the second stage seek to regulate the DC low-voltage output ( V D A B s ). For its part, the third stage acts as an inverter for the bidirectional flow control of active power, both on the DC and AC sides, by controlling the amplitude and phase of the inverter current ( i V S C ).

2.2. Power Electronics Interface

PVGs and BESSs are integrated into the microgrid via power electronic interfaces. Power electronic converters are responsible for integrating DERs and local demands into the system in a controlled manner. The most common AC microgrid converter is the VSC, as are DC-DC converters, either unidirectional (PVG) or bidirectional (BESS). As for the mode of operation of power electronic converters, three models can be distinguished: grid-forming, grid-following, and grid-supporting. According to this work’s approach, the converters on the AC side operate in grid-following mode [38]. In contrast, on the DC side, the second stage of the ST operates as a grid-former since it regulates the DC voltage level, and the other converters operate in grid-following mode.
Table 3 presents the basic structures of the PEIs used in the MHM. For the connection of the BESSs on the AC side, a VSC is used, whose dynamics and control are like those presented by the third stage of the ST, where the objective is to control the charging or discharging current of the BESS ( i B E S S ). This same VSC structure is used to couple the PVGs on the AC side; however, in addition to the PI controller in the dq frame, a DC voltage regulator must be added from a feed-forward compensator [39] coupled to a maximum power point tracking (MPPT) algorithm. As for the DC side, the bidirectional DC-DC converter, whose control objective is to regulate the coil current ( i B E S S L ), is used to couple the BESS in the DC microgrid, and, for the PVG, a DC-DC boost configuration with an MPPT algorithm is used, whose objective is to control the current injected into the DC microgrid according to the DER availability ( i P V G L ). All power converter structures are proposed from equivalent models averaged for subsequent implementation according to the simulation model.

2.3. Power Flow Modeling

In this paper, the ST, the VSC, and the BESS are optimized for active and reactive power dispatch control, increasing efficiency and reducing the operational costs of the HMG. To address the optimal power flow problem, equivalent models relating to the power flow between the terminals of the ST, VSC, and DC-DC converters are considered.

2.3.1. Voltage-Sourced Converter Power Flow Model

The VSC allows for the control of the active and reactive power independently for both the PVG and the BESS on the AC side, depending on the expected availability of the resource in the PVG and the state of charge (SoC) of the BESS during a day of operation.
Three approaches to modeling VSCs are presented in Figure 3. The commutated model is ideal for converter and control loop performance analysis based on the dynamic response of the variables of interest in the converter with reasonable accuracy. The averaged model is a model that represents the dominant converter dynamics (low-frequency component) suitable for analysis under a simulation approach with a daily operation horizon, and the power flow model is used to pose and solve the optimization problem, whose optimal solution sets the operating point of each converter in the system.
The approach of the power flow equations as a function of the variables on the AC side—the voltage and phase at the bus B A C k ( V k A C , δ k )—and on the DC side—to the voltage on the bus B D C i ( V i D C )—is realized from power balance Equation (1) according to active power on the AC side ( P k A C V S C ) and active power on the DC side ( P i D C V S C ) together, the losses ( P L o s s i V S C ) associated with the switching of the VSC IGBTs [40] as a quadratic function of the inverter current ( I L o s s i V S C ) (2), and the loss Equation (3), where the coefficients a i , b i , and c i depend on the power and inverter characteristics.
The apparent power rating ( S k A C V S C m a x ) limits the dispatch of active and reactive power in the VSC of the inverter on the AC side. The operating space of the inverter can be seen in a PQ plane representing the semicircle around the positive active power axis. The behavior of this semicircle is defined according to the operation of the VSC [41].
P k A C V S C + P i D C V S C + P L o s s i   V S C = 0
I L o s s i V S C = P k A C V S C 2 + Q k A C V S C 2 V k A C  
P L o s s i V S C = a i + b i I L o s s i V S C + c i I L o s s i V S C 2
Figure 4 shows the VSC operating region for the PVG (a) and BESS (b) in the PQ plane. In this region, a minimum power factor ( P F m i n ), which sets the operating limit of the VSC, is considered. Thus, the reactive power ( Q k A C V S C ) available for dispatch is restricted to the amount of active power ( P k A C V S C ) available in the PVG based on a maximum power point tracking (MPPT) algorithm, whereas, for the BESS, an operation in the four quadrants of the PQ plane is observed since the BESS operates in charge ( P m a x C h E S S ) or discharge ( P m a x D c h E S S ) mode limited by the maximum active power in the VSC and physical characteristics of the BESS.
In both modes of operation, the BESS VSC can control the reactive power injection Q A C V S C . So, the operational restrictions of the reactive power injection at all times t , limited by P F m i n defined by the inverter characteristics, are described as follows in (4) and (5). The OPF algorithm adjusts the control variable Q k , t A C P V G and Q k , t A C E S S at each time instant according to the following operational constraints.
t a n θ P F m i n A C P V G P k , t A C P V G   Q k , t A C P V G   t a n θ P F m i n A C P V G P k , t A C P V G  
t a n θ P F m i n A C E S S P k A C E S S m a x Q k , t A C E S S   t a n θ P F m i n A C E S S P k A C E S S m a x

2.3.2. ST Equivalent Power Flow Model

Given the proposed structure in Table 2 and Figure 1 and Figure 2, a hierarchical and decoupled control structure is identified. This structure allows for the integration of independent and bidirectional power flow control mechanisms, enabling additional freedom for power flow control on both the AC and DC sides.
Based on Figure 5, an equivalent active VSC of the ST is presented to pose the power flow equations at the low-voltage ports on both AC and DC sides. Thus, the first (cascade H-bridge) and second (DAB) stages of the ST are modeled as an equivalent controlled DC feeder ( G D C i ) considering the generator-coupling bus as a slack node that regulates the voltage on the DC side of the MHM, with an available power ( P i G D C ). For its part, the third stage (VSC) of the ST allows for controlling the injection of active power ( P k V S C A C ) and reactive power ( Q k V S C A C ) on the AC side or active power ( P i V S C D C ) on the DC side. The power balance equations are described by (6), (7) for the AC side, and (8) for the DC side. The active power balance in the VSC is defined in the same way as in (1) to (3) and that of the reactive power is defined as proposed in (4) and (5).
P k , t G A C + P k , t A C S T P k , t L A C P k , t V , δ = 0
Q k , t G A C + Q k , t A C S T Q k , t L A C Q k , t V , δ = 0
P i , t G D C + P i , t D C S T P i , t L D C P i , t D C V = 0

2.3.3. DC-DC Converters Equivalent Power Flow Model

The model representing the power supplied by the PVG on the DC side during each period is presented in (9).
P P V G t = μ S I r r t
where P P V G t corresponds to the maximum power that the PVG can inject in period t , μ S is the productivity coefficient associated with the solar panel and the efficiency of the converter, and I r r t corresponds to the irradiance measured in W / m 2 perpendicular to the surface of the solar panel in each period t .
The BESS power flow model shapes the constraints associated with the energy storage elements on both the AC and DC sides. The power flow equations for all time to the BESS, from (10) to (14), are based on the model proposed in [42].
U i , t E S S D C C + U i , t E S S D C D 1
P i , t E S S D C = P i , t E S S D C C η C P i , t E S S D C D η D
0 P i , t E S S D C C U i , t E S S D C C P i E S S D C m a x
0 P i , t E S S D C D U i , t E S S D C D P i E S S D C m a x
E i , t D C E S S = E i , t 1 D C E S S + P i , t D C E S S t
where, for the i t h BESS, U i , t E S S D C C represents a binary variable indicating BESS charging, U i , t E S S D C D represents a binary variable indicating BESS discharging, P i , t E S S D C C and P i , t E S S D C D represent the charging and discharging power, respectively, and η C and η D represent the charging and discharging efficiency of the BESS and DC-DC converters. Finally, the battery state of charge is represented by E i , t E S S D C . The model of the k t h battery on the AC side is similar to those presented in Equations (10)–(14), with the corresponding changes to the indexes, superscripts, and VSC’s dynamic. The reactive power dispatch of the BESS on the AC side is given by (5).

2.4. Optimal Power Flow Modeling

Power flow constraints are established on the MHM’s AC and DC sides. On the AC side, the equations are formulated in polar form from the network admittance matrix based on the pi model of the line. On the DC side, the equations are developed from the conductance matrix and the voltage at the DC buses. The array g k l b k l represents the series admittance of the line while b k l s h represents its susceptance on the AC side. On the DC side, the conductance is represented by g i j . The active power P k l A C   and reactive power Q k l A C   flowing through the line on the AC side, in per unit (p.u.), is calculated from (15) and (16).
P k l A C = g k l V k A C 2 V k A C V l A C g k l C o s   δ k l + b k l S i n   δ k l
Q k l A C = b k l + b k l s h V k A C 2 V k A C V l A C b k l C o s   δ k l + g k l S i n   δ k l
where δ k l = δ k δ l . The active and reactive power balance is presented according to (17) and (18).
l N k P k l A C = P k G A C + P k P V A C + P k V S C A C P k E S S A C P k L A C
l N k Q k l A C = Q k G A C + Q k P V A C + Q k V S C A C Q k E S S A C Q k L A C
where l N k are the nodes directly connected to node k . The active power P i j D C flowing through the line on the DC side, in per unit (p.u.), is calculated from (19). The active power balance at a node i is given by (20), where j N i are the nodes directly connected to node i .
P i j D C = g i j V i D C 2 V i , t D C V j D C g i j
j N i P i j D C = P i G D C + P i P V D C + P i V S C D C P i E S S D C P i L D C
The optimization problem aims to minimize the expected operational cost, loss, and voltage regulation over various time horizons (24 h) while satisfying various physical constraints of the MHM. Specifically, the objective function ( f ), for all time t , should include (i) the operation cost ( f c o s t ); (ii) network losses ( f l o s s ); and (iii) voltage deviation ( f d V A C ;   f d V D C ), due in (21). w c , w l , and w d are the weight factors of network losses ( w l ), voltage deviation ( w d ), and operation cost ( w c ), and w c + w l + w d = 1 .
f = m i n   t = 0 T w c f c , t   + w l f l , t + w d f d V A C , t + f d V D C , t f c , t = c k G A C k = 0 N G A C P k , t G A C + c i G D C i = 0 N G D C P i , t G D C + c k E S S A C k = 0 N E S S A C P k , t E S S A C C + P k , t E S S A C D + c i E S S D C i = 0 N E S S D C P i , t E S S D C C + P i , t E S S D C D f l , t = k = 0 N G A C P k , t G A C + i = 0 N G D C P i , t G D C + k = 0 N P V G A C P k , t P V A C + i = 0 N P V G D C P i , t P V D C k = 0 N E S S A C P k , t E S S A C + i = 0 N E S S D C P i , t E S S D C + k = 0 N L A C P k , t L A C + i = 0 N L D C P i , t L D C f d V A C , t = k = 0 N A C V k , t A C V r e f A C 2 ;   f d V D C , t = i = 0 N D C V i , t D C V r e f D C 2
where c k G A C , c i G D C , c k E S S A C , and c i E S S D C correspond to the costs of energy exchange with the main medium-voltage grid and the operating costs of the BESS, both on the AC and DC sides, respectively. On the other hand, N G A C , N E S S A C , N P V G A C , N L A C , N G D C , N E S S D C , N P V G D C , and N L D C relate to the generator set, BESS set, PVG set, and loads set on both AC and DC sides, respectively.

2.5. Digital Real-Time Simulation Testing

The MIL and SRTS approach is used to test the PEI controllers’ performance and the MHM power balance based on the solution of the OPF problem. The platform for the DRTS application is the FPGA-based real-time hardware simulator RCP/HIL from the manufacturer OPAL-RT® Technology, which provides a reliable real-time digital simulation tool focused on power system network modeling and associated controls prototyping and system evaluation, either with averaged or switched models.
Before starting tests with the MHM through DRTS, an MIL simulation approach was used, in which the behavior and performance of the individual equivalent models in Table 2 and Table 3 were tested, as well as the control loops and dominant dynamics associated with each PEI and DER. These equivalent models were programmed into the Simulink® interface of Matlab® 9.12 using the Simscape® toolbox (MathWorks, Natick, MA, USA). The data collected during the MIL simulation served as a reference during the DRTS phase since this phase integrates the individual models with the control loops to form the MHM and the benchmarks set by the OPF algorithm.
Under a DRTS approach, the RT simulator must reproduce the internal variables of the models and generate computational results accurately in the same time frame as the real physical system would. Thus, RT simulations run all operations during a fixed sampling period to avoid overloads and overlapping of operations in successive sampling periods. The models proposed in this work have been implemented in the OP4510 simulator (OPAL-RT®, Montréal, QC, Canada) with a field-programmable gate array (FPGA) based on Xilinx® Kintex® 7 (AMD, Wixom, MI, USA). To enforce the models in the RT simulator, they must pass an MIL process in Simulink® and then be compiled and optimized in the RT-Lab® 2023.1 and executed on the OP4510 platform (OPAL-RT®, Montréal, QC, Canada). The visualization of the model signals develops on the host (personal computer) with the general-purpose operating system. On the other hand, high-performance codes representing the model under analysis are executed on the target node (RT simulator). Synchronization between the host and the RT simulator is performed via a UDP/IP communication link.
A conceptual model of the MHM model workflow under a DRTS approach is presented in Figure 6. The feasible solution to the optimization problem for the daily scheduling of the MHM is transferred from the third level of the hierarchical control structure to the second level from a CSV file. In this file, the feasible operating points of each converter associated with the MHM are set at intervals of 1 h. From the second level, the operating modes of each converter and the set points for the voltage and current controllers at the first level of control are determined. Thus, it is necessary to scale the sampling periods at each control level. Hence, the first level updates the feasible solution every 1 s (1 s of simulation is equivalent to 1 h), and the second level takes the same time to update the references. For its part, the primary level works at the same sampling frequency set in the RT simulator, 100 μs, according to the dominant dynamics of each converter. The signals of the MHM variables are displayed on the host and stored with the DataLogger tool in the RT-Lab® 2023.1 environment.

3. Simulation Results and Discussion

This section presents results and discussions on the proposed computational model to evaluate its performance from an ST-based MHM simulation scheme under a DRTS approach on the OPAL-RT® platform.
The multiobjective optimal power flow problem posed in (1) through (21) was programmed in Python 3.9.5. The Spyder 5.4.2 integrated development environment under the Pyomo 6.5.0 framework was used. The feasible solution at each period was determined from the Ipopt solver, given the nonlinearities in the power flow equations of the system. The set of feasible solutions generated by the optimization algorithm was imported from the DRTS simulation model from a flat file. In this file, an optimal operating point of each DER’s PEI, each ST stage, and each feeder is related to the demand profiles and PVG profiles in each hour of operation for a 24 h horizon. Figure 7 shows the load and PVG profiles in p.u. (50 kW base) that were used to formulate and solve the proposed OPF. The profiles were imported into the simulation model in Simulink® under the DRTS approach.
The benchmark reported in [43] is taken as a reference, in which the parameters of the three-phase lines, balancing nominal demand and bus connections of the low-voltage DS with a radial structure, are related. An equivalent schematic of a modified MHM line is shown in Figure 8. It comprises four DC buses (blue line), six AC buses (red line), an ST, and a VSC. The ST allows for the coupling of a second AC medium-voltage feeder on the first stage of the ST. The MHM consists mainly of loads, a BESS, PVG, and feeders on the AC and DC sides. The power electronic interface (PEI) of each DER, implemented in the simulation model, is a low-frequency equivalent model whose dominant dynamics are associated with the energy storage elements’ power transfer and time constant, according to the models in Table 3.
Two approaches are used to analyze the system performance. The first approach is oriented to the analysis of the response of the PEI and ST stages according to the primary and secondary control levels to reference changes in the active and reactive power levels reflected in the instantaneous response of voltage and current. On the other hand, the second approach seeks to determine the system performance according to the tertiary level of control based on the optimal response of the OPF decision variables. These variables are associated with the power flow to the active ( P k , t A C S T ) and reactive ( Q k , t A C S T ) power of the ST, Equations (6) and (7), as well as to the equivalent power of the DC generator at the ST output ( P i , t G D C ) in (8). Similarly, other variables associated with the active and reactive power generation profiles ( P k , t G A C ; Q k , t G A C ) of the AC feeder connected to the C0 bus on the AC side are taken as reference.
Figure 9 shows the response of the VSC’s voltage and current control loop connected to the PVGs on the AC side of the MHM. This converter only allows for reactive power control since the active power depends on the irradiance, according to (9). The VSC is subjected to changes in the level of reactive power injected into the grid. Figure 9 shows the phase shift of the current according to the variation in the power factor given by the reference change between −1.5 kVAR and 1.5 kVAR. This variation in the power factor is reflected by the phase shift of the current between 2 s and 2.25 s of simulation. The response of the power control loop has a settling time close to 10 ms. This time is a reference for scaling the simulation period, and reference changes for a 24 h horizon in 24 s.
The VSC connected in the third stage of the ST has a particular feature: the DC port is regulated by a DAB (second stage of the ST). In addition, this converter allows for the independent control of active and reactive power according to the operating point set by the EMS. In this way, the response of the control loops at the second and first levels is validated. Changes are made in the active and reactive power reference points, −2.5 kW to 2.5 kW and −1.25 kVAR to 1.25 kVAR, respectively. With these changes in active and reactive power injection, the transient response of the power controller is shown in Figure 10. The effect of active and reactive power on the voltage and current at the bus connection is also observed. The reactive power directly affects the voltage amplitude and current phase. In contrast, the active power has a more significant effect on the current amplitude, thus allowing for bidirectional power flow control and, at the same time, voltage regulation according to the optimization objective, voltage deviation reduction. The combination of the reference changes allows us to validate the performance of the third stage of the ST in the four quadrants of the p q plane, like the one presented in Figure 4b.
The low-voltage DAB output is a reference point since this port of the ST serves as a coupling point for the DC side of the MHM. This output supplies active power to both the VSC input of the third stage of the ST and the DC bus of the MHM and, at the same time, serves as a slack node on the DC side since the DAB control loops regulate the voltage on the DC bus. Thus, the DAB output is posed as a DC feeder in the power flow equations for the OPF problem. Figure 11 shows the response of the power supplied to the DAB output of the ST P i , t G D C under a DRTS approach. A slight shift is observed between both curves since the optimal solution is derived from models that only consider static conditions in the load and DER’s PEI. On the other hand, the low-frequency equivalent model of the converters shows proper transient operational responses of the system state variables and the nonlinear conditions of the power transfer elements, which are typical conditions of power electronic converters.
Finally, according to the equations and power balance, the third stage of the ST functions as a rectifier that, together with the equivalent DC generator at the output of the DAB, injects active power into the MHM on the DC side to supply the load needs and optimize the utilization of the BESS according to SoC.
Figure 12 and Figure 13 present the active and reactive power response, respectively, at the low-voltage output of the ST. The red colored curves represent the feasible operating points of the ST, set as a reference for the VSC control loops of the third stage of the ST. Regarding the active power, it is observed that the system response presents a tracking close to the reference, presenting a deviation between 14:30 h and 19:00 h, given that the peak demand occurs at this point, according to Figure 7. This scenario produces a change in the operating point of the PEI and, consequently, affects the performance of the ST control loops.
On the other hand, the reactive power response shows a tracking close to that expected based on the reference curves generated by the solver of the OPF problem. In the time interval, the peak demand occurs between 16:00 and 20:00 h, and the reactive power injection is increased to compensate for the demand and regulate the voltage. This feature shows that an ST is a versatile device for routing power from the AC or DC sides to compensate for the grid requirements for optimal operation.
Figure 14 and Figure 15 show the response of both the active and reactive power of the AC power supply coupled to bus 0 on the AC side. The active and reactive power response shows a slight deviation concerning the expected value at each time instant based on the optimal solution and power balance according to the OPF model. Given the dynamics not contemplated in formulating and solving the OPF problem, this feature is expected. These variables are representative of the validation of the equivalent models’ accuracy and the solver’s feasible solution. These variables allow for determining the overall power balance of the system from the AC side. Since the general power balance presents a high coincidence with the reference values, it indicates that the balance of each element of the MHM is adequate.
Table 4 presents metrics to compare the reference data array with the data obtained from the real-time model, such as root-mean-square error (RMSE), mean absolute percentage error (MAPE), and Pearson’s linear correlation coefficient (Rho).
The error and correlation metrics in Table 4 demonstrate the degree of accuracy of the results of the validation process and performance analysis of the DRTS model. Regarding the error, variables with a high error compared to others are identified, mainly due to the transient component of the system response. In contrast, when observing the Pearson coefficient, the analyzed variables present a high linear correlation regarding signal shape and trend. Thus, it is identified that, even though the signals have an offset, given the dynamics not modeled in the system, the computational model of the OPF, the low-frequency equivalent models, and the approximation of the ST as an active VSC are adequate and accurate approximations for the analysis of these types of systems.

4. Conclusions

A simulation model with an MIL and SIL approach is proposed that seeks to validate the equivalent power flow model of the ST as an active VSC coupled to a DC generator. An OPF model is presented from each DER’s ST and PEI power flow models. These results establish the reference points in each MG converter control loop to set the operating point for optimal MG operation according to the optimization algorithm.
The decoupled structure of the TS, under a hierarchical control scheme, allowed the approach of power flow equations to formulate and solve an optimization problem in the upper control and management layer of the MHM for daily operational planning. In this way, it was possible to validate the performance of an equivalent low-frequency model for both the ST with decoupled control loops and the PEIs MHM from the results of the DRTS tests. Finally, it was possible to apply a methodology for implementing accelerated DRTS models of the MHM based on an ST to analyze the system response according to the hierarchical control layer structure under a daily operational planning approach.
As future work, the system needs to validate the performance of the system under an HILS approach, which integrates specialized ST hardware and enables integration with an energy management algorithm, thus allowing for the validation control loops and, at the same time, validating the overall performance of the system with a daily planning horizon. On the other hand, to improve the transient response of the control loops of the ST stages, it is required to implement strategies that integrate feedforward compensation loops.

Author Contributions

R.A.N.-R.: conceptualization, methodology, data curation, writing—original draft preparation; J.P.: conceptualization, methodology, visualization, investigation; C.U.-V.: supervision, formal analysis, resources; O.P.-A.: methodology, writing—reviewing and editing, funding acquisition; A.R.A.: project administration, software, resources; R.B.-O.: software, validation, data curation. All authors have read and agreed to the published version of the manuscript.

Funding

This research was partially supported by the Science, Technology, and Innovation Fund of the General System of Royalties under the Excellence Scholarship Program-Ministry of Science, Technology, and Research–Minciencias-Colombia.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Gaitán Cubides, L.F.; González Sánchez, J.W.; Giraldo Velazquez, L.A. A Review of Real Time Digital Simulations: Theory and Applications for the Energy Transition. IEEE Lat. Am. Trans. 2022, 20, 2295–2307. [Google Scholar] [CrossRef]
  2. Al-Ismail, F.S. DC Microgrid Planning, Operation, and Control: A Comprehensive Review. IEEE Access 2021, 9, 36154–36172. [Google Scholar] [CrossRef]
  3. Ilyushin, P.; Volnyi, V.; Suslov, K.; Filippov, S. State-of-the-Art Literature Review of Power Flow Control Methods for Low-Voltage AC and AC-DC Microgrids. Energies 2023, 16, 3153. [Google Scholar] [CrossRef]
  4. Sun, X.; Zhang, W.; Chen, J. Optimize globally, control locally: Coordinated optimal local voltage control in hybrid AC/DC microgrid. Int. J. Electr. Power Energy Syst. 2020, 118, 105734. [Google Scholar] [CrossRef]
  5. Das, D.; Hrishikesan, V.M.; Kumar, C.; Liserre, M. Smart Transformer-Enabled Meshed Hybrid Distribution Grid. IEEE Trans. Ind. Electron. 2021, 68, 282–292. [Google Scholar] [CrossRef]
  6. Ahmed, M.; Meegahapola, L.; Vahidnia, A.; Datta, M. Stability and Control Aspects of Microgrid Architectures—A Comprehensive Review. IEEE Access 2020, 8, 144730–144766. [Google Scholar] [CrossRef]
  7. Kumar, C.; Manojkumar, R.; Ganguly, S.; Liserre, M. Impact of Optimal Control of Distributed Generation Converters in Smart Transformer Based Meshed Hybrid Distribution Network. IEEE Access 2021, 9, 140268–140280. [Google Scholar] [CrossRef]
  8. Wood, A. Power Generation, Operation, and Control, 3rd ed.; John Wiley & Sons: Hoboken, NJ, USA, 2013. [Google Scholar]
  9. Magro, M.C.; Giannettoni, M.; Pinceti, P.; Vanti, M. Real-time simulator for microgrids. Electr. Power Syst. Res. 2018, 160, 381–396. [Google Scholar] [CrossRef]
  10. Vijay, A.S.; Doolla, S. Real-Time Testing of Microgrids. In Microgrids; Springer: Cham, Switzerland, 2021; pp. 615–630. [Google Scholar]
  11. Abedini, H.; Caldognetto, T.; Mattavelli, P.; Tenti, P. Real-Time Validation of Power Flow Control Method for Enhanced Operation of Microgrids. Energies 2020, 13, 5959. [Google Scholar] [CrossRef]
  12. De Carne, G.; Lauss, G.; Syed, M.H.; Monti, A.; Benigni, A.; Karrari, S.; Kotsampopoulos, P.; Faruque, O. On Modeling Depths of Power Electronic Circuits for Real-Time Simulation—A Comparative Analysis for Power Systems. IEEE Open Access J. Power Energy 2022, 9, 76–87. [Google Scholar] [CrossRef]
  13. AhmadiAhangar, R.; Rosin, A.; Niaki, A.N.; Palu, I.; Korõtko, T. A review on real-time simulation and analysis methods of microgrids. Int. Trans. Electr. Energy Syst. 2019, 29, e12106. [Google Scholar] [CrossRef]
  14. Abrishambaf, O.; Faria, P.; Gomes, L.; Spínola, J.; Vale, Z.; Corchado, J. Implementation of a Real-Time Microgrid Simulation Platform Based on Centralized and Distributed Management. Energies 2017, 10, 806. [Google Scholar] [CrossRef]
  15. De Carne, G.; Liserre, M.; Vournas, C. Online Load Sensitivity Identification in LV Distribution Grids. IEEE Trans. Power Syst. 2017, 32, 1570–1571. [Google Scholar] [CrossRef]
  16. Bhandakkar, A.A.; Mathew, L. Real-Time-Simulation of IEEE-5-Bus Network on OPAL-RT-OP4510 Simulator. IOP Conf. Ser. Mater. Sci. Eng. 2018, 331, 012028. [Google Scholar] [CrossRef]
  17. Almaguer, J.; Cárdenas, V.; Espinoza, J.; Aganza-Torres, A.; González, M. Performance and Control Strategy of Real-Time Simulation of a Three-Phase Solid-State Transformer. Appl. Sci. 2019, 9, 789. [Google Scholar] [CrossRef]
  18. Sirviö, K.H.; Mekkanen, M.; Kauhaniemi, K.; Laaksonen, H.; Salo, A.; Castro, F.; Babazadeh, D. Accelerated Real-Time Simulations for Testing a Reactive Power Flow Controller in Long-Term Case Studies. J. Electr. Comput. Eng. 2020, 2020, 8265373. [Google Scholar] [CrossRef]
  19. Bonassi, F.; La Bella, A.; Fagiano, L.; Scattolini, R.; Zarrilli, D.; Almaleck, P. Software-in-the-loop testing of a distributed optimal scheduling strategy for microgrids’ aggregators. In Proceedings of the 2020 IEEE PES Innovative Smart Grid Technologies Europe (ISGT-Europe), The Hague, The Netherlands, 26–28 October 2020; pp. 985–989. [Google Scholar] [CrossRef]
  20. Zhang, X.; Li, Y.; He, G. The establishment of real time simulation platform of AC/DC system based on power electronic transformer. IOP Conf. Ser. Earth Environ. Sci. 2021, 675, 012069. [Google Scholar] [CrossRef]
  21. Das, D.; Kumar, C. Partial Startup Scheme for Smart Transformer in Meshed Hybrid Islanded Grid Operation. IEEE Trans. Ind. Appl. 2022, 58, 142–151. [Google Scholar] [CrossRef]
  22. Ertay, M.M.; Chowdhury, D.; Biswas, M.M.; Ginn, H.L. Real-Time Simulations for Testing of a Low-Voltage Microgrid with MMC-DSTATCOM. In Proceedings of the 2022 IEEE 20th International Power Electronics and Motion Control Conference (PEMC), Brasov, Romania, 25–28 September 2022; pp. 522–529. [Google Scholar] [CrossRef]
  23. Kim, S.-W.; Lee, H.-J.; Kim, D.-S. Power Converter Design Based on RTDS Implementation for Interconnecting MVDC and LVDC. J. Electr. Eng. Technol. 2022, 17, 1751–1760. [Google Scholar] [CrossRef]
  24. Qian, Z.; Cao, S.; Jiang, H.; Krishnan, S.B.; Tan, K.T.; Tseng, K.J. Optimized EMS Real-Time Simulation and Validation for Singapore Pulau Ubin Microgrid. In Proceedings of the 2022 12th International Conference on Power and Energy Systems (ICPES), Guangzhou, China, 23–25 December 2022; pp. 401–406. [Google Scholar] [CrossRef]
  25. Palaniappan, R.; Molodchyk, O.; Shariati-Sarcheshmeh, M.; Asmah, M.W.; Liu, J.; Schlichtherle, T.; Richter, F.; Kwofie, E.A.; Festner, D.R.; Blanco, G.; et al. Experimental verification of smart grid control functions on international grids using a real-time simulator. IET Gener. Transm. Distrib. 2022, 16, 2747–2760. [Google Scholar] [CrossRef]
  26. Vasquez-Plaza, J.; Lopez-Chavarro, A.; Sanabria-Torres, E.; Patarroyo-Montenegro, J.; Andrade, F. Benchmarking Real-Time Control Platforms Using a Matlab/Simulink Coder with Applications in the Control of DC/AC Switched Power Converters. Energies 2022, 15, 6940. [Google Scholar] [CrossRef]
  27. Ewais, A.M.; Elnoby, A.M.; Mohamed, T.H.; Mahmoud, M.M.; Qudaih, Y.; Hassan, A.M. Adaptive frequency control in smart microgrid using controlled loads supported by real-time implementation. PLoS ONE 2023, 18, e0283561. [Google Scholar] [CrossRef] [PubMed]
  28. Muhsen, H.; Alkhraibat, A.; Al-Halhouli, A. Real-Time Simulation and Energy Management Attainment of Microgrids. Sustainability 2023, 15, 2696. [Google Scholar] [CrossRef]
  29. Wagle, R.; Sharma, P.; Sharma, C.; Amin, M.; Rueda, J.L.; Gonzalez-Longatt, F. Optimal power flow-based reactive power control in smart distribution network using real-time cyber-physical co-simulation framework. IET Gener. Transm. Distrib. 2023, 17, 4489–4502. [Google Scholar] [CrossRef]
  30. Das, D.; Kumar, C.; Liserre, M. Stabilization of Smart Transformer Based Islanded Meshed Hybrid Microgrid during Electric Vehicle Charging Transients. IEEE J. Emerg. Sel. Top. Ind. Electron. 2023, 4, 1255–1264. [Google Scholar] [CrossRef]
  31. Kikusato, H.; Orihara, D.; Hashimoto, J.; Takamatsu, T.; Oozeki, T.; Matsuura, T.; Miyazaki, S.; Hamada, H.; Miyazaki, T. Power hardware-in-the-loop testing for multiple inverters with virtual inertia controls. Energy Rep. 2023, 9, 458–466. [Google Scholar] [CrossRef]
  32. Pavlovic, T.; Bjazic, T.; Ban, Z. Simplified Averaged Models of DC–DC Power Converters Suitable for Controller Design and Microgrid Simulation. IEEE Trans. Power Electron. 2013, 28, 3266–3275. [Google Scholar] [CrossRef]
  33. Wang, J.; Gao, S.; Ji, Z.; Sun, Y.; Hong, L.; Luo, F.; Gu, W. Time/frequency domain modelling for grid-connected MMC sub-synchronous/super-synchronous oscillation in PV MVDC power collection and integration system. IET Renew. Power Gener. 2019, 13, 57–66. [Google Scholar] [CrossRef]
  34. Jakka, V.N.; Acharya, S.; Anurag, A.; Prabowo, Y.; Kumar, A.; Parashar, S.; Bhattacharya, S. Protection design considerations of a 10 kV SiC MOSFET enabled mobile utilities support equipment based solid state transformer (muse-SST). In Proceedings of the IECON 2018-44th Annual Conference of the IEEE Industrial Electronics Society, Washington, DC, USA, 21–23 October 2018; pp. 5559–5565. [Google Scholar] [CrossRef]
  35. Bacha, S.; Munteanu, I.; Bratcu, A.I. Power Electronic Converters Modeling and Control; Springer: London, UK, 2014. [Google Scholar]
  36. Shri, A. A Solid-State Transformer for Interconnection between the Medium- and the Low-Voltage Grid Design, Control and Behavior Analysis Challenge the Future. 2013. Available online: https://repository.tudelft.nl/islandora/object/uuid%3A3bb366d5-6f87-4636-a4a3-0245269125f5 (accessed on 7 November 2022).
  37. Jeyapradha, R.B.; Rajini, V. Small signal averaged transfer function model and controller design of modular solid state transformers. ISA Trans. 2019, 84, 271–282. [Google Scholar] [CrossRef]
  38. Levron, Y.; Belikov, J.; Baimel, D. A tutorial on dynamics and control of power systems with distributed and renewable energy sources based on the DQ0 transformation. Appl. Sci. 2018, 8, 1661. [Google Scholar] [CrossRef]
  39. Yazdani, A.; Iravani, R. Voltage-Sourced Converters in Power Systems: Modeling, Control, and Applications; John Wiley and Sons: Hoboken, NJ, USA, 2010. [Google Scholar]
  40. Zhao, Q.; García-González, J.; Gomis-Bellmunt, O.; Prieto-Araujo, E.; Echavarren, F.M. Impact of converter losses on the optimal power flow solution of hybrid networks based on VSC-MTDC. Electr. Power Syst. Res. 2017, 151, 395–403. [Google Scholar] [CrossRef]
  41. Lachovicz, F.J.; Fernandes, T.S.P.; Vilela Junior, J.A. Impacts of PV-STATCOM Reactive Power Dispatch in the Allocation of Capacitors Bank and Voltage Regulators on Active Distribution Networks. J. Control Autom. Electr. Syst. 2023, 34, 796–807. [Google Scholar] [CrossRef]
  42. Wang, X.; Yang, W.; Liang, D. Multiobjective Robust Optimization of Hybrid AC/DC Distribution Networks Considering Flexible Interconnection Devices. IEEE Access 2021, 9, 166048–166057. [Google Scholar] [CrossRef]
  43. Strunz, K.; Abbey, C.; Andrieu, C.; Campbell, R.C.; Fletcher, R. Benchmark Systems for Network Integration of Renewable and Distributed Energy Resources; TF C6.04.02; CIGRE: Paris, France, 2014. [Google Scholar]
Figure 1. ST’s multi-module, multi-stage structure.
Figure 1. ST’s multi-module, multi-stage structure.
Energies 17 01950 g001
Figure 2. The three-stage ST’s basic structure and hierarchical control structure.
Figure 2. The three-stage ST’s basic structure and hierarchical control structure.
Energies 17 01950 g002
Figure 3. VSC’s modeling.
Figure 3. VSC’s modeling.
Energies 17 01950 g003
Figure 4. The VSC’s operating region is coupled to the PVG (a) and connected to the BESS (b).
Figure 4. The VSC’s operating region is coupled to the PVG (a) and connected to the BESS (b).
Energies 17 01950 g004
Figure 5. Equivalent ST power flow model.
Figure 5. Equivalent ST power flow model.
Energies 17 01950 g005
Figure 6. Diagram of the DRTS approach.
Figure 6. Diagram of the DRTS approach.
Energies 17 01950 g006
Figure 7. PVG and load profile.
Figure 7. PVG and load profile.
Energies 17 01950 g007
Figure 8. Real-time MHM benchmark’s model.
Figure 8. Real-time MHM benchmark’s model.
Energies 17 01950 g008
Figure 9. Controller transient response of PVG’s VSCs.
Figure 9. Controller transient response of PVG’s VSCs.
Energies 17 01950 g009
Figure 10. Controller transient response of ST’s third stage.
Figure 10. Controller transient response of ST’s third stage.
Energies 17 01950 g010aEnergies 17 01950 g010b
Figure 11. Active power output DAB of the ST.
Figure 11. Active power output DAB of the ST.
Energies 17 01950 g011
Figure 12. Active power output VSC of the ST.
Figure 12. Active power output VSC of the ST.
Energies 17 01950 g012
Figure 13. Reactive power output VSC of the ST.
Figure 13. Reactive power output VSC of the ST.
Energies 17 01950 g013
Figure 14. Active power output AC generator.
Figure 14. Active power output AC generator.
Energies 17 01950 g014
Figure 15. Reactive power output AC generator.
Figure 15. Reactive power output AC generator.
Energies 17 01950 g015
Table 1. Comparison of findings in the literature review.
Table 1. Comparison of findings in the literature review.
Ref.DateApproachMethodSTModeling Type
[14]2017TransientHILS-Commutate
[15]2017TransientHILSCommutate
[16]2018Steady StateDRTS-Equivalent
[17]2019TransientHILSCommutate
[18]2020Steady StateHILS-Equivalent
[19]2020Steady StateSIL-Equivalent
[11]2020TransientDRTS-Commutate
[5]2021TransientHILSCommutate
[20]2021TransientHILSCommutate
[21]2022TransientHILSCommutate
[22]2022TransientSIL-Commutate
[23]2022TransientDRTS-Commutate
[24]2022Steady StateDRTS-Commutate
[25]2022Steady StateDRTS-Equivalent
[26]2022TransientHILS-Commutate
[27]2023TransientDRTS-Commutate
[28]2023TransientDRTS-Equivalent
[29]2023Steady State
Transient
HILS-Commutate
Equivalent
[30]2023TransientHILSCommutate
[31]2023TransientHILS Commutate
Purposed2024Steady State
Transient
DRTSEquivalent
Table 2. ST’s simplified averaged model and transfer function.
Table 2. ST’s simplified averaged model and transfer function.
StageTransfer FunctionOperation ModeControl
Objective
Energies 17 01950 i001 i ^ d M V d d C H B = N m V D A B p L C H B s + R C H B L C H B s + R C H B 2 + ω g 2 L C H B 2
i ^ q M V d q C H B = N m V D A B p L C H B s + R C H B L C H B s + R C H B 2 + ω g 2 L C H B 2
V ^ D A B 1 i ^ d M V = D d C H B L C H B s + R C H B D d C H B ω g L C H B N m D d C H B 2 + 3 L C H B s + R C H B C D A B p s
Buck V D A B p
Energies 17 01950 i002 V ^ D A B s i ^ D A B s = R L 2 2 D D A B + 1 R L 2 C D A B 2 s + 1
V ^ D A B s i ^ D A B s = R L 1 2 D D A B + 1 R L 1 C D A B 1 s + 1
Buck V D A B s
Energies 17 01950 i003 i ^ V S C d d V S C d = V D A B s L V S C s + R V S C L V S C s + R V S C 2 + ω g 2 L V S C 2
i ^ V S C q d V S C q = V D A B s L V S C s + R V S C L V S C s + R V S C 2 + ω g 2 L V S C 2
Bidirectional Power Flow i V S C
Table 3. PEI’s simplified averaged model and controller.
Table 3. PEI’s simplified averaged model and controller.
PEIDEREquivalent ModelType of Controller
Bidirectional
AC side
BESSEnergies 17 01950 i004PI controller– d q Frame (BESS)
Feed-Forward Compensation (PVG)
Bidirectional
DC side
Energies 17 01950 i005PI controller
Unidirectional
DC side
PVGEnergies 17 01950 i006
Table 4. Performance metrics of the real-time model.
Table 4. Performance metrics of the real-time model.
VariableRMSEMAPERho
P i , t G D C 109.681.0250.05
P k , t A C S T 0.95050.10780.9955
Q k , t A C S T 0.21573.13880.9996
P k , t G A C 110.110.94630.993
Q k , t G A C 40.3020.57560.9948
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Núñez-Rodríguez, R.A.; Unsihuay-Vila, C.; Posada, J.; Pinzón-Ardila, O.; Aoki, A.R.; Bueno-Otto, R. Real-Time Testing Optimal Power Flow in Smart-Transformer-Based Meshed Hybrid Microgrids: Design and Validation. Energies 2024, 17, 1950. https://doi.org/10.3390/en17081950

AMA Style

Núñez-Rodríguez RA, Unsihuay-Vila C, Posada J, Pinzón-Ardila O, Aoki AR, Bueno-Otto R. Real-Time Testing Optimal Power Flow in Smart-Transformer-Based Meshed Hybrid Microgrids: Design and Validation. Energies. 2024; 17(8):1950. https://doi.org/10.3390/en17081950

Chicago/Turabian Style

Núñez-Rodríguez, Rafael A., Clodomiro Unsihuay-Vila, Johnny Posada, Omar Pinzón-Ardila, Alexandre Rasi Aoki, and Rodrigo Bueno-Otto. 2024. "Real-Time Testing Optimal Power Flow in Smart-Transformer-Based Meshed Hybrid Microgrids: Design and Validation" Energies 17, no. 8: 1950. https://doi.org/10.3390/en17081950

APA Style

Núñez-Rodríguez, R. A., Unsihuay-Vila, C., Posada, J., Pinzón-Ardila, O., Aoki, A. R., & Bueno-Otto, R. (2024). Real-Time Testing Optimal Power Flow in Smart-Transformer-Based Meshed Hybrid Microgrids: Design and Validation. Energies, 17(8), 1950. https://doi.org/10.3390/en17081950

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop