Experimental and numerical characterization of a gravitational electromagnetic energy harvester