Text this: Energy Management Systems for Optimal Operation of Electrical Micro/Nanogrids