Development of a Grid-Friendly Active PowerControl of PV-Batteries using Rolling Forecast