Energy Storage for Multigeneration