Abstract
This paper presents a new hybrid strategy which allows the dynamic identification of AC/DC microgrids (MG) by using algorithms such as Auto-Regressive with exogenous inputs (ARX) and Petri Nets (PN). The proposed strategy demonstrated in this study serves to obtain a dynamic model of the DC MG in isolated or connected modes. Given the non-linear nature of the system under study, the methodology divides the whole system in a bank of linearized models at different stable operating points, coordinated by a PN state machine. The bank of models obtained in state space, together with an adequate selection of models, can capture and reflect the non-linear dynamic properties of the AD/DC MGs and the different systems that it composes. The performance of the proposed algorithm has been tested using the Matlab/Simulink simulation platform.
Keywords: Energy, Identification, Microgrid, No-linear systems, Petri net, State space model, ARX
Energy; Identification; Microgrid; No-linear systems; Petri net; State space model; ARX.
1. Introduction
Thanks to recent technological advances, the growing demand for energy has caused the load on the transmission network to increase at an accelerated rate. From an economic point of view, updating the transmission grid is difficult due to its high cost, that is why MGs have become an economically viable alternative. The MGs that complement the Electric Power System (EPS) offer benefits from a system resilience view: loads are provided with energy even if the transmission grid is inactive due to a failure.
Studies such as [1,2], which seek to solve problems related to the resilience of the EPS have undoubtedly opted for the implementation of smart microgrids (SMG). These studies also address that microgrids will play an important role in the new decentralized paradigm of smart grids (SG). Certainly, MGs are a path to the evolution of SGs, progressively becoming ideal prototypes both for isolated sites and sites interconnected to the national electrification system [1,2].
In order to develop fault tolerant control strategies for a MG, and to investigate the stability of small signals when fault conditions are present, where most of the methods are based on knowledge of the normal behavior of the system, an adequate model of the MG and its components is necessary. This explains why for the scientific community, a new subject of great interest is to obtain these mathematical models from the MG [3–5].
However, the identification of systems with unknown dynamic characteristics that are difficult to capture, or highly non-linear ones have opened a highly important field of research entitled, "system identification". Basically, the identification of systems is a set of statistical and stochastic methods that allows to find a mathematical model suitable for a known dynamic system. This mathematical model is adjusted with the use of observed data of the unknown system [3,6].
In this paper, a novel strategy is developed through the use of PN and ARX that allows us to identify a bank of dynamic models in state space (considering the system as "black box") that describe the evolution of the different components of the MG towards the steady state. In addition, the model developed is suitable for the fault tolerant control design using the nominal values of voltage and current of the inverters and converters. The model is also useful for the evaluation and improvement of small signal stability.
To validate the results of this research study, a hybrid microgrid (HMG) benchmark [7] was considered constituted with load bus and generation distributed at medium and low voltage levels in AC and a DC bus. The calculations corresponding to the results obtained from all the variables analyzed for this investigation were made using algorithms implemented in Matlab environment. Additionally, the detailed simulation model is based on the Simulink graphical programming environment.
The organization of the paper is as follows: Section 2 “Electric Microgrid” presents the main characteristics of the MG modeling and the MG architectures. Section 3 “Petri Net” and IV ‘Identification problem’ provides a brief description of the PN and ARX identification algorithms used in the investigation. Section 5 discusses the analysis of the identification problem and the proposed strategy. Section 6 describes the simulation results of the proposed dynamic identification strategy and finally, the future research areas and conclusions can be found in Section 7.
2. Electric microgrid
In the future, MGs are seen as an attractive solution for the integration of Distributed Generator (DG) units in the SG, which will allow less dependence on fossil fuels and an increase in the efficiency of the distribution systems. However, the challenges for MGs are greater due to: fast dynamics and short response time of DG, inherent unbalanced nature of the MG, low energy storage capacity and lack of inertia, a high number and diversity of micro-sources, electronic power converters and other circuits/devices, high degree of parametric uncertainties, modeling, and high failure rates [7,8].
Figure 1 shows an architecture constituted by a series of systems and subsystems such as: distributed generation, energy storage and loads.
Figure 1.
Identification problem of microgrids.
MGs must be robust to control the voltage, frequency and protect the main grid and the loads connected to the various faults [8,9,10]. MGs also facilitate the administration and re-synchronization of the demand side. There are some types of SGs on a small scale that provide one of the most interesting solutions to improve power flow in distribution grids and reduce power losses in transmission lines [11,12,13,14,15].
2.1. Microgrid architecture
In the literature, three main MG definitions can be found: MG, nano-grids (NG), and pico-grids (PG). Additionally, MGs can operate in parallel to the main grid, both in stand-alone mode (stand-alone power) and in interconnected mode (assumes main grid instructions) [7,8,12,15,16,17,18,19,20,21,22,23]. The most used MGs are usually classified according to their different types:
-
•
Type of voltage (DC, AC, hybrid),
-
•
Type of distribution (single-phase, three-phase, three-phase + neutral),
-
•
Type of voltage (low (LV), Medium (MV)),
-
•
Structural (radial, ring).
MGs that can be implemented are in the Series, Switched and Parallel configurations as described in [24]. In the MG series configuration there is a DC bus where all the generation systems and loads are connected through their respective converters. On the other hand, the parallel configuration has an AC bus where the generation systems and the loads are directly connected. Additionally, the DC devices are connected through their own inverters, or by a DC bus coupled to the AC bus which are connected using an inverter or bidirectional voltage-sourced converter (VSC) [7,8,24].
The combination between the AC and DC MG configurations has resulted in the concept of AC/DC HMGs (see Figure 2) and proposes a better approach because it combines the main advantages of the AC and DC MGs [10]. Future trends show that features such as scalability, modeling, design, and control structures require further investigation to achieve integration of HMGs into the main grid [7,15,23].
Figure 2.
AC/DC hybrid microgrid.
AC architectures can be seen from two approaches: interconnected or coupled MGs and isolated or decoupled MGs. In turn, two approaches have been identified in coupled MGs: fully and partly isolated topology [7,24].
On the other hand, decoupled AC MGs display three topologies which are the following: the two-stage total isolated configuration, the two partially isolated stages, and, finally, the configuration of three partially isolated stages. The configuration to be defined for the AC/DC HMG depends greatly on the application and the environment in which it is included, for example: energy market conditions, regulatory conditions, feasibility for the integration of DG units, among others [7,12,15,20,23,25].
2.2. Microgrid modeling
By understanding the dynamics of the different systems and subsystems used in the MGs, it is important to implement methodologies of modeling and identification. These methodologies are vitally important to carry out an accurate analysis of the control systems or the design of fault tolerant control systems (FTCS). Although MGs are considered small scale, their complexity is extremely high compared to the conventional energy system. Therefore, its dynamic analysis is a key point that ensures that the controllers for the MGs work in a stable and reliable way before controlled fluctuations of voltage and other variables. In this context, simulations are a tool able to closely resemble, some of the properties and the behavior of MGs. These, when applied to MGs, imply a significant saving of money and time.
The models of the MGs are dynamic and can change depending on their configuration, type of topology, and components. Therefore, different modeling methodologies are required that are capable of representing important phenomena: rapid dynamics and short response time of DG, inherent unbalanced nature of the MG, low energy storage capacity and lack of inertia, a high number and diversity of micro-sources used, electronic power converters and other circuits/devices, high degree of parametric uncertainties, modeling, and high failure rates [10,11,15,26,27,28,29].
In the dynamic modeling, the very slow and fast dynamics are often neglected. For example, the dynamics of generator (conventional sources) are much slower than the dynamics of VSC, which can disregard the generator dynamics. Many authors consider it as a constant parameter to the voltage on the generator bus and not model the associated dynamics. In addition, due to the high switching frequency of some elements like converters/inverters, the relevant dynamics are also considered insignificant [5,8].
On the other hand, authors seek to model each source of DG reducing the order of the model to a first order and linear time-invariant (LTI) with a time constant and gain factor, but neglect the dynamics of the grid. Other researchers represent the MG by a DC source with a VSC connected to the main grid, an RL filter, a transformer and a circuit breaker. In this way it is simple to obtain a low order dynamic model for the equivalent system that can be easily used for the purpose of control analysis [5,8].
There are also other approaches with DG based on inverters, for example in [30] the complete dynamic model of the entire grid was considered in place of the inverter, dividing the MG system into three subsystems: inverter, distribution grids, and loads. In the inverter model, the dynamics of the controller, the output filter and the coupling inductor are incorporated. Additionally, the state equations of the grid and the loads are represented in one of the reference frames of the inverter, assuming that this is the common reference. Then, using the transformation technique, the other inverters are transformed into this common framework and model each subsystem in combined state-space in the aforementioned common frame of reference. In [31], authors also develop a model in LTI state space and perform an analysis of the eigenvalues to study the dynamic behavior of the MG, while the electrical parameters and control gains are modified.
Furthermore, additional articles as in [32] propose a model using the nominal values of the inverter frequency and voltage set point (VSI) and the active and reactive power set points of the PQ inverters. This type of dynamic model based on state space is useful to evaluate and improve the stability of small signals, design and implement distributed and centralized secondary controllers, taking into account storage device characteristics.
3. Petri net
PNs allow the study and description of information processing systems characterized by being concurrent, distributed, non-deterministic and/or stochastic [33,34,35,36]. A PN is a rigorous and powerful mathematical and graphic representation, commonly used in discrete, distributed and continuous systems [33,36,37,38,39].
3.1. Formal definition of a Petri Net
Considering a PN as 5-tuple, PN = (P, T, F, W, Mo) where [33,37,40,41]:
-
-
is a finite set of places,
-
-
is a finite set of transitions,
-
-
is a set of arcs,
-
-
is a weight function,
-
-
is the initial marking,
-
-
is the input function that defines directed arcs from places to transitions, where N is a set of positive integers.
-
-
is the output function that defines directed arcs transitions to places.
PNs can be represented in matrix form, it is called incidence matrix (C) whose dimension is defined by the number of places (P) represented by the rows and number of transitions (T) corresponding to the columns. The matrix C is defined by:
(1) |
F is the flow ratio between P and T, W (p, t) is the arc weight between P and T. Furthermore, f (p, t) ∈ F means that there is no flow ratio from P to T and the incidence matrix of a PN is given by:
(2) |
where W +(p, t) is the incidence matrix input and W - (t, p) is the incidence matrix output.
Matrix representation of PN:
![]() |
(3) |
Incidence Matrix provides information on the final balance in the number of brands that occur in places of a PN when the corresponding transitions are shot.
3.2. Basic structure of a PN
The PNs are a directed graph that contain two types of main nodes: the places (represented by circles) and the transitions (represented by rectangular bars), together with one or several initial states that is called the initial marking (represented by tokens or black dots) located within each place as shown in Figure 3 [33,36,38,42]. The PN of this figure consists of three places, seven transitions, one token and seven arcs of unit one weight [33,37,39].
Figure 3.
Petri net [33].
The nodes are interconnected with directed arcs, which connect the transitions with places and vice versa, in addition to modifying the different states of the system according to the assigned weights. The weight of an arc determines the number of marks that the place consumes or that is deposited in another place, as long as the enabled transitions are triggered. Arcs directed without a number are understood to consume or deposit a mark [28,33,34,36,38,42].
Therefore, the PN of Figure 3 can be written mathematically in the following:
4. Identification problem
The identification of dynamic plants depends to a large extent on the different families of possible models and their stochastic environments. It also depends on the correct choice of the selection criteria of the model classes [6,43]. The problem of the identification of systems deals with the estimation of dynamic system models from observed data of inputs u (t) and outputs y (t), managing the system as a black box operating in a stochastic environment [6,43].
For the systems identification, the most studied methods are based on the step response such as: the Oldenbourg - Sartorius method; Anderson's method; step response for oscillatory systems; method Strejc for systems of order n; models with transport delay; among others [4,6,43].
Another point to make in the identification problem and the scope of control theory, is the importance to bear in mind that it is not the same to identify a model for a plant (controlled system - MG) that will work in open loop or closed loop. Open-loop operation will obviously require greater precision and less uncertainty [4,43]. Figure 4 shows the identification model.
Figure 4.
Identification model.
Designing strategies to obtain dynamic models based on identification provides the complement for detection and diagnosis of failures that provide solutions based on the use of state models [44].
4.1. Model in the state space
The state space is an N-dimensional space which consists of the axis x1, axis x2, ...... axis xn. Any state can be represented by a point in the state space [32,45].
Representation of the state model:
(4) |
(5) |
Linearizing Eqs. (4) and (5) around the operation state:
(6) |
(7) |
where:
-
-
A (t) ∈ nxn is the state matrix,
-
-
B (t) ∈ nxr is the excitation matrix,
-
-
C (t) ∈ mxn is the output matrix,
-
-
D (t) ∈ mxr is the direct transmission matrix,
-
-
x (t) ∈ nx1 is the state vector,
-
-
u (t) ∈ rx1 is the input vector,
-
-
and y (t) ∈ mx1 is the output vector.
4.2. Auto-Regressive with eXogenous inputs
The models identified for plants that represent dynamic systems depend on the families of models considered, capable of describing different stochastic environments. The criteria for selecting a model within a specific class of models is based primarily on the model being able to predict the observed dynamic behavior rather than adherence to an associated stochastic context. This happens because the systems are actually much more complex than the representations used for their description. The ARX is “Auto-Regressive with eXogenous inputs” model structure. The ARX allows to represent a dynamic process modified by one or more input entries considering the uncertainties. This model describes the observed y (t) output of the system, process or plant as a regression sum of the observations of the inputs u (t) and output y (t) and the error e (t) of the model [6,43].
Considering input and output data:
(8) |
The linear ARX model is represented by the following equation:
(9) |
The dynamic system output from data and disturbances is given by:
(10) |
A lineal regression point is described by:
(11) |
(12) |
(13) |
The output prediction is given by:
(14) |
The natural definition of the prediction error is:
(15) |
Under the assumption that e(t) is white noise, the least squares method is used to help minimize the sum of the squares of the right member of the equation with respect to the coefficients a and b. This generates a linear system of equations based on the measurement of the instrumental variables where a and b are the unknowns.
5. Statement of the problem
Due to the widespread use of commercial DG sources and other factors, it is laborious to build a model for the HMG by mechanism modeling. However, if a dynamic identification method automatically coordinated by a state machine is developed, while considering the HMG as a bank of linearized models at each permissible operating point, each element of the HMG may be seen as a black box system with multiple-input and multiple-output (MIMO).
Considering an AC/DC HMG, both in its connected mode to the grid and in its isolated mode composed of: distributed energy resource (DER) and a set of smart systems designed for the conversion of energy (DC/DC, DC/AC, AC/AC, bidirectional or not), control, monitoring and protection. The objective of this paper is to obtain a model in the state space of the whole MG for control purposes using the observed information, where the very fast dynamics of highly non-linear systems such as inverters and rectifiers are not the main objective for the design and tuning of the controllers.
Figure 5 illustrates the proposed approach that allows obtaining the set of linearized models for the AC/DC HMG. The PN state machine introduces the preset disturbances of the input variable m-index (m) and angle (ang) to the VSCs, coordinates the identification strategy and the assignment of the mathematical model obtained for each system of the MG in the form of a bank of ordered models. The identification of the models is based on data observed of m (t), ang (t), v (t) and i (t).
Figure 5.
Bank of LTI model.
As can be seen in Figures 10, 11, 12, and 13, the dynamic response of the current (i) and voltage (v) outputs of a bidirectional DC/AC VSC is non-linear. In itself, MGs are highly non-linear systems where general linear and non-linear models of DG and distribution systems exhibit high mathematical uncertainty and complexity respectively [5].
Figure 10.
Test system single-line diagram of AC/DC hybrid microgrid.
Figure 11.
Observed voltage data on the DC MG bus.
Figure 12.
Observed current data on the DC MG bus.
Figure 13.
Observed voltage data on the AC MG bus.
Table 1 contains the description of the variables used in the methodology detailed in algorithm 1. The PN coordinates the identification process that is shown in Figure 6.
Table 1.
Variables of the PN strategy.
Symbology | Variable |
---|---|
onDer1; onDern | Start status of the methodology for the DGn. |
total1; totaln | Test signals buffer for the angle. |
LGd1; LGdn | Macro-state of start of test signal injection. |
Md11; Md12Md13; Md21Md22; Md23 | Data of the input variable j measure of the plant. |
arx1; arxn | Macro state of start of the Identification algorithm for DGn. |
next1; nextn | Start status of the process in the DGn+1. |
Figure 6.
State machine using PN.
The strategy based on PN (Figure 6) models a state machine that allows the introduction of a series of type test signals (Figure 5), to coordinate the identification algorithm with the observed data between the different systems, and organizes the bank of linearized models for different operating points in the various systems that make up the MG. Figure 7 shows the test signals created by the strategy. The bank of LTI models obtained is accurate enough to adopt methodologies, control strategies, make hierarchical decisions about a MG under study, and even design strategies to estimate states.
Algorithm 1
PN model methodology for system test.
Step 1: Set up the distribution of initial Tokens for the PN model, Mo. Step 2: Determine the characteristic vector, Ui for the transition state as a fault state. Step 3: Construct the incidence matrix, C (P,T) of the PN. Step 4: Determine the dynamic transition process model through vector M1 . Step 5: Using the vector M1 redistribute the token after the first shot start.
Figure 7.
Test signal and setpoint for bi-directional AC/DC converters, inverters or rectifiers.
The use of the step type test signal generated by the PN state machine allows obtaining the variables that feed the identification algorithm. A main advantage is its simplicity, in addition to clearly showing the non-linearity of the system. On the other hand, due to the non-linearity of the MG and its components, the use of this type of test signals has as a main disadvantage that it introduces a rather large variation between the stable operating points of the system and prevents the exact identification between a state and another.
If the developed state machine must be updated because models are required to identify new variables, or the objectives change according to a new problem, the PN update can be carried out without major complexity thanks to its graphic design.
Figure 8 shows the coverage tree [39] on ident DERn in the implemented strategy. If the coverability tree of the PN is analized, the state machine can be implemented in any computing device [46].
Figure 8.
PN coverage tree designed.
5.1. Identification algorithm
The state machine based on PN is complemented by an identification algorithm using ARX (see Table 2 and algorithm 2) that can freely determine the order of the model based on the observed variables of inputs and outputs. In Step 1, the algorithm reads the sensed data after the sampling stage. Then proceeds with the analysis of the data and its visualization before proceeding to evaluate the problem. Finally, the identification is done and the model is converted to continuous time [47].
Table 2.
Variables.
Symbology | Variable | Unit |
---|---|---|
n | Plant identification number. | u |
Ysj | Data of the output variable i measurement of the plant. | [V, A] |
Uei | Data of the input variable j measurement of the plant. | [u, degrees] |
t | Time. | s |
sys | Mathematical model of the plant in state space. | na |
ei | Identification error of the output variable i. | % |
uo | Initial input conditions | [u, degrees] |
yo | Initial output conditions | [u, degrees] |
Once the model in state space is obtained in Step 6, it is followed by the simulation of the response in continuous time for the dynamic system with arbitrary inputs, and the estimation error is calculated.
Algorithm 2
Obtaining the dynamic model of the plant n.
Step 1: Input: {Ysj (t), Uei (t), uo, yo,t} ∈ R; Step 2: Output: {ei (t), A, B, C, D} ∈ R; sys; Step 3: Initialize:A = [0 0 … 0; 0 0…0];
B = [0 0 … 0; 0 0 … 0];
C = [0 0 … 0; 0 0 … 0]; D = [0 0… 0; 0 0 … 0];
na = [2 2 … 2; 2 2 … 2]; nb = [2 2… 2; 2 2 …2];
nk = [0 0 …0; 0 0 … 0];
Ysi= Yi (data); Uej= Uj (data); t = Ys (time);
n = longitud (Ysi); Data = [Ysi- yoUej- uo]; T = t (2) – t (1);
Nn = [na nb nk];Step 4: sys ← ARX (Data; nn);
sys ← Sett (sys,T);Step 5: sys_c ← d2c (sys,'tustin'); Step 6: {A, B, C, D} ← ssdata (tc);
sys_ss = ss {A, B, C, D};Step 7: y'si ← simulate sys_ss (ft, u, t); Step 8: ej = prom (abs (y'si (data) – Ysi));
ifej> 0.1
go to Step 3;endif;Step 9: Return: sys_ss;A; B; C; D; ej;
6. Case study
This section presents the results of the proposed automatic identification method using a benchmark model of an AC/DC HMG presented in [7]. This model is simulated in Matlab/Simulink environment.
This AC/DC HMG includes:
-
•
One diesel generator,
-
•
Two photovoltaic (PV) systems,
-
•
Two battery energy storage system,
-
•
Various linear and non-linear loads.
The results shown in this article are related to the bidirectional AC/DC inverter shown in green color in Figures 9 and 10.
Figure 9.
Diagram of AC/DC hybrid microgrid case study.
This AC/DC HMG has two AC voltage distribution levels (the primary level is 13,8 kV and the secondary level is 220 V) and one DC distribution level (300V). The AC MG operates at a frequency of 60 Hz. The DC busbar comprises of the BESS 2 and PV Array 2. The Array 1 has 42 modules which develops a nominal power of 10,5 kW whereas Array 2 has 1750 modules, which develops a nominal power of 725 kW. Finally, both arrays operate with a total solar irradiance of G = 1000 W/m2 and a temperature of 25 °C [7].
The BESS that operates in the DC bus and consists of 1 lithium-ion battery unit of 120 VDC nominal voltage. The BESS that operates near LV AC bus consists of 3 nickel-metal-hydride (Ni–MH) battery units of 650 VDC nominal voltage. The parallel-connected batteries are connected to an interfaced inverter in a cascaded topology. The first BESS system is connected through a boost-buck bidirectional converter, while a PV Array is connected to the DC link through a boost converter. The DC bus is linked to the AC MG through two parallel bidirectional converters which can operate as rectifiers or inverters [7].
This is designed to convert the 300V DC voltage to an output voltage of 150 V AC that permits to deliver the excess power generated in the DC bus. For instance, if power is needed in the DC bus for lack of power in the PV and the BESS 1, the system will convert the 150V AC voltage to a DC output voltage of 300V. The increase of robustness, flexibility, and performance obtained by the DC MG is an important solution which allows a maximum performance for a wide range of power [7].
6.1. Observed data for three operating points of the DC bus
In order to be able to show the results in this investigation, three random operating points must be selected (see Table 3), two in inverter mode corresponding to the observed data DERn Gn+2 and DERn Gn+3; and another in rectifier mode corresponding to DERn Gn+1. These stable operating points are then simulated to obtain the dynamic models that correspond to the states previously mentioned. The opted models are calculated and stored by the proposed state machine, forming a bank of LTI models. For this case of study, the identification of the dynamic model of the bidirectional AC/DC VSC (DERn Gn) between the DC MG and the AC MG is made. The operating points are selected to identify the models presented in Table 3, Figures 11 and 12. These two figures show the dynamic behavior of the variables of voltage and current for the test signal imposed on Figure 7.
Table 3.
Test signals adjusted to establish operating points on the DC MG bus.
Operating Point | Step signals and Initial input conditions |
Initial output conditions, V (pu), I (A) |
||
---|---|---|---|---|
M | ang | yo_V | yo_i | |
DERnGn+1 | 0–0.2 | 180o – 216o | 1.044 | 0.0136 |
DERnGn+2 | 0.6–0.8 | 324o – 0o | 1.053 | -2.085 |
DERnGn+3 | 0.8–1 | 72o – 108o | 0.705 | 20.8 |
6.2. Observed data for three operating points of the AC bus
This section shows the results of the proposed method for the bidirectional AC/DC converter in its inverter mode. In addition, the dynamic responses of the voltage and current in phases a, b and c for the imposed test signal are shown (Figure 7: m and ang). Subsequently, the operating point corresponding to DERn Gn+3 is selected.
In this case, the dynamic model is identified for the bidirectional AC/DC VSC coupling (DERn Gn) between the DC MG and the AC MG. The operating points selected to carry out the study are also shown. It is apparent from Figures 13 and 14 the dynamic behavior of the variables of voltage and current for the test signal imposed on Figure 7. The observed data are selected for operating point DERn Gn+3 (see Table 4) and later the system is identified.
Figure 14.
Observed current data on the AC MG bus.
Table 4.
Test signal adjusted to establish operating point on the AC microgrid bus.
Operating Point | Step signas |
Initial output conditions, V (pu), I (A) |
||||||
---|---|---|---|---|---|---|---|---|
m | ang | Va | Vb | Vc | ia | ib | ic | |
DERnGn+4 | 0.8 | 108o | 0.922 | 0.925 | 0.922 | 26.46 | 26.49 | 26.4 |
7. Analysis of results for the identification strategy on the DC/AC microgrid
Once the PN algorithm assigns the mark to the macro-state of system identification (Bidirectional AC/DC converter), the implemented identification algorithm based on ARX method is automatically executed. Next, the algorithm performs the analysis and adjustment of the data obtained after applying the step type test signal between two operating points.
7.1. Identification and analysis on the DC bus for the tree operating points
After the identification process is carried out by the algorithm, the obtained model is simulated and the results are compared with the observed data of the outputs (VDC (t) and iDC(t)) for ‘DERn Gn+1’ (see Figure 15). Then, the method performs the identification using the data obtained around the corresponding stable operating point DERn Gn+1 and we obtain a MIMO system is obtained with two inputs (m and ang) and two outputs (VDC and iDC) for dynamic model of the bidirectional AC/DC VSC, such that:
(16) |
(17) |
Figure 15.
Dynamic response of DERn Gn+1 model versus observed data.
As detailed in Figure 15, there is a high degree of correlation not only between the results of the mathematical model in the state space obtained, but also with the results of the experimental study of the bidirectional AC/DC VSC responsible for the flow of electrical energy between the MG in DC and AC of the case of study.
Verification was done by means of numerical simulations carried out in Matlab in order to show the effectiveness of algorithm 1 and the obtained models of discrete state space.
Estimated parameters of the stable operating point DERn Gn+1:
(18) |
(19) |
(20) |
(21) |
In Figure 16, the plots of the correlation of the outputs of the model with the HMG data can be observed for the different outputs of the system. Correlations are calculated until the maximum lag of 25%. The green shaded region around the X-axis marks a 99% confidence level for statistically non-significant correlations.
Figure 16.
Residue correlation of identification input and output data for DERn Gn+1 model.
In Figure 17, the dynamics of the identification errors (e) of the outputs Vdc and idc can be observed and analyzed. It shows the autocorrelations of the residues and the cross correlation between residues and inputs. By observing the dynamics of the residual inputs in the figure, the effectiveness of the ARX algorithm for DERn Gn+1 can be evaluated in more detail.
Figure 17.
Identification errors for DERn Gn+1 model.
The results obtained for the DERn Gn+2 and DERn Gn+3 operating points shown below evidence the high correlation between the results of the mathematical model in the state space and the experimental study of the converter.
The estimated parameters of the stable operating point DERn Gn∖2 are (see dynamic response of the model in Figure 18):
(22) |
(23) |
(24) |
(25) |
Figure 18.
Dynamic response of DERn Gn+2 model versus observed data.
The estimated parameters of the stable operating point DERn Gn∖xFE3 are (see dynamic response of the model in Figure 19).
Figure 19.
Dynamic response of DERn Gn+3 model versus observed data.
(26) |
(27) |
(28) |
7.2. Identification and analysis on the AC for the operating point
The PN state machine injects test signals typically staggered (Figure 20) and collects the data of the outputs of Vabc and iabc. From the data set observed divided into two parts, a separate one was used to estimate the linear model on the operating point. Then, the second part of the data was used with the objective of cross validation and to be able to evaluate the adjustment criteria of the ARX algorithm.
Figure 20.
Test signal and setpoint for operating point on AC inverter.
Then the method performs the identification using the data obtained around the corresponding stable operating point DERn Gn+4 and we obtain a MIMO system is obtained with two inputs (m and ang) and six outputs (Va, Vb, Bc, ia, ib, and ic) for dynamic model of the bidirectional AC/DC converter, such that:
(30) |
(31) |
Figure 21 shows the high degree of similarity between the results obtained by simulating the model mathematical in the linear state space (identified by the ARX structure) and the estimate data observed through the digital simulation of the bidirectional the bidirectional AC/DC VSC for the operating point DERn Gn+4.
Figure 21.
Dynamic voltage response of DERnGn+4 and estimates data.
Figure 22 and Figure 23 show the correlation analysis according to the different outputs of the dynamic system and analysis of identification errors (e) of the Vabc and iabc outputs using the estimation data.
Figure 22.
Residue correlation of identification input and output data for DERn Gn+4 model.
Figure 23.
Identification errors for DERn Gn+4 model.
Figure 24 show the high degree of similarity between the results of the mathematical model in state space obtained under digital simulation with the validation data from the simulated experimental study of bidirectional AC/DC VSC for the DERn DERn Gn+4.
Figure. 24.
Dynamic current response of DERnGn+4 and validation data.
Figure 25 and Figure 26 show the correlation test analysis according to the different outputs of the dynamic system and analysis of identification errors (e) of the Vabc and iabc outputs using the validation data.
Figure 25.
Residue correlation of validation input and output data for DERn Gn+4 model.
Figure 26.
Identification errors for DERn Gn+4 model.
The results show that the bank of models (in the various operating points) can reproduce the non-linear dynamic characteristics of the HMG elements with precision. Thanks to the simplicity of the method and the bank, this can be used for the development of techniques such as: Fault Detection and Identification, Fault Tolerance, State Estimation among others.
For implemented MG applications, the different signals of inputs and outputs of the dynamic system should be captured and characterized with the goal of adding phenomenological information about the plant. This would allow a process of more precise identification of the models that make up the bank and may later function as a robust general model for all the permitted operating points. Based on the results achieved, the strategy is characterized by the balance between the precision of the estimation accuracy and linearization of the identified models.
The estimated parameters of the operating point DERn Gn+4 are:
(32) |
(33) |
(34) |
(35) |
8. Future work and areas of research
In future studies where the very fast dynamics and non-linear behavior of MG systems are considered, it will be necessary to complement the strategy with non-linear algorithms such as the Non-linear Autoregressive Exogenous (NARX) model. It also opens the doors for several lines of future research such as: online identification strategies, the study and design of predictive control strategies, adaptive control strategies, robust control strategies, FTCS among others. Finally, other strategies can be designed with the aim of coordinating the automatic and optimal use of the model bank obtained and performing the tuning and online reconfiguration of controllers.
9. Conclusions
This paper has considered the use of PNs and ARX algorithms with the aim of developing a hybrid and novel strategy that allows the dynamic identification of HMGs. In addition, the proposal obtains a bank of linearized models in space state that represent the AC/DC HMG. These models are achieved from the different systems that integrate the HMG benchmark model, such as: VSCs (unidirectional or bidirectional), BESSs, PVs, DiGs among others.
Due to the simplicity of the bank of linearized models obtained from the methodology, less computational effort is required for simulations or for the design of the primary and secondary control systems. Additionally, the dynamic behavior of the HMGs AC or DC power elements (including loop control) is represented by the bank of linear models without losing the accuracy of the data observed.
Unlike other proposed methodologies, the use of PNs operate based on a robust mathematical representation while presenting an easy-to-interpret graphic design. The proposed PN model achieves the coordination of the network for the injection of test signals, collection of the observed data, and the coordination of the identification method by ARX. Thus, this methodology not only provides the models for both the DC MG and AC MG, but also coordinates and creates bank of models organized in different modes: isolated, connected, or charge/discharge of BESS systems.
Declarations
Author contribution statement
Leony Ortiz, Luis B.Gutiérrez, Jorge W.González: Conceived and designed the experiments; Performed the experiments; Analyzed and interpreted the data; Contributed reagents, materials, analysis tools or data; Wrote the paper.
Alexander Águila: Performed the experiments; Analyzed and interpreted the data; Contributed reagents, materials, analysis tools or data; Wrote the paper.
Funding statement
This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.
Competing interest statement
The authors declare no conflict of interest.
Additional information
No additional information is available for this paper.
Contributor Information
Leony Ortiz, Email: lortizm@ups.edu.ec.
Luis B. Gutiérrez, Email: luis.gutierrez@upb.edu.co.
References
- 1.Liu X., Shahidehpour M., Li Z., Member S. Microgrids for enhancing the power grid resilience in extreme conditions. Trans. Smart Grid. 2016;3053:1–8. [Google Scholar]
- 2.Kroposki B., Anese E.D., Bernstein A., Zhang Y., Hodge B. Hawaii Int. Conf. Syst. Sci. 2018. Autonomous energy grids preprint. [Google Scholar]
- 3.Gulin M., Vasak M., Pavlovic T. Model identification of a photovoltaic system for a DC microgrid simulation. 16th Int. Power Electron. Motion Control Conf. Expo. PEMC. 2014;2014:413–418. [Google Scholar]
- 4.Gao N. University of Denver; 2014. Parameter Identification of Micro-grid Control System. [Google Scholar]
- 5.Mahmoud M.S., Hussain S.A., Abido M.A. Modeling and control of microgrid : an overview. J. Franklin Inst. 2014;351:2822–2859. [Google Scholar]
- 6.Agüero J.C., Yuz J.I., Goodwin G.C. Identification of ARX and ARARX models in the presence of input and output noises. Eur. J. Contr. 2010;16:256–257. [Google Scholar]
- 7.Ortiz L., Orizondo R., Aguila A., Gonz J.W., Isaac I., Gabriel J.L. Hybrid AC/DC microgrid test system simulation : grid-connected mode. Heliyon. 2019;5:21. doi: 10.1016/j.heliyon.2019.e02862. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Bevrani Hassan, Ise T. John Wiley ∖& Sons; 2017. Others, Microgrid Dynamics and Modeling. [Google Scholar]
- 9.Hare J., Shi X., Gupta S., Bazzi A. Fault diagnostics in smart micro-grids: a survey. Renew. Sustain. Energy Rev. 2016;60:1114–1124. [Google Scholar]
- 10.Carrión D., Ortiz L. Generación distribuida a partir de bicicletas estáticas y sistemas híbridos. Ingenius. 2013;10:44–48. [Google Scholar]
- 11.Lidula N.W.A., Rajapakse A.D., Microgrids research A review of experimental microgrids and test systems. Renew. Sustain. Energy Rev. 2011;15:186–202. [Google Scholar]
- 12.Planas E., Andreu J., Gárate J.I., Martínez De Alegría I., Ibarra E. AC and DC technology in microgrids: a review. Renew. Sustain. Energy Rev. 2015;43:726–749. [Google Scholar]
- 13.Gil-de-muro A., Andreu J., Kortabarria I., Marínez I. General aspects , hierarchical controls and droop methods in microgrids : a review. Renew. Sustain. Energy Rev. 2013;17:147–159. [Google Scholar]
- 14.Hossain E., Kabalci E., Bayindir R., Perez R. Microgrid testbeds around the world: state of art. Energy Convers. Manag. 2014;86:132–153. [Google Scholar]
- 15.Unamuno E., Barrena J.A. Hybrid ac/dc microgrids - Part I: review and classification of topologies. Renew. Sustain. Energy Rev. 2015;52:1251–1259. [Google Scholar]
- 16.Vega A.M., Santamaria F., Rivas E. Modeling for home electric energy management: a review. Renew. Sustain. Energy Rev. 2015;52:948–959. [Google Scholar]
- 17.Lasseter R.H., Paigi P. Annu. IEEE Power Electron. Spec. Conf. 2004. Microgrid : a conceptual solution; pp. 4285–4290. [Google Scholar]
- 18.Hatziargyriou Nikos. Microgrids: Architectures and Control. John Wiley and IEEE Press; 2014. pp. 1–315. [Google Scholar]
- 19.Samad T., Annaswamy A. Controls for smart grids : Architectures and applications. Proc. IEEE. 2017:1–18. [Google Scholar]
- 20.Jia L., Zhu Y., Wang Y. Architecture design for new AC-DC hybrid micro-grid. 2015 IEEE 1st Int. Conf. Direct Curr. Microgrids, ICDCM. 2015;2015:113–118. [Google Scholar]
- 21.Lasseter R.H., Eto J.H., Schenkman B., Stevens J., Vollkommer H., Klapp D., Linton E., Hurtado H., Roy J. CERTS microgrid laboratory test bed. IEEE Trans. Power Deliv. 2011;26:325–332. [Google Scholar]
- 22.Guerrero J.M., Vasquez J.C., Matas J., De Vicuña L.G., Castilla M. Hierarchical control of droop-controlled AC and DC microgrids - a general approach toward standardization. IEEE Trans. Ind. Electron. 2011;58:158–172. [Google Scholar]
- 23.Unamuno E., Barrena J.A. Hybrid ac/dc microgrids - Part II: review and classification of control strategies. Renew. Sustain. Energy Rev. 2015;52:1123–1134. [Google Scholar]
- 24.Martin-Martínez F., Sánchez-Miralles A., Rivier M. A literature review of Microgrids: a functional layer based classification. Renew. Sustain. Energy Rev. 2016;62:1133–1153. [Google Scholar]
- 25.Ortiz Matos L., Aguila Tellez A., Hincapié Reyes R.C., González Sanchez J. Multi-criteria optimization of the deployment of a grid for rural electrification based on a Heuristic method. IOP Conf. Ser. Earth Environ. Sci. 2017;73 [Google Scholar]
- 26.Olivares D.E., Mehrizi-Sani A., Etemadi A.H., Cañizares C.A., Iravani R., Kazerani M., Hajimiragha A.H., Gomis-Bellmunt O., Saeedifard M., Palma-Behnke R., Jiménez-Estévez G.A., Hatziargyriou N.D. Trends in microgrid control. IEEE Trans. Smart Grid. 2014;5:1905–1919. [Google Scholar]
- 27.Bottrell N., Green T.C. Modeling microgrids with active loads. 2012 IEEE 13th Work. Control Model. Power Electron. Compel. 2012;2012 [Google Scholar]
- 28.Arias Cazco D., Robayo Vasco R.A., Ortiz Matos L. Novel inteligente Step Voltaje Regulator (SVR) for residential electrical connections. IEEE Lat. Am. Trans. 2016;14:1656–1661. [Google Scholar]
- 29.Aguila A., Carrión D., Ortiz L. Analysis of power losses in the asymmetric construction of electric distribution systems. IEE Lat. Am. Trans. 2015;13:2190–2194. [Google Scholar]
- 30.Tang X., Deng W., Qi Z. Investigation of the dynamic stability of microgrid. IEEE Trans. Power Syst. 2014;29:698–706. [Google Scholar]
- 31.Etemadi A.H., Iravani R. Eigenvalue and robustness analysis of a decentralized voltage control scheme for an islanded multi-DER microgrid. IEEE Power Energy Soc. Gen. Meet. 2012:1–8. [Google Scholar]
- 32.Mohammadi F.D., Keshtkar H., Feliachi A. State space modeling, analysis and distributed secondary frequency control of isolated microgrids. IEEE Trans. Energy Convers. 2017;8969:1–10. [Google Scholar]
- 33.Matos L.O., Wilson J., Sanchez G. Ecuador Tech. Chapters Meet. (ETCM), IEEE, IEEE. 2016. Reconfiguration strategy for Fault Tolerance of power distribution systems using Petri net. [Google Scholar]
- 34.Murata T. Petri Nets. Prop. Anal. Appl. 1989;77:541–580. [Google Scholar]
- 35.Mboup A.B., Guerin F., Ndiaye P.A., Lefebvre D. Petri nets control design for hybrid electrical energy systems. Am. Control Conf. 2009:5012–5017. 2009. [Google Scholar]
- 36.Ortiz L., Aguila A. Modeling and control of an automated system in surgical microscopy based on Petri nets. IEE Lat. Am. Trans. 2016;14:96–101. [Google Scholar]
- 37.Murata T. Petri nets: properties, analysis and applications. Save Proc. IEEE. 1989;77:541–580. [Google Scholar]
- 38.Mansour M.M., Wahab M.A.A., Soliman W.M. Petri nets for fault diagnosis of large power generation station. Ain Shams Eng. J. 2013;4:831–842. [Google Scholar]
- 39.Davidrajuh R. Springer; Stavanger, Norway: 2018. Applied Sciences and Technology Modeling Discrete-Event Systems with GPenSIM an Introduction. [Google Scholar]
- 40.Zamani M.A., Fereidunian A., Sharifi M.A.K., Lesani H., Lucas C. 2010 5th Int. Symp. Telecommun. IST 2010. 2010. AAPNES: a Petri Net expert system realization of adaptive autonomy in smart grid; pp. 968–973. [Google Scholar]
- 41.De Sá J.L.P., Member S., Cartaxo R. Implementing Substations Automatic Control Functions Designed with Petri Nets on IEC 61850. IEEE Trans. Power Deliv. 2011;26:1119–1127. [Google Scholar]
- 42.Control A., Fleming P., Kokotovic P., Barbara S., Kurzhanski A.B., Kwakernaak H., Rantzer A., Tsitsiklis J.N. Springer US; 2013. Control of Discrete-Event Systems. [Google Scholar]
- 43.Y.Z. 2001. Multivariable System Identification for Process Control. [Google Scholar]
- 44.Morato M.M., Regner D.J., Mendes P.R.C., Normey-Rico J.E., Bordons C. Fault analysis, detection and estimation for a microgrid via H2/Hinf LPV observers. Int. J. Electr. Power Energy Syst. 2019;105:823–845. [Google Scholar]
- 45.Machowski J., Bialek J.W., Bumby J.R. John Wiley & Sons, Ltd.; 2008. Power system dynamics: Stability and Control. [Google Scholar]
- 46.Castellanos C. Consideraciones para el modelado de sistemas mediante Redes de Petri. Cienc. e Ing. 2006;27:49–58. http://erevistas.saber.ula.ve/index.php/cienciaeingenieria/article/view/300 [Google Scholar]
- 47.Ortiz L.M., Benigno L.G., Gonzalez J.W.S., Aguila A.T. 2019 IEEE 4th Colomb. Conf. Autom. Control, IEEE, Medellín, Colombia. 2019. An ARX-petri nets algorithm for active identification of an AC/DC microgrid simulation; p. 6. [Google Scholar]