It would be interesting to read an actual deep technical dive on this.
Was cuba previously generating electricity with imported oil? How were they paying for that? A gift from Venezuela? It seems possible that the solar is actually batter and cheaper than what they were paying for before but needs up-front financing, which is a general issue with solar in developing nations.