Energy harvesting using PZT4 based beam type structural element