Since renewable energy sources (RES) have almost little inertia, an increase in their electricity might harm the power system's ability to run steadily and dependably. Numerous solutions to the issue mentioned above are offered. This paper aims to assess the technological possibility of using energy storage system (ESS) devices built from batteries and supercapacitors to enhance the interia response of sources in microgrids with a large amount of PV power penetration. The microgrid's inertia was altered by varying the penetration level of RES. To obtain a rigid microgrid, batteries and supercapacitors are suggested in this study to enhance frequency stability and droop control is utilized to complete this assessment. The model of the on-grid power network was designed using Simulink in MATLAB to evaluate the high level of RES penetration impact on the frequency stability of the system. Results verify that the microgrid stiffness is significantly enhanced when the suggested storage elements are incorporated. The findings show that the rate of change of frequency (RoCoF) is reduced when the size of the ESS increases and vice versa. The supercapacitor energy storage system (SCESS) can increase the stability of the system's frequency more effectively than the battery energy storage systems (BESS) with a slower time response.