Rule-Based Control of Battery Energy Storage for Dispatching Intermittent Renewable Sources | Synapse