The stability analysis of a dynamical system equipped with a piezoelectric energy harvester device near resonance | Synapse