Figure 1:
Block diagram of micro grid