In this case they have to build an expensive structure to cover the canal anyway. The span is large. Putting solar panels on it increases the loading and requires a slightly stronger structure, but might improve the financials of the project enough to make sense.