A Resilience-Based Architecture for Joint Distributed Energy Resources Allocation and Hourly Network Reconfiguration | Synapse