Enhancing grid stability and resilience through BESS optimal placement and sizing in VRES-dominated systems | Synapse