This lecture discusses the optimal planning of energy storage systems in electrical distribution grids using receding horizon control strategies. It covers the motivation behind integrating renewables, the objective of optimal sizing and placement of energy storage systems, and the utilization of controllable units like photovoltaic plants and HVAC systems. The lecture also delves into grid parameters, dispatch tracking using receding horizon control, and the impact of energy storage system sizing on grid performance.