This document provides an overview of load flow optimization and optimal power flow. It discusses fundamental load flow concepts, automatic generation control, load flow modeling over AC transmission lines, HVDC transmission load flow, various load flow solution methods, reactive power flow and voltage control, and flexible AC transmission systems (FACTS). The document is volume 2 of a power systems handbook series focusing on different aspects of power system analysis.