Wake effect on a semi-active flapping foil based energy harvester by a rotating foil