A method for the optimal sizing of a photovoltaic system is presented in this paper. The system studied is composed of photovoltaic array, power tracker, battery storage, inverter and load. The data used were the sunshine duration and solar radiation intensity for years 1990 to 2004 for eleven Nigerian stations: Calabar, Ibadan, Ilorin, Kaduna, Kano, Lagos, Lokoja, Maiduguri, Minna, Sokoto and Zaria obtained from the archives of the Nigeria Meteorological Agency. Appropriate programs were developed using MatlabR code to model the optimal size of a photovoltaic system. Input parameters which were estimated from the obtained heliophysical variables and used in the simulation were clearness index and total radiation on an inclined surface. The...