  We propose and experimentally validate a control strategy to dispatch the
operation of a distribution feeder interfacing heterogeneous prosumers by using
a grid-connected battery energy storage system (BESS) as a controllable element
coupled with a minimally invasive monitoring infrastructure. It consists in a
two-stage procedure: day-ahead dispatch planning, where the feeder 5-minute
average power consumption trajectory for the next day of operation (called
\emph{dispatch plan}) is determined, and intra-day/real-time operation, where
the mismatch with respect to the \emph{dispatch plan} is corrected by applying
receding horizon model predictive control (MPC) to decide the BESS
charging/discharging profile while accounting for operational constraints. The
consumption forecast necessary to compute the \emph{dispatch plan} and the
battery model for the MPC algorithm are built by applying adaptive data driven
methodologies. The discussed control framework currently operates on a daily
basis to dispatch the operation of a 20~kV feeder of the EPFL university campus
using a 750~kW/500~kWh lithium titanate BESS.
