It depends on how you cover the wall. If you only put a top solar panel with 1.2 m in width, you get about 600 MW out. If you cover the whole height of the wall with panels, as Trump proposed (he said the higher the better), you can get 6 GW, perhaps even even twice as much if the wall is higher and you tilt the panels (which you really should do in this case).
(snip).
Of course a wall with tilted solar panels on the southern side wouldn't be a very effective barrier. The difference between that and the wall Trump initially proposed is that you don't need a ladder to climb this one, just a rope to get down the other side. But hey, if the wall does get built (which I doubt it ever will), then you might as well make it useful for something.
McHrozni
Actually, looking at the lattitude (around 32 deg north for the Cal/Mexico border crossing) the optimal angle is more horizontal than vertical, with 27 degs from the horizontal being the ideal angle for that lattitude (facing south obviously)
Tijuana, Baja California, Mexico Geographic Information
Country Mexico
Latitude 32.522499
by the time you get to Brownsville in Texas its down at 25.9017° N, 97.4975° W so its panels are even flatter at around 23 deg
(
http://etc.usf.edu/clipart/32500/32501/angle_023_32501_lg.gif) shows a 23 deg angle, just so you can see how `flat it is....
So that is `quite' flat, certainly moreso than having then on the vertical side of the wall
http://www.solarpaneltilt.com/
Latitude__________Full year angle______Avg. insolation on panel______% of optimum
0° (Quito)____________0.0________________6.5__________________ 72%
5° (Bogotá)___________4.4_______________ 6.5___________________72%
10° (Caracas)__________8.7________________6.5___________________72%
15° (Dakar)____________13.1_______________6.4__________________72%
20° (Mérida)___________17.4_______________6.3___________________72%
25° (Key West, Taipei)___22.1_______________6.2___________________72%
30° (Houston, Cairo)_____25.9_______________6.1___________________71%
35° (Albuquerque, Tokyo) _29.7_______________6.0___________________71%
40° (Denver, Madrid)______33.5______________5.7___________________71%
45° (Minneapolis, Milano)__37.3______________5.4___________________71%
50° (Winnipeg, Prague)____41.1______________5.1___________________70%