Development of a Software System for Selecting Steam Power Plant to Convert Municipal Solid Waste to Energy

: A software system that enhances the selection of appropriate power plant capacity that will convert combustible municipal solid waste (MSW) into energy was developed. The aggregate of waste to be converted was determined and the corresponding heating value was established. The capacities of steam power plants’ components required for the conversion were determined, using thermodynamic mathematical models. An algorithm based on models used to determine the energy potential, the power potential of MSW, the capacities of the components of the steam power plant, were translated into computer soft code using Java programming language; saturated steam and superheated steam tables, together with the thermodynamic properties of the power plant required were incorporated into the soft code. About 584 tons of MSW having a heating value of 20 MJ/kg was the quantity of waste experimented for energy generation. This information was input into the software as data and was processed. Then, the software was able to predict 3245.54 MWh energy potential for the quantity of waste, and electrical power potential of 40.54 MW. The capacities of the steam power plant components that were predicted include 100.35 MW of boiler power, 40.54 MW of turbine power, and 59.80 MW of condenser power. The methodology adopted will make it easy for the managers in the waste-to-energy sector to appropriately select the suitable capacity of the required steam power plant that can convert any quantify of MSW at any geographical location, without going through the engineering calculation and stress or rigor involved in the plant capacity design. Moreover, the accuracy obtained for the software is greater than 99%.


Introduction
Municipal solid waste (MSW), is a collection of materials resulted from man's activities with his environment on daily basis, which are considered as not useful and are disposed of as wastes. MSW generation is on the high side over the years, around the globe, due to the increase in population, changes in taste, fashions, advancement in technology, and consumerism growth [1,2]. Islam [3] and Ibikunle [4,5] reported that the growth in MSW generation is due to the global quest for urbanism, social, and industrial development. Johari [6] stated that the sporadic increase in a waste generation will necessitate environmental challenges unless it is adequately and promptly managed. Ibikunle [7] remarked that the waste generated in the Ilorin metropolis of Kwara State is a huge one, and the waste management system available is insufficient; this makes people indulge in indiscriminate disposal of wastes which results in pollution, an unsightly scene, and blockage of waterways.
The number of power plants in China, US, Japan, Germany, the UK, and France is 166, 88, 822, 78, 14, and 37 respectively; while power generation in China is 18.7 million MWh, US is 14 million MW, Japan is 1.9 million kWh, Germany is 5768 GWh, the UK is 2782 GWh and 1999 GWh is in France [23]. Despite the enormous waste generated in African nations, and the recent development in WTE technology, Africa is still behind in waste-to-energy (WTE) practices. The first waste-to-energy (WTE) power plant in Africa is 110 MW of Ethiopia, and Ghana is proposing a 60 MW Armech thermal power plant [24]. Oladende [25] reported that the Nigeria Electricity Supply Industry (NESI) has 12 power stations in Nigeria with a total power output of 11,165 MW and yet could not produce power during an off-peak period of the Christmas holiday; moreover, the only 26,000-L capacity biogas power plant, at Ikosi-Ketu market in Lagos, with about 10 KVA daily capacity, has not commenced operation. In South Africa, the renewable energy project put in place by the renewable independent power producer procurement programme (REIPPPP) is about 6327 MW altogether, in which landfill and biogas take 60 MW altogether [26]. The Ilorin metropolis that is selected for this study produces 302,000 tons of MSW per year, with a generating rate of 0.78 kg/capita/day; 70% of the aggregate waste generated is combustible, yet the city still faces an energy crisis [7]. The power supply by the Power Holding Company of Nigeria (PHCN) to the Ilorin metropolis is insufficient for her social and economic demand. Therefore, if energy recovery from waste components is adopted in Ilorin, it will provide a dual solution viz., efficient waste management and provision of alternative energy to energy from fossil fuels, which can complement the power supply from PHCN.
To practice WTE in any environment, the sufficiency and efficiency of the waste fractions required must be ascertained; the sufficiency of MSW is about the quantity of the waste fractions available for energy production and the regular flow in terms of the generation rate. The efficiency of waste is about the heating value and the correlation between the physicochemical properties of the MSW and its calorific value. When the sufficiency and the efficiency of the waste have been determined, then the choice of the appropriate WTE technology can be made. In this study, software was developed using Java programming language, an algorithm based on equations used to determine energy potential and electrical power potential of the municipal solid waste. The mathematical models used to determine the capacity of each of the equipment in the waste-fired power plant was prepared, which is translated into computer soft code using Java programming language, which is one of the common programming languages used in numerical analysis as well as a unified modeling language (UML) [27].
This study aims to provide software that will serve as a management and technical decision tool, to predict the capacity of steam power equipment that will convert MSW into energy at any geographical location, provided the available quantity of waste for energy and the low heating value (LHV) is also established. This study solves one of the technical challenges that could be encountered while trying to ascertain the capacity of the plant required. Nevertheless, the software developed in this study will predict the available energy and power potential in the waste to be converted, as well as the thermodynamic properties of the stages involved in the process. This software is referred to as a power plant selection support system because it helps in taking decisions on the appropriate capacity of the steam power plant required for a specific quantity of waste when its low heating value has been ascertained. The accuracy of the software is established by comparing the calculated values to the values generated by the software, and it is found to be above 99%.

Decision Support Systems (DSSs)
The computer-based interactive systems adopted to help the users to make the right decision or choice of activities and judgment are called DSSs; this is characterized by data bank and retrieval device. It enhances access to information and restoration of functions that support modeling and reasoning based on models. DSSs also support solving problems and framing. In most situations, the standard or quality of decisions taken can be used to correct the human error involved during decision-making. Disciplines that include operations research, economics, and statistics develop various methods for decision making. The methods can be enhanced by different scientific techniques that are based on artificial intelligence. Computer programs that either operate as tools on their own or as integrated computing environments are adopted for complex decisions. Such computing environments are called decision support systems (DSSs). The broad concept of a DSS is responsible for the variation in its definitions, therefore, every definition now depends on the author's point of view. To embrace all perspectives, a DSS can be defined as a computer-based system that aids users in judgment and choice of activities [28]. This is the reason the software developed in this study, to select the appropriate capacity of steam power plant that will convert any quantity of combustible MSW to energy in any geographical location, is considered as a decision support system.
The design of a DSS and its analysis is so complex that it involves the usage of specific and adequate instruments and methodologies to model the decision processes. Customized and developed features can be used to implement a DSS for decision activities or by utilizing a generalized DSS that can later be customized. DSSs can either be specifically developed for an establishment, using programming languages or using DSS generators. The strategy involved in the software development either engages general-purpose programming language (GPL), such as C++, PASCAL, BASIC, or COBOL, or engages the use of fourth-generation language (4GL), such as VISUAL BASIC .NET, C# .NET, VISUAL J# .NET, DELPHI, JAVA, or VISUAL C++ [29]. The most appropriate area for the installation of a biomass power plant can best be selected by managers using a spatial decision support system. Fuzzy logic and fuzzy membership functions are used for the creation of criteria layers and suitability maps. Multicriteria Decision Analysis methodology (Analytical Hierarchy Process) combined with fuzzy system elements for the determination of the weight coefficients of the participating criteria are used [30]. Fatima [31] incorporated a decision support system in a power plant simulation tool to provide the qualitative synthesis needed for the plant design process, and to assist the design engineers in performing a better choice-evaluation for technical quantitative and qualitative analysis.
Konstantinos [32] stated that decision support systems (DSS) are an approach designed as a tool to help managers take decisions by accelerating the relevant processes. The DSS developed in this study is designed to accelerate processes required in the design of power plants, and concurrently predict the energy and power potentials available in a quantity of MSW. This DSS can predict the energy and power potentials of the MSW fractions that are available for power generation, predict the thermodynamic properties involved in each stage of the power cycle of the steam power plant, and also predict the capacity of each of the equipment in the power plant that will convert a particular quantity of MSW whose net heating value is known.

Materials and Methods
The MSW materials investigated in this article are the 9 combustible MSW fractions of the total 19 waste fractions identified in the Ilorin metropolis. These include paper, packaging boxes, grass/garden trimmings, rags, wood, food residue, nylon, polypropylene sacks, and plastic bottles. The quantity of the MSW available per day for energy production was established, and the net heating value was determined using an e-2k combustion calorimeter. The heat energy and the power potentials of the MSW were determined. Rankine reheat cycle was used to design the capacities of the steam power plant equipment required for energy production. The mathematical models utilized in determining the energy potential and the designing of the power plant capacity are used to form the algorithm used in the development of the software, called the decision support system. The software interfaces were developed using Java swing utilities that comprise JFrames, JTextrafields, JButtons, and JEditorpane for data display. Action listeners and action events were used to control the button functionalities, handle calculations, and panel/Editorpane displays [25].

Determination of the Aggregate MSW Generated in Ilorin/Year, Using Collection Facts and Figures
The aggregate MSW produced in the Ilorin metropolis of Kwara State between January and June 2021 was estimated by using the mathematical model in Equation (1), without the aid of a weighing bridge, as suggested by Kosuke [22] and Ibikunle [4,5,10].
The total number of trucks is n, the capacity of a truck is C i (m 3 /truck), the loading volume ratio of a truck is V i , the density of MSW loaded on the truck is d i (tons/m 3 ), and the number of trips by truck is t ij on day j (frequency of trips/day).

Characterization of the MSW Fractions
It was reported by NT ENVIR 001 [33], Issam [34], and Ibikunle [4,5,10] that the huge MSW collected from different locations in the city can be effectively characterized through random sampling of some selected heaps of wastes deposited in the dumpsite. NT ENVIR 001 [33] suggested that 240 L of a bin full of MSW are appropriate as a unit sample. The waste streams were characterized twice a week for six months, thereby making 48 different batches of samples for the characterization investigation at Lasoju dumpsite to avoid any consequences from the effect of insufficient samples. Each component identified was sorted into different receptacles and weighed.

Moisture Content Analysis of MSW Components
The moisture content of the MSW combustible fractions was estimated using an electric oven (model DHG 9053) with a 200 • C capacity. About 1 g of powder of the sample of each component was measured into a crucible and dried in the oven, maintained at a temperature of 110 • C for an hour. The weight loss is considered as the moisture content of the waste component as suggested by Vairam [35], Shi [36], Titiladunayo [7], and Ibikunle [4,7,37] using Equation (2).
where MC is the percentage moisture content, W 1 is the mass of empty crucible (g), W 2 is the mass of crucible and sample (g), W 3 is the mass of crucible and sample after heating (g), W 2 − W 1 is the mass of sample (g), and W 2 − W 3 is the moisture content (g).

Ultimate Analysis of MSW Components
Ultimate analysis was investigated to ascertain the quantitative value of the carbon (C), hydrogen (H), nitrogen (N), sulphur (S), and oxygen (O) percentage content that is available in the MSW components. The investigation was carried out using an elemental analyzer (Flash EA 1112 model), based on ASTM D5291. About 0.5 g of powdered sample of each component was measured into a crucible and combusted. The oxides of carbon, hydrogen, nitrogen, and sulphur produced were analyzed by thermal conductivity detector (TCD), and the electrical signal emerged was processed by 'Eager 300 software' to give the percentages of elements contained in the sample. The samples were replicated, and an average of the values obtained is considered as the typical value [2].

Estimation of the Heating Value of the MSW Combustible Fractions
Islam [3] and Shi [33] suggested that the high heating value (HHV) of solid fuel can be determined by using e-2k combustion calorimeter, shown in Figure 1. The low high heating value (LHV) of the nine combustible waste fractions presented in Table 3 was obtained by Sustainability 2021, 13, 11665 6 of 20 applying Equation (3), as adopted by Islam [3], Ibikunle [4], Ibikunle [10], Ibikunle [37], and Kumar [38], as well as adopting Dulong and Steuer models in Equations (4) and (5) respectively. The average of the LHV obtained from the three equations is considered the typical LHV [4,7].
where W msw is the weight fraction (%) of the combustible MSW and HHV msw is the high heating value obtained by using a bomb calorimeter [4,10,[37][38][39].

Estimation of the Heating Value of the MSW Combustible Fractions
Islam [3] and Shi [33] suggested that the high heating value (HHV) of solid fuel can be determined by using e 2k combustion calorimeter, shown in Figure 1. The low high heating value (LHV) of the nine combustible waste fractions presented in Table 3 was obtained by applying Equation (3), as adopted by Islam [3], Ibikunle [4], Ibikunle [10], Ibikunle [37], and Kumar [38], as well as adopting Dulong and Steuer models in Equations (4) and (5) respectively. The average of the LHV obtained from the three equations is considered the typical LHV [4,7].
where is the weight fraction (%) of the combustible MSW and is the high heating value obtained by using a bomb calorimeter [4,10,[37][38][39].
In Equations (4) and (5), and are the heating values estimated by adopting Dulong and Steuer models respectively, and carbon (C), hydrogen (H), sulfur (S), and oxygen (O) are the chemical elements obtained from the ultimate analysis.

Determination of Energy Potentials ( ) of the Municipal Solid Waste
Daura [39] and Ibikunle [10] reported that the energy potential ( ) of MSW could be determined by applying Equation (6): where is the energy potential from MSW, (tons) is the weight of MSW, is the net low heating value of the MSW (MJ/kg). Conversion ratio (1 kWh = 3.6 In Equations (4) and (5), LHV ii and LHV iii are the heating values estimated by adopting Dulong and Steuer models respectively, and carbon (C), hydrogen (H), sulfur (S), and oxygen (O) are the chemical elements obtained from the ultimate analysis.

Determination of Energy Potentials (EP msw ) of the Municipal Solid Waste
Daura [39] and Ibikunle [10] reported that the energy potential (EP msw ) of MSW could be determined by applying Equation (6): where EP msw is the energy potential from MSW, W msw (tons) is the weight of MSW, LHV msw is the net low heating value of the MSW (MJ/kg). Conversion ratio (1 kWh = 3.6 MJ). The Electrical Power Potential (EPP msw ) of the MSW Is Determined Using Equation (7) as Suggested by Ibikunle [7,10] and Daura [39] EPP msw = 40, 602 kW where η is the conversion efficiency in a power plant, which is within a range of 20-40% as reported by Muhammad [40] and Ibikunle [7,10]. However, conversion efficiency of 30% is adopted for this work.
where η g is the generator efficiency (selected is 90%), η p is the transmission efficiency (selected is 75%) of turbine work (W T ). The generator efficiency range is 85-90% and turbine efficiency is within a range of 75-80% [41].

Determination of the Steam Power Plant Capacity Required for Energy Production
Thermodynamic analysis of Rankine cycle is used to enhance the reliability and efficiency of steam power plants [42]. In this study, the reheat Rankine cycle presented in Figure 2b is used to determine the capacity of the steam power plant that will convert the waste to electrical power. Rankine reheat cycle in Figure 2b was used for the estimation of the steam power plant capacity because it has a higher cycle efficiency compared to the ordinary superheat Rankine cycle shown in Figure 2a. The combination of temperature (400 • C) and pressure (40 bar) is commonly used in the capacity determination/design for steam power plants to minimize investment costs. Temperature higher than 400 • C may result in high-temperature strain and corrosion of the superheater tubes; also, the pressure below 40 bar lowers the requirements for pretreatment of the feed water [7,43,44].  (7) as Suggested by Ibikunle [7,10] and Daura [39] 277. 8 (kW)

40,602 kW
where is the conversion efficiency in a power plant, which is within a range of 20-40% as reported by Muhammad [40] and Ibikunle [7,10]. However, conversion efficiency of 30% is adopted for this work.
Power to grid = (MW)

MW
where is the generator efficiency (selected is 90%), is the transmission efficiency (selected is 75%) of turbine work ( . The generator efficiency range is 85-90% and turbine efficiency is within a range of 75-80% [41].

Determination of the Steam Power Plant Capacity Required for Energy Production
Thermodynamic analysis of Rankine cycle is used to enhance the reliability and efficiency of steam power plants [42]. In this study, the reheat Rankine cycle presented in Figure 2b is used to determine the capacity of the steam power plant that will convert the waste to electrical power. Rankine reheat cycle in Figure 2b was used for the estimation of the steam power plant capacity because it has a higher cycle efficiency compared to the ordinary superheat Rankine cycle shown in Figure 2a. The combination of temperature (400 °C) and pressure (40 bar) is commonly used in the capacity determination/design for steam power plants to minimize investment costs. Temperature higher than 400 °C may result in high-temperature strain and corrosion of the superheater tubes; also, the pressure below 40 bar lowers the requirements for pretreatment of the feed water [7,43,44].  The reheat Rankine cycle in Figure 2b is a modification of simple Rankine cycle in Figure 2a. The schematic representation of a steam power plant using the reheat Rankine cycle is shown in Figure 3. The reheat Rankine cycle in Figure 2b is a modification of simple Rankine cycle in Figure 2a. The schematic representation of a steam power plant using the reheat Rankine cycle is shown in Figure 3. Work Output ( ) of the High-Pressure Turbine (HPT) can Be Determined Using Equation (9), as Suggested by Kaspooria [42], Akhator [12], Arabkooshar [45], and Loni [46] ℎ − ℎ (9) where, (kJ/kg) is the HPT work output, is the mass flow rate of the steam, ℎ and ℎ are the enthalpies at states 1 and 2 during the isentropic expansion process in the HPT.
According to Jordi [47] and Hesham [48], the Heat (Q ) Supplied to the Steam at the Reheat Tube can be Determined Using Equation (10) ℎ − ℎ where is the rate of heat supplied to the steam, during the constant pressure heating process, from state 2 to 6 in the reheat tube.
Work Output ( ) of the Low-Pressure Turbine (LPT) can Be Determined as Suggested in Equation (11), by Akhator [12] and Arabkooshar [45] ℎ − ℎ (11) where (kJ/kg) is the LPT work output, and ℎ and ℎ are the enthalpies at states 6 and 7 of the reheat Rankine cycle, during the isentropic expansion process in the LPT.
Heat ( ) Rejected at the Condenser According to Akhator [12], Arabkooshar [45], and Loni [46] is Presented in Equation (12) ℎℎ where (kJ/kg) is the heat rejected in the condenser during an isothermal heat rejection process, while ℎ and ℎ are the enthalpies at states 7 and 3 of the reheat Rankine cycle respectively.
where, W T 12 (kJ/kg) is the HPT work output, . m st is the mass flow rate of the steam, h 1 and h 2 are the enthalpies at states 1 and 2 during the isentropic expansion process in the HPT.
According to Jordi [47] and Hesham [48], the Heat (Q 26 ) Supplied to the Steam at the Reheat Tube can be Determined Using Equation (10) .
where . Q T 26 is the rate of heat supplied to the steam, during the constant pressure heating process, from state 2 to 6 in the reheat tube.
where W T 67 (kJ/kg) is the LPT work output, and h 6 and h 7 are the enthalpies at states 6 and 7 of the reheat Rankine cycle, during the isentropic expansion process in the LPT. Heat ( . Q 73 ) Rejected at the Condenser According to Akhator [12], Arabkooshar [45], and Loni [46] is Presented in Equation (12) .
where . Q 37 (kJ/kg) is the heat rejected in the condenser during an isothermal heat rejection process, while h 7 and h 3 are the enthalpies at states 7 and 3 of the reheat Rankine cycle respectively.
where . Q 31 (kJ/Kg) is the heat supplied to the boiler, while h 1 and h 3 are the enthalpies at states 1 and 3 of the reheat Rankine cycle respectively.  (14) where Q B is the addition of heat Q 13 and the heat of reheat Q 26 .
MSW consumption rate, where m f is taken as the rate of fuel consumption, the boiler efficiency is η B , and the low heating value of MSW is LHV. Efficiency of 80% is assumed for the boiler (the range of boiler efficiency is 80-90%) [38].
Boiler power (Q BP ) : The boiler power, where Q BP is considered as the power generated/day by the boiler for steam power plant.
The turbine power output (P T ) = . m st × W T The total work output of the turbine, The Condenser Power

Development of Software for Selecting Power Plant Capacity
The nomenclature of all the parameters used in modeling the energy and electrical potentials of MSW, and the parameters used in modeling the power plant capacity required were prepared. An algorithm based on Equations (2)- (19) was prepared, which was translated into computer soft code using Java programming language (which is one of the common languages used in numerical analysis and a unified modeling language) [25]. The flow chart upon which the algorithm is based is shown in Figure 4. The software interface was developed using Java swing utilities which comprise mostly of JFrames, JTextrafields, JButtons, and JEditorpane for data display. Action listeners and action events were used to control the button functionalities, handle calculations, and panel/Editorpane displays. Java was used due to its flexibility, object-oriented programming language, and its multi-platform capabilities, which allows it to function on any operating system (OS). The conversion ratios for MSW in tons to kilograms, the heating value in MJ/kg to energy potential in kWh, the saturated and superheated water tables, and steam properties were incorporated into the software's database [25].
Sustainability 2021, 13, x FOR PEER REVIEW 10 of 21 system (OS). The conversion ratios for MSW in tons to kilograms, the heating value in MJ/kg to energy potential in kWh, the saturated and superheated water tables, and steam properties were incorporated into the software's database [25]. The Flowchart for the Decision Support System 1. The weight of MSW available for energy generation, heating value of the MSW, boiler efficiency, conversion efficiency, and turbine efficiency was supplied into the corresponding designated box in the input interface shown in Figure 5, 2. The boiler pressure, boiler temperature, pressure in the reheat tube, and the pressure required in the condenser are selected from the corresponding draw-down of the icons provided in the input interface, 3. After the required parameters have been supplied/selected; the system requests that you proceed, and the proceed button is clicked, 4. Then, a verification interface, shown in Figure 6, will appear to ask if data is OKAY; if OK, click on proceed button otherwise click on the recheck data button and continue, 5. Then click on the process button, and it will automatically process the data. After that, click on proceed button and the result will automatically be displayed on an output interface, as well as the date and exact time of processing as presented in Figure 7. The boiler pressure, boiler temperature, pressure in the reheat tube, and the pressure required in the condenser are selected from the corresponding draw-down of the icons provided in the input interface, 3.
After the required parameters have been supplied/selected; the system requests that you proceed, and the proceed button is clicked, 4.
Then, a verification interface, shown in Figure 6, will appear to ask if data is OKAY; if OK, click on proceed button otherwise click on the recheck data button and continue, 5.
Then click on the process button, and it will automatically process the data. After that, click on proceed button and the result will automatically be displayed on an output interface, as well as the date and exact time of processing as presented in Figure 7. Sustainability 2021, 13, x FOR PEER REVIEW 11 of 21     The results displayed include appropriate energy and electrical power potentials of the MSW, the work-output of the high-pressure and the low-pressure turbines, the heat rejected at the condenser, the heat supplied in the boiler, the boiler power, the turbine power, the condenser power required to convert the quantity of MSW to power, and the enthalpies at the different nodes of the reheat Rankine cycle.

Results and Discussion
In this section, the aggregate of the MSW produced in the Ilorin metropolis, the components in the MSW streams, their energy content, and the capacity of the waste-fired power plant required for electricity generation is established. Moreover, the manuallycalculated values and the values generated by the selection support system are compared. These include the heat energy, electrical power potentials of a quantity of MSW, energy at the thermodynamic states of the Rankine cycle, and the required capacity of the power plant that will convert the MSW; this is to ascertain the accuracy of the decision support system.

The Estimated Aggregate of MSW Produced
The quantity of MSW generated in a city must be considered to be able to estimate the quantity of the fractions that are suitable for energy production. The MSW generated in Ilorin between January and June 2021, as presented in Table 1, was predicted to be about 101,912 tons, based on the facts and the figures of the waste collection system without the use of a weighing machine, compared to 370,706 tons/year generated in Onitsha (the eastern part of Nigeria) and 10,000 tons of MSW/day in Lagos, the commercial center of Nigeria [55], 250 tons of MSW/year in Ado-Ekiti (Western Nigeria) [56], 30 million tons/year in the US [57], 2.15 million tons/year in Sweden [58], 46 million in China [59], and 169,120 tons of MSW/day in Africa [60]. The aggregate waste produced during this study implies that the MSW generated in Ilorin is sufficient for the renewable energy process. The quan- The results displayed include appropriate energy and electrical power potentials of the MSW, the work-output of the high-pressure and the low-pressure turbines, the heat rejected at the condenser, the heat supplied in the boiler, the boiler power, the turbine power, the condenser power required to convert the quantity of MSW to power, and the enthalpies at the different nodes of the reheat Rankine cycle.

Results and Discussion
In this section, the aggregate of the MSW produced in the Ilorin metropolis, the components in the MSW streams, their energy content, and the capacity of the waste-fired power plant required for electricity generation is established. Moreover, the manuallycalculated values and the values generated by the selection support system are compared. These include the heat energy, electrical power potentials of a quantity of MSW, energy at the thermodynamic states of the Rankine cycle, and the required capacity of the power plant that will convert the MSW; this is to ascertain the accuracy of the decision support system.

The Estimated Aggregate of MSW Produced
The quantity of MSW generated in a city must be considered to be able to estimate the quantity of the fractions that are suitable for energy production. The MSW generated in Ilorin between January and June 2021, as presented in Table 1, was predicted to be about 101,912 tons, based on the facts and the figures of the waste collection system without the use of a weighing machine, compared to 370,706 tons/year generated in Onitsha (the eastern part of Nigeria) and 10,000 tons of MSW/day in Lagos, the commercial center of Nigeria [55], 250 tons of MSW/year in Ado-Ekiti (Western Nigeria) [56], 30 million tons/year in the US [57], 2.15 million tons/year in Sweden [58], 46 million in China [59], and 169,120 tons of MSW/day in Africa [60]. The aggregate waste produced during this study implies that the MSW generated in Ilorin is sufficient for the renewable energy process. The quantity collected for disposal was estimated, as suggested by Ogunjuyigbe [13], that the aggregate of MSW collected and disposed of in most of the developing nations is about 74% of the quantity generated.  Table 2 reveals that the quantity of MSW characterized during the study is about 985 kg. The population responsible for MSW generation during this study is 1,222,294 people as predicted by Ibikunle [5]. The aggregate waste characterized during June is about 229 kg, followed by 182 kg in May, and the least is about 156 kg in February. The reason for June having the highest quantity of MSW of about 23% of the total waste characterized, might be because during this period, newly harvested crops are emerging from farm and food items, and others are cheaper, making it affordable for many people than before. February had the least waste, which might be due to the dry season when there was no plant nor harvesting of food crops and people have just concluded the new year celebration and did not have enough money to purchase items. In this characterization study, plastic bottles have the highest fraction of about 13%, followed by grass/garden trimmings of about 8%, and leather having the least of about 1%. The reason for the high fraction of plastic bottles is because many people consume bottled water and other drinks. Leather has the lowest fraction because it is treasured for ornamental crafts, bags, and shoes in Ilorin, hence it is rare to come by its waste fractions. The generation rate of MSW during this study is 0.145 kg/capita/day.

The Combustible MSW Fractions That Are Considered for Energy Production
Nine combustible fractions of the 19 MSW components that were characterized are considered for energy production, as presented in Table 3. The table shows that about 612 kg of combustible waste fractions were characterized during this study. This makes about 62% of the waste generated. This implies about 63,185 tons of combustible MSW were available for energy production during the investigation. Ibikunle et al. (2019) estimated the combustible components of MSW in Ilorin for the year 2016 to be about 71%, compared to 84% in Ghana in 1983 and 27% in 2014; 7.7% in South Africa; 74% in Nigeria, and 3.6% of the US [61]. This implies energy recovery from MSW via combustion in 2016 will reduce the quantity of waste deposited into the dumpsite in Ilorin metropolis by about 71%, but this recent study revealed that energy recovery via combustion of waste fractions could reduce the aggregate waste deposited into the dumpsite in Ilorin by about 62% within six months. Table 3. Physical characterization of MSW (of 612 kg) for energy production between January-February.

Jan.
Feb.  Table 4 presents the ultimate analysis of the waste fractions and the high heating value (HHV) of the components obtained from the bomb calorimeter. The analyses reveal that the average elemental components of the waste fractions give 29.14% composition of carbon, 0.11% of hydrogen, 3.95% of nitrogen, 0.50% of sulfur, and 0.15% of oxygen. The average HHV of the MSW components is 25 MJ/kg. These values are very important in the estimation of the energy and power potentials of MSW. The low heating value (LHV) of the waste components that is paramount in the estimation of power potential as determined by adopting Dulong and Steuer models in Equations (3) and (4) is presented in Table 5a. The average HHV from the bomb calorimeter is 25 MJ/kg, the average LHV b from the Dulong model is about 21 MJ/kg, and LHV c from the Steuer model is about 20.8 MJ/kg. Moreover, the LHV obtained from Equation (2) is about 19 MJ/kg. Therefore, considering the results from the three equations, the typical value for the LHV is assumed to be 20 MJ/kg. The MSW with LHV of 20 MJ/kg will produce correspondent energy of about 43% of petrol, 45% of energy in diesel, 48% of that in natural gas, 49% in coal, and about 100% of energy content in woody biomass [62].

The Energy Potential (EP MSW ) and Electrical Power Potential of MSW (EPP MSW )
The methodology established that about 62% of the MSW characterized are combustible, therefore, considering about 584 tons out of about 63,185 tons of (combustible) waste fractions available during the study, with the low heating value (LHV) of 20 MJ/kg, it can produce heat energy potential of 3.2 GWh and electrical power potential of 40.6 MW in a day, as presented in Table 5b. The available energy potential (EP MSW ) of 3.2 GWh in MSW will produce equivalent energy in 603 tons of wood, 395 tons of coal, 94 tons of hydrogen, 352,591 L of petrol, and 320,000 L of diesel [63]. The electrical power potential (EPP MSW ) of the MSW is about 41 MW, and this will meet about 15% of the power requirement in Kwara State [64], as well as will help achieve about 9% of the Nigeria Renewable Energy Master Plan (REMP) goal for 2025.

The Capacity of the Steam Power Plant Components Required to Convert the MSW
The capacities of the steam power plant components that will convert the available combustible MSW in Ilorin to energy were determined. It is established that a steam power plant output of 41 MW, operating on a reheat Rankine cycle of 40% efficiency, based on design specifications which operate in steam pressure and temperature of 40 bar and 400 • C respectively is required. Temperature higher than 400 • C can bring about high-temperature strain and corrosion in the boiler superheater tubes, and pressure below 40 bar can lower the requirements for pretreatment of the feed water [27,44,45]. The plant has an MSW fuel consumption rate of 40 tons/h, boiler capacity of 3600 kJ/kg (heat input), turbine output capacity of 1455 kJ/kg of steam, steam mass flow rate of 28 kg/s (100 tons/h), and specific steam consumption (SSC) of 2.48 kg/kWh. The parameters determined for each node (state) during the thermodynamic processes required in the steam power generating procedures are given in Table 6a. The energy balance of the processes is given in Table 6b and the capacities for each equipment of the power plant required are given in Table 6c. Table 6a,b contain pressures and temperatures selected from the steam table incorporated into the power plant design calculations to determine the enthalpy, entropy, work done, and the heat produced in different nodes of thermodynamic stages.  Table 6c presents the heat, work, and power estimated for boiler, turbine, and condenser discretely, while determining the capacity of the power plant that will convert 584 tons of MSW to energy. This agrees with 'ZGB' (a manufacturer of boilers in China) with a rating range of 101-150 tons/h steam mass flow rate for boiler with the power of 70-105 MW.

Software-Generated Values on Power Potential and Power Plant Capacity
The software developed serves as the supporting tool for the selection of waste-toenergy (WTE) power plant capacity that will utilize MSW as fuel. This system determines the energy and power potentials of MSW when the known weight of MSW in tons and its low heating value (MJ/kg) are inputted into the input interface of the software shown in Figure 5. The data inputted are verified in the interface in Figure 6, to ensure errorfree processes, before the data is processed. The results obtained using the software are presented in output display Figure 7. This decision support system will predict the capacity of the power plant required for energy recovery of any quantity of MSW at any location, as well as the heat enthalpy at the nodes of the Rankine cycle during the thermodynamic processes, provided the quantity of waste to combust is known, as well as the value of the low heating value.

Comparison between Manually-Calculated and Software-Generated Values on: Energy Potentials and Power Plant Capacity
The appropriate way to validate the efficiency of the software developed can be validated by comparing the manually-calculated values to the values obtained from the software package [65]. The values presented in Table 7 show that the accuracy of the software is >99%. This software can be used to predict the energy and power potentials of MSW in any location at any time, provided the weight and the low heating value are known. Nevertheless, it will excellently predict the quantity of work or heat involved in each of the power plant's equipment, as well as the capacity of the required boiler, turbine, and condenser that will convert the MSW to electrical energy.

Conclusions
The software developed can effectively serve as a supporting system for the selection of the appropriate capacity of the steam power plant to convert any quantity of MSW as fuel to energy. The results obtained revealed that a steam power plant of about 100 MW power of boiler, with about 40 MW power of turbine and 60 MW power of condenser with a steam mass flow rate of about 28 kg/s, will convert about 584 tons of municipal solid waste (MSW) with 20 MJ/kg heating value to electrical power potential of about 41 MW, and energy potential of about 3243 MWh. The comparison of the results obtained by manual calculation and that of the software shows an accuracy greater than 99%. It is concluded that the software will successfully predict the energy and electrical power potentials of MSW, and the power to grid potentials in any quantity of combustible waste fractions at any time, irrespective of geographical variations. It will also predict the capacities of individual components in the power plant required to convert the waste to energy, provided the quantity of the municipal solid waste (MSW) to be converted in tons and the net heating value of the MSW (MJ/kg) is supplied. The software will also determine the cycle efficiency of the power plant, the steam mass flow rate, and the MSW (fuel) consumption.