You are correct, the loan carries a much higher cost than 5%. 20% of the net profits of each specific project reverts to the loan holder, but only for the life of the loan. Thus the importance of developing profitable projects, and paying off these loans as rapidly as possible. It just dilutes the revenue stream, but there would be no revenue stream without the loan/project.
The BSP deal is similiarily constructed, Rudana is a investment firm, not a alternate energy provider. They appear to be finding companies in the field of alternate energy, and willing bankers, matching them up and developing projects, giving all parties a stake in the outcome.
Nobody said it was going to be easy.