Estadísticas de Optimal power flow using the gradient method to reduce electrical losses in power systems