Multimodal piezoelectric devices optimization for energy harvesting