A Pike County hog farm is receiving $152,815 to install a solar array that will replace with clean energy the amount of electricity used by about 13 houses.