Control and Size Energy Storage Systems for Managing Energy Imbalance of Variable Generation Resources | Synapse