Sizing Algorithm for a Photovoltaic System along an Urban Railway Network towards Net Zero Emission

A reliable transportation system is essential for the development of a community. Especially in urban transportation, rail transportation is a faster, more comfortable way to travel for the commuters. These benefits can be valued further when the rail transportation system is with zero emissions. Electric trains can be considered a zero-emission transportation method. However, a rail transportation system operates with net-zero emissions when electricity is generated from zero-emission-based sources. Photovoltaic systems have already been integrated into railway stations and spare land owned by railways to achieve net-zero emissions. Furthermore, medium-voltage DC network and microgrid concepts have been proposed to incorporate more renewable energy sources into railway electrification systems. However, the energy generated from those systems is not enough to realise net-zero emissions, as the power requirements of an urban railway electrification system are high. Accordingly, this article investigates the possibility of implementing a photovoltaic system along the railway tracks to meet the energy demands of an urban railway electrification system so that net-zero emissions can be achieved. Other significant advantages of the proposed photovoltaic system are lower feeder losses due to distributed photovoltaic systems integrated into the railway electrification system, lower conversion losses due to the direct integration of the photovoltaic system into the railway electrification system, and the nonrequirement of additional space to install the photovoltaic system. In this paper, a photovoltaic system capacity sizing algorithm is proposed and presented by considering a railway electrification system, the daily schedule of trains, and historical photovoltaic weather data. This proposed photovoltaic system capacity sizing algorithm was evaluated considering a section of the urban railway network of Sri Lanka and a three-year, 2017-2020, photovoltaic weather data. The results indicated that the potential for photovoltaic generation by installing photovoltaic systems along a railway track is much higher than the requirement, and it is possible to meet the required train scheduling options with proper sizing. Furthermore, in the three-year analysis, it is possible to achieve 90% of the energy required for the railway electrification system with effective train scheduling methods.


Introduction
A reliable transportation network is essential for the development of a country. Existing transportation methods include public vehicles such as buses; personal vehicles such as cars, vans, and bikes; and rail transportation. Rail transportation is more attractive to the public, as it is more convenient than other methods [1]. Electric railway systems are beneficial due to lower power consumption and greenhouse gas emissions compared to traditional fossil fuel-based railway systems [2][3][4][5]. Electric trains are zero-emission vehicles, which do not generate harmful emissions during their operation [6]. Although zero-emission vehicles do not produce harmful emissions while operating, emissions may occur at a different location depending on the method of producing electricity. Thus, it is essential to generate electricity with zero emissions to meet the requirements of net-zero emissions in rail transportation. To achieve zero emissions, renewable energy sources are considered the alternative to fossil fuel-based electricity generation. Among renewable energy sources, photovoltaic systems are popular and are rapidly being integrated as a power source in many applications.
The use of photovoltaic energy in the transportation sector is investigated on a large scale. When considering railway electrification systems, photovoltaic systems are implemented around railway stations and coupled to the feeder network of the railway electrification system [7][8][9]. The concept of "zero-emission stations" was investigated in Japanese railway stations by integrating photovoltaic systems [10]. Battery storage integrated into the railway stations is used to achieve "zero-emission stations." A 200 kW and 453 kW photovoltaic system is implemented on the Takasaki and Tokyo railway stations [10,11]. The power generated from the photovoltaic system on station rooftops can be stepped up so the power can be integrated into the railway electrification system [11]. A rooftop photovoltaic system on a train is investigated to operate lighting and fan loads [12]. Such rooftop-mounted electric trains also operate commercially [13,14]. In Belgium, a two-mile-long rail tunnel with 16000 photovoltaic panels was implemented to supply power to the railway electrification system. This system is capable of generating 3.3 MWh [13,15]. A solar railcar, developed in Hungary, is also currently operating [13,16]. India plans to set up photovoltaic systems in railways to generate the necessary energy for the railway electrification system [17,18].
Investigations of future renewable energy railway electrification systems are conducted in microgrids and mediumvoltage DC (MVDC) networks. Future railway electrification systems based on a microgrid architecture with photovoltaic and energy storage are presented in [19]. The railway electrification system gets power through a 220 kV ac grid, and the substations consist of a battery-supercapacitor storage system. Microgrids consisting of photovoltaic and batterysupercapacitor hybrid storage are connected to the railway electrification system at different points. The microgrid is connected to the 10 kV distribution network. A photovoltaic integrated 24 kV railway electrification system is presented in [5]. This paper states that a photovoltaic system installed in parallel with a railway line can yield 40 MW of peak power from a 400 km line. Moreover, the authors in [20] have presented the ability to use the MVDC grid network with renewable energy (wind and solar) and battery storage. Lower losses and the ability to integrate renewable energy sources easily are the critical points considered when selecting MVDC over MVAC systems. Interconnected microgrids are considered a possible option to improve the resilience of railway electrification systems [2]. The structure of microgrids can be an AC/DC hybrid. A voltage source converter-based MVDC railway electrification system that can be extended to incorporate renewable energy and battery storage is presented in [3]. The authors of [21] have studied the stability issues of integrating large-scale photovoltaic systems into railway electrification systems at 24 kV dc .
The integration of photovoltaic energy into a railway electrification system was limited by 2018, as indicated in [22]. The authors of the paper have discussed five configurations that can be used to integrate photovoltaic into a railway electrification system. In all five cases presented, photovoltaic systems are integrated into high-voltage AC systems or medium-voltage AC railway electrification systems at the substation. A back-to-back converter structure for a 25 kV ac railway electrification system is proposed in [23] to integrate a photovoltaic system. The concept of an MVDC structure for a railway electrification system connecting wind and solar systems, cities, HVDC systems, and an AC grid is presented in [24]. Furthermore, the authors in [25] present an MVDC structure that can integrate renewable energy. It is clear from the literature review that photovoltaic integration into railway electrification systems is limited, and investigations are conducted to find suitable technologies. Moreover, the possibility of installing photovoltaic systems along the railway electrification system has not been thoroughly investigated. Furthermore, research on using photovoltaic system to achieve net-zero emissions has not been conducted. Research on photovoltaic system in railway electrification systems to achieve zero emissions is essential to develop a green railway system.
Although photovoltaic systems could be a possible solution to reach zero emissions, identifying a suitable location to implement a photovoltaic system to power railway electrification systems could be an issue. An electric train needs a significant amount of power, varying from 300 to 1000 kW [13,26]. Typically, a 5-10 m 2 area is required for a 1 kW photovoltaic system [27]. Thus, meeting the energy requirements of a low-power commuter electric train would require a space of 3000 m 2 . Since a railway network consists of multiple electric trains operating simultaneously, an urban railway electrical systems' total power and energy requirements would be much higher than the values mentioned. Therefore, locating a space to implement a largescale photovoltaic system would be extremely difficult in an urban area to realise zero emissions.
This article investigates the possibility of implementing a photovoltaic system along a railway track to produce the required energy to operate electric trains in an urban railway network to achieve net-zero emissions. The railway tracks are open and exposed to direct sunlight most of the time. Therefore, implementing a photovoltaic system along the rail track would provide clean energy and space to implement a photovoltaic system. Furthermore, with the ability to directly integrate the photovoltaic system into the railway electrical system, the feeder losses and power conversion losses will be reduced, which are additional benefits. The presentation of an algorithm to size the capacity of a photovoltaic system installed along a railway network to achieve net-zero emissions over a year is the main contribution of this paper. The structure of this paper is as follows: initially, a brief review of the electric railway system and the photovoltaic system is provided. Subsequently, a methodology to estimate the maximum possible photovoltaic integration is presented, followed by the proposed algorithm to size the photovoltaic system's capacity. Finally, the methodology is verified considering an urban railway network in Sri Lanka and weather data for three years in the region.

Proposed Generalized Railway Electrification
System with Photovoltaics Figure 1 presents a block diagram of the existing and proposed electric railway network. In the existing railway 2 International Journal of Photoenergy electrification system, an electric train is powered by a cable placed along the railway network, and power is acquired from the utility through the substations placed at regular intervals. However, in the proposed railway electrification system, photovoltaic panels are mounted along the rail track. The output of the photovoltaic panels placed along the railway track can be directly integrated into the railway electrification system. Therefore, electric trains receive power from the utility and the photovoltaic system along with the railway electrification system. The energy from the photovoltaic system reduces energy consumption from the utility; thus, emissions are reduced. In addition, local photovoltaic generation helps to reduce the power losses in the railway electrification system. Since the photovoltaic system is to be implemented on land already used for the railway system, separate land is not required to implement the photovoltaic system, further reducing the environmental impact. In addition, the railway tracks, which are idling for most of the time, would be utilized. Thus, the utilization of space is significantly improved. The proposed railway electric network with photovoltaic systems will help to reduce emissions considerably. . An electric train has one or more cars with traction motors, with some of the cars in a train chain without traction motors. Since the formation is different from train to train, the power requirement of an electric train varies accordingly. For example, the Kita-Osaka Kyuko Railways 9000 series consists of four motorized cars and six nonmotorized cars [28,29].

Review of Photovoltaic Systems and Railway Electrification Systems
Electric trains are driven by the power supplied from the railway electrification system. The operating voltage of the railway electrification system around the world differs from country to country. Operating voltages range from 600 V dc to 3 kV dc , and some systems operate at 15 or 25 kV ac [1,4], [5,26,[30][31][32][33]. Countries such as the UK operate at 750 V dc [1,33]. The 1.5 kV dc railway electrification system is used in countries such as the Netherlands, Japan, Hong Kong, Australia, and Denmark [1, 4,33]. Countries such as South Africa, the Czech Republic, Slovakia, Spain, and Italy use 3 kV dc systems [1, 4,33]. Recently, it was proposed to use a 9 kV dc railway electrification system. The authors in [34] propose using two feeders with 1.5 kV dc and 9 kV dc to improve efficiency. Furthermore, 25 kV ac /50 Hz networks are used in counties such as France, Spain, Italy, the UK, India, and the Netherlands [1, 4], [30,31]. 15 kV ac /16.7 Hz is also used as the voltage and frequency of some railway electrification systems. Two main methods are used to provide electricity to the trains: (a) third rail and (b) overhead lines [1, 4,33]. The third rail option is used in lowvoltage-operated trains operating at up to 1500 V. Since the third rail is mounted on the railway track itself, energising with a higher voltage is unsafe. Thus, overhead lines are used for voltages above 1500 V, with pole masts used to hang the overhead line. The distance between two pole masts can be more than 50 meters [33,35]. The third rail or the overhead line connects to substations at regular intervals, with the distance between two substations depending on the voltage of the railway electrification system. For 750 V dc systems, substations have to be placed at a distance less than 5 km [4,33,[36][37][38][39]. In the case of 1.5 kV dc systems, substations are placed every 10 km [36,37]. This gap can be 20-50 km for a 25 kV ac system [4,38].
panel, and the number of cells in the panel are given by I pv , I Ph , V pv , R s , and N, respectively. The output characteristics depend on the incident irradiance on the cell (G a ) and the temperature of the cell (T), as presented in Figure 2 [40]. As the irradiance increases, the output power increases, while the temperature increase lowers the output power. Typically, photovoltaic panels are connected to the load via a power electronic converter. The controller of the converter ensures that each photovoltaic panel is operating at the maximum power point to extract maximum power output from each panel every instant.
The open-circuit voltage and short-circuit current vary with the panel's temperature and the irradiance incident on a panel. The corresponding relationships are presented in Equations (2) and (3) [40]. Irradiance mainly impacts the short-circuit current, and the temperature impact is mainly on the open-circuit voltage. The irradiance, short circuit current, temperature coefficient for the short circuit current, temperature, open-circuit voltage, and temperature coefficient on the open-circuit voltage are given by G a , I sc , ΔI sc , T, V oc , and ΔV oc , respectively. The variables with additional subscript "s" represent the values at the Standard Test Conditions (STC). The cell temperature (T) can be ascertained from the incident irradiance on the panel and the environmental temperature. Ambient temperature and nominal operating cell temperature (NOCT) are related to irradiance and environmental temperature (T a ) as given by Equation (4) [41].
Different sizing methods are used in different applications [41][42][43][44][45][46]. In grid-connected applications, the average energy consumption is generally considered the starting point for building a photovoltaic system for such applications [43]. The consumer decides on the tariff structure and receives benefits based on the selected tariff structure. A separate bill is provided for photovoltaic generation, or the cost of the utility bill is reduced based on photovoltaic generation during the billing period. In the case of standalone applications, extra capacity is included to even out the energy generation differences on different days, with battery storage integrated with standalone photovoltaic systems [42,43,[45][46][47].

Energy Requirement and in a General
Railway Electrification System with the Proposed Photovoltaic System 4.1. The Energy Requirement of a Railway Network. Figure 3 shows a general railway electrification system with electric trains operating. The total power requirement of the railway electrification system at a given instant is represented by Equation (5), where P i is the power consumed by the i th train at the time "t" and the number of trains operating on the system is "n." The total energy requirement for the period considered from t 1 to t 2 is given by Equation (6).    International Journal of Photoenergy 4.2. Energy Generation from a Photovoltaic Panel in a Particular Location. The maximum output power of a panel (P mpp ) at a particular instance can be expressed in terms of voltage and current at the maximum power point (V mpp and I mpp ) as in Equation (7). The voltage at the maximum power point of a photovoltaic panel can be expressed as a percentage of the open-circuit voltage, and similarly, the current at the maximum power point of a photovoltaic panel can be expressed as a fraction of the short-circuit current [39]. Then, the maximum output power at a given instance can be expressed as in Equation (8), where k 1 and k 2 are constants. The irradiance and temperature measurements are taken periodically, and the measurements can be assumed to be constant for the period when the period is relatively small. Then, the total energy generation for the day (E day ) can be calculated by Equation (9), where "T" and "x" are the period and number of measurements per day. Assuming that the daily average is available for "m" number of days of the year, the average daily energy generation (E daily,avg ) can be calculated by Equation (10).
It is necessary to have photovoltaic measurements covering one year to establish a reliable estimation. Year-long data enables the identification of potential periods of high and low energy yield during the year. Furthermore, it is possible to calculate the number of days to generate a predefined amount of daily energy. Based on this calculation, it is possible to plot a histogram indicating the number of days of daily energy generation as a percentage of the maximum daily energy generation.

Potential Energy Yield in a Photovoltaic
System of a Railway Electrification System. The electricity feeding mech-anism varies according to the voltage of the railway electrification system. Typically, the third rail is used for the trains operating at comparatively low voltage levels such as 600 or 750 V dc . In this case, the photovoltaic panels can be mounted on the rail track, as shown in Figure 4. A single photovoltaic panel can be mounted on the rail track in third rail-powered railway tracks as the typical track gauge is 1400 mm or above. It may not be possible to mount photovoltaic panels near a railway station with multiple tracks or areas where railway signalling components are installed. The total number of photovoltaic panels that can be mounted on the railway track is given by Equation (11). There are r number of segments in the railway electrification system. The length of the i th segment is given by l seg,i . The length of a photovoltaic panel and the space between two adjacent photovoltaic panels are given by l pv and Δl pv , respectively. Furthermore, l nonpv,ij is the length of the j th subsection where photovoltaic panels cannot be laid on the i th section. The number of segments where photovoltaic panels cannot be laid in the i th segment is taken as y.
Railway electrification systems operating above 1.5 kV dc typically use overhead lines to power trains. The method mentioned earlier is unsuitable, as shading of overhead lines and pole masts reduces power generation. In such situations, photovoltaic panels can be mounted above the overhead line by extending pole masts, as shown in Figure 5. The number of panels placed along the railway track (parallel) and across the railway track (series) may vary from pole location to location. Thus, the total number of photovoltaic panels in such a system can be represented by Equation (12). n p and n s represent the number of panels in parallel and series at the j th pole of segment i th of the railway electrification system. It is assumed that the panels connected across the railway track form a series string, with such series strings connected in parallel along the railway track.
The energy capture capability of each panel depends on the average daily energy, which corresponds to the location 5 International Journal of Photoenergy of the photovoltaic panel. Therefore, the daily average energy generation is the addition of the energy generation of each panel as in Equation (13) and which applies to the installation of photovoltaic panels on the railway track or the pole mast of overhead lines.

Sizing a Photovoltaic System for a Railway Electrification
System. The previous section presented a methodology to calculate the maximum number of photovoltaic panels that can be covered along a railway track. However, the capacity of the PV system depends upon the energy demand of the considered railway electrification system and the energy yield in the considered railway network that is affected by weather patterns. Thus, it is important to have a methodology to ascertain the capacity of the photovoltaic system by considering the energy demand and potential energy capture using weather data. Based on the above consideration, the proposed algorithm to size the capacity of the photovoltaic system installed along a railway electrification system is shown in Figure 6. The sizing is based on energy generation, and thus, intermittent power variations within a day are not considered.
The algorithm initially calculates the daily energy demand of trains and potential photovoltaic generation separately. The daily energy demand is calculated from the daily train operating schedule in the considered network segment. In certain locations, the overall train schedule can be classified as either essential or nonessential schedules. Essential schedules are considered as the base schedule (BS). Essential and nonessential combined operations are considered as extended schedules (ES). The present and future train schedules need to be considered in selecting the base and extended schedules because investment in a photovoltaic system is for an extended period. The daily energy requirement of a train network is calculated based on Equations (5) and (6) for the considered operational schedules. The daily energy generation by a photovoltaic panel is calculated according to Equation (9) for all days where the measurements are available. Then, the potential energy generation can be calculated based on the length of the railway network segment according to Equation (13). If the potential energy requirement of the photovoltaic system on the railway network is greater than the energy requirement of the train, then a fraction of the railway network needs to be covered to meet the energy requirement so that zero emission is achieved. Otherwise, the photovoltaic system should cover the entire space, with zero emissions unachievable.
Consider the case where the potential generation is greater than the energy demand. Since the daily energy generation from a photovoltaic system differs from day to day, it is not possible to determine the exact number of photovoltaic panels required in a single attempt. Therefore, it is necessary to calculate the most appropriate capacity of the photovoltaic system. In the first approach, Equation (14) calculates the number of photovoltaic panels required by the energy demand of the rail network and the average daily energy generation of a photovoltaic panel. In the second approach, the number of days where the energy demand of the railway network can be met is considered to calculate the number of photovoltaic panels required. The daily Figure 4: Installation of photovoltaic panels on the railway track itself.
Tower i, n n s, ij n 2, ij n 1, ij n 1, ij n 2, ij n p, ij  International Journal of Photoenergy energy generations throughout the year are initially sorted in a descending order in the second approach. The minimum daily energy generation within the highest daily generation values in this sorted list for a given percentage of days is found. Let the percentage of days considered be taken as d.
The minimum daily energy generation corresponding to the highest d% of the data set of the year is considered as E ðdaily,minÞ for d% . Then, the number of photovoltaic panels required to produce energy more than or equal to the energy demand of the railway network for d% of days can be calculated using Equation (15). The d% value can be varied to evaluate the ability of the photovoltaic system to withstand the base and extended schedules. Design cases can be defined by defining the minimum (d min ) and maximum (d max ) for the percentage of days using an appropriate increment (Δd). In the algorithm presented in Figure 6, the BS can be selected as the energy demand of the railway network. Accordingly, it is possible to evaluate the possibility of achieving zero emissions for the essential schedules. Let E total,gen be the total annual energy generated from the photovoltaic systems of the railway network, and E total,BS is the total annual energy requirement of the railway network for the BS. The percentage of excess generation by the photovoltaic system (ΔE q ) against the energy requirement of the train network can be calculated using Equation (16).
Since the number of photovoltaic panels required for each case can be calculated by Equations (14) and (15), it is possible to estimate the daily energy generation for the data set considered. Let E daily,max be the maximum daily energy generation over the considered year. Then, Figure 7 illustrates the percentage number of days capable of producing more than daily energy generation for a particular daily energy value within a year for different cases. As the number of photovoltaic panels increases, the daily energy generation   7 International Journal of Photoenergy increases. Depending upon the design case, this curve varies. In Figure 7, the daily energy requirement for each scheduling case is presented, making it possible to visualize the ability of a photovoltaic system to operate in each scheduling case.
Once the above algorithm calculates the number of panels, it is possible to calculate the area to be covered on the railway track for a low-voltage DC network and the number of pole masts that need to be mounted with photovoltaic panels according to Equations (17) and (18), respectively. The percentage of area covered to full potential can be expressed as Equations (19) and (20).
In summary, the number of photovoltaic panels in a system can be initially calculated based on the requirement of the base schedule. Then, the number of photovoltaic panels can be optimized according to excess generation requirement and the percentage of days where extended schedules are to be operated.

Performance Analysis with Scheduling Based on Daily
Generation. In the previous section, the percentage for different scheduling options was calculated according to the available data. The predicted photovoltaic generation on the day ahead in the actual situation will determine a particular train operation schedule. With advancements in prediction methodologies, photovoltaic generation a day ahead can be predicted with greater accuracy. In this analysis, it is assumed that a perfect estimation can be made. The number of percentage scheduling for each option can be calculated by Equation (21), where n si corresponds to the number of days operated in the i th scheduling option. Then, the amount of energy required to operate those schedules can be calculated by Equation (22), where E si is the energy requirement of the i th scheduling option and the number of scheduling options is m. The energy generated by the photovoltaic system for the considered period is calculated by Equation (23) where the energy generation in the i th day is E day,i . Finally, Equation (24) presents the percentage of effective net-zero emissions (NZE eff ). Zero in Equation (24) indicates perfect net-zero emissions. A negative value indicates that net-zero emissions are not met, while a positive value indicates excess photovoltaic generation.

Energy Requirement and Photovoltaic
System Sizing: Case Study

The Energy Requirement of the Selected Railway
Network. The train network presented in Figure 8 is selected to investigate the proposed railway electrification systems. The railway network in Kandy, Sri Lanka, was selected for the study, and there is no existing railway electrification system in this network. The selected section of the railway network can be considered as a flat terrain. Kandy (K), Gampola (G), and Kadugannawa (KG) are three termination stations. The distances from Peradeniya junction (P) to the three destinations are 10 km, 14 km, and 6 km, respectively. Trains operate from Kandy to Gampola (K-G) and vice versa (G-K). Also, trains operate from Kandy to Kadugannawa (K-KG) and vice versa (KG-K). The railway track is a single track. A train with the Kita-Osaka Kyuko Railways-9000 series specifications was considered for this analysis [28,29]. This train consists of four 170 kW motors. There are four motor-powered cars and six non-motorpowered cars in the original formation that could carry 1798 passengers. This formation has been modified to reduce the number of passengers on the train, with the revised formation of this train having two motor-powered cars and three nonpowered cars. The total capacity of the train is 899 passengers. The proposed train operating pattern for the considered railway segment is presented in Figure 9. Since the objective of these electric trains is to utilize photovoltaic energy effectively, the electric train operations are limited from 06.00 to 18.00. The minimum operation of trains is presented by the letter "B," which is considered the base schedule (BS). The baseload consists of morning and afternoon school traffic (B 1 and B 4 ) and office traffic (B 2 and B 5 ) and one journey (B 3 ). The base schedule was extended with additional train schedules as load-1 (L 1 ), load-2 (L 2 ), and load-3 (L 3 ), respectively. Four operation patterns are defined as (a) base schedule: baseload only; (b) extended schedule-1 (ES 1 ): baseload and load-1; (c) extended schedule-2 (ES 2 ): baseload, load-1, and load-2; (d) extended schedule-3 (ES 3 ): baseload, load-1, load-2, and load-3.
The total power requirement for a particular instance in the considered network for each scheduling case was calculated using Equations (5) and (6) and plotted in Figure 10. 8 International Journal of Photoenergy Even though the power requirement varies according to the terrain and loading, the maximum power rating was considered for the photovoltaic system sizing analysis in this case. Table 2 summarizes the maximum power demand of the network and the daily energy and yearly energy demands for each scheduling case.

Photovoltaic Generation by a Panel in the Selected
Location over a Year. Photovoltaic generation on the railway network varies from location to location within the considered railway network segment. However, it would be challenging to get the historical data at different locations along the selected railway network. Historical data for 2017, 2018, and 2020 were available for the location of Peradeniya in the railway network. It was assumed that variations in the environmental conditions across the network are equal to environmental conditions at Peradeniya. In this analysis, a 400 W photovoltaic panel is considered to estimate the energy generated from a photovoltaic panel and used to size the photovoltaic array. The specifications of the commercial photovoltaic panel considered for the analysis are shown in Table 3. Considering the datasheet values for the STC, the constants k 1 and k 2 in Equation (8) were calculated, with k 1 and k 2 equal to 0.947 and 0.832, respectively. The panel's power output degrades by roughly 1% per year, according to the datasheet. The degradation of the photovoltaic panel's power over the years was not considered in the analysis. Using the irradiance and temperature data at Peradeniya, the energy per day is calculated using Equations (2) to (4) and (7) to (10). Figure 11 presents the daily energy generation for 2017, 2018, and 2020. Irradiance and temperature measurements were not recorded at the data collection centre for 92, 62, and 44 days in 2017, 2018, and 2020, respectively. According   International Journal of Photoenergy to 2018 and 2020 data, the first four months of the year produce more than 1500 Wh on most days compared to the rest of days of the year. Table 4 summarizes the daily average generation and the maximum daily generation. According to the results, it is possible to assume that four to five sun peak hours occurred on most of the days of the year. Days with sun peak hours being less than three are uncommon. In the middle of the year, the daily generation was less than the year's beginning. The daily average generation for 2017 is less than 2018 and 2020 by approximately 100 Wh, and it may be due to data not being available at the beginning of 2017.
Based on daily energy calculations for a year, a histogram was plotted with a step size of 100 Wh, as presented in Figure 12 for 2017, 2018, and 2020. The energy yield was highest in 2020 and minimum in 2017. However, in all three years, a significant number of days of the year produced more energy than 1000 Wh. Therefore, the energy yield depends on the environmental conditions of the considered year.

Potential Energy Yield in a Photovoltaic
System of the Railway Electrification System. The number of photovoltaic panels placed on the selected railway electrification system can be calculated using Equations (11) and (12) for the third rail and overhead line arrangements. Furthermore, the daily average energy generation can be calculated from Equation (13). In the case of the third rail option, the following specifications were considered. The total length of the tracks in the network, length of each photovoltaic panel, and spacing between two photovoltaic panels are taken as 30 km, 2 m, and 1 m, respectively. Furthermore, there are 11 railway stations on the route, with 100 m allocated for each station without photovoltaic panels. Also, another 1 km was deducted for other exclusions. The maximum number of photovoltaic panels mounted on the network is 9300, as given in Table 5. The average daily energy generation of the photovoltaic system with 9300 photovoltaic panels is more than twice the energy requirement of ES 2 . Concerning placing photovoltaic panels above the overhead line, it was assumed that five panels could be placed across the railway

10
International Journal of Photoenergy track to form a series string. Pole masts were also assumed to be located 100 m apart; therefore, the total number of pole masts equals 300. The number of photovoltaic panels required for different numbers of series strings is presented in Table 5. When three series strings are connected along the railway track, the average daily generation of the photovoltaic system is greater than the energy requirement of ES 2 . The energy requirement of the ES 3 train schedule can be met on average by installing four series strings. The areas required for the photovoltaic panels are also presented in Table 5. The results show that by covering the space over the railway track, the energy generation from the photovoltaic system would be much higher than the energy requirement of the railway electrification system. Thus, further sizing of the photovoltaic capacity can be ascertained using the algorithm presented in Figure 6.

Sizing the Photovoltaic System for the Selected Railway
Electrification System. Since the potential energy generation is higher than the energy requirement of the railway network, the photovoltaic system can be sized according to the algorithm in Figure 6. Eight design cases were considered to size the photovoltaic system and Equations (14) and (15). In design case 1 (DC 1 ), the photovoltaic system is designed so that the energy requirement of the railway electrification system based on the average daily photovoltaic generation of a panel, with Equation (14) used for the calculation. The other cases were defined by varying the percentage value used in Equation (15). d% value was varied from 50% to 80% at 5% increments. Cases 2, 3, 4, 5, 6, 7, and 8 correspond to d% values of 80%, 75%, 70%, 65%, 60%, 55%, and 50%, respectively.
The number of photovoltaic panels required for the eight cases was calculated separately for 2017, 2018, and  1  10  19  28  37  46  55  64  73  82  91  100  109  118  127  136  145  154  163  172  181  190  199  208  217  226  235  244  253  262  271  280  289  298  307  316  325  334  343  352 1  10  19  28  37  46  55  64  73  82  91  100  109  118  127  136  145  154  163  172  181  190  199  208  217  226  235  244  253  262  271  280  289  298  307  316  325  334  343 1  10  19  28  37  46  55  64  73  82  91  100  109  118  127  136  145  154  163  172  181  190  199  208  217  226  235  244  253  262  271  280  289  298  307  316  325  334  343  352   11 International Journal of Photoenergy 2020 and presented in Table 6. The average daily photovoltaic generation in 2017 is 1559.7 kWh, and therefore, 3270 photovoltaic panels are required to meet the daily energy demand of the BS. When the daily energy generations of 2017 are sorted in a descending order, the minimum energy generation of the top 80% of daily energy generations in 2017 corresponds to 1138.1 kWh. Thus, the number of photovoltaic panels required to meet the energy demand of the BS is 4482. Similarly, for other cases concerning 2017, the number of photovoltaic panels required was calculated. Also, the number of photovoltaic panels required when considering 2018 and 2020 data was calculated separately and presented in Table 6. Due to the variation of environmental conditions, the number of photovoltaic panels required varies for each case. Since 2020 has a good energy yield, the number of photovoltaic panels required is less than the number of panels required for the other two years. Table 7 presents the percentage excess generation compared to the energy demand of the railway electrification system operating with BS for the considered year, calculated by Equation (16). According to Table 6, 3270 photovoltaic panels are required for DC 1 using 2017 data. If a 3270panel photovoltaic system is used, the yearly excess generation of the photovoltaic system in 2018 and 2020 is 4.0% and 7.3%, respectively. For DC 1 , 3145-panel photovoltaic system is required using 2018 data. Then, the excess yearly generation of the photovoltaic system would be -3.8% and 3.2% in 2017 and 2020. The negative percentage indicates that the BS yearly generation requirement would not be met in 2017 with the 3145-panel photovoltaic system. The percentage of excess generation for all the other cases is presented in Table 7. It is not possible to get 10% of excess generation for the DC 1 , DC 6 , DC 7 , and DC 8 cases. Therefore, the possibility of operating extended schedules is slim for those cases. Concerning DC 5 , design based on 2017 data will yield over 10% of excess generation. However, the percentage of excess generation would be less than 10% in some    Table 7 and design based on BS considered, design cases DC 2 , DC 3 , and DC 4 generate a considerably higher percentage of excess energy while DC 1 , DC 6 , DC 7 , and DC 8 may not achieve zero emissions in cases. DC 5 yields positive excess generation when considering the BS yearly generation requirement for three years, irrespective of the year considered for DC 5 . Thus, zero emissions over a year can be achieved by implementing a photovoltaic system corresponding to DC 5 for the considered years. Furthermore, the most appropriate design case can be selected depending on the appropriate percentage of excess generation value. For example, if 5% of extra yearly generation is sufficient, DC 5 based on 2018 data (3484 PV panels) or DC 6 based on 2017 data (3441 photovoltaic panels) can be selected. The excess energy can be used to operate extended schedules of the railway electrification system or sold to the utility network.  13 International Journal of Photoenergy Figure 13 presents the histogram of the number of days compared to the daily generation for the design based on 2017, 2018, and 2020 data, respectively. The energy required for the base and extended schedules is also presented in the graphs. As the percentage of days generating energy for the base schedule increases, extended schedules can be met easily. In cases where the percentages are less than 60% and the 2017 design-based design, it would not be possible to operate ES 3 . Even ES 2 can be met for less than 10% of the days a year. Therefore, at least designed based on above 60% should be selected if extended schedules need to be operated on significant days of the year. However, ES 3 can be met for 30% of days a year a design based on 80% days. There will be days for much higher generation than the energy required for ES 3 are met, which can be considered as being overdesigned. Table 8 summarizes the percentage of space used by the proposed photovoltaic system for the considered railway electrification system. The proposed systems do not fully utilize the space available. With the third rail option, where photovoltaic panels are laid on the rail track, space utilization for the considered cases varies between 30 and 49%. Assuming that the three series strings are placed parallel to the overhead rail system, 66-100% of poles would be utilized for the considered cases. There is a maximum of 5% variation on space utilization depending on the year of data used for the design.

Performance Analysis of the System with Extended
Schedules. With advances in photovoltaic generation prediction techniques, it would be possible to predict the photovoltaic energy generation day in advance with very high accuracy. Therefore, instead of having a static train schedule, dynamic scheduling can be arranged while maintaining the base schedule as the minimum requirement. Therefore, the day ahead prediction decides the operating extended schedule category (ES1, ES2, or ES3). This section analyses the ability of a photovoltaic system, which is to be implemented along with the railway network, to achieve net-zero emissions based on the railway schedule using day-ahead photovoltaic generation prediction. In this analysis, it is assumed that a perfect prediction is achieved. Figure 14 compares the percentage of days operated on different schedules for different cases according to 2017, 2018, and 2020 data-based designs. In DC 1 based on 2017 data, the BS (as indicated by BSn in the legend) energy demand was not met for approximately 40% of days in 2017. For the same case, the energy demand for the BS (as indicated by BSy) was met for 20% days of 2017. Also, energy demand ES 1 (ES1 in the legend) was between 10 and 15% of the days in 2017. The energy demand for ES 2 was met for approximately 1% of the days in 2017. The energy demand for ES 3 was met on any day in 2017. The following general conclusions can be drawn from the data in Figure 14. According to the results, ES 3 cannot be achieved for DC 1 , DC 7 , and DC 8 . All the scheduling categories can be implemented reasonably in equal share for DC 2 and DC 3 . In the case of DC 4 , ES 3 scheduling depends on the irradiance levels received in the year, as it gets comparatively less scheduling based on the 2017 and 2018 data-based design. Figure 15 presents the percentage difference in energy generation and demand of each year, assuming perfect predictions. Concerning 2017 with a design based on 2017 data, DC 2 and DC 3 would have yearly excess generation, achiev-ing net-zero emissions. For the same case, other design cases (DC 1 , DC 4 , DC 5 , DC 6 , DC 7 , and DC 8 ) would not meet the energy demand of the railway network. However, energy generation is within 10% of annual energy demand. Considering all the cases presented in Figure 15, DC 2 ensures that net-zero emissions and excess generation are achieved every year. DC 3 was unable to meet zero emissions by a small percentage in 2017 when the design was used 2020 data. The energy generation deficit in DC 4 , DC 5 , DC 6 , and DC 7 was less than 10% in 2017, 2018, and 2020, irrespective of the design data. The deficiency in energy generation for design based on 2020 data was greater than 10% but less than 15% for DC 1 and DC 8 for 2017.
In conclusion, it is possible to state that the predictionbased scheduling of photovoltaic generation day ahead enables one to achieve about 90% net-zero emissions irrespective of the design case and data considered. Achieving such a level of net-zero emissions would be an outstanding achievement to safeguard the environment and achieve sustainable development. The ability to achieve the presented net-zero emission values would be less due to prediction errors in the real-world environment. Analysis of this work was conducted based on data from three years. The results indicate that data availability for a few years would allow for the effective sizing of the photovoltaic system.

Conclusions
This paper investigates the feasibility of using photovoltaic systems to operate an electric train network for an urban railway network to achieve zero emissions. Vacant space for installing the photovoltaic system is improbable in an urban area. Therefore, this study proposes using the space along the railway track to mount the photovoltaic system. There are two options available based on the voltage of the railway network. In the case of a third-rail arrangement, photovoltaic panels are proposed for mounting on the rail track, itself. Photovoltaic panels are proposed to be mounted above the overhead line using a pole mast in the case of the overhead-powered system. It is necessary to ensure that adequate energy is generated from the photovoltaic system for the years to achieve zero emissions. This paper presented an algorithm to size the photovoltaic system for an urban railway network considering the energy requirements of different daily scheduling and generation planning schemes. Finally, a methodology to analyse the performance of the photovoltaic system with prediction-based train scheduling was presented.
A case study based on a section of the railway network of Sri Lanka was analysed to validate the developed photovoltaic panel sizing algorithm. According to the analysis, the potential energy generation of the proposed photovoltaic system by utilizing the railway network space is more than the required amount of energy, even for the highly prioritised train schedule. The analysis was conducted using photovoltaic measurement data for 2017, 2018, and 2020. According to the algorithm results, if the design is carried out to meet 60% of the days of the year to meet the base schedule energy requirement, all the scheduling options can be realised to a satisfactory level. Finally, if the scheduling option is selected based on the prediction, zero emissions can be achieved to 90% in most cases.
The accuracy of the proposed algorithm can be improved by addressing the following aspects. In evaluating the proposed algorithm, it was assumed that the weather data of the railway network was the same over the network. However, in reality, there can be variations in the weather data on the network. Therefore, a better energy estimate can be obtained by using the weather data of several points on the railway segment. Another point for improvement is using the accurate power consumption of electric trains by considering the terrain, load on the train, and start-stop pattern over an operating cycle. It may not be possible to achieve net-zero emissions while operating based on dayahead prediction, as presented in the paper, due to realworld prediction errors. Even though the proposed photovoltaic system along the railway network is an attractive solution for achieving net-zero emissions, it would be worth evaluating the impacts on the railway electrical network, such as voltage variations and protection systems. The cost of implementation and maintenance needs to be evaluated. Further energy yield degradation over the years can be investigated to evaluate the performance of the proposed system over the lifespan of the photovoltaic system.

Data Availability
The data used for the study can be obtained from the corresponding author upon request.

Conflicts of Interest
The author declares that there is no conflict of interest regarding the publication of this paper. International Journal of Photoenergy