Enviar por SMS: Application of programmed trajectory motion control for the grids containing distributed generation