Text this: Low-carbon optimal scheduling for distribution networks under supply and demand uncertainty