AN INTRODUCTION TO MICROGRIDS AND ENERGY STORAGE