the new technique was conceived for the coordinated regulation of active power along with reactive power compensation of a grid-connected PV system (SPV) linked to battery energy storage (BES).