Text this: Passivity-based analysis and control of AC microgrids: Integration, operation and control of energy storage systems