Connecting a small capacity power plant to the grid