This assignment delves into the critical field of energy management systems, focusing on their operation and control within the context of electric energy transmission systems. It explores concepts like demand-side management in smart grids, incorporating electric vehicle integration and Vehicle-to-Grid (V2G) support. The assignment further examines microgrid management strategies, including optimization techniques for efficient operation.