Application of model predictive control to grid flexibility provision by distributed energy resources in residential dwellings under uncertainty. (15th January 2022)