The paper investigates how the energy input/output of a composite plate with piezoelectric patches, acting as a sensor, actuator, or energy harvester, can be regulated by changing the parameters of the piezoelectric patches, the external vibrating frequency and the boundary conditions imposed on the host platelayer. It is shown that for any size of the piezoelectric patches there is always one location where the energy input/output reaches a maximum, whether the process is very low frequency or higher frequency. Furthermore, for a dynamic vibrational loading the energy input/output is highly sensitive whether the operating frequency is below or above the system's resonance frequency. For the operating frequency close to but below the resonance frequency, the location for the maximum energy input/output is considerably different from the optimal location when the operating frequency is just above the systems resonance frequency. That is to say, a slight change in the operating frequency around the resonance frequency can make a considerable difference to the optimal locations for the piezoelectric patches for maximum energy input/output.