This research addresses distributed proportional power sharing of inverter-based Distributed Generators (DGs) in microgrids under variations maximum capacity DGs. A microgrid can include renewable energy resources such as wind turbines, solar panels, fuel cells, etc. The intermittent nature causes their capacities. Since DGs be regarded Multi-Agent-Systems (MASs), a consensus algorithm is desig...