Robust control of micro-grids with renewable energy sources