Feeder flow control and operation in large scale photovoltaic power plants and microgrids : Part I Feeder ow control in large scale photovoltaic power plants : Part II Multi-microgrids and optimal feeder ow operation of microgrids