Figure 3:
Simulink Block diagram of PV array