Modeling piezoelectric actuators in ultrasonic excitation molds