FLEXIBLE POWER GENERATION AND BATTERY STORAGE