Time domain modeling in the thickness mode of a piezoelectric transducer and its electrical circuit including time-varying component