Model of the generation and transmission of renewable electricity in Africa