Amongst various structures, 2D panels are widely used in many industries and in each application, there are many ambient vibrations which can be converted into electrical energy. The very efficient method to utilize can be using piezoelectric patches which are stuffiest enough for various applications like energy harvesting. This study presents a novel approach for investigating energy harvesting in smart structures using composite panels integrated with piezoelectric patches. The panels are chosen to symmetry-balanced laminated composites, and modal and harmonic analysis conducted using the Rayleigh-Ritz method. To compute the kinetic and potential energy components of the piezoelectric patches at a local level, piecewise Heaviside functions are employed, and these energy components are integrated into the equations of motion together with those of the host composite plate. The results of the numerical method are validated by a commercial finite element software (FEM) COMSOL and there is a good match between FEM and this paper results. By subjecting the laminated composite with piezoelectric patches to forced vibration while varying the lamination parameter, the power output is optimized. The findings emphasize the substantial impact of the lamination parameter on power output, indicating that modifications can result in significant power output increase.