Text this: Optimizing energy and load management in island microgrids for enhancing resilience against resource interruptions