A tri-layer stochastic framework to manage electricity market within a smart community in the presence of energy storage systems | Publicación