Integration of Microgrids and Electric Vehicle Technologies in the National Grid as the Key Enabler to the Sustainable Development for Rwanda

Huaqiao University, Intelligence and Automation in Construction Provincial Higher-Educational Engineering Research Centre, 361021 Xiamen, China Africa Centre of Excellence in Energy for Sustainable Development, University of Rwanda, Kigali, Rwanda School of Education, University of Rwanda, Rwanda Fujian Province Key Laboratory of Automotive Electronics and Electric Drive, Fujian University of Technology, Fuzhou 350118, China Department of Climate Change Observatory Secretariat, Ministry of Education, Kigali, Rwanda School of Electrical Engineering and Automation, Tianjin Polytechnic University, China Kenya Industrial Research and Development Institute, Nairobi, Kenya Hello Renewables Ltd., Kigali, Rwanda


Introduction
Current electricity access all over the world is about 89.589% of the population according to the statistics of the World Bank using the database of Sustainable Energy for All (SE4ALL) [1]. Ten years of continuous improvement enabled the global electrification rate to reach 89.6%, with 153 million people gaining electricity access every year. Moreover, the greatest threat lies with over 573 million people remaining in the dark, especially those living in sub-Saharan Africa and in the remotest parts of the globe. Therefore, solar lighting, solar home systems, and more mini grids would be important at reaching the poor and the remotest of households. Universally, about 34 million people accessed basic electricity services using off-grid technologies in 2017 [2].
To date, access to electricity in Rwanda is estimated at 51% and those not grid connected are about 14% [3]. Rwanda has many distributed energy resources (DERs) like solar, biomass, hydro, methane gas in Lake Kivu, geothermal [4], and availability of feasible microgrids with different distributed energy resources like photovoltaics, battery storage, diesel generator, and electric vehicles are possible and implementable [4,5].
Sustainable development is among key and crucial pillars for Rwanda and challenges for future community. By December 2015, around 195 countries ratified the Paris agreement to reduce greenhouse gas (GHG) emissions as entrenched in the United Nations Framework Convention on Climate Change (UNFCC) [6]. Rwanda's mitigation effort comprises reducing the GHG emissions to 63.0% of the baseline over the period 2015-2030. This translates to 37.0% GHGs emission reduction and 4.6 million tonnes (CO 2 ) in 2030 [6,7].
From energy generation viewpoint, the government of Rwanda decided to increase the use of renewables through different technologies such as microgrids and electric vehicle technologies (which is still in its initial stages) in order to meet increasing energy demand and tackle gas emissions [8]. Additionally, electric vehicles and vehicle fuel economy implementation guidelines are significant assumptions over the coming decade for new vehicles entering the fleet, development of charging infrastructure, and electricity grid decarburization rate. The main aim of the paper is to analyze and enhance the contribution of microgrids and electric vehicles as key enablers for sustainable development. A firm EV station is analyzed by simulation considering that it is to be connected to a national power grid or a grid connected microgrid having storage, to assess the system contribution for affordable electricity tariff. The paper is organized into Introduction, Literature Review of Microgrids and Electric Vehicle Technologies, Methodology, Simulation Results, and Conclusion.

Literature Review of Microgrids and Electric Vehicle Technologies
Microgrids are small networks composed of different distributed energy resources, frequently linked to an integrated national grid that is able to operate in grid connected or islanded mode, and can be controlled by different control techniques such as traditional droop controller, modified droop controllers, and PQ controllers [9,10].
2.1. Vehicle-to-Grid (V2G) Technology. Vehicle-to-Grid (V2G) technology discharges energy back to the grid to improve grid utilization, level demand, and improve reliability for utilities of the future. It can be used to support the utility grid services with stability increase and reliability of the network [11,12]. The control of active power (P), and reactive power (Q) between electric vehicles (EVs), and microgrids through bidirectional energy flows make them to be considered distributed energy storage (DES) units [13]. The owner of electric vehicle is able to control the charging and discharging times and, thus, can be used as sources of income because they can sell excess energy to the utility grid operators. V2G enables energy to be pushed back to the utility grid while Grid-to-Vehicle (G2V) is the process in which electric vehicles are charged via the power grid. Therefore, it is very easy to control and monitor power flow in Vehicle-to-Home (V2H or V2B), and its implementation is not difficult compared to Vehicle-to-Grid because the reverse power interface is not required, but islanding detection capability and other power quality delivery detection interfaces. Different models of charging are considered depending upon the software package. Meanwhile, in energy planning, the four models considered include a dumb battery charger, flexible demand, smart charger, and V2G charging that contains EVs charging control based on different electricity tariff models [14]. Table 1 describes the power levels for the alternating and direct current for charging systems [15]. As the United Nations set guidelines for climate change and greenhouse gas emission limitations, many industries and researchers are still carrying out research on the development of different electric vehicles based on emissions and consumption [16].

Air Quality Standards in Rwanda.
For climate change mitigations, every country should have an air quality standard based on the World Health Organization (WHO) guidelines, and air quality standards, set by Rwanda Environment Management Authority (REMA), are summarized in Table 2: Table 3 describes the comparison of electric vehicles based on their driving component, energy sources, pros, and cons [16,[20][21][22]. Rajashekara discovered a new type of electric vehicles, which is slightly different from others and called plug-in fuel cell vehicle (PFCV) with a large battery and small fuel cell storage capacity that makes it a battery dominant car [19].
2.3. Grid-to-Vehicle (G2V) Technology. Grid-to-vehicle technology (G2V) is used in the design of suitable charging algorithm to control charging, battery balance, and condition of charge estimation that enhance the battery life [23]. The vehicle-to-grid (V2G) technology is deployed by the plug-in electric vehicle (PHEV) to release energy to the grid to enhance grid utilization, balance demand, and improve reliability. Furthermore, it is an effective distributed energy resource (DER) [23,24].
2.4. Smart Charging (V1G) Technology. Different researchers revealed that the utility grid must be innovative and upgraded and with Supervisory Control and Data 2 International Journal of Photoenergy   Acquisition (SCADA) software package integration in order to shift from traditional grid to the smart grid, so that it will be able to cooperate with future demand [25]. Smart charging (V1G) is a charging process in which electric vehicles, charging stations, and charging operators exchange data connections. Also, the charging stations can supervise, organize, and regulate EVs for enhanced time, charging power size, direction, and utility applications. V1G is applied in traffic congestion management, frequency control, and charging photovoltaic systems (PV) [25]. V2G can also supply electricity to the home (V2H), building (V2B), load (V2L), and grid (V2G). The major threats to V1G and V2G depend on the uniformity requirements and information exchange protocols between the various systems [26,27].
2.5. Flywheel Energy Storage System (FESS) Technology. The flywheel energy storage system (FESS) is among the best storage technologies and keeps energy in terms of kinetic energy (KE) through electronics converters [28]. Flywheel is composed of converters (rectifiers and inverters), generator, motor bearings, protection cover, and control systems, built by differ-ent controllers in charge of controlling and maintaining charging, discharging cycle, and the status of flywheel [29,30]. Therefore, the speed of flywheel usually varies between 6000.0 and 12000.0 revolutions per minute (r.p.m.). Consequently, energy storages are varying between 2 Mega Joules (MJ) and 500 MJ, and so many types of energy storage devices, namely, batteries, super capacitors, and super conducting magnetic energy storage systems, and every storage device has its own disadvantages and advantages [29,30].
2.6. Microgrid System with an Electric Vehicle. Contemporary transportation systems using fossil fuels based on conventional vehicles are being capability replaced by electric vehicles which are eco-friendly to the environment [23]. Based on the knowledge that EV technologies are still at their infancy and taking also into consideration that some forms of energy technologies (such as usage of flywheel energy storage systems ) have not yet been introduced to the Rwandan energy market, the authors of this paper suggest a new technology which can also be analyzed for energy exploitation and EV technology as it is shown in Figure 1. The concept Life cycle emissions in gCO 2 eq (km) P P P l l P P P P P P P P P Figure 4: The carbon dioxide (CO 2 ) savings in EVs compared to typical diesel and petrol car emissions [33,34].    Particle Swarm Optimizations (PSO) [47] 6 International Journal of Photoenergy  [53] 7 International Journal of Photoenergy in Figure 1 can also be mimicked and perfected using the Hybrid Optimization of Multiple Energy Resources (Homer) grid software as it has different distributed energy resources such as PV, flywheel storage, clean diesel generator (CDG), and plug-in hybrid electric vehicles (PHEV). Every microgrid component is connected via a local network communication system based on wired and wireless technologies (WIFI). Figure 1 represents the microgrids composed of different distributed energy resources with electric vehicles. Every component is advantageous to the network, and the different constraints have been analyzed during the design, which is summarized below: (i) At the beginning, microgrids and EVs are working in an islanded mode, which means that the PV and flywheel supply the community load while EVs are being charged (ii) Whenever the PV system is incapable of supplying the load, at that time, the clean diesel generator will be able to feed the load (iii) In case the PV is not able to supply the load and there is no fuel in the diesel generator but the EVs are charged, then the EVs can intervene and supply the community load (iv) In case PV, diesel generator, EVs, and flywheel are not able to satisfy the demand, the system will be halted, and priority loads will be supplied     International Journal of Photoenergy (v) Microgrids will be responsible for controlling and managing variations of active power, reactive power, voltage, and frequency, which depend upon the type of controllers like traditional droop control and modified droop control (vi) During utility grid supply, all parameters will be monitored by the utility grid, especially because the PV, diesel generator, and EVs become incapable of satisfying the demand at that time. The utility grid will intervene depending upon the type of controllers, which are mostly PQ controllers, Virtual Synchronous Machines (VSG) or synchronverter method 2.7. Microgrid Operation. A microgrid operation (MGO) is a distributed class of electricity supply points and loads that typically connect and synchronize with the conventional wide area synchronous grid but could disconnect to an islanded mode through static transfer switch (STS) and function without support. As material or fiscal environments may demand, a ranked order structure could lead to a microgrid main controller (MMC) [31]. The diverse configurations and properties of the electronics in the microturbines, fuel cells, PV panels, wind including twice-fed induction generator technology (DFIG), and wind including permanent magnet synchronous machines (PMSM) technology make microgrids distinct from traditional power systems. Hence, energy repository equipment like flywheels and supercapacitors is interfaced to the grid to provide starting energy balance when the microgrid is islanded. Furthermore, these energy repositories provide active power whenever the microgrid either is islanded or swings in demand and supply occurs [31].

Technical
Problems Based on V2G. The V2G technology, participation, and swift integration of electric vehicles (EVs) in the peak load periods of the network operations [32] provoke instability in the network and generate harmonics with frequencies greater than 50 Hz and 60 Hz, high penetration of EVs in the utility grid which may cause network weakness, electric vehicle smart charging arrangement, and effects of charging/discharging on EV battery and V2G charger topology.
The bids and purchases of EVs have risen sharply because of the need of carmakers to satisfy the CO 2 emission reduction stipulated by the EU car regulations of 2020 and 2021. Furthermore, within the coming decades, EVs are expected to experience so much mass marketing that the number of EVs on the EU roads would be over thirtyfold by 2030. Based on the statistics, about 3.0% (1.3 million EVs) were sold by the end of 2019 and a total of 44.0 million electric cars are expected to be on the roads by 2030. This translates to over 97.0% EVs which would have been added to the fleet in the coming days and years to 2030. Consequent lifestyle changes would bring with them a collection of lifecycle analyses that measure EV pollutant emissions like carbon dioxide (CO 2 ), and battery charging/discharging cycles contrasted with traditional fossil fueled cars [33].
Investigators are advised not to use obsolete data in their research because unreliable data can deliberately confuse lifecycle assessments. The obsolete data were used to compare electric vehicles and traditional cars which use either a diesel generator or petrol which needs upgrading [33]. The transport and environment (T&E) company have created detailed and useful analogies of electric, diesel, and petrol engines in distinctive car capacities between 2020 and 2030 as shown in Figure 2. Figure 2 is the lifetime plot of carbon dioxide (CO 2 ) emission savings from electric vehicles. In the European Union (EU), electric cars emit 80.0% less carbon dioxide (CO 2 ) than diesel and 81.0% than petrol [33].
Research indicates that the typical EU electric car has about three times superior performance than the traditional equivalence today. It is expected that electric cars will become    International Journal of Photoenergy over four times cleaner than their traditional equivalents in the EU by 2030 [33].
Typical medium-sized EU electric cars sold in 2020 released about 90.0 gCO 2 e/km, diesel car vented 234.0 gCO 2 e/km, and gasoline car emitted 253.0 gCO 2 e/km over their lifetimes, respectively. Typically, in the EU, the EV releases about 2.7 times less CO 2 than the traditional car in 2020 (2.6 times less than diesel and 2.8 times less than gasoline). A storage battery produced with clean electricity reduces the electric car emission to 86.0 gCO 2 e/km or 2.7-3.0 times less. Electric cars were operated on clean renewable electricity (hydro power); then, the GHG emission reduces to 11.0 tons of CO 2 (47.0 g/km), which is between 5.0 and 5.4 times less than diesel and gasoline equivalents, as shown in Figure 2 [33]. For substantial and leadership classes, the typical EU electric cars are between 2.8 and 3.1 times superior to their traditional equivalents [34].
At the worst, the battery storage is manufactured in China and used in electric vehicles operated on Poland's carbon demanding grids. Therefore, the lifespan effect rises to 41.0 tons of CO 2 (182.0 g/km) and EVs are still 22.0% cleaner than their diesel equivalent and 28.0% cleaner than their gasoline equivalent as shown in Figure 3 [33]. A per European Union (EU) member state testing is possible in the device. Figure 4 [33,34] describes the carbon dioxide (CO 2 ) savings correlated with the typical diesel and petrol emissions. Up to date petrol and diesel cars emit almost 3.0 times more carbon dioxide (CO 2 ) than the typical European Union electric car [33,34].
2.9. Levelized Cost Components. EV owners have multiple options for recharging their vehicles, for example, different places such as grocery stores, home, public, shopping malls, workplaces, and private parking area where the charging stations are installed. The vehicle purchase cost, on-fuel operations and maintenance cost, fuel cost, and, occasionally, transportation cost are considered in the overall cost of the EV. The levelized cost is the likely vehicle age current value of the consumer cost per kilometer (km) as depicted in equation (1). Therefore, the vehicle's leftover value is removed from consumer cost analysis. This value may be deducted from the total cost if considered. Some assumptions are made such as ignoring the vehicle residual value mainly because some data are not available conventionally for residual value of battery electric vehicles (BEVs) [35][36][37]. Consequently, the general equation for levelized cost is written as follows: AC is the vehicle age substitute transportation cost (only for BEVs) (Rwandan Francs); DR is the 6.0% deduction rate assumed for the analysis, in which a sensitivity analysis addresses the uncertainty; DT is vehicle age (km) distance traveled, OC is vehicle age nonfuel operation and maintenance (O&M) cost (Rwandan Francs); LC n is the vehicle's levelized cost for n years (Rwandan Francs/km); PC is vehicle purchase price (Rwandan Francs); and FC is the vehicle age fuel cost (Rwandan Francs) exclusively for battery electric vehicles (BEVs). Table 4 summarizes the state-of-the-art researches carried out and the gaps associated with electric vehicles (EVs) in [38] wherein the authors detailed the performance analysis and optimization of solar-powered Erickshaw for environmental sustainability in rural transportation and [39] wherein the authors described different types of fuel cell usually used in microgrids.

Methodology
The research in this paper used the HOMER Grid software, a powerful tool for detailed simulation concerning the needs (hourly, daily, monthly, and annual scenarios), capable of optimization (able to optimize for cost effectiveness), and able to carry out sensitivity analysis [53]. Given the fact that EV technology is still at its initial phases in Rwanda (configuration shown in Figure 5(a) where the EV is linked to the power grid), the system used the High E-Tech Smart Grid    Figure 5(a)), precisely located at KN 3 Avenue, Kigali, Rwanda (1°57.6 ′ S, 30°3.8 ′ E). Rwanda electricity and feed-in tariffs data, NASA climatic weather conditions for solar energy generation, and National Renewable energy laboratory database were adopted as the HOMER resource database. A managed EV station with 100.0 as proportion of the EV population, 150.0 kW maximum charging power per EV (charger output power kW), 40.0 chargers, and 7.0 hours connected mean time were obtained from HOMER software and incorporated into the Rwanda case study in order to study and analyze the impact of integrating solar PV microgrid and EV in the Rwandan network. Note that the managed EVs term used in the concept of this paper is well known as deferrable EV as it allows users to optimize their charging stations, lower their monthly utility bills, and have some flexibility for when the EV load is served [54]. Not only these data, there are also several research documents which were consulted by the authors to make the research work content in this paper more concise and communicative. Note that it was clarified for the whole body of this paper that the term "base case" refers to a system where the EV is connected directly to the national power grid for charging as shown in Figure 5(a), while the "proposed case" refers to the technology where the EV can be connected to the grid-connected solar PV microgrid for charging as shown in Figure 5(b).

Simulation Results
Electricity generation through solar energy technologies is dependent on climatic weather conditions such as irradiance and clearness index (CI) which is the division output of the sun-oriented radiation that is transmitted through the atmosphere to strike the surface of the Earth; a dimensionless number between 0 and 1 and temperature variation were parameters used for the simulated location in the case study.
For the location used in this research paper as the research object location, the average monthly Global Horizontal Irradiance (GHI) (which is the total solar radiation incident on a horizontal surface expressed in kW/m 2 /day) shows variation throughout the year and within the range between 4.457 and 5.348 kWh/m 2 /day in which the overall annual average was 4.914 kWh/m 2 /day for one month. The clearness index falls within the range of between 0.451 and 0.579; and the   11 International Journal of Photoenergy temperature is within the range 18.66 and 20.59°C with overall monthly average temperature of 19.583°C throughout the year. Such subjected climatic weather parameters and conditions are the major incentives for high output energy production from solar technologies once well exploited. Figure 6 describes the average daily load profile for the managed EV stations as simulated in the case study used as the research object of this paper, and Figure 7 shows its variation throughout the year. The managed EV loads usually also referred as deferrable load by HOMER software permits clients and owners to improve EV charging stations and lower their electricity service bill month by month. The managed EV load as simulated in this research has an average of 1258.0 kWh/day. The load consumption structure varies from hour to hour within a day, and it is shown that the minimum consumption was between 7.279 kWh and 8.173 kWh occurring around 00:00 pm (midnight), respectively, for both weekdays and weekends, the maximum consumption was between 84.82 kWh and 92.307 kWh occurring at 12:30 pm and 11:30 am, and the highest consumption of 9.0 kWh occurs within 09:00 am up to 19:00 pm. Figures 8 and 9 describe the categorized annual savings per year for the proposed system and the monthly electricity bills for both basic and proposed systems. With the proposed system, there will be annual energy savings with the value equal to US$1,725,103.00, and it will decrease the cost for operation and maintenance (O&M) which is considered the cost associated with operating and maintaining the proposed project to US$-11,248.00 and the total annual overall energy value stream was US$1,173,857.00. As it can be shown in Figure 9, the monthly electricity bill for the proposed system is lower than that for the basic (current) system for the whole year. Table 5 describes the annual utility bills and savings by category for both the current system and the proposed system, and it can be shown that the consumption charge with the proposed system is around -$1.6M while for the base case system is estimated at $118,946 which results in overall annual saving for the consumption charge equals $1.73M. Note that the base case is the EV connection to the grid, and the proposed case is the EV connection to a grid-connected system with solar PV microgrid with its storage. Figure 10 describes the monthly electricity production as expressed in MWh for both the utility grid and the PV system, and Figure 11 is the daily electricity production from the PV system over a period of one year with hourly details for one day. The minimum electricity production required from the grid of 10.995 MWh occurred during November, while for the PC system, a minimum production of 823.731

12
International Journal of Photoenergy MWh occurred in April and the maximum PV production of 1008.212 MWh occurred in July and 14.699 MWh in January, respectively, for the PV system and the utility grid. The PV system has a nominal capacity of 7,497.0 kW. The annual production was 10,762,281.0 kWh/yr; capital cost, $10.8 million; specific yield, 1436.00 kWh/kW; and maintenance cost, $11,246.00 per year.
As given by the simulation results and as shown in Table 6, the annual energy consumption of this EV depot is 459,250.0 kWh and the peak load is 300.0 kW. The 10.   Figure 13 represents the cumulative cash flow over the project lifetime, and Table 7 describes in detail the cash flow through the project lifetime over 25 years. It can be seen from Figure 13 that the cost (cash flow) for the base system slightly increases as time goes on while the cost with the proposed system greatly decreases with the project time frame period. Tables 8 and 9 describe the utility monthly summary for both the base system and the proposed system, respectively. It can be shown in Table 9, through peak load shaving of the PV system on the 300.0 kW peak load each month which led to a good system profit through energy sold, energy purchased, net energy purchased (kWh), energy charge, and the overall system total.

Conclusion
The geographical location of Rwanda promises a good and fruitful output of solar energy once well and highly exploited. The study in this research proves it through an integrated solar PV microgrid connected to the national power grid with a managed EV charging station. The proposed technology once implemented promises the reduction of NPC from $1,715,610 to -$15,480,080 and the LCOE from $0.259/kWh to -$0.103/kWh all contributing to affordable and reliable energy system (the negative value of levelized cost of electricity and net total net present cost means that the income obtained from selling electricity to grid is more than the money spent to purchase electricity from the grid; and this indicates that the revenues exceed the costs). The solar energy system (integrating a solar PV system to a grid for the EV charging) as proposed in this research can lead to an efficient increase of national energy resource exploitation in the Rwanda, resulting in reliable, affordable, and sustainable energy access to all the citizens, and is known to be reliable and affordable and to have pillar sustainable development.

Data Availability
The data used in this research are available upon the request from the corresponding author.

Conflicts of Interest
The authors declare that they have no conflicts of interest.