Analysis of Grid Performance with Diversified Distributed Resources and Storage Integration: A Bilevel Approach with Network-Oriented PSO | Synapse