TerraForm Power is planning to pay off some of its debt by raising $500 million through a share offering.