- Methodology
- Open Access
- Published:

# Modeling methodology and fault simulation of distribution networks integrated with inverter-based DG

*Protection and Control of Modern Power Systems*
**volume 2**, Article number: 31 (2017)

## Abstract

The increasing penetration of inverter-based distributed generations (DGs) significantly affects the fault characteristics of distribution networks. Fault analysis is a keystone for suitable protection scheme design. This paper presents the modelling methodology for distribution networks with inverter-based DGs and performs fault simulation based on the model. Firstly, a single inverter-based DG model based on the cascaded control structure is developed. Secondly, a simulation model of distribution network with two inverter-based DGs is established. Then, different fault simulations are performed based on the Real Time Digital Simulator (RTDS). Theoretical analyses are conducted to justify the simulation results, including the equivalent circuit of distribution networks with inverter-based DGs and the solution method for loop currents.

## Introduction

In recent years, different kinds of distributed generation (DG) are being connected in distribution networks, such as wind generation and photovoltaic (PV) generation. A great number of power electronic devices are connected to distribution networks due to the integration of inverter-based DGs. Therefore, compared with traditional distribution network, planning and design, control and protection, simulation and analysis for distribution networks with inverter-based DGs are more complicated. This has motivated a considerable number of studies [1,2,3,4,5].

Simulation model plays an important role in the research of power system. As a real-time simulation tool designed for power system, Real-Time Digital Simulator (RTDS) are widely used for power system simulation and analysis [6,7,8,9]. One important advantage of RTDS is that it can interface electrical and control signal with physical devices and achieve hardware-in-loop simulation. Thus, the simulation models based on RTDS can be used to test real equipments.

Fault characteristics of distribution networks with DGs are quite different from traditional distribution networks. How to model DG under fault conditions is a prerequisite for fault analysis of the distribution networks with DGs. Researchers have put forward different equivalent models of inverter-based DG to analyze their fault characteristics, such as the current source with a parallel changeable impedance [10], the voltage source with a series changeable impedance [11], and the current source controlled by positive sequence voltage at common coupling point (PCC) [12]. In the previous researches, their simulation models contain only one DG. However, in reality, there may be several DGs placed in different locations.

In this paper, single inverter-based DG is modeled firstly based on RTDS. Then, a simulation model for a distribution network with two inverter-based DGs is developed. After that, fault simulations are performed using the simulation model and the results are analyzed briefly. Theoretical analyses are conducted to justify the correctness of simulation results and the effectiveness of control strategy for inverters under fault conditions. A brief summary is presented in the end.

## Modeling of inverter-based DG

As one kind of green energy, PV generation has been widely integrated in power supply systems. Since PV generation output direct current, there must be inverters to connect it to AC grid. Therefore, PV is chosen as an example to introduce the modeling process of inverter-based DG in this study.

As shown in Fig. 1, the single-stage gird-connected PV generation system is composed of primary equipments and control system. The primary equipments include the PV array, inverter, filter inductor, filter capacitor and grid-connected transformer. The control system generates firing pulse for inverter according to specified control strategy. The PV generation system can be built based on the supporting software RSCAD in RTDS.

The commonly used constant P-Q control strategy based on dq synchronous reference frame is adopted in this study. Two different control modes are designed for different operation conditions. Under the normal conditions, DGs only have the active power output. However, during fault conditions, DGs provide extra reactive power support to mitigate the voltage sag at the PCC [13].

In Fig. 1, the relationship between output voltage and current of DC/AC converter can be expressed as:

The equation can be transformed into the dq synchronous reference frame:

Let the d-axis and grid voltage vector be in the same direction in dq synchronous reference frame. The active and reactive power output of the inverter can be expressed as [14]:

If we set *P*
^{∗} and *Q*
^{∗} as the active and reactive power reference, the corresponding current reference *i*
_{d}
^{∗} and *i*
_{q}
^{∗} under dq synchronous reference frame can be calculated according to (3).

In normal condition, make DG only output active power, so \( {i}_q^{\ast } \) is 0. But in fault conditions, current reference of q-axis will be adjusted according to the voltage sag under the constraint that output current of DG cannot exceed 1.2 times the rated value [15]:

where *u*
_{1} is the amplitude of positive sequence voltage (p.u.) at PCC, *i*
_{d0}
^{∗} is current reference of d-axis before the fault.

The main structure of the control system is shown in Fig. 2.

## Modeling of distribution networks with inverter-based DGs

On the basis of Section 2, the simulation model of a neutral point ungrounded distribution network containing two inverter-based DGs, as shown in Fig. 3, can be developed.

In Fig. 3, the DG1 and DG2 represent the two single-stage grid-connected PV systems. The TB, K1 to K4, Kdg1 and Kdg2 are circuit breakers at different locations. The feeders in the network adopt PI model. To simulate different fault conditions, four fault locations, f_{1} to f_{4}, are set at the middle of L_{1} to L_{4}, respectively. Load1 and load2 are inductive loads modeled by series resistance and inductor.

The reference power for DG1 and DG2 is set to 1 MW and 2 MW, respectively. Table 1 shows the parameters of the main components in Fig. 3.

## Fault simulation and calculation

Based on the proposed simulation model in Section 3, large numbers of fault simulations are performed at different locations of the system model. The typical simulation results for three-phase faults and phase-to-phase faults at location f_{4} are presented in this section.

### Three-phase fault

Set three-phase fault with 0.2 s duration at location f_{4}. The current waveforms flowing through each line are shown in Fig. 4. The output current and voltage waveforms of the main source and two DGs are shown in Fig. 5.

From Fig. 5, it can be seen that the current supplied by main source increased greatly, while current supplied by DGs increased slightly under the fault condition, which means that the control strategy for inverter-based DGs can effectively limit the output current of DG.

### Phase-to-phase fault (A-B)

Set A-B fault with 0.2 s duration at location f_{4}. The current waveforms flowing through each line are shown in Fig. 6. The output current and voltage waveforms of the main source and two DGs are shown in Fig. 7.

From Fig. 7, it can be observed that the current of main source has the traditional fault characteristics, such as current of phase A and B increased greatly and the output current became unsymmetrical. However, fault current characteristics of DGs are obvious different. The output current increased slightly and maintained symmetrical under the A-B fault condition.

### Current and voltage phasor calculation

In order to present the fault characteristics clearly, current and voltage phasors (steady state components under fault condition) are calculated based on one-cycle Fourier algorithm. The calculation results of the current of phase A flowing through line L_{2}, L_{3}, L_{4} and the voltage of phase A at PCC (M and N) are presented in this subsection.

For the three-phase fault at location f_{4}, calculation results are as follows:

Equation (5) show that due to the fault current injections from DG1 and DG2, the magnitude of \( {\dot{I}}_{{\mathrm{L}}_3\mathrm{A}} \) is greater than that of \( {\dot{I}}_{{\mathrm{L}}_2\mathrm{A}} \), while the magnitude of \( {\dot{I}}_{{\mathrm{L}}_4\mathrm{A}} \) is greater than that of \( {\dot{I}}_{{\mathrm{L}}_3\mathrm{A}} \). The phase angle differences among \( {\dot{I}}_{{\mathrm{L}}_2\mathrm{A}} \), \( {\dot{I}}_{{\mathrm{L}}_3\mathrm{A}} \) and \( {\dot{I}}_{{\mathrm{L}}_4\mathrm{A}} \) are quite small. The magnitude of \( {\dot{V}}_{MA} \) is greater than that of \( {\dot{V}}_{NA} \), and \( {\dot{V}}_{MA} \) leads \( {\dot{V}}_{NA} \) in phase angle.

For A-B fault at location f_{4}, calculation results are as follows:

It can be seen from (6) that the calculation results show the similar characteristics as the above three-phase fault results.

## Theoretical verification

In this section, the theoretical derivations and calculations are presented to verify the simulation results.

### Fault equivalent circuit

To analyze fault characteristics of distribution networks with DGs, the fault equivalent circuit should be established firstly. The output of inverter-based DG is determined by its control strategy. Under fault conditions, the PV generation can be equivalent to a current source controlled by the amplitude of positive sequence voltage at PCC according to (4):

where *u*
_{1} is the amplitude of positive sequence voltage at PCC and f(*u*
_{1}) is a nonlinear function. For a given value of *u*
_{1}, f(*u*
_{1}) can be calculated according to (4).

For example, suppose the output current of PV is \( {\dot{I}}_{\mathrm{dg},\mathrm{f}}={I}_{\mathrm{dg},\mathrm{f}}\angle {\theta}_{\mathrm{dg}} \), and the full-voltage at PCC is \( {\dot{U}}_{pcc}={U}_{pcc}\angle {\theta}_{pcc} \). *I*
_{dg , d} and *I*
_{dg , q} can be calculated from (4), and then \( {I}_{\mathrm{dg},\mathrm{f}}=\sqrt{{I_{\mathrm{dg},\mathrm{d}}}^2+{I_{\mathrm{dg},\mathrm{q}}}^2} \). Let Δ*θ* be the phase angle difference between \( {\dot{U}}_{pcc} \) and \( {\dot{I}}_{\mathrm{dg},\mathrm{f}} \), which equals to the power factor angle of PV, *φ*. Considering (3), the angle *φ* can be derived from the output active and reactive power:

then

In this paper, the fault equivalent model under A-B fault at location f_{4} is taken as an example. There are positive and negative sequence components under A-B fault. The positive network contains main source and two PVs, but the negative network has no source because the main source and PV only output positive sequence voltage and current.

The positive sequence network and negative sequence network are illustrated in Fig. 8(a) and (b), respectively. Here, we suppose that each positive sequence impedance (PSI) equals its negative sequence impedance.

Where.

\( {\dot{E}}_{\mathrm{s}} \): Voltage of the main source;

*Z*
_{s}: Equivalent PSI of the main source;

*Z*
_{L1}, *Z*
_{L2}, *Z*
_{L3}: PSI of L_{1}, L_{2}, L_{3}, respectively;

*Z*
_{L41}: PSI of the line from fault point to busbar N;

*Z*
_{L42}: PSI of the line from fault point to the end of L_{4};

*Z*
_{Load1}: Equivalent PSI of the load1;

*Z*
_{Load2}: Equivalent PSI of the load2.

The simplified positive and negative sequence networks are illustrated in Fig. 9.

In Fig. 9, the equivalent voltage source and each impedance can be expressed as:

where *Z*
_{tem1} = *Z*
_{L1} + *Z*
_{Load1}, *k* = *Z*
_{tem1}/(*Z*
_{s} + *Z*
_{tem1}), *Z*
_{2 ∑ 1} = (*Z*
_{s}
*Z*
_{tem1})/(*Z*
_{s} + *Z*
_{tem1}) + *Z*
_{L2} + *Z*
_{L3} + *Z*
_{L41}, *Z*
_{2 ∑ 2} = *Z*
_{L42} + *Z*
_{Load2}.

According to the boundary conditions, the compound sequence network and its simplification can be drawn in Fig. 10.

In Fig. 10(b), the equivalent impedance Z_{2} and Z_{3} are expressed as:

*Z*
_{2} = *Z*
_{L3}, *Z*
_{3} = *Z*
_{L41} + (Z_{2∑} ⋅ Z_{2 ∑ 2})/(Z_{2∑} + Z_{2 ∑ 2}).

### Solving method

The mesh current method is used to analyze the simplified compound sequence network in Fig. 10(b). There are three meshes, and the corresponding mesh currents are \( {\dot{I}}_{\mathrm{m}1} \), \( {\dot{I}}_{\mathrm{m}2} \) and \( {\dot{I}}_{\mathrm{m}3} \), respectively. The three mesh current equations are as follows:

Write complimentary equations by considering (7):

There are five equations in (11) and (12) with five unknown complex variables, \( {\dot{I}}_{\mathrm{m}1} \), \( {\dot{I}}_{\mathrm{m}2} \), \( {\dot{I}}_{\mathrm{m}3} \), \( {\dot{U}}_{\mathrm{M}1} \) and \( {\dot{U}}_{\mathrm{N}1} \). Each complex variable has the real part and imaginary part. Thus, the equations can be rewritten as:

Especially, there are four nonlinear equations related to f(*u*
_{m1}) and f(*u*
_{n1}). The Newton-Raphson algorithm is used to solve the equation group in (13).

During every iteration, the amplitude and phase angle of full-voltage at position M and N need to be calculated. Then *I*
_{dg1 , f} can be calculated according to (4) and *θ*
_{dg1} can be calculated according to (8) and (9). *I*
_{dg2 , f}and *θ*
_{dg2} can be derived in the same way.

### Comparisons with simulation results

For three-phase fault, the theoretical analysis results are as follows:

For A-B fault, the theoretical analysis results are as follows:

The comparisons between simulation and theoretical results are shown in Table 2 and Table 3.

It can be seen from Table 2 and Table 3 that the theoretical results are consistent with simulation results. The relative errors of most quantities are within 5%. All the absolute errors of phasor angles are within 5° under three-phase fault condition, and within 10° under A-B fault condition. The comparisons have shown the effectiveness of the simulations results.

## Conclusions

To investigate the fault characteristics of distribution networks with inverter-based DGs, this paper proposes a complete simulation model for a typical distribution network integrated with PV generators based on the RTDS.

The comparisons between the simulation results and the theoretical analysis proved the feasibility of the proposed modeling methodology. Both the fault simulation waveforms and the phasor calculation results show that the output current of inverter-based DG increases slightly (less than 2 times of rated value) and maintains symmetrical under different fault conditions, which are quite different from that of traditional sources.

Moreover, using the proposed simulation model, RTDS can produce analogue voltage and current signals reflecting fault characteristics of distribution network with inverter-based DGs. Then these analogue signals can be used to test actual protection devices in a close- loop manner.

## References

Gia Ing, K., Jamian, J. J., Mokhlis, H., & Illias, H. A. (2016). Optimum distribution network operation considering distributed generation mode of operations and safety margin.

*IET Renew Power Gener, 10*(8), 1049–1058, 9.Adefarati, T., & Bansal, R. C. (2016). Integration of renewable distributed generators into the distribution system: A review.

*IET Renew Power Gener, 10*(7), 873–884, 7.Degefa, M. Z., Alahäivälä, A., Kilkki, O., et al. (Nov. 2016). MAS-based modeling of active distribution network: The simulation of emerging behaviors.

*IEEE Trans Smart Grid, 7*(6), 2615–2623.Haj-ahmed, M. A., & Illindala, M. S. (July-Aug. 2014). The influence of inverter-based DGs and their controllers on distribution network protection.

*IEEE Trans Ind Appl, 50*(4), 2928–2937.Houlei Gao, Juan Li and Bingyin Xu, “Principle and implementation of current differential protection in distribution networks with high penetration of DGs,” IEEE Trans Power Delivery, vol. PP, no.99, pp.1-1. doi: 10.1109/TPWRD.2016.2628777.

Sharma, A., Srivastava, S. C., & Chakrabarti, S. (May 2016). Testing and validation of power system dynamic state estimators using real time digital Simulator (RTDS).

*IEEE Trans Power Syst, 31*(3), 2338–2347.AL-Ismail, F. S., Hassan, M. A., & Abido, M. A. (2014). RTDS implementation of STATCOM-based power system stabilizers.

*Can J Electr Comput Eng, 37*(1), 48–56, winter.S. R. Lee, J. Y. Yoon, J. H. Kim, et al, “Protective relay tests of hybrid SFCLs in a Korean distribution power system using RTDS,” IEEE Trans Appl Supercond, vol. 21, no. 3, pp. 2188-2192, June 2011.

Wang, B., Dong, X., Bo, Z., & Perks, A. (2008). RTDS environment development of ultra-high-voltage power system and relay protection test.

*IEEE Trans Power Delivery, 23*(2), 618–623.Juan, L., Gao, H., & Zhu, G. (2016). Inverse-time current differential protection in active distribution network considering characteristics of inverter-interfaced distributed generations.

*Trans China Electrotechnical Society, 31*(17), 74–83.Jingliao, S., Yongli, L., Shengwei, L., et al. (2009). Study on adaptive current instantaneous trip protection scheme for distribution network with inverter interfaced DG.

*Automation of Electric Power Systems, 33*(14), 71–76.Wu, Z., Wang, G., Haifeng, L., et al. (2013). Analysis on the distribution network with distributed generators under phase-to-phase short-circuit faults.

*Proceedings of the CSEE, 33*(1), 130–136.L. Wang, H. Gao, J. Wang, et al, “Modeling and fault simulation of active distribution network based on RTDS”, 2016 China International Conference on Electricity Distribution (CICED), Xi'an, 2016, pp. 1–5.

Xi, C. (2013).

*Develop of three-phase PV grid inverter and research of grid control strategy*. China: Shandong University.Kong, X., Zhe, Z., Xianggen, Y., et al. (Dec.2013). Study on fault current characteristics and fault anal-ysis method of power grid with inverter interfaced distributed generation.

*Proceedings of CSEE, 33*(34), 65–74.

## Acknowledgments

This work was supported by Nation Natural Science Foundation of China (51377100) and the Key Scientific and Technological Project of State Grid Shandong Power Company (SGSDWF00YJJS1400563).

## Author information

### Authors and Affiliations

### Contributions

LW investigated the modeling methodology of distribution networks integrated with IBDGs, conducted the fault simulation and drafted the manuscript. HG proposed the equivalent circuit of distribution networks with IBDGs and the solution method for loop current. GZ verified the simulation model and analyzed the simulation results. All authors read and approved the final manuscript.

### Corresponding author

## Ethics declarations

### Authors’ information

**Longchang Wang** was born in Shandong Province, China, in 1990. He received the B.S. degree in electrical engineering from Shandong University, Jinan, China, in 2014. He is now a Master candidate in the School of Electrical Engineering, Shandong University. His research interest is power system protection and control. E-mail:longchangw@126.com.

**Houlei Gao** (M’11) was born in Shandong Province, China, in 1963. He received the B.S. and M.S. degrees in electrical power engineering from Shandong University of Technology, Jinan, China, in 1983 and 1988, respectively, and the Ph.D. degree in electrical power system and automation from Tianjin University, Tianjin, China, in 1997. From 2004 to 2005, he worked as senior visiting scholar with the School of Electrical and Electronic Engineering, Queen’s University Belfast, U.K. He is currently a Professor at the School of Electrical Engineering, Shandong University, China. He has authored or coauthored more than 170 technical papers. His research interests include power system protection, fault location, smart substation and distributed generation. E-mail: houleig@sdu.edu.cn.

**Guibin Zou** (M’12) was born in Shandong Province, China, in 1971. He received the M.Sc. and Ph.D. degrees in the automation of electric power systems from Shandong University, Jinan, China, in 2000 and 2009, respectively. Currently, he is a Professor with the School of Electrical Engineering, Shandong University. His research areas include power system protection and control, power system simulation and modeling, digital substations, and wind power generation techniques.

### Competing interests

The authors declare that they have no competing interests.

## Rights and permissions

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## About this article

### Cite this article

Wang, L., Gao, H. & Zou, G. Modeling methodology and fault simulation of distribution networks integrated with inverter-based DG.
*Prot Control Mod Power Syst* **2**, 31 (2017). https://doi.org/10.1186/s41601-017-0058-9

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/s41601-017-0058-9

### Keywords

- Distribution network
- Inverter-based distributed generation (DG)
- Simulation model
- Fault analysis
- Real time digital Simulator (RTDS)