Techno-Economic Feasibility of Off-Grid Renewable Energy Electrification Schemes: A Case Study of an Informal Settlement in Namibia

This paper examines different off-grid renewable energy-based electrification schemes for an informal settlement in Windhoek, Namibia. It presents a techno-economic comparison between the deployment of solar home systems to each residence and the supplying power from either a centralized roof-mounted or ground-mounted hybrid microgrid. The objective is to find a feasible energy system that satisfies technical and user constraints at a minimum levelized cost of energy (LCOE) and net present cost (NPC). Sensitivity analyses are performed on the ground-mounted microgrid to evaluate the impact of varying diesel fuel price, load demand, and solar photovoltaic module cost on system costs. HOMER Pro software is used for system sizing and optimization. The results show that a hybrid system comprising a solar photovoltaic, a diesel generator, and batteries offers the lowest NPC and LCOE for both electrification schemes. The LCOE for the smallest residential load of 1.7 kWh/day and the largest microgrid load of 5.5 MWh/day is USD 0.443/kWh and USD 0.380/kWh, respectively. Respective NPCs are USD 4738 and USD 90.8 million. A sensitivity analysis reveals that variation in the fuel price and load demand changes linearly with system costs and capacities. However, reducing the PV module price in an energy system that includes wind and diesel power sources does not offer significant benefits. Furthermore, deploying an energy system that relies on fossil fuels to each residence in an informal settlement is not environmentally responsible. Unintended negative environmental impacts may result from the mass and simultaneous use of diesel generators. Therefore, a microgrid is recommended for its ability to control the dispatch of diesel generation, and its scalability, reliability of supply, and property security. A roof-mounted microgrid can be considered for piloting due to its lower initial investment. The electricity tariff also needs to be subsidized to make it affordable to end-users. Equally, government and community involvement should be prioritized to achieve long-term economic sustainability of the microgrid.


Introduction
Access to electricity is an essential stimulant to improved productivity, enhanced living standards, and promotion of various types of social-economic welfare [1][2][3]. Whilst the proportion of those without electricity in sub-Saharan Africa has steadily declined [4], about 45% of the people in Namibia still lack access to electricity [5], especially those living in rural areas and informal settlements. The country's electricity access for rural and urban areas is 34.9% and 74.6%, respectively [6]. The disparity has motivated many people to migrate from rural to urban settings in pursuit of better opportunities [7]. They often

•
The hydro resource is currently the largest renewable source contributing to domestically generated electricity. In 2021, the only hydropower plant in the country (Ruacana) contributed 80% of domestic capacity [5,24]. • Namibia receives abundant solar radiation, with daily global horizontal irradiation between 4.4 kWh/m 2 along the coastal areas and roughly 7.8 kWh/m 2 in arid areas. A pre-feasibility study established that more than 33,000 km 2 of potential sites for concentrated solar power exist in the country and produce up to 250 GWe [40,41]. • Average wind speed in the country ranges from 4 to 15 m/s, with higher speed expected along the coastline. A wind-power density of class 7 can be expected on the Luderitz coastline and class 3 in most parts of the country [42]. • Encroacher bush and solid waste are key biomass resources in Namibia for electricity generation. There are approximately 260 billion m 2 of bush-encroached land in the country and it is expected to grow by 3.2% annually [43]. • A natural gas field with the potential for an 800 MW (nominal) power plant was discovered in offshore Namibia, but its implementation remains elusive [44].

Overview of the Namibian Power Sector
Namibia's average peak demand is about 688 MW, and is largely met by a local/import ratio of about 40/60. The 40% local generation is comprised of hydro (≈80%), coal (≈2.5%), and solar/wind/biomass (≈17.5%) [5,25]. Though local installed capacity is about 639.5 MW, as shown in Table 1, the hydro generation is a run of the river plant whose throughput depends on rainfall patterns. Therefore, energy shortage could be up to 60% and is often met by electricity imports from the region [25,45]. To reduce imports dependency, the government, (i) implemented a modified single buyer market framework that promotes participation from independent power producers [46], (ii) increased the renewable share [46,47], and (iii) improved governing policies that attract more energy investments [48,49]. Consequently, Namibia's solar photovoltaic market has grown [50,51], and deployment of more than 278 MW of renewable capacity is expected within the next 5 years [24]. However, more effort is still needed to harness abundant renewable sources to ensure self-sufficiency and achieve universal electricity access, including electrification of informal settlements.

Problem Identification and Study Objectives
Existing and planned renewable generation in Namibia is primarily via large-scale power plants feeding into the national grid and located far from loads. This necessitates large capital investments, and lengthy procurement and construction processes. The upgrading of network infrastructure is also inevitable to integrate large and varying renewable energy, and also mitigate possible grid instability. Meantime, the country's energy demand increases [39] and unelectrified informal settlements grow rapidly [10], thus posing irrepressible socio-economic challenges [52].
In the wake of the declining cost of renewable energy components and vast research on renewable grid integrations, the energy sector is now favoring solar home systems (SHS) and microgrids as a means to reduce capital costs [53], provide rapid electrifica- tion [54,55], and increase network reliability and resiliency [56,57]. Generally, both SHS and microgrids are relatively "small grids" that integrate distributed energy resources such as solar photovoltaics, distributed energy storage devices such as batteries, and local loads. They, however, differ in generation capacity, control strategies, and ability to operate autonomously or in parallel with the grid for better reliability and resiliency [58]. Microgrids tend to have better features and are commonly sized between 50 kW and multiple megawatts [59].
In view of the above, this study examines the technical and economic conditions under which the deployment of solar home systems and microgrids becomes cost effective and viable for a peri-urban area in a developing country. The study is limited to off-grid configurations for an informal settlement in Namibia and assesses whether electrification from a centralized microgrid or stand-alone solar home systems for each resident would be cheaper, sustainable, and environmentally friendly. A sensitivity analysis is also conducted to assess the impact of changes in the diesel fuel price, load demand, and solar PV module costs on optimal energy systems.
The study employs HOMER (Hybrid Optimization of Multiple Energy Resources) software to find optimal energy systems that can cost-effectively satisfy load demand by minimizing the net present cost (NPC) and levelized cost of energy (LCOE). NPC refers to the difference between the present value of all costs of installing and operating a renewable energy system and savings or revenues earned over the project's lifetime. LCOE is a cost-per-unit measure (USD/kWh) that compares the competitiveness of generating energy from different systems. Furthermore, HOMER is a widely used micro-power simulation software that employs an iterative optimization algorithm to find a feasible off-grid or on-grid energy solution [60].

Study Contributions
This study contributes the following:

•
It examines different off-grid energy configurations that can supply the load profile expected in a typical informal settlement or peri-urban community. • It presents a comparative analysis of the deployment of individual solar home systems to each resident versus supplying electricity from a centralized microgrid. • It implements a "framework for rural energy system design" proposed by Ali et al. [61] and assesses its performance for an informal settlement. • It provides a holistic feasibility study that considers both technical, economic, social, and governance aspects in determining the optimal and practical energy solution for the selected community. • It provides insight on whether an off-grid renewable energy system designed for an informal settlement will have techno-economic characteristics similar to a rural area, an urban area, or otherwise. • It can inform power system planners, policy makers, energy investors, and other researchers on the technical and economic conditions to electrify a peri-urban area using renewable energy sources.
This paper is structured into five main sections. Section 1 provides an introduction, the renewable energy potential and power sector overview in Namibia, and the study objectives and contributions. Section 2 discusses recent related techno-economic studies. Section 3 detailed the steps to optimal sizing and techno-economic assessment of a renewable energy system. Section 4 discusses simulation results, while Section 5 concludes the study and provides recommendations.

Related Techno-Economic Studies on Hybrid Renewable Energy Systems
Techno-economic optimization of off-grid and on-grid hybrid renewable energy systems (HRES) has drawn immense attention from researchers in recent years. Most studies examined different HRES configurations to determine optimal options for specific loads such as residential, rural villages, industrial, islands, and medical facilities. An optimal Energies 2022, 15, 4235 5 of 32 solution is the one that can sufficiently meet the load at the lowest cost. Common criteria used in evaluating the economic performance of HRES include net present cost (NPC), levelized cost of energy (LCOE), discounted payback period, and carbon dioxide emission rates [62,63].
Generally, optimal HRES integrates various renewable sources, such as solar photovoltaic and wind, conventional generation such as a diesel generator, and/or energy storage devices, and local loads into a single power system, as depicted in Figure 1. Such configurations can exploit the difference in seasonal and daily profiles of renewable power sources, such that their complimentary behaviors can results in improved reliability of supply while reducing system energy cost [60,64]. Integrating energy storage such as batteries and fuel cells is also found to improve system reliability and stability by countering the effect of fluctuating, and unpredictability of, output power from renewable sources [65]. examined different HRES configurations to determine optimal options for specific loads such as residential, rural villages, industrial, islands, and medical facilities. An optima solution is the one that can sufficiently meet the load at the lowest cost. Common criteria used in evaluating the economic performance of HRES include net present cost (NPC) levelized cost of energy (LCOE), discounted payback period, and carbon dioxide emission rates [62,63].
Generally, optimal HRES integrates various renewable sources, such as solar photo voltaic and wind, conventional generation such as a diesel generator, and/or energy stor age devices, and local loads into a single power system, as depicted in Figure 1. Such con figurations can exploit the difference in seasonal and daily profiles of renewable power sources, such that their complimentary behaviors can results in improved reliability o supply while reducing system energy cost [60,64]. Integrating energy storage such as batteries and fuel cells is also found to improve system reliability and stability by countering the effect of fluctuating, and unpredictability of, output power from renewable sources [65].  Table 2 provides a summary of some recent studies on the techno-economic viability of off-grid hybrid renewable energy systems (HRES) for different load profiles. It outlines each study's main objective, load type, optimization tool employed, and key findings of the research. Generally, most studies found HRES to be the optimal choice as it effectively improves the energy usage factor [66], enhances supply reliability [67], reduces energy storage requirements [64], and lowers carbon emission [68]. A review of selected research is expanded in the next paragraphs.
Ali et al. [61] developed a design framework that can be used to structure a techno economic feasibility study for a rural energy system. The framework was implemented to design potential off-grid and on-grid HRES for a village in Dera Ismail Khan, Pakistan and examined its potential for benchmarking in other developing countries. Real-time electrical load data were used, and HOMER software was employed to carry out system optimization and techno-economic feasibility. The system's robustness and commercia viability were tested via a sensitivity analysis that considered the impacts of solar photo voltaic modules' derating factor and various macro-economic variables. The study found a grid-integrated HRES to offer lower costs than an off-grid configuration, at a levelized cost of energy between USD 0.072/kWh and USD 0.078/kWh, which was also lower than the existing utility tariff. The best solution included a solar photovoltaic source, battery storage, a diesel generator, and restricted grid-connection time that reliably caters for fre quent power outages.  Table 2 provides a summary of some recent studies on the techno-economic viability of off-grid hybrid renewable energy systems (HRES) for different load profiles. It outlines each study's main objective, load type, optimization tool employed, and key findings of the research. Generally, most studies found HRES to be the optimal choice as it effectively improves the energy usage factor [66], enhances supply reliability [67], reduces energy storage requirements [64], and lowers carbon emission [68]. A review of selected research is expanded in the next paragraphs.
Ali et al. [61] developed a design framework that can be used to structure a technoeconomic feasibility study for a rural energy system. The framework was implemented to design potential off-grid and on-grid HRES for a village in Dera Ismail Khan, Pakistan, and examined its potential for benchmarking in other developing countries. Real-time electrical load data were used, and HOMER software was employed to carry out system optimization and techno-economic feasibility. The system's robustness and commercial viability were tested via a sensitivity analysis that considered the impacts of solar photovoltaic modules' derating factor and various macro-economic variables. The study found a grid-integrated HRES to offer lower costs than an off-grid configuration, at a levelized cost of energy between USD 0.072/kWh and USD 0.078/kWh, which was also lower than the existing utility tariff. The best solution included a solar photovoltaic source, battery storage, a diesel generator, and restricted grid-connection time that reliably caters for frequent power outages.
Uddin et al. [69] investigated the technical, economic, and environmental feasibility of a 1.4 MW microgrid that employed recently innovated floating solar photovoltaic mod- ules to serve a remote coastal region in Bangladesh. The load included 2500 households, 120 electric-vehicle scooters, and a 25,000 L water treatment facility. Techno-economic simulation and analysis of system electrical characteristics such as bus voltage were conducted using HOMER and MATLAB/Simulink software, respectively. A configuration of floating solar photovoltaic and battery storage system was found to reliably serve the load at USD 0.183/kWh, which was consistent with the region's grid tariff. The microgrid could also result in an annual saving of up to 694.56 metric tons of carbon dioxide emissions (CO 2 ).
In [70], three potential off-grid HRES were compared to determine the configuration that would reliably and cost-effectively supply a commercial load for a remote transport facility in Makkah Province, Saudi Arabia. A techno-economic assessment was performed using HOMER software, and the best solution was a combination of wind as a power source, batteries and fuel cells for storage, and a diesel generator for backup supply. Its levelized cost of energy was USD 0.271/kWh. Mehta and Chowdhury [71], investigated the technical and economic feasibility of an optimal HRES for medical facilities in Tanzania. Analysis was carried out using the renowned HOMER software. It was observed that an optimal HRES at both locations included a solar photovoltaic, a diesel generator, and battery storage, presenting lower NPC and LCOE. The total system cost was USD 63,136.93 and USD 51,544.75 for an average daily load of 20.26 kWh/day and 16.22 kWh/day for hospitals in the districts of Upanga and Ngamiani, respectively. The fuel cost was between 12.3% and 13.3% of the overall system cost, implying cleaner energy production.
In a study by Zebra et al. [72], a review was conducted to identify key opportunities and barriers to HRES implementation in developing countries. The study considered political/policy, economic, social, technological, environmental, and legal (PESTEL) issues that could influence the integration of HRES in different countries. Information was obtained from scientific literature, development reports, and semi-structured qualitative interviews with experts. The study revealed that on-grid utility-scaled solar photovoltaic microgrids offer lowest the LCOE, ranging between USD 0.54/kWh and USD 0.77/kWh. It was further shown that community and government support were key to the successful implementation of HRES solutions.
A techno-economic study for a rural community in Fouay, Benin, found an off-grid hybrid solar photovoltaic, diesel generator, and battery system to offer the lowest LCOE of USD 0.207/kWh. Analysis was performed using HOMER software and established that integrating a diesel generator increased supply reliability and reduced battery requirements by 70% compared to a solar photovoltaic and battery configuration [73].
Krishan and Suhag [74] compared the techno-economic performance of three hybrid renewable energy systems for residential and agricultural loads in the Yamunanagar community in the State of Haryana, India. HOMER and MATLAB/Simulink software were used for techno-economic evaluation and analysis of electrical systems, respectively. The result showed that an energy system that combines solar, wind, and battery was costeffective for the selected site, with an LCOE of USD 0.288/kWh. The MATLAB simulation demonstrated that an active power balance was maintained amidst solar irradiance, load, and wind speed variations. Similarly, Javed et al. [75], developed a genetic optimization algorithm to evaluate the technical and economic viability of a hybrid solar, wind, and battery system for a remote island. The algorithm was compared to HOMER optimization and offered better performance, in terms of supply reliability and cost. The selected energy configuration could sufficiently supply load, but with high initial capital costs. The study also observed that the size of a wind turbine had little impact on the system cost and reliability.
It is evident from past research that the subject of assessing the viability of renewable energy systems continues to evolve. Literature shows that there is no single solution. An optimal solution is influenced by factors such as accuracy of load profiles [70], types of renewable energy resources at the site [61], component costs [28], and an optimization method used [68]. Government and community support are also key to the implementation and economic sustainability of these projects [76,77]. Therefore, each case study is expected to present unique constraints and outcomes.

Materials and Methods
This study implements a framework proposed by Ali et al. in assessing the technoeconomic viability of a rural energy system. The emphasis is on ensuring that input requirements are carefully assessed to ensure that an appropriate energy system is designed for the target community. As depicted in Figure 2, a pre-HOMER input assessment is carried out in the first step. This includes (i) examining the selected site's social and economic conditions; (ii) assessing the community load demand pattern; (iii) assessing sitespecific renewable energy resources; and (iv) defining energy system component capacities and costs.
In the second step, HOMER Pro 3.14.7880.21077 by HOMER Energy, LLC (Boulder, CO, USA) is used to carry out the techno-economic analysis by modeling, simulating, and optimizing different energy configurations. The aim is to determine the optimal capacities of generating units that can cost-effectively meet the load demand. In the third step, a sensitivity analysis is conducted to assess the robustness of the optimal energy configuration. Finally, financial, social, and environmental aspects are briefly assessed to determine the social and commercial efficacy of the most economical energy system. economic viability of a rural energy system. The emphasis is on ensuring that input requirements are carefully assessed to ensure that an appropriate energy system is designed for the target community. As depicted in Figure 2, a pre-HOMER input assessment is carried out in the first step. This includes (i) examining the selected site's social and economic conditions; (ii) assessing the community load demand pattern; (iii) assessing site-specific renewable energy resources; and (iv) defining energy system component capacities and costs. In the second step, HOMER Pro 3.14.7880.21077 by HOMER Energy, LLC (Boulder, CO, USA) is used to carry out the techno-economic analysis by modeling, simulating, and optimizing different energy configurations. The aim is to determine the optimal capacities of generating units that can cost-effectively meet the load demand. In the third step, a sensitivity analysis is conducted to assess the robustness of the optimal energy configuration.

Site Socio-Economic Assessment
The case study is a semi-electrified Havana informal settlement located on the outskirts of Katutura, a suburb in the northern part of Windhoek, the Namibian capital city (shown in Figure 3). The site is geographically located at 22 • 29 S, 17 • 01 E, at 1558 m in elevation. It is in a semi-arid climatic region with hot summers and cold to mild winters [38]. Havana is the most populous and one of the oldest informal settlements in Windhoek, spanning a total area of approximately 3.1 km 2 and a dwelling density of around three dwellings per 100 m 2 . The settlement is mainly for rural migrants, but it has also become a residence for anyone seeking low-cost living in the city [82]. This is because authorities are slow in delivering proper, sufficient, and affordable housing at a rate that keeps pace with the influx and increasing living costs. Finally, financial, social, and environmental aspects are briefly assessed to determine the social and commercial efficacy of the most economical energy system.

Site Socio-Economic Assessment
The case study is a semi-electrified Havana informal settlement located on the outskirts of Katutura, a suburb in the northern part of Windhoek, the Namibian capital city (shown in Figure 3). The site is geographically located at 22°29′ S, 17°01′ E, at 1558 m in elevation. It is in a semi-arid climatic region with hot summers and cold to mild winters [38]. Havana is the most populous and one of the oldest informal settlements in Windhoek, spanning a total area of approximately 3.1 km 2 and a dwelling density of around three dwellings per 100 m 2 . The settlement is mainly for rural migrants, but it has also become a residence for anyone seeking low-cost living in the city [82]. This is because authorities are slow in delivering proper, sufficient, and affordable housing at a rate that keeps pace with the influx and increasing living costs. Although many residents have the means to construct decent housing, houses in the informal settlements are mainly constructed of cheap and uninsulated corrugated iron that can easily be erected or removed [10]. This is because most of the informal settlers Although many residents have the means to construct decent housing, houses in the informal settlements are mainly constructed of cheap and uninsulated corrugated iron that can easily be erected or removed [10]. This is because most of the informal settlers lack formal property rights and are therefore at risk of losing their investments in event of eviction from the land. However, the Havana settlement has been proclaimed a city structure and basic services are gradually being rolled out. This includes electrification of Havana Ext 1-3 in 2020/2021 through the "Windhoek Peri-Urban Electrification Project" [83][84][85]. Since service delivery has not kept pace with rapid growth of informal settlements, illegal electricity connections have been on the rise as the un-electrified residents try to connect from those legally supplied [86][87][88].
Available data from 2004 estimated that 29% of the Windhoek population lived in informal settlements [89]. Since the Windhoek population has grown annually by 4.2% between 1991 and 2011 [10], all things equal, it can be inferred that informal settlers constituted roughly 48% of Windhoek population by 2021, of which roughly 40% reside in the Havana settlement and other populous settlements such as Babylon, Ombili, Okahandja Park, and Goreagab. The population in Havana is largely a working group of 20-40-year-olds, comprised of unskilled workers, job seekers, and self-employed individuals operating informal businesses [9,10,82]. Thus, electricity consumption is expected to be dominated by domestic consumers and small businesses. The energy needed for cooking and lighting is currently met by firewood and kerosene, respectively. There are also some users operating diesel generators, gas cookers, rechargeable portable lamps, and small solar home systems [9]. The characteristics of the site are summed up in Table 3. Shacks made of corrugated iron [10] Main source of energy: Electricity (for the electrified area), kerosene, and firewood (for un-electrified area) Dominant population: 20-40 years (male and female) [9] Main source of income: Small informal businesses, general labor, and construction labor [10] Monthly income: USD 30-2500 [10] An aerial and closer view of the Havana settlement is shown in Figure 4. The area constitutes about 80% residential, 10% small-scale commercial (comprised of small grocery shops, hair salons, and small liquor shops mainly operated from residential properties), and the remaining 10% is made up by a few public facilities such as schools, clinics, and municipal areas. Two sizes of corrugated iron residences are dominant: the 10-12 m 2 single room occupying 1-2 persons and the 15-24 m 2 usually partitioned to occupy a family of 2-4 persons, typically a couple with young children. There are also a few brick houses, mainly 4 rooms structures in the size range of 30-40 m 2 . These dwellings will henceforth be referred to as Shack-12sqm, Shack-24sqm, and Brick-House, respectively. cery shops, hair salons, and small liquor shops mainly operated from residential properties), and the remaining 10% is made up by a few public facilities such as schools, clinics, and municipal areas. Two sizes of corrugated iron residences are dominant: the 10-12 m 2 single room occupying 1-2 persons and the 15-24 m 2 usually partitioned to occupy a family of 2-4 persons, typically a couple with young children. There are also a few brick houses, mainly 4 rooms structures in the size range of 30-40 m 2 . These dwellings will henceforth be referred to as Shack-12sqm, Shack-24sqm, and Brick-House, respectively.

Load Assessment
Although extensions 1-3 of Havana settlement have been electrified since 2020 [84], actual electricity consumption data for the area could not be obtained. The load data pattern of similar electrified communities in the country are also limited. Therefore, the "bottom-up" approach [92][93][94] was used to formulate the daily load profile expected for the area as outlined in these steps:

1.
Determined the surface area of the unelectrified Havana settlement.

2.
Estimated the dwellings' density per 100 m 2 from the aerial and satellite imagery in Google Maps and then extrapolated to determine the total units in the area. A head count of about 3 dwellings per 100 m 2 was observed.

3.
Estimated the ratio of residential (80%), commercial (10%), and public institutions such as schools and clinics (10%). The commercial dwellings are comprised of small grocery shops and liquor shops, home businesses, and other informal businesses.

4.
Divided the residential units into different classes and estimated expected the daily load. A class ratio of 65% Shack-12sqm, 25% Shack-24sqm, and 10% Brick-House were assumed. Each residential class was assumed to have the same number and types of appliances, which were operated at the same time window. The loads for commercial and public institutions were estimated as different scales of the Brick-House daily load. Details of the daily profile for Shack-24sqm are shown in Table 4, and the total load expected for the area in Table 5.

5.
Ideal relative load demand curves of domestic and commercial profiles common to developing countries were assumed. Single-day curves are shown in Figures 5 and 6, respectively. Relative load demand at any hour D rel,t , is a normalized load (per unit) defined as the ratio between average hourly demand D t and peak demand D p , over a period of time T o . 6.
To make the load profiles more realistic, the daily relative demand profiles were first scaled by average daily consumption (kWh/day) before randomness was added. A 20% day-to-day variance and 10% hourly time-step variance were assumed.      In Figure 5, domestic demand is dominated by morning and evening peaks, whereas commercial demand in Figure 6 is uniformly distributed during the day with a single evening peak. Commercial loads would be dominated by liquor shops, hair salons, and other small businesses; while residential needs would mainly be for lighting, television, radios, phone charging, and refrigeration.

Renewable Resource Assessment
The study only considers solar and wind resources for the selected site. Both solar and wind data are obtained from NASA's (National Aeronautics and Space Administration) database via HOMER software. The data set is comprised of long-term monthly averages of global horizontal irradiance recorded over a 22-year period. In Figure 7, the site has daily average solar radiation of 4.82 kWh/m 2 in winter, 7.44 kWh/m 2 in summer, and an annual average of 6.17 kWh/m 2 . The clearance index is between 0.58 and 0.78 in winter. Thus, 4 to 7 h of full sunlight is available at the site throughout the year and has potential to generate adequate electricity from solar photovoltaic (PV) modules. In Figure 5, domestic demand is dominated by morning and evening peaks, whereas commercial demand in Figure 6 is uniformly distributed during the day with a single evening peak. Commercial loads would be dominated by liquor shops, hair salons, and other small businesses; while residential needs would mainly be for lighting, television, radios, phone charging, and refrigeration.

Renewable Resource Assessment
The study only considers solar and wind resources for the selected site. Both solar and wind data are obtained from NASA's (National Aeronautics and Space Administration) database via HOMER software. The data set is comprised of long-term monthly averages of global horizontal irradiance recorded over a 22-year period. In Figure 7, the site has daily average solar radiation of 4.82 kWh/m 2 in winter, 7.44 kWh/m 2 in summer, and an annual average of 6.17 kWh/m 2 . The clearance index is between 0.58 and 0.78 in winter. Thus, 4 to 7 h of full sunlight is available at the site throughout the year and has potential to generate adequate electricity from solar photovoltaic (PV) modules.   Due to wide temperature range of the site (Figure 8), the effect of temperature on solar PV modules is considered. Temperature coefficient of −0.41%/°C of power, module efficiency of 14.91%, and PV derating factor of 80% are assumed. PV modules are modeled as fixed and tilted north at a 45° angle and assumed to use maximum power point tracking (MPPT).  The average wind speed for the site ranged from 4.34 to 6.50 m/s ( Figure 9), with an annual average of 6.31 m/s. This translates between wind power classes 2 and 3, which can generate marginal to fair wind output.

Solar Photovoltaic Capacity
The solar photovoltaic output power capacity is a function of the site's solar radiation, tilt angle, photovoltaic module rating, and temperature. HOMER calculates solar photovoltaic array power output as follows [60]: where is the solar photovoltaic output power, is the rated photovoltaic module capacity (kW), is the photovoltaic module derating factor (%), is the photovoltaic array incident solar radiation at a given time (kW/m 2 ), , is the global incident solar radiation (1 kW/m 2 ) under standard test conditions, is the power temperature coefficient (%/°C), is the temperature of a photovoltaic cell at a given time (°C), and , is the temperature of a photovoltaic cell under standard test conditions (25 °C).

Wind Capacity
HOMER computes the wind turbine output power as a 4-steps process [60].
1. Generate statistically reasonable hourly time series wind data from monthly average wind speeds. This step is only performed when time-series data are not available, as with the case in this study. 2. Calculates the wind speed for the selected wind turbine's hub height. A generic wind

Solar Photovoltaic Capacity
The solar photovoltaic output power capacity is a function of the site's solar radiation, tilt angle, photovoltaic module rating, and temperature. HOMER calculates solar photovoltaic array power output as follows [60]: where P PV is the solar photovoltaic output power, Y PV is the rated photovoltaic module capacity (kW), f PV is the photovoltaic module derating factor (%), G T is the photovoltaic array incident solar radiation at a given time (kW/m 2 ), G T,STC is the global incident solar radiation (1 kW/m 2 ) under standard test conditions, α P is the power temperature coefficient (%/ • C), T c is the temperature of a photovoltaic cell at a given time ( • C), and T c,STC is the temperature of a photovoltaic cell under standard test conditions (25 • C).

Wind Capacity
HOMER computes the wind turbine output power as a 4-steps process [60]. Calculates the wind speed for the selected wind turbine's hub height. A generic wind turbine of 3 kW rating and 50 m hub height is selected for the study. 3.
Uses the wind turbine power curve to predict the amount of output power that can be produced at the wind speed computed in step 2, and at standard air density. 4.
Adjusts the output power in step 3 for the actual air density as follows [60].
where P WT is the wind turbine output power in kW, A i is the actual air density in kg/m 3 , A o is the air density at standard conditions (1.225 kg/m 3 ), and P WT,std is the wind turbine output power in kW at standard.

Diesel Generator, Battery Storage, and Capacity
Generic HOMER components are used to model the diesel generator, lead acid batteries, and converter. Where applicable, a diesel generator and a battery system are used for backup supply and energy storage, respectively. Output from the diesel generator and battery system is computed as outlined by Ali et al. [10] and the HOMER manual [60].

Component Costs
In Table 6, a summary of the ratings and costs of system components used in this study is given.

Techno-Economic Analysis
Energy systems need to be sized properly to ensure accurate matching of supply and demand and to avoid under-or oversizing of the system that could lead to reduced reliability or increased costs, respectively. The intermittency behavior of power from renewable sources and load uncertainties makes it difficult to obtain optimal sizes of generating units that can cost-effectively meet the load demand. Therefore, use of HOMER software eases this process by minimizing the difference between generated power and demanded power over a period of time.
where ∆P is the minimal power, P g,i is the supplied power, (P d,i ) is the demanded power, and (T o ) is the simulation time step, usually 60 min. The main economic metrics used in this study to evaluate the economic sustainability of feasible renewable energy systems are net present costs (NPC), levelized cost of energy (LCOE), and discounted payback period.

Net Present Cost
The net present cost (NPC) is the present value of all systems costs to be incurred during its lifetime. It includes costs of capital, component replacements, operation and maintenance, fuel costs, and salvage. The NPC is calculated by aggregating total and annual discounted cash flows over the project lifetime. HOMER computes the NPC as follows [60]: where C npc is the system net present costs, C ann,total is total costs incurred annually, N is the interest period (project lifetime), i is the discounted rate, and CRF is the capital recovery factor, which divides an investment into a stream of equal annual payments over an interest period N.

Levelized Cost of Energy
Due to opposing cost characteristics between renewable and fossil-fuel-based generation systems, levelized cost of energy (LCOE) is used to assess the cost-competitiveness of energy systems. It combines all cost factors into a cost-per-unit measure (USD/kWh). Thus, LCOE represents the minimum unsubsidized price of energy. HOMER calculates LCOE as follows [60]: where C coe is the levelized cost of energy, C ann,tot is the total annualized system costs, E prim is the total amount of annual energy used to serve primary load, E de f is the total amount of annual energy used to serve deferrable load, E grid,sales is the total amount of annual energy sold to the grid per year (if any). E grid,sales = 0 for off-grid systems.

Discounted Payback Period
Discounted payback period refers to how long it will take (years) to recover the cost of an initial investment, factoring in the time value of money. Since there is no actual revenue expected from an off-grid energy system, the cash flow from an investment is defined as annual savings from not having to pay for the investment or generating power from an alternative source. For instance, revenue for a renewable solar home system (PV and battery) can be defined as annual savings from using a diesel-only alternative (base case). By default, HOMER uses a fossil fuel-based off-grid configuration as the base case and computes the discounted payback period as follows [60]: where T dp is the discounted payback period, I n is the initial investment in the nth period, CF n (1 + r) −n is the net discounted cash flow (i.e., discounted annual savings), r is the discount rate, n is the current year, and N is the project lifetime.

Other Economic Inputs
Apart from the system component costs, this study assumes other economic inputs listed in Table 7.

Potential Energy Configurations
The Potential for solar home systems (SHS) is explored using three off-grid energy configurations, for each type of dwelling. Scenarios considered are: (i) solar photovoltaic (PV) and batteries (BAT); (ii) solar photovoltaic and diesel generator (DG); and (iii) solar photovoltaic, diesel generator, and batteries. Henceforth, the three configurations are abbreviated as PV|BAT, PV|DG, and PV|DG|BAT.
In addition, the study considers two microgrid scenarios: a rooftop and a groundbased option. In the first case, solar PV arrays are assumed to be installed on a rooftop of one of the local schools. This option is valid when a dedicated land for a microgrid cannot be secured. The four energy configurations considered for SHS are simulated for a rooftop microgrid. Furthermore, a local school with a total shade-free rooftop area of 2200 m 2 (275 m 2 /building) and a PV module efficiency of 14.9% is simulated. The solar PV power output is computed as follows [60]: where P PV is the PV array power output (kW), A PV is the rooftop surface area (m 2 ), G T,STC is the global incident solar radiation (1 kW/m 2 ), and η PV is the PV module efficiency (%). The second case considers a ground-based microgrid. In addition to the three off-grid energy configurations discussed above, a solar photovoltaic (PV), wind turbine (WT), diesel generator (DG), and batteries (BAT) setup (henceforth, PV|WT|DG|BAT) is simulated. The HOMER schematic diagrams used to model the SHS for Shack-24sqm load, and a rooftop microgrid are shown in Figure 10. A load ratio of 75% residential and 25% commercial load is assumed for a roof-top microgrid to cater to a limited solar PV area.
where is the PV array power output (kW), is the rooftop surface area (m 2 ), , is the global incident solar radiation (1 kW/m 2 ), and is the PV module efficiency (%).
The second case considers a ground-based microgrid. In addition to the three off-grid energy configurations discussed above, a solar photovoltaic (PV), wind turbine (WT), diesel generator (DG), and batteries (BAT) setup (henceforth, PV|WT|DG|BAT) is simulated. The HOMER schematic diagrams used to model the SHS for Shack-24sqm load, and a roof-top microgrid are shown in Figure 10. A load ratio of 75% residential and 25% commercial load is assumed for a roof-top microgrid to cater to a limited solar PV area. 3.5.6. Energy Dispatching HOMER uses two energy dispatching strategies to regulate operations of a diesel generator (DG) and charging/discharging of a battery (BAT) storage system to ensure economic energy balance between supply and load demand is at each time step. The first method, called load following (LF), allows the DG to be operated at its minimum rated capacity to serve the net load whenever the output from RES sources is not sufficient. In this case, the DG is not used to charge the battery storage, regardless of its state of charge, but solely serves the net load [102]. However, when the minimum DG output power is more than the net load, the excess DG power is directed to the baseload and RES excess power is reserved to charge the BAT. The second technique is the cycle-charging (CC), 3.5.6. Energy Dispatching HOMER uses two energy dispatching strategies to regulate operations of a diesel generator (DG) and charging/discharging of a battery (BAT) storage system to ensure economic energy balance between supply and load demand is at each time step. The first method, called load following (LF), allows the DG to be operated at its minimum rated capacity to serve the net load whenever the output from RES sources is not sufficient. In this case, the DG is not used to charge the battery storage, regardless of its state of charge, but solely serves the net load [102]. However, when the minimum DG output power is more than the net load, the excess DG power is directed to the baseload and RES excess power is reserved to charge the BAT. The second technique is the cycle-charging (CC), which allows the DG to always be operating at its maximum capacity to serve the net load and to use any excess power to charge the battery [102]. Irrespective of the dispatching strategy, however, whenever DG and BAT are simultaneously operated, HOMER always chooses the most economically available way to serve the load at each time step [103][104][105], as depicted in Figure 11. It can be observed that priority was given to BAT supply in hour 1-9 to serve the load instead of operating the DG, because BAT seemed economical during that time duration. At hour 18-22, and hour 22-24, energy was dispatched from DG and BAT, respectively. Although DG and BAT were both available, HOMER had to choose the cheapest available energy source at different times.

Results and Discussion
This study explores two potential off-grid electrification methods to supply electricity to the Havana informal settlement in Windhoek, with the aim of finding an optimal solution that can cost-effectively meet the load requirements. This section presents and discusses simulation results. Figure 12 compares the net present costs (NPC) of the three potential energy designs for each residential type. Expected daily load demand of 1.76 kWh, 2.71 kWh, and 7.54 kWh are considered for Shack-12sqm, Shack-24sqm, and BrickHouse-42sqm, respectively. It is observed that, for each energy configuration, NPC increases linearly with load demand. Costs of fuel and operation and maintenance (O&M) make up the largest share of NPC for designs that integrate diesel generators, while capital and replacement costs are the highest for a complete renewable option. For instance, in a solar photovoltaic and diesel generator (PV|DG) option, fuel and O&M costs together account for between 74% and 76% of the total cost. In a hybrid solar photovoltaic and batteries (PV|BAT), capital and replacement costs respectively account for 82% to 90% of NPC. Thus, a large initial investment is required to acquire a complete renewable solar home system.

Results and Discussion
This study explores two potential off-grid electrification methods to supply electricity to the Havana informal settlement in Windhoek, with the aim of finding an optimal solution that can cost-effectively meet the load requirements. This section presents and discusses simulation results. Figure 12 compares the net present costs (NPC) of the three potential energy designs for each residential type. Expected daily load demand of 1.76 kWh, 2.71 kWh, and 7.54 kWh are considered for Shack-12sqm, Shack-24sqm, and BrickHouse-42sqm, respectively. It is observed that, for each energy configuration, NPC increases linearly with load demand. Costs of fuel and operation and maintenance (O&M) make up the largest share of NPC for designs that integrate diesel generators, while capital and replacement costs are the highest for a complete renewable option. For instance, in a solar photovoltaic and diesel generator (PV|DG) option, fuel and O&M costs together account for between 74% and 76% of the total cost. In a hybrid solar photovoltaic and batteries (PV|BAT), capital and replacement costs respectively account for 82% to 90% of NPC. Thus, a large initial investment is required to acquire a complete renewable solar home system. In Figure 13, levelized cost of energy (LCOE) for different solar home systems is compared and ranges between USD 0.440/kWh and USD 0.724/kWh for different residential loads and energy configurations. The lowest LCOE is from a hybrid solar photovoltaic, diesel generator, and batteries (PV|DG|BAT). A lower LCOE is mainly influenced by the use of complementary energy sources and system efficiencies. Therefore, a hybrid PV|DG|BAT option offers the best economic metrics across all three residential load types. Its NPC range of USD 4738 to USD 20,404 is comprised of fuel costs (≈35%), operation and maintenance costs (≈17%), replacement costs (≈33%), and initial capital (≈16%).

Electrification through Solar Home Systems (SHS)
Although the PV|DG|BAT configuration offers a minimum LCOE of USD 0.440/kWh, it is almost three times the current grid electricity tariff of USD 0.13/kWh [56] and, therefore, not competitive. In addition, it will have unintended consequences such as noise and air pollution, stemming from the mass and simultaneous use of diesel generators by residents. Furthermore, the need to constantly buy fuel and maintain diesel generators over the system's lifetime would also deter investment from residents, even when the cost of initial investment is subsidized. Therefore, deploying the PV|DG|BAT option to each household in this community would not be environmentally responsive.  In Figure 13, levelized cost of energy (LCOE) for different solar home systems is compared and ranges between USD 0.440/kWh and USD 0.724/kWh for different residential loads and energy configurations. The lowest LCOE is from a hybrid solar photovoltaic, diesel generator, and batteries (PV|DG|BAT). A lower LCOE is mainly influenced by the use of complementary energy sources and system efficiencies. Therefore, a hybrid PV|DG|BAT option offers the best economic metrics across all three residential load types. Its NPC range of USD 4738 to USD 20,404 is comprised of fuel costs (≈35%), operation and maintenance costs (≈17%), replacement costs (≈33%), and initial capital (≈16%).
Although the PV|DG|BAT configuration offers a minimum LCOE of USD 0.440/kWh, it is almost three times the current grid electricity tariff of USD 0.13/kWh [56] and, therefore, not competitive. In addition, it will have unintended consequences such as noise and air pollution, stemming from the mass and simultaneous use of diesel generators by residents. Furthermore, the need to constantly buy fuel and maintain diesel generators over the system's lifetime would also deter investment from residents, even when the cost of initial investment is subsidized. Therefore, deploying the PV|DG|BAT option to each household in this community would not be environmentally responsive.

Electrification through Microgrids
The study compares two microgrid settings: the roof-mounted and ground-mounted A roof-mounted microgrid with a solar PV capacity of 300 kW is designed to supply abou 170 dwellings, comprised of a daily residential load of 2636 kWh and a commercial load of 879 kWh. A hybrid solar photovoltaic, diesel generator, and batteries (PV|DG|BAT) i the optimal option. The expected NPC, LCOE, and the payback period are USD 8.3 mil lion, USD 0.386/kWh, and 3.14 years, respectively. To ensure the reliability of supply, fue and Q&M costs will account for 38% and 15% of NPC, respectively.
Furthermore, a ground-mounted microgrid is designed to serve the entire un-electri fied Havanna settlement, with an estimated residential and commercial average daily load of about 5435 kWh and 32,860 kWh, respectively. As shown in Figure 14, the hybrid solar photovoltaic, wind turbine, diesel generator, and batteries (PV|WT|DG|BAT) op tion offers the lowest NPC and LCOE. However, when compared to the next lowest option of hybrid PV|DG|BAT, its NPC and LCOE are only 3% lower, while its initial capital i 30% higher due to the costs of a wind turbine (WT). Since energy production and energy excess between the two models are similar, as noted in Table 8, the PV|DG|BAT option would be recommended for the selected site. It offers low capital investment, competitiv NPC and LCOE, and ease of implementation. The expected NPC, LCOE, and payback period from the hybrid PV|DG|BAT are USD 90.8 million, USD 0.388/kWh, and 3.0 years, respectively.  Figure 13. Comparing LCOE of different solar home systems.

Electrification through Microgrids
The study compares two microgrid settings: the roof-mounted and ground-mounted. A roof-mounted microgrid with a solar PV capacity of 300 kW is designed to supply about 170 dwellings, comprised of a daily residential load of 2636 kWh and a commercial load of 879 kWh. A hybrid solar photovoltaic, diesel generator, and batteries (PV|DG|BAT) is the optimal option. The expected NPC, LCOE, and the payback period are USD 8.3 million, USD 0.386/kWh, and 3.14 years, respectively. To ensure the reliability of supply, fuel and Q&M costs will account for 38% and 15% of NPC, respectively.
Furthermore, a ground-mounted microgrid is designed to serve the entire un-electrified Havanna settlement, with an estimated residential and commercial average daily load of about 5435 kWh and 32,860 kWh, respectively. As shown in Figure 14, the hybrid solar photovoltaic, wind turbine, diesel generator, and batteries (PV|WT|DG|BAT) option offers the lowest NPC and LCOE. However, when compared to the next lowest option of hybrid PV|DG|BAT, its NPC and LCOE are only 3% lower, while its initial capital is 30% higher due to the costs of a wind turbine (WT). Since energy production and energy excess between the two models are similar, as noted in Table 8, the PV|DG|BAT option would be recommended for the selected site. It offers low capital investment, competitive NPC and LCOE, and ease of implementation. The expected NPC, LCOE, and payback period from the hybrid PV|DG|BAT are USD 90.8 million, USD 0.388/kWh, and 3.05 years, respectively.

Comparing Electrical Productions
A comparison of the LCOE of various feasible configurations is shown in Figure 15. The lowest LCOE of USD 0.377/kWh, is from a hybrid PV|WT|DG|BAT ground-mounted microgrid. Apart from system component costs, the use of complementary power sources and the energy dispatching technique can result in a lower LCOE. For instance, combining solar PV with wind, and dispatchable power sources, such as DG and/or BAT, can offset the limitations of each power source by minimizing initial capital and fuel costs.
Moreover, excess electricity observed in Table 8 is mainly due to non-dispatchable renewable sources, which do not always produce power at the time of need. Therefore, it needs to be controlled to maintain system frequency and bus voltages. Use of dump/resistive load in the form of a water heater or air cooler, and demand response, are common control techniques for off-grid solutions. In the case of the Havana settlement, a separate battery charging station can be considered as a dump load, which allows residents to charge their rechargeable equipment at a fee to offset this investment. With demand response, consumers are encouraged to operate certain loads at specific times for less tariff, thus reducing the need to operate a diesel generator to serve at peak load.

Sensitivity Analysis
A sensitivity analysis is performed on the PV|WT|DG|BAT ground-based microgrid to assess the impact of change in fuel price, load growth, and solar PV installed cost on NPC, LCOE, initial capital, and system capacity.  11 LF-Load Following, 12 These values are kilowatts (KW), 13 Thsd-Amount in thousand US dollars.

Fuel Price Variations
From February 2018 to February 2022, the highest fuel price increase recorded in Windhoek was 7.64% and the lowest price decrease was 2.2% [99]. Therefore, the diesel fuel price is varied between the two limits. A base diesel price of USD 1.08/L, recorded in February 2022, is used. Figure 16 shows that an increase in the diesel price by 7.64% increases all system costs, except capital costs, owing to reduced diesel generator capacity (as a means to save costs). A fuel price reduction of 2.2% decreases system costs, except for operating costs. This is due to the frequent use of the diesel generator to serve the net load. In each case, however, solar PV and wind capacity are reduced to maintain lower marginal costs. This implies that the diesel generator has to run longer to make up for the reduced renewable supply.

Load Variations
A load increase of 30% and 100% is simulated. The choice of 30% growth aligns with the expected annual growth of informal settlements in Namibia [10]. From Figure 17, system costs and component capacities increased to cater for load growth, with few exceptions. For instance, LCOE decreases with load growth because generated energy is efficiently put to use. Renewable energy systems tend to be oversized to increase reliability, thus resulting in large excess energy, which is mostly wasted in an off-grid system. When the load increases, existing excess energy is consumed, and generation capacity only needs to increase marginally to cater for load growth. With less unused energy, the cost of energy reduces. 10 CC-Cycle Charging, 11 LF-Load Following, 12 These values are kilowatts (KW), 13 Thsd-Amount in thousand US dollars.

Comparing Electrical Productions
A comparison of the LCOE of various feasible configurations is shown in Figure 15. The lowest LCOE of USD 0.377/kWh, is from a hybrid PV|WT|DG|BAT ground-mounted microgrid. Apart from system component costs, the use of complementary power sources and the energy dispatching technique can result in a lower LCOE. For instance, combining solar PV with wind, and dispatchable power sources, such as DG and/or BAT, can offset the limitations of each power source by minimizing initial capital and fuel costs. Moreover, excess electricity observed in Table 8 is mainly due to non-dispatchable renewable sources, which do not always produce power at the time of need. Therefore, it needs to be controlled to maintain system frequency and bus voltages. Use of dump/resistive load in the form of a water heater or air cooler, and demand response, are common control techniques for off-grid solutions. In the case of the Havana settlement, a separate battery charging station can be considered as a dump load, which allows residents to charge their rechargeable equipment at a fee to offset this investment. With demand response, consumers are encouraged to operate certain loads at specific times for less tariff, thus reducing the need to operate a diesel generator to serve at peak load.

Sensitivity Analysis
A sensitivity analysis is performed on the PV|WT|DG|BAT ground-based microgrid to assess the impact of change in fuel price, load growth, and solar PV installed cost on NPC, LCOE, initial capital, and system capacity.

Fuel Price Variations
From February 2018 to February 2022, the highest fuel price increase recorded in Windhoek was 7.64% and the lowest price decrease was 2.2% [99]. Therefore, the diesel fuel price is varied between the two limits. A base diesel price of USD 1.08/L, recorded in February 2022, is used. Figure 16 shows that an increase in the diesel price by 7.64% increases all system costs, except capital costs, owing to reduced diesel generator capacity (as a means to save costs). A fuel price reduction of 2.2% decreases system costs, except for operating costs. This is due to the frequent use of the diesel generator to serve the net load. In each case, however, solar PV and wind capacity are reduced to maintain lower marginal costs. This implies that the diesel generator has to run longer to make up for the reduced renewable supply.

Load Variations
A load increase of 30% and 100% is simulated. The choice of 30% growth aligns with the expected annual growth of informal settlements in Namibia [10]. From Figure 17, system costs and component capacities increased to cater for load growth, with few exceptions. For instance, LCOE decreases with load growth because generated energy is efficiently put to use. Renewable energy systems tend to be oversized to increase reliability, thus resulting in large excess energy, which is mostly wasted in an off-grid system. When the load increases, existing excess energy is consumed, and generation capacity only needs to increase marginally to cater for load growth. With less unused energy, the cost of energy reduces.

Sensitivity Analysis
A sensitivity analysis is performed on the PV|WT|DG|BAT ground-based microgrid to assess the impact of change in fuel price, load growth, and solar PV installed cost on NPC, LCOE, initial capital, and system capacity.

Fuel Price Variations
From February 2018 to February 2022, the highest fuel price increase recorded in Windhoek was 7.64% and the lowest price decrease was 2.2% [99]. Therefore, the diesel fuel price is varied between the two limits. A base diesel price of USD 1.08/L, recorded in February 2022, is used. Figure 16 shows that an increase in the diesel price by 7.64% increases all system costs, except capital costs, owing to reduced diesel generator capacity (as a means to save costs). A fuel price reduction of 2.2% decreases system costs, except for operating costs. This is due to the frequent use of the diesel generator to serve the net load. In each case, however, solar PV and wind capacity are reduced to maintain lower marginal costs. This implies that the diesel generator has to run longer to make up for the reduced renewable supply.

Load Variations
A load increase of 30% and 100% is simulated. The choice of 30% growth aligns with the expected annual growth of informal settlements in Namibia [10]. From Figure 17, system costs and component capacities increased to cater for load growth, with few exceptions. For instance, LCOE decreases with load growth because generated energy is efficiently put to use. Renewable energy systems tend to be oversized to increase reliability, thus resulting in large excess energy, which is mostly wasted in an off-grid system. When the load increases, existing excess energy is consumed, and generation capacity only needs to increase marginally to cater for load growth. With less unused energy, the cost of energy reduces. Figure 17. Impact of load growth on system costs. Figure 17. Impact of load growth on system costs.

PV Installed Costs Variations
As noted earlier, global solar PV module costs have declined in the past decade. For instance, between 2019 and 2020, the global annual cost of crystalline modules declined between 5% and 15% [28]. The southern African market has also witnessed an average annual decline of 7% between 2013 and 2020 [100]. Thus, solar PV module decreases of 5%, 7%, and 15% are considered as sensitivity values. Figure 18 shows that decreasing the solar PV module price by up to 15% does not yield a significant decrease in system costs, except for the LCOE. This is because wind energy and diesel generators are available for this model as alternative power sources to economically satisfy load demand.

PV Installed Costs Variations
As noted earlier, global solar PV module costs have declined in the past decade. For instance, between 2019 and 2020, the global annual cost of crystalline modules declined between 5% and 15% [28]. The southern African market has also witnessed an average annual decline of 7% between 2013 and 2020 [100]. Thus, solar PV module decreases of 5%, 7%, and 15% are considered as sensitivity values. Figure 18 shows that decreasing the solar PV module price by up to 15% does not yield a significant decrease in system costs, except for the LCOE. This is because wind energy and diesel generators are available for this model as alternative power sources to economically satisfy load demand. Figure 18. Impact of PV module price decrease on system costs for the PV|WT|DG|BAT model.

Specific Implementation Considerations for the Selected Study Area
The Namibian energy sector adopted several policies to increase renewable share and to promote energy infrastructure investment. These include the National Energy Policy, National Electrification Policy, Independent Power Producer, Renewable Energy Policy, Off-grid Electrification Policy, and Modified Single Buyer market framework. Consequently, the renewable energy market has grown in the past five years [50,51]. Useful to the case study is the solar revolving fund (SRF) scheme that provides loans at subsidized interest rates to end users that install either a solar home system, solar water heating, or solar water pumping system [106]. The scheme employs an ownership model where end users can borrow money to purchase a solar system and retain full ownership at the end of the loan period. The shack owners or small business owners in the Havana settlement who qualifies for a maximum loan of about USD 2500 under the SRF [107] can invest in a PV|DG|BAT system, provided they limit diesel operations to certain hours to limit carbon emissions. Additionally, owners will have to take responsibility for securing their systems, since they will be prone to a high risk of theft.
Regarding microgrids, the rooftop setup is easier to set up compared to the groundmounted option because of less capital and land requirements. This notwithstanding, given the socio-economic background of the target community, a government or development agent would be an ideal investor. An energy operator can then be appointed to operate and maintain the microgrid. Furthermore, microgrid investment will need to be subsidized to ensure affordability. Two incentive schemes are typical: capital-based subsidies and production-based subsidies. With capital-based subsidies, incentive policies reward system owners through upfront lump-sum cash rebates. For production-based, rewards are given for each unit of electricity produced. Capital-based subsidies on investment can reduce initial capital costs and costs of energy, therefore expediting implementation. In the case of production-based subsidy, operating costs will be reduced, and, therefore, operators can afford to reduce tariffs to customers and ensure affordability.

Specific Implementation Considerations for the Selected Study Area
The Namibian energy sector adopted several policies to increase renewable share and to promote energy infrastructure investment. These include the National Energy Policy, National Electrification Policy, Independent Power Producer, Renewable Energy Policy, Off-grid Electrification Policy, and Modified Single Buyer market framework. Consequently, the renewable energy market has grown in the past five years [50,51]. Useful to the case study is the solar revolving fund (SRF) scheme that provides loans at subsidized interest rates to end users that install either a solar home system, solar water heating, or solar water pumping system [106]. The scheme employs an ownership model where end users can borrow money to purchase a solar system and retain full ownership at the end of the loan period. The shack owners or small business owners in the Havana settlement who qualifies for a maximum loan of about USD 2500 under the SRF [107] can invest in a PV|DG|BAT system, provided they limit diesel operations to certain hours to limit carbon emissions. Additionally, owners will have to take responsibility for securing their systems, since they will be prone to a high risk of theft.
Regarding microgrids, the rooftop setup is easier to set up compared to the groundmounted option because of less capital and land requirements. This notwithstanding, given the socio-economic background of the target community, a government or development agent would be an ideal investor. An energy operator can then be appointed to operate and maintain the microgrid. Furthermore, microgrid investment will need to be subsidized to ensure affordability. Two incentive schemes are typical: capital-based subsidies and production-based subsidies. With capital-based subsidies, incentive policies reward system owners through upfront lump-sum cash rebates. For production-based, rewards are given for each unit of electricity produced. Capital-based subsidies on investment can reduce initial capital costs and costs of energy, therefore expediting implementation. In the case of production-based subsidy, operating costs will be reduced, and, therefore, operators can afford to reduce tariffs to customers and ensure affordability.

Conclusions and Recommendations
This paper explores the technical and economic viability of supplying electricity to the Havana informal settlement on the outskirts of Windhoek, Namibia. The study is limited to a hypothetical load profile and off-grid hybrid renewable energy systems employing solar photovoltaic and wind resources. Electrification schemes compared are: the deployment of individual solar home systems to each residence, and supplying power from either a roof-mounted or ground-mounted hybrid microgrid. HOMER software is used to model, simulate, and optimize potential energy systems to an optimal configuration that can satisfy the load at the lowest net present cost (NPC) and levelized cost of energy (LCOE). A sensitivity analysis is also carried out on the ground-mounted microgrid to understand the impact of varying diesel fuel prices, load demand, and solar PV module costs. The study concludes as follows: Firstly, although the hybrid solar photovoltaic, diesel generator, and battery (PV|DG|BAT) offers better economic benefits for the solar home system scheme, it is not environmentally responsible. Deploying an energy system that relies on fossil fuels to each residence could result in high noise and air pollution when residents operate their diesel generators simultaneously, and is therefore not recommended for the entire community.
Secondly, both roof-mounted and ground-mounted microgrids are feasible for the selected community because they offer competitive NPC and LCOE that are in line with most literature. The hybrid PV|DG|BAT and PV|WT|DG|BAT are the optimal configurations for the roof-mounted and ground-mounted microgrid, at LCOE of USD 0.386/kWh and USD 0.388/kWh, respectively. Integrating a wind turbine (WT) in the ground-mounted option, however, does not offer significant benefits. The model's initial capital is 30% higher and its savings in NPC and LCOE is around 3% compared to the next lowest energy option, the hybrid PV|DG|BAT. Therefore, the PV|DG|BAT configuration is preferred for microgrids rollout. Electricity tariffs, however, need to be subsidized to make it affordable to target consumers and ensure long-term economic sustainability of the microgrid. In terms of implementation, the roof-mounted option is recommended for a pilot project since its initial investment and land requirements are lower compared to the groundmounted microgrid. If land can be secured within a reasonable timeframe, a scalable ground-mounted microgrid can be deployed to lower investment costs and implementation time. An appropriate business model is also needed to ensure commercial viability and timely revenue collection.
Thirdly, the sensitivity analysis on a hybrid PV|WT|DG|BAT microgrid reveals that an increase/decrease in diesel fuel price and load demand increases/decreases system component capacities and costs, but with few exceptions. For instance, operating costs increase when fuel prices reduce by 2.2%, because of the frequent use of a diesel generator to serve the load. Increasing load demand by 30% and 100% reduces LCOE, mainly because excess energy is economically put to use. Furthermore, reducing the PV module price in an energy system that includes wind and diesel power sources results in less than a 1% decrease in system costs, which is not a significant benefit. This is mainly because there was no need to increase PV capacity if energy can be economically dispatched from other sources.
The findings of this study agree with research on rural electrifications, in terms of optimal energy configurations. However, actual NPC and LCOE values mainly depend on the load profile accuracy and renewable energy resources available at the site. Commercial viability and practical implementation are also influenced by existing electricity tariffs, socio-economic conditions of the target community, and supporting energy policies. For instance, policy support that encourages private energy investors, tax incentives, and lower discount rates are crucial to commercial feasibility. Furthermore, a hybrid PV|DG|BAT standalone solar home system will be ideal for the selected community, because it offers lower costs, faster rollout time, and no additional cost for a reticulation network will be incurred. However, given the socio-economic status of the community, the system will not be affordable to many people and can have unintended environmental consequences.
Generally, the study confirms that off-grid electrification schemes can serve an informal settlement or any peri-urban area, because of socio-economic characteristics similar to rural areas. However, for a community that is close to an existing electrical grid, it will be recommended to assess its techno-economic viability of a grid-connected microgrid and grid extension. Since excess electricity of simulated off-grid options results in 47.4% to 75.4%, this could be sold to the grid to reduce costs and increase commercial viability. Therefore, future research work can consider the above, in addition to assessing reticulation network costs.

Institutional Review Board Statement: Not applicable.
Informed Consent Statement: Not applicable.

Data Availability Statement:
The data presented in this study are available on request from the corresponding author. many; and the Nelson Mandela University, Port Elizabeth, South Africa; in conducting the research and writing of this paper. All individuals and institutional representatives have consented to the acknowledgements.

Conflicts of Interest:
The authors declare no conflict of interest.