Heuristic battery-protective strategy for energy management of an interactive renewables–buildings–vehicles energy sharing network with high energy flexibility. (15th June 2020)