Learning from Morocco: Funding green energy