Piezo thermoelastic model for design optimization of resonant beams