Active distribution grids and EV charging stations: a centralized approach for their integration