Optimal Allocation of PV Generation and Battery Storage for Enhanced Resilience Academic Article uri icon