Text this: Optimization of smart microgrid with high renewable energy penetration for residential flexible loads /