“…Battery control strategy from the proposed two-stage stochastic programming (named D) is compared to other three control strategies A, B and C. Strategies A and B are from literature [4] and strategy C is from literature [26]. A is obtained based on the prediction of solar power and building load without considering the randomness and the power scheduling among different buildings (∀i, j ∈ M and i ≠ j, p t pv,l,i,j = 0, p t pv,b,i,j = 0 and p t b,l,i,j = 0,).…”