I had an experiment planned back in around 2014, where I was going to hang 40 watt UV bulbs over a tank, on a timer, on about 4 hours per day, but
I moved to Panama before its inception.
The experiment was to see if the UV had and effect on fish known to be prone to bacterial issues.
Nandopsis haitiensus was to be one of its subjects, because of the intense sun during midday in their island habitat, and its susceptibility to bloat reported in many aquarists tanks.
I now have a tank (refugium) that sits in full sun about 3 hours per day (give or take cloud cover)
I purposely grow lotus pads to provide shade for its inhabitants, and to mitigate heat.
I am amazed at the lack of algae in it, compared to a tank next to it, even though its located in the shade under a patio roof.
The refugium does contain a Panamanian pleco, and a number of local shrimp.

Below is the shaded rank, note the algae smudge in its lower left, just below where my arm is not long enough to scrape efficiently with a razor blade.

now a side view of the refugium, not totally algae free, but quite clear, for getting lots of full sun.

I do give it a quick scrape with a razor blade, maybe once a week.