Optimizing microgrid efficiency: Coordinating commercial and residential demand patterns with shared battery energy storage | Synapse