Distributed battery dispatch for uncertainty mitigation in renewable microgrids | Synapse