**2. Configuration of AC Microgrid Testbed**

The grid-tied AC-MG testbed used in this study consisted of a PV system, a battery storage, a diesel generator and two types of load (critical and non-critical) which is represented in Figure 1. The modelling of the MG was conducted in an RSCAD platform, using modules of different components available in the RSCAD library. In Appendix A Table A1, the specifications of all the components used in the MG are depicted, which were obtained from [38]. As shown in Figure 1, two VSIs are used to connect the PV and battery storage systems with the AC bus, and the AC-MG was integrated with the grid through a 3-ph transformer.

**Figure 1.** Schematic of Modelled Grid-tied AC Microgrid.
