Canada's TransAlta Renewables Inc (TSE:RNW) will build 38.1 MW of solar plants with battery storage to power a nickel mining site in Western Australia owned by a unit of Melbourne-based resources company BHP Group Ltd (ASX:BHP).