Application of a supervised improved PID for the scheduling of energy feeding in a PV - Battery system