**4. Implementation of the microgrid model**

In order to implement the developed MSR model so as to evaluate the power generation reliability of the proposed microgrid system, Monte Carlo simulation is performed using Matlab. The flow diagram is shown in **Figure 8** and is explained in steps 1–5. The model of the MSR and the reliability evaluation of various operating modes of the proposed microgrid are implemented using Matlab code according to the flow chart shown in **Figure 9** and explained in steps 6–7.

Step 1: Wind speed field data model


Step 2: Reliability of power generation by WT rotor

• WT rotor output power distribution generation

• Parameter estimation for WT rotor power distribution

• Determining speed distribution seen by the gearbox

• Generator output power distribution generation

Step 5: Reliability of interfacing power electronics

• Speed distribution parameter calculation using least-squares technique

• Distribution parameter determination using least-squares technique

• Power loss calculation of diodes and IGBTs in the IPE system using Eqs. (25)

• Reliability evaluation of generator output power using Eq. (19)

• Failure rate distribution generation for diodes and IGBT switches

• Reliability calculation using Eq. (14)

*Flow chart for calculating the microgrid system reliability.*

• Reliability calculation using Eq. (17)

Step 4: Reliability of generator

and (28)

**183**

Step 3: Reliability of gearbox

**Figure 9.**

*Microgrid System Reliability*

*DOI: http://dx.doi.org/10.5772/intechopen.86357*

**Figure 8.** *Flow diagram for reliability calculation of wind generation subsystems.*

*Microgrid System Reliability DOI: http://dx.doi.org/10.5772/intechopen.86357*

#### **Figure 9.**

**4. Implementation of the microgrid model**

*Reliability and Maintenance - An Overview of Cases*

Step 1: Wind speed field data model

reliability flow diagram

**Figure 8.**

**182**

the flow chart shown in **Figure 9** and explained in steps 6–7.

Step 2: Reliability of power generation by WT rotor

• WT rotor output power distribution generation

*Flow diagram for reliability calculation of wind generation subsystems.*

In order to implement the developed MSR model so as to evaluate the power generation reliability of the proposed microgrid system, Monte Carlo simulation is performed using Matlab. The flow diagram is shown in **Figure 8** and is explained in steps 1–5. The model of the MSR and the reliability evaluation of various operating modes of the proposed microgrid are implemented using Matlab code according to

• Field data collection and distribution identification using probability plots

• Generating a series of random data as the input for the next steps of the

• Goodness-of-fit test for selecting the distribution of wind speed

• Calculating the distribution parameter using Eqs. (12) and (13)

*Flow chart for calculating the microgrid system reliability.*


Step 3: Reliability of gearbox


Step 4: Reliability of generator


Step 5: Reliability of interfacing power electronics


Step 6: Reliability of DG units


Step 7: Reliability of microgrid system

• MSR calculation using Eqs. (36)–(39) for various operational modes
