Assessment of the value of flexibility by using stochastic scheduling tool