Real-Time Energy Storage Management for Renewable Integration in Microgrid: An Off-Line Optimization Approach | Synapse