There are often some nice ideas showing the possibility of small solar installations that provide both shading and a place for a production of the electricity from the sunshine.
Such ideas can be now easily realized using the transparent solar panels
Check the ELERIX Solar panel transparent Dual Glass 300Wp 54 cells