Optimal Allocation and Sizing of RES and D-STATCOM in Radial Distribution Networks for Dynamic Loss Minimization and Voltage Resilience | Synapse