In this study, the bi-functional performance of a small-scale piezoelectric cantilever, which coupled piezoelectric and elastocaloric phenomena in a single device to produce energy harvesting as well as refrigeration effects due to vibration, has been investigated. Finite element modeling has been used to examine the performance of the device. The basic structure of the device is a cantilever that vibrates between two thermal bodies (hot and cold). The properties of BaTiO 3 (single crystal) were used to examine the bi-functional performance of piezoelectric cantilevers. In this study, different cases have been investigated, which are based on a number of cantilevers between hot and cold thermal bodies.When the number of cantilevers is one, the net cooling is 0.3 K and the power is 0.03 mW, while for four cantilevers, the net cooling is 1.2 K and 0.13 mW of power is produced. The results show that as we increase the number of cantilevers, a greater refrigeration effect is produced and higher power across the electrical load is achieved. Fig. 8 Refrigeration effects due to the elastocaloric effect for different numbers of cantilevers: (a) n ¼ 1; (b) n ¼ 2; and (c) n ¼ 4. (d) The final time (to achieve maximum cooling) vs. the achieved cooling temperature for different numbers of cantilevers.3924 | RSC Adv., 2019,9,[3918][3919][3920][3921][3922][3923][3924][3925][3926] This journal is