This paper presents the coding of a software designed to forecast the electric load in rural area indeveloping countries. This software aim is to provide a tool for planning rural electrification. It considersvillage has unit of study and distinguish in each village the main consumers; namely poor, medium andrich households, infrastructures, services and specific demands (big SMEs, industries). For each of theseconsumers, the load curves are entered as key input to compute the total demand of villages in term ofenergy consumption, peak demand and total load curves. Each village belongs to different study areawhere input parameters differ; the merging of all studied areas can cover an entire country. Calculationsare done year by year for a typical duration of 20 years. This work has been declined to feasibility andimplementation tools.The work done for this master thesis also includes the organization of a survey campaign dedicated incollecting data in Tanzania to feed the load forecast model built previously. To conduct this survey aspecial excel database based on interactive forms has been built