This new edition integrates three areas of electrical engineering, power system engineering, control systems engineering and power electronics to address the modeling and control of smart grid renewable energy system into electric power systems. The approach to integration of these three areas differs from classical methods. Due to the complexity of this task, the author presents the basic concepts, and then presents a simulation test bed in MATLAB® to use these concepts to solve a basic problem in development of smart grid energy system. Therefore, each chapter has three parts: first a problem of integration is stated and its importance is described. Then the mathematical model of the same problem is formulated. Next, the solution steps are outlined. This step is followed by developing a MATLAB® simulation test bed.