This book covers different topics from smart grids and sustainable energy, including: automation and control of smart grids, sustainability and energy efficiency, security and stability of smart grids, and intelligent implementation of smart grids. Section 1 focuses on automation and control of smart grids, describing smart grids: future of electrical transmission and distribution, building automation networks for smart grids, voltage control in smart grids: an approach based on sensitivity theory, agents for smart power grids, and distributed optimal control of transient stability for a power information physical system. Section 2 focuses on sustainability and energy efficiency, describing energy efficiency in smart grid: a prospective study on energy management systems, energy efficiency and renewable energy technologies using smart grids: study case on NIPE building at UNICAMP campus, towards attaining reliable and efficient green cloud computing using micro-smart grids to power internet data center, the development of electricity grid, smart grid and renewable energy in Taiwan, and optimal power flow approach for cognitive and reliable operation of distributed generation as smart grid. Section 3 focuses on security and stability of smart grids, describing a secure and scalable data communication scheme in smart grids, S-DPS: an SDN-based DDOS protection system for smart grids, distribution system reliability analysis for smart grid applications, and approach to assess the resiliency of electric power grids. Section 4 focuses on intelligent implementations of smart grids, describing intelligent load shedding using TCP/IP for smart grids, intelligent load management scheme for a residential community in smart grids network using fair emergency demand response programs, towards implementation of smart grid: an updated review on electrical energy storage systems, and a perspective on the future of distribution: smart grids, state of the art, benefits and research plans.