AN ANALYTICAL METHOD FOR SIZING ENERGY STORAGE IN MICROGRID X2026