While investments in wind and solar mostly resulted in losses in 2023, fund managers who piled into companies tied to the electrical grids that distribute clean energy enjoyed double-digit returns. The Nasdaq Clean Edge Smart Grid Infrastructure Index ended last year up more than 20%, led by companies such as Eaton Corp., ABB Ltd. and Schneider Electric SE, compared with the more than 20% decline of the S&P Global Clean Energy Index.