Globally, there has been a sharp increase in energy needs due to industrialization and technological advancement. The wisest course of action is to switch from traditional energy sources to renewable energy sources, or ecologically friendly types of energy. Solar energy is one of the most abundant and widely accessible renewable energy sources. Photovoltaic (PV) systems using solar energy to generate electricity are weather-dependent. With the data available in the System Advisory Model (SAM), the Mogadishu region of Somalia can produce about 10 MW peak solar PV system design, which will be helpful to reach the country's target of total installed solar energy capacity by 2025. The SAM was used in this paper to design (system technical design and financial analysis) the small, medium, and large PV systems for the different countries. A 6% annual growth in producing capacity is the ultimate objective of the Somali National Development Plan (NDP). The nation's production capacity increased from 115 MW to 344 MW between June 2021 and June 2015. The target of the NDP is to raise generating capacity to 1043 MW between 2022 and 2027. It is intended to raise the electrification rate to 75% from its present 36% level. 41 MW of solar and 1 MW of wind power are Somalia's total installed capacity for renewable energy (RE). There are 3,000 hours of sunshine each year in the nation, and daily solar radiation levels range from 5 to 7 kWh/m2. Somalia has 41 MW of installed solar capacity and uses it nationwide. A solar photovoltaic system in Somalia attained a performance ratio of 70.8%. By 2030, the UN wants to run all of its operations with 80 percent renewable energy.