Optimal configuration of micro-grids power supply based on operating modes | IEEE Conference Publication | IEEE Xplore