Response of piezoelectric layer in composite laminates due to electromechanical loads