Introduction

Among the renewable energy (RE) sources, solar energy (SE) is a precious resource with great potential for addressing India’s energy deficit. India’s solar PV energy generation capacity is less than 6.5% (Rauf et al. 2023). India’s primary objective in the field of energy is to give the most priority to energy conservation, energy efficiency, and the effective use of RE resources (Kaleshwarwar and Bahadure 2023). Solar energy has the ability to encounter the mounting energy demand in India (Gielen et al. 2019). India’s mammoth land area receives significant SE, estimated at 5000 trillion kW-h annually. India receives a daily average solar irradiation between 4 and 7 kW-h per m2 of SE (Batool et al. 2023). Solar PV offers scalability, allowing for the deployment of solar energy systems at various capacities to meet the energy requirements of India (Bhanja and Roychowdhury 2023) and it contributes to mitigating climate change. The cultivation of SE is the only option to meet the target of the Paris agreement by reducing the annual reduction of 1.5 °C in ambient temperature (Fawzy et al. 2020). Further, this system mitigates the gases CO2, SO2, Nox, PM2.5, and PM10, which contribute to greenhouse gas emissions (Jäger-Waldau et al. 2020; Kazem et al. 2023). In addition to this pledge, India focuses on installing net zero energy in newly constructed buildings and almost energy-free buildings that get all the power they need from the sun, wind, or other RE resources. However, since solar PV productivity is so low, the practical utilization of SE in the power system is less than 10% (Dubey et al. 2013; Alharbi and Kais 2015). Therefore, hybrid PV/T-W systems have gained popularity recently because they combine the PV and solar water heating systems into a single module (Emmanuel et al. 2021). The PV system converts the SE into usable electricity and heat through photovoltaic and thermal conversion (Obalanlege et al. 2020). However, because of the incorporated thermal unit, the price of PV/T-W is significantly greater than traditional PV (Abdul Jabar et al. 2023). Hence, a cost–benefit analysis is needed to figure out how beneficial these systems are in real life. Also, it is essential to identify the environmental benefits to society (Beniwal et al. 2023).

The PV/T-W systems, in particular, can breed power and hot water to the buildings (Sharaf et al. 2022). Kalogirou and Tripanagnostopoulos (2007) evaluated the PV/T-W system, proving it saved more cost than the reference uncooled PV. Herrando and Markides (2016) investigated an economic analysis of the PV/T-W, and it reduced the life cycle cost of energy (LCOE) and mitigated the CO2 but with a higher capital cost for UK climatic conditions. Tse et al. (2016) studied an energy and economic analysis of the PV/T-W system in Hong Kong. They discovered the superiority of PV/T-W panels, which have a shorter payback period and higher performance efficiency due to using the panels’ waste heat. Similarly, Canelli et al. (2015) performed a simulation in Italy on the same system and reduced 36.2% and 28.4% of CO2 emissions and operating costs, respectively. Bianchini et al. (2017) analyzed the PV/T-W system and found that LCOE is lower than the country’s energy cost. PCMs are also employed to cool the PV system, and storing the excess heat from the PV panel rose the overall efficiency, decreasing the life cycle cost and CO2 destruction (Lamba et al. 2023). Hossain et al. (2019) conducted an experimental study in Malaysian climatic conditions on the PV/T PCM system and revealed that incorporating PCM increases thermal and electrical efficiency. The assimilation of PCM in the PV/T PCM system increased the life of the system. Cui et al. (2022) invented that a PV/T system equipped with PCM has a 6 years shorter payback period, and is more economically viable than a PV/T system. The integration of PCM in the PV/T system saved the annual cost by 15% to 20%. The absence of adequate indulgence on the practicality and benefits of PVT-W and PV/T PCM-W has hindered the commercialization of PV/T PCM and water technologies. As a result, there is a growing amount of literature on employing heat pumps as a cost-effective and ecologically sound means of augmenting the thermal output of PV/T systems (Obalanlege et al. 2020).

A hybrid PV/T HP system is additionally used for PV cooling, water heating, and space cooling. This technology lowered the PV temperature, boosting the system’s power conversion efficiency, heating value, and COP (Miglioli et al. 2021). Obalanlege et al. (2020) executed a financial analysis on PV/T HP and reported that the system’s payback period increases while increasing the system’s cooling capacity. Obalanlege et al. (2022) steered an economic and environmental analysis of the PV/T HP system under UK climatic conditions and reported that the recurring cost of the proposed system is low and destroys CO2 by 610 kg annually throughout its lifetime. Zhang et al. (2014) investigated the socio-economic assessment of the IE PV/T HP system with a loop heat exchanger. They found that it is economically suitable for London’s climatic conditions and environmentally most suitable for Shanghai’s climatic conditions. Liu et al. (2023) have done performance analysis and found the optimum design configuration for the PV/T-DXHP system. Abbas et al. (2023) analyzed the PV/T-DXHP systems via MATLAB and reported a maximum COP of 5.68, and its payback period was 7.15 years. Most of the research was focused on the indirect expansion of hybrid PV/T HP systems (Liu et al. 2020) rather than the direct expansion of the PV/T HP system due to its lack of control in the heat load and refrigerant leakage issues (Dannemand et al. 2019, 2020).

Though many research works on PV/T-W and PV/T DXHP systems have been conducted, there is a scarcity of studies examining the energy-based economic and environmental analysis specifically for these systems using hydrated salt PCM in hot Indian climate conditions. The novelty of this current work lies in the design and development of a new thermal collector/evaporator based on a butterfly serpentine flow configuration, and incorporating hydrated salt (HS36) PCM in the PV system for PV cooling, water heating, and space cooling applications. The numerical studies were carried out by assimilating the BSF collector and HS36 PCM in the PV system and their impact on annual energy production was found using MATLAB. Furthermore, this study aims to compare the commercial viability of PV/T systems and PV/T-DXHP systems in Indian buildings, specifically focusing on energy, economic, and environmental characteristics in hot climatic regions of India. Various factors are considered in the comparison, including total electrical and thermal energy generation, discounted net present value (DNPV), discounted payback period (DPP), levelized cost of energy (DLCOE), as well as the quantities of CO2, SO2, NOx, and PM10 mitigated, along with cost savings. The study aims to propose an economically and environmentally feasible system for Indian climatic conditions. By examining and comparing these aspects, the study wishes to deliver valuable insights into the performance and viability of PV/T-W, PV/T-PCM-W, PV/T-DXHP, and PV/T PCM-DXHP systems, ultimately recommending a system that is economically and environmentally suitable for the specific climatic conditions found in India.

System description

The research involved in finding the annual energy generation with a designed novel thermal collector and HS 36 PCM and predicting the economic and environmental viability of the following systems. The annual energy analysis is simulated in MATLAB for the following five different configurations: PV, PV/T with water as the working fluid (PV/T-W), PV/T with phase change material (PCM) energy storage and water as the working fluid (PV/T PCM-W), PV/T with a direct expansion heat pump (PV/T DXHP), and PV/T with PCM energy storage and a direct expansion heat pump (PV/T-PCM-DXHP). Figure 1 provides a visual representation of the butterfly serpentine flow profile used in these PV/T configurations (Prakash and Amarkarthik 2023), which was integrated into PV and made as case-1 (PV/T-W), case-2 (PV/T PCM-W), case-3 (PV/T DXHP), case-4 (PV/T-PCM-DXHP), and case-5 (uncooled PV–basic standard PV system). These system configurations are shown in Table 1.

Fig. 1
figure 1

Pictorial representation of Butterfly Serpentine Flow Profile

Table 1 Different kinds of systems used in this work

Earlier studies have explored designs such as parallel, concentric, web spiral, bionic, and serpentine flow copper coils placed underneath PV/T panels (Poredoš et al. 2020). The butterfly serpentine flow collector (BSFC) pattern is a design that resembles the shape of a butterfly and is used in the PV/T collector. Figure 1 demonstrates the design of the PV/T collector, while Fig. 2 portrays the different layers of the PV/T and PV/T PCM collectors used for the simulations. Hydrated salt (HS36) is selected as PCM to maintain thermal stability and enhance the cooling of the PV panel. The PCM helps control the temperature of the PV panel, when the melting temperature of the PCM is around 3 °C to 6 °C higher than the ambient temperature (Waqas and Jie 2018; Velmurugan et al. 2021).

Fig. 2
figure 2

Pictorial representation of layers and formation of a PV/T-W and b PV/T PCM-W

$${m}_{PCM}=\frac{{Q}_{ch}}{{Q}_{LH-pcm}+\underset{i}{\overset{m}{\int }}{C}_{ps}(T)dT+\underset{m}{\overset{f}{\int }}{C}_{pl}(T)dT}$$
(1)

The simulation setup of the proposed system is shown in Fig. 3 a and b. In this system, solar energy is incident upon the PV/T thermal system’s panels. In the PV/T system, a water tank is a storage unit where water is pumped to the panel. This water tank acts as a reservoir to store the heat, which is recovered from the system. In the PV/T DXHP system, a heat pump is employed to circulate refrigerant instead of water. The compressor extracts the refrigerant from the PV/T evaporator and increases its pressure to that of the condenser. As the refrigerant flows into the condenser tank, it transfers heat to the water in the tank. The pressure of the refrigerant significantly decreases as it passes through the expansion valve. In the meantime, the liquid refrigerant enters the PV/T evaporator, which contributes to the PV system’s cooling by absorbing heat from the panels. Ultimately, the PV/T heat pump system cools the photovoltaic panels and heats the water.

Fig. 3
figure 3

a Schematic line diagram of the PV/T DXHP setup. b Schematic line diagram of the PV/T-W and PV/T PCM-W setup

The place chosen for the simulation study is located at the coordinates of 11.4963° N, 77.2769° E, in Sathyamangalam, Tamilnadu, India. The average temperature of this field is around 31 °C, the average wind speed is 6.5 m/h, air mass (AM) is 1.5, and the average relative humidity is 66%. The sun shines up to 5.8 h/day and the topography is close to the Western Ghats and the Bhavanisagar dam. In this study, the inclination of the PV was kept at 11.5° south. The latitude of the location chosen sets the angle (β) of the PV/T panel (Muthu and Ramadas 2023). For the numerical study, a polycrystalline PV panel with a capacity of 260 W is chosen. Table 2 highlights the panel’s most salient features of PV, PV/T, and PCMs used in this numerical work. Similarly, Table 3 provides the technical details of the heat pump used in the system.

Table 2 Technical parameters of PV module and PCM
Table 3 Parametric description of the DXHP system

System simulation model

For the numerical study, a polycrystalline PV panel with a capacity of 260 W is chosen. Table 2 highlights the panel’s most salient features. It is presumed that the panel functions in conditions that are consistent with a steady state. This assumption is reasonable because the temporal fluctuations of the boundary conditions are relatively slow compared to the dynamic response of the panel (Guarracino et al. 2016).

PV/T system model

Equations (2), (3), (4), (5), (6), (7), (8), and (9) express the glass cover model, PV model, heat absorber, Piping model, bonding model, working fluid model, insulation model, aluminium plate models (Obalanlege et al. 2022), and PCM models (Yang et al. 2019).

$$G{\alpha }_{\text{g}}=\left({h}_{{\text{v}},{\text{g}}-{\text{a}}}+{h}_{{\text{ra}},{\text{g}}-{\text{s}}}\right) \left({T}_{\text{g}}-{T}_{\text{a}}\right)+{h}_{{\text{d}},{\text{g}}-{\text{pv}}}\left({T}_{\text{g}}-{T}_{\text{pv}}\right)$$
(2)
$$I{\tau }_{\text{g}}{\alpha }_{\text{pv}}\left[1-PA{\eta }_{\text{ra}}\left(1-\beta \left({T}_{\text{pv}}-{T}_{\text{a}}\right)\right)\right]={h}_{{\text{d}},{\text{g}}-{\text{pv}}}\left({T}_{\text{pv}}-{T}_{\text{g}}\right)+{h}_{{\text{d}},{\text{pv}}-{\text{abs}}}\left({T}_{\text{pv}}-{T}_{\text{abs}}\right)$$
(3)
$${h}_{{\text{d}},{\text{pv}}-{\text{abs}}}\left({T}_{\text{pv}}-{T}_{\text{abs}}\right)={h}_{{\text{d}},{\text{abs}}-{\text{t}}}\left({T}_{\text{abs}}-{T}_{\text{t}}\right)+{h}_{{\text{d}},{\text{abs}}-{\text{ig}}}\left({T}_{\text{abs}}-{T}_{\text{ig}}\right)$$
(4)
$${h}_{{\text{d}},{\text{abs}}-{\text{t}}}\left({T}_{\text{abs}}-{T}_{\text{t}}\right)={h}_{{\text{v}},{\text{t}}-{\text{w}}}\left({T}_{\text{t}}-{\overline{T} }_{\text{w}}\right)+{h}_{{\text{d}},{\text{t}}-{\text{ig}}}\left({T}_{\text{t}}-{T}_{\text{ig}}\right)$$
(5)
$${h}_{{\text{v}},{\text{t}}-{\text{w}}}\left({T}_{\text{t}}-{\overline{T} }_{\text{w}}\right)A={\dot{m}}_{{\text{w}},{\text{pvt}}}{c}_{\text{p}}\left({T}_{{\text{w}},{\text{out}}}-{T}_{{\text{w}},{\text{in}}}\right)$$
(6)
$${h}_{{\text{d}},{\text{abs}}-{\text{ig}}}\left({T}_{\text{abs}}-{T}_{\text{ig}}\right)+{h}_{{\text{d}},{\text{t}}-{\text{ig}}}\left({T}_{\text{t}}-{T}_{\text{ig}}\right)={h}_{{\text{d}},{\text{ig}}-{\text{ip}}}\left({T}_{\text{ig}}-{T}_{\text{ip}}\right)$$
(7)
$${h}_{{\text{d}},{\text{ip}}-{\text{al}}}\left({T}_{\text{ip}}-{T}_{\text{al}}\right)={h}_{{\text{v}},{\text{al}}-{\text{a}}}\left({T}_{\text{al}}-{T}_{\text{a}}\right)$$
(8)
$${\rho }_{g-pcm}={\rho }_{pcm}\left[1-{B}_{pcm}\left({T}_{pcm}-{T}_{ref}\right)\right]$$
(9)

Equations (2), (3), (4), (5), (6), (7), and (8) are given as model equations in MATLAB and simulated by the procedure shown in Fig. 4 a. The temperature of the PV module and the inlet and outlet temperatures of the water were found. Equation (10) was used to get the electrical efficiency \({(\eta }_{\text{el}})\) of a 260-W photovoltaic panel, and Eq. (11) was used to determine the thermal efficiency \(({\eta }_{\text{th}}\)) of the PV/T system. Finally, Eqs. (12), (13), and (14) (Yang et al. 2019) were used to calculate the total heat and electrical power generated throughout the year using simulated data from MATLAB. The combined energy produced from the PV/T systems was calculated using Eqs. (12), (13), and (14) (Gu et al. 2018).

Fig. 4
figure 4figure 4

a Flowchart of simulation methodology of case 2 system. b Simulation methodology of case 3 system

$${\eta }_{\text{el}}={\eta }_{\text{ref}}\left[1-\beta \left({T}_{\text{PV}}-{T}_{\text{ref}}\right)\right]$$
(10)
$${\eta }_{\text{th}}=\frac{{\dot{m}}_{{\text{w}},{\text{pvt}}}{c}_{\text{p}}({T}_{\text{out}}-{T}_{\text{in}})}{G\cdot A}$$
(11)
$${E}_{pvt\_t}={E}_{dc\_t}+{E}_{th\_t},$$
(12)
$${E}_{dc\_t}=\left({D}_{t}\times {G}_{t}\times {\eta }_{dc}\times {A}_{dc}\right){(1-dg)}^{t-1}$$
(13)
$${E}_{th\_t}=\left({D}_{t}\times {G}_{t}\times {\eta }_{th}\times {A}_{th}\right){(1-dg)}^{t-1}$$
(14)

PV/T DXHP system model

Using MATLAB, the following Eqs. (15)–(24) used to simulate the PV/T DXHP system and its simulation procedure are shown as a flow chart in Fig. 4 b. Equations (15)–(17) are the energy balance equations used to model the compressor (Obalanlege et al. 2022).

$${\dot{m}}_{{\text{k}},{\text{r}}}={\omega }_{\text{k}}{V}_{\text{k}}{\rho }_{{\text{k}},{\text{r}}}{\eta }_{\text{k}}$$
(15)
$${\rho }_{{\text{k}},{\text{r}}}=f\left({P}_{{\text{k}}\text{,}{\text{r}}}\text{,}{h}_{{\text{k}}\text{,}{\text{r}}}\right)$$
(16)

Equation (17) represents the condenser model (Zhou et al. 2019), which is derived based on enthalpy change in refrigerants.

$${{Q}_{{\text{cond}}}=m}_{{\text{ref}}}\left( {h\mathrm{^{\prime}}}_{{\text{Con}},{\text{out}}}-{h\mathrm{^{\prime}}}_{\mathrm{ Con},{\text{in}}}\right) ={ m}_{{\text{w}}} { Cp}_{{\text{w}}} \left({T}_{{\text{o}}}-{T}_{{\text{i}}}\right)$$
(17)

Equations (18)–(21) show the solar PV/T evaporator models (Deng and Yu 2016). Equation (22) shows the expansion valve model.

$${Q}_{\text{e}}={A}_{\text{cl}}\left[\alpha {I}_{\text{T}}-{U}_{\text{Lc}}\left({T}_{\text{PV}}-{T}_{\text{a}}\right)\right]={F}{\prime}{A}_{\text{cl}}\left[\alpha {I}_{\text{T}}-{U}_{\text{Lc}}\left({T}_{\text{fm}}-{T}_{\text{a}}\right)\right]$$
(18)
$${U}_{\text{Lc}}={h}_{\text{v}}+{h}_{\text{r}},$$
(19)
$${h}_{\text{v}}=2.8+3{u}_{\text{w}}$$
(20)
$${h}_{\text{r}},=\varepsilon \sigma \left({T}_{\text{p}}^{2}+{T}_{\text{a}}^{2}\right)\left({T}_{\text{p}}+{T}_{\text{a}}\right)$$
(21)
$${h}_{{\text{c}},{\text{r}}}={h}_{{\text{e}},{\text{r}}}$$
(22)

Equation (23) mentions the thermal efficiency (\({\eta }_{{\text{thHP}}})\) of the PV/T HP system (Lu et al. 2019).

$${\eta }_{{\text{thHP}}}=\frac{{Q}_{{\text{cond}}}-{P}_{{\text{com}}}}{A*G}$$
(23)

Economic model

The techno-economic evaluation inside this work divides the system’s initial cost of investment and implementation expenses (Ehyaei et al. 2019). The system’s initial investment cost is divided further into expenses for the components used and their corresponding installation charges. These prices were received from the dealer as quotes. Table 4 shows the pricing and suppliers. The system’s operational and servicing costs are included in the yearly expenses. The total combined cost (TCC) is the summation of all the costs a system has incurred over its lifetime. It is expressed in Eq. (24) (Coffey et al. 2016). The annual cash flow (ACF) analysis is an excellent way to compute the annual economic result of the case 1 and 2 systems with the impact of discount rates (r) and inflation rates (i). Discounted net present value (DNPV) calculates the current value of an investment by taking into account its overall value during its whole duration and adjusting for the time value of money. It is calculated using Eqs. (25) and (26) (Herbohn et al. 2002). The discounted payback period (DPP) indicates the duration required for an investment to recoup its initial expenditure while considering the impact of the time value of money (Bhandari 2009; Rappaport 1965). Similarly, levelized cost of energy (LCOE) replicates the lifecycle expense of the system per unit of electricity produced (Obalanlege et al. 2022), which are expressed using Eqs. (27)–(29). All the equations of economic and environmental models were given as input model to MATLAB and results were found.

Table 4 Price and supplier details of the components
$${TCC}_{n}={C}_{0}+{C}_{{\text{grid}}}+\sum_{n=1}^{tL}{C}_{0\&{\text{M}}}$$
(24)
$$ACF=\sum_{n=1}^{tL}{CF}_{n}* \frac{{(1+i)}^{n}}{{(1+r)}^{n}}$$
(25)
$$DNPV=-{C}_{0}+\sum_{n=1}^{tL}{CF}_{n}* \frac{{\left(1+i\right)}^{n}}{{\left(1+r\right)}^{n}}$$
(26)
$$DPP= \frac{{\text{ln}}\left[\frac{{C}_{0}\left(i-r\right)}{{C}_{s}}+1\right]}{{\text{ln}}\left[\frac{1+i}{1+r}\right]}$$
(27)
$${C}_{s}={E}_{{\text{produced}}}+{Q}_{{\text{produced}}}-{C}_{0\&{\text{M}}}$$
(28)
$$LCOE=\frac{{C}_{0}+\sum_{n=1}^{tL}{C}_{{\text{O}}\&{\text{M}}}*{(1+i)}^{i-1 }{(1+r)}^{-i} }{\sum_{n=1}^{tL}{(E}_{{\text{produced}}}+{Q}_{{\text{produced}}}){(1+r)}^{-i}}$$
(29)

Environmental model

It is crucial to assess and compare the carbon emissions over the lifespan of power production systems that pose risks to public health to determine the level of tolerance for each cases. With aid of Eqs. (32) and (33), the annual CO2 reduction and cost saving by mitigation of the proposed systems are calculated (Tiwari et al. 2015). The worldwide carbon price ranges between 13 and 16 dollars per tonne of CO2. As a result, the mean values of 14.5 $/t CO2 are used to calculate the environmental cost, provided in Eq. (33) (Rajoria et al. 2013). Similarly, SO2 mitigation (\(\phi_{{\text{SO}}_2}\)), NOx mitigation (\(\phi_{{\text{NO}}_x}\)), and particulate matter (\(\phi_{{\text{PM}}_{10}}\)) mitigation and cost savings for this reduction are also calculated using Eqs. (32) and (33) (Amoatey et al. 2019). Table 5 shows the details of the intensity and cost of pollutant mitigation.

Table 5 The details of the intensity and cost of pollutant mitigation (den Elzen et al. 2011; Caliskan et al. 2012)
$$\phi_{{\text{CO}}_2}=\frac{\Psi_{{\text{CO}}_2}\ast E_\text{overall}}{1000}$$
(32)
$$Z_{{\text{CO}}_2}=Y_{{\text{CO}}_2}\ast\phi_{{\text{CO}}_2}$$
(33)

Validation of model

The RMSD (root mean square deviation) approach is used to prove that the findings of the simulation with the experimental observations are merely identical (Guo et al. 2015):

$${\text{RMSD}}=\sqrt{\frac{1}{n}{\sum }_{i=1}^{n}{[({X}_{{\text{sim}},i}-{X}_{{\text{exp}},i})/{X}_{{\text{exp}},i}]}^{2}}$$
(34)

Validation of result

With the help of MATLAB, simulation results were developed, and the results were compared with the actual data obtained in real-time experimentation. The detailed experimentation is explained in the author’s previous article (Prakash and Amarkarthik 2023). The comparative analysis of the experimental data and the simulation data of electrical efficiency is depicted in Fig. 5 a, for case 1, 2, 3, and 4 systems. The values of RMSD for the \({\eta }_{\text{el}}\) of the case 1, 2, 3, and 4 systems were 2.66%, 2.25%, 2.54, and 2.56%, respectively. Similarly, Fig. 5 b compares the \({T}_{\text{PV}}\) of simulation and experimental results for all four systems. The RMSD values of PV/T cell temperature for case 1, 2, 3, and 4 systems were 2.60%, 3.25%, 2.78%, and 2.06%, respectively. Therefore, the efficiency and cell temperature found in the simulation are close to the efficiency found in the experiment. Hence, it is proved that the results obtained through simulations are valid. This variation could be the consequence of experimental error, which would include errors caused by the instruments as well as the impact of the environment on the testing.

Fig. 5
figure 5

a Validation of \({\eta }_{\text{el}}\) between simulated and experimental values. b Validation of \({T}_{\text{PV}}\) between simulated and experimental values

Result and discussion

This investigation used two working fluids for the case 1 and 3 systems: water and refrigerant R410a. The default time step for the iteration computation was set to 150 s. This choice was made because although a shorter time interval would improve accuracy slightly, it would significantly increase the computational workload without providing substantial benefits. The iteration process terminated when the final water temperature reached 60 °C, serving as the criterion for completion. The numerical analysis was conducted in MATLAB, and the energy analyses covered a year-long period from November, 2021, to October, 2022, in a hot climatic region. The weather station present in the study location was used as weather data for this numerical study. Figure 6 presents the environmental characteristics for the entire year, including the average daily solar irradiation per month, monthly average wind speed, and monthly ambient temperature.

Fig. 6
figure 6

Ambient conditions of chosen location for simulation study: a day; b year

The flow of the subsequent sections is as follows: The simulation results for electrical efficiency and its average values throughout the year were discussed first. Based on these values, the total electrical power generated over the year is determined. Then, a thermal performance analysis is conducted, simulating the monthly average thermal efficiency and calculating the average total heat energy generation over the year. The combined electrical and thermal outputs are then used to evaluate the economic and environmental performance of the case 1, 2, 3, and 4 systems.

Simulations on case 1, 2, 3, 4, and 5 systems

Simulation on case 1, 2, 3, 4, and 5 systems were done in MATLAB for a day and discussed in this section. Figure 7 a depicts the comparative simulation results of Pmax and \({\eta }_{\text{el}}\) of case 1, 2, 3, and 4 with the case 5 system. The average power productions of cases 1, 2, 3, and 4 were 10.51%, 20.93%, 30.74%, and 35.88% higher than the case 5 system. Similarly, the average electrical efficiencies were 10.45%, 20.40%, 29.20%, and 33.99% higher than the case 5 system. Figure 7 b illustrates the variation of \({T}_{\text{PV}}\), COP, and \({\eta }_{\text{th}}\) of the all four systems. The average \({T}_{\text{PV}}\) of case 1, 2, 3, and 4 systems were 57.50 °C, 52.98 °C, 38.12 °C, and 34.54 °C, which are 10.51%, 22.13%, 40.53%, and 45.95% lower than the case 5 system. The average maximum \({\eta }_{\text{th}}\) of case 1, 2, 3, and 4 systems were 76.76%, 91.75%, 114.62%, and 162.06%, respectively. Cases 3 and 4 had the highest COPs of 4.03 and 4.96, respectively. The power consumptions by cases 3 and 4 were 4.26 kWh and 3.38 kWh, respectively.

Fig. 7
figure 7

a Numerical comparison of hourly variation of \({P}_{\text{max}}\) and \({\eta }_{\text{el}}\) of all cases. b Numerical comparison of hourly variation of \({T}_{\text{PV}}\) and \({\eta }_{\text{th}}\) of all cases

Annual electrical energy analysis

Figure 8 illustrates the simulated monthly electrical efficiency (\({\eta }_{\text{el}}\)) results for case 1, 2, 3, and 4 systems. The electrical efficiency of these systems fluctuated with the G and reached its peak in April, 2022. Although the solar intensity in April was slightly higher than that in May and June, the average outdoor temperature in April was lower. As a result, the conversion efficiency of electrical energy was higher in April compared to May and June, but lower than in March due to the lower ambient temperature in March. Moreover, the solar intensity was lower in June and July due to cloudier and wetter days compared to April and May, resulting in decreased electricity generated during those months. The \({\eta }_{\text{el}}\) of case 1, 2, 3, and 4 systems was higher in the winter and monsoon seasons compared to the summer, primarily due to the lower ambient temperature during those periods. However, the difference in \({\eta }_{\text{el}}\) among all cases was relatively small during the winter and monsoon seasons. Consequently, the average \({\eta }_{\text{el}}\) of case 1, 2, 3, and 4 systems were 16.03%, 25.53%, 40.49%, and 53.32% higher, respectively. The average yearly \({\eta }_{\text{el}}\) of case 1, 2, 3, and 4 systems were 9.77%, 10.57%, 11.83%, and 12.91%, respectively, while it was only 8.42% for the case 5 system. The percentage of rise in \({\eta }_{\text{el}}\) is high due to the effective cooling of PV cells due to the usage of cooling medium, i.e., water, PCM, and refrigerant. Therefore, Fig. 8 displays a greater degree of diversity across the different scenarios in terms of \({\eta }_{\text{el}}\).

Fig. 8
figure 8

Graphical representation of monthly average \({\eta }_{\text{el}}\) of all systems

The monthly electrical energy production of different systems is depicted in Fig. 9 a–d. In April, case 1, 2, 3, and 4 systems generated the highest amounts of electrical energy, 33.95 kW-h/month, 37.11 kW-h/month, 41.19 kW-h/month, and 45.41 kW-h/month, respectively. The case 5 system produced 29.4 kW-h/month during the same period. Similarly, in July, the energy production was 23.38 kW-h/month, 25.19 kW-h/month, 28.23 kW-h/month, and 30.62 kW-h/month for case 1, 2, 3, and 4 systems, with 19.98 kW-h/month in June. July experienced cloudy and muggy conditions, resulting in lower radiation and consequently reduced electrical energy generation. Comparatively, the average electrical energy productions of case 1, 2, 3, and 4 systems were 16.03%, 25.53%, 40.49%, and 53.32% higher than case 5. The total electrical energies generated per year by case 1, 2, 3, and 4 systems were 325.18 kW-h/year (1170.4 MJ), 351.98 kW-h/year (1267.13 MJ), 393.92 kW-h/year (1418.11 MJ), and 430.02 kW-h/year (1548.07 MJ), respectively. Based on these findings, the case 4 system surpasses the other three systems in power generation due to incorporating two cooling sources, namely, PCM and refrigerant. Consequently, the case 4 system offers enhanced cooling for the PV panel, leading to increased power generation.

Fig. 9
figure 9

Monthly average electrical energy generation

Annual thermal energy analysis

Figure 10 provides information on the monthly average thermal efficiency (ηth) of case 1, 2, 3, and 4 systems. During April, the highest monthly average ηth values were achieved, namely, 41.61%, 51.2%, 86%, and 94.54% for cases 1, 2, 3, and 4, respectively. Conversely, the lowest monthly average ηth values of 35.32%, 42.84%, 81.1%, and 89.5% were recorded for cases 1, 2, 3, and 4, respectively, in July. It is noteworthy that the highest thermal energies were obtained during the spring and summer seasons due to the greater solar radiation. In contrast, the lowest thermal energies were observed during the winter and monsoon seasons due to reduced solar radiation. Figure 11 displays the monthly average thermal energy produced by case 1, case 2, case 3, and case 4 systems. In April, the maximum thermal energy outputs were 531.9 MJ, 654.52 MJ, 1099.3 MJ, and 1207.9 MJ for cases 1, 2, 3, and 4, respectively, while in July, the corresponding values were 303.95 MJ, 368.76 MJ, 697.7 MJ, and 770.18 MJ. Throughout the entire year, case 1, 2, 3, and 4 systems generated 4538.66 MJ, 5534.03 MJ, 9981.07 MJ, and 11010.17 MJ of heat, respectively. Figure 12 provides an overview of the combined annual energy (electrical and thermal energy) produced by case 1, 2, 3, and 4 systems. The total energies generated by these systems, in terms of electrical and thermal energy, were 5709.35 MJ (1585.9 kW-h), 6801.16 MJ (1889.21 kW-h), 12,299.18 MJ (3416.4 kW-h), and 13,638.24 MJ (3788.4 kW-h), respectively.

Fig. 10
figure 10

Monthly average thermal efficiency of all systems

Fig. 11
figure 11

Monthly average thermal energy generation by cases 1, 2, 3, and 4 systems

Fig. 12
figure 12

Total energy generation by cases 1, 2, 3, 4, and 5 systems

Economic analysis

The financial analyses of case 1, case 2, case 3, and case 4 systems provide valuable insights into their feasibility in Indian climatic conditions. To assess their financial viability, the discount rate of 5.5% and the inflation rate of 6.15% were utilized for various calculations, including discounted cash flow analysis (DCFA), discounted net present value (DNPV), discounted payback period (DPBP), discounted annual cost savings (DACS), and discounted levelized cost of energy (DLCOE). This section presents these metrics, focusing on comparing all four systems with the case 5 system. In India, people are using solar water heaters, solar PV systems, and HVAC systems for water heating, electricity generation, and space cooling purposes, respectively, as individual systems. Each system has its own disadvantages. Hence, to solve its limitations and to avoid the usage of different systems, hybrid systems were proposed and the economic and environmental viability of these systems for non HVAC building and HVAC building applications is evaluated and presented. In this work, the hybrid system is designed for 1 kW electricity generation per hour and 1 tons refrigeration system with 500 L hot water capacity. In India, the average rates of 1 kW PV system, solar water heater, and air conditioner cost are ₹70,000, ₹20,000 and ₹35,000, respectively.

Figure 13 presents the annual cash flow analysis for 25 years for case 1, 2, 3, 4, and 5 systems. The average yearly cash flows for cases 1, 2, 3, and 4 are ₹4323, ₹5335, ₹15,523, and ₹22,022, respectively, and their expected payback times are 5–6, 6–7, 4–5, and 3–4 years, respectively. Figure 14 illustrates the discounted net present values (DNPV) of cases 1, 2, 3, and 4 systems, all of which have positive values. Therefore, the installation of these systems yields a profit of ₹110,449, ₹140,083, ₹454,570, and ₹677,403, respectively, over their lifetime. The discounted payback periods (DPBPs) for cases 1, 2, 3, and 4 are 9–10, 8–9, 5–6, and 3–4 years, respectively. Moving to Fig. 15, it display the discounted annual cost savings (DACS) and the discounted levelized cost of energy (DLCOE) for cases 1, 2, 3, and 4 systems. The DLCOE values for these systems are ₹2.92 per kWh, ₹2.78 per kWh, ₹2.34 per kWh, and ₹1.79 per kWh, respectively, whereas the DLCOE for the case 5 system without water heating cost is ₹3.62 per kW-hr. Cases 1, 2, 3, and 4 have lower DLCOE values than the reference PV system, with higher operational and maintenance costs and additional water and refrigerant pumping power. The DLCOE of the systems in cases 1, 2, 3, and 4 were lower, and likewise, the DLCOE is lower, even though all the systems have higher operational and maintenance costs and additional water and refrigerant pumping power. It is worth noting that the DLCOE values for all systems fall within the range provided by the International Renewable Energy Agency (IRENA) for residential PV installations in 2019 (₹5.25 to ₹22 per kW-h). Additionally, the DACS per year for case 1, 2, 3, and 4 systems are ₹4418, ₹5603, ₹18,183, and ₹27,096, respectively, resulting in savings of ₹110,449, ₹140,083, ₹454,570, and ₹677,403, respectively, over their lifetime. Furthermore, compared to the cost of the case 5 system, cases 1, 2, 3, and 4 saved 8.97%, 11.64%, 40.05%, and 60.16% times yielded the higher cost, respectively.

Fig. 13
figure 13

Annual cash flow diagram of all cases

Fig. 14
figure 14

Comparison of DPB and DNPV for cases 1, 2, 3, 4, and 5

Fig. 15
figure 15

Comparison of DACS and LCOE for cases 1, 2, 3, 4, and 5

Taking into account the discounted costs and the smaller size of the reference PV system, it can be inferred that its payback period will be longer. However, considering the DPB, case 1, 2, 3, and 4 systems become profitable after 9–10, 8–9, 5–6, and 3–4 years, respectively. Additionally, the Indian government offers a 20% subsidy for renewable energy system installations, which further reduces the payback period. Consequently, the DLCOE values are lower for all the four cases when considering the water heating cost. Despite this, the DLCOE for all four systems is lower than India’s average energy cost of ₹6.15 per kW-h. Moreover, the DNPV and DACS parameters demonstrate favorable outcomes compared to the case 5 system. Furthermore, the cell temperatures of case 1, 2, 3, and 4 systems are lower than that of the case 5 system, indicating that their lifespan will likely exceed 25 years. Consequently, it is found that all the proposed systems are economically viable.

Environmental analysis

This section summarizes the annual pollution mitigation and cost savings achieved by all four systems. Figure 16a depicts the CO2 emission mitigation and cost savings, where these four systems collectively eliminate 71.28 tons, 89.98 tons, 202.69 tons, and 280.72 tons of carbon dioxide, resulting in total cost savings of ₹83,725, ₹105,675, ₹238,050, and ₹329,700 over their lifetimes. The CO2 mitigation and cost savings of case 1, 2, 3, and 4 systems are 3.41, 4.30, 9.68, and 13.42 times greater than case 5 system, which mitigates 20.93 tons of CO2 and saves a total cost of ₹24,575 throughout its lifespan.

Fig. 16
figure 16

Emission reduction and Environmental cost savings by cases 1, 2, 3, and 4: a CO2, b SO2, c NOx, and d PM10

Figure 16 b demonstrates the SO2 emission mitigation and cost savings achieved by reducing pollutants. Over their lifetimes, cases 1, 2, 3, and 4 systems eliminate 2.14 tons, 2.71 tons, 6.1 tons, and 8.45 tons of SO2, resulting in total cost savings of ₹26,050, ₹32,900, ₹74,100, and ₹102,600, respectively. The SO2 mitigation and cost savings of case 1, 2, 3, and 4 systems are 3.41, 4.30, 9.68, and 13.42 times higher than those of the case 5 system, which mitigates 0.63 tons of SO2 and saves a total cost of ₹7650 throughout its lifespan.

Figure 16 c focuses on reducing NOx emissions and the associated cost savings achieved by case 1, 2, 3, and 4 systems. These systems collectively mitigate 1.07 tons, 1.35 tons, 3.05 tons, and 4.22 tons of NOx, resulting in cost savings of ₹477,700, ₹603,000, ₹1,358,275, and ₹1,881,175, respectively, over their lifetimes. Furthermore, case 1, 2, 3, and 4 systems mitigate NOx by 3.45, 3.49, 9.84, and 13.61 times higher than the standard PV system, which mitigates 0.31 tons of NOx and saves a total cost of ₹140,250 throughout its lifespan.

Finally, Fig. 16 d illustrates the reduction of PM10 emissions and associated cost savings achieved by case 1, 2, 3, and 4 systems. These systems mitigate 154.41 kg, 194.91 kg, 439.04 kg, and 608.05 kg of PM10 emissions, resulting in cost savings of ₹93,800, ₹118,400, ₹266,725, and ₹369,400, respectively. Case 1, 2, 3, and 4 systems mitigate PM10 emissions by 3.41, 4.30, 9.69, and 13.41 times higher than the standard PV system, which mitigates 45.33 kg of PM10 and saves a total cost of ₹27,550 throughout its lifespan.

It can be inferred that the usage of case 1, 2, 3, and 4 systems effectively reduces CO2, SO2, NOx, and PM10 emissions, contributing to a reduced environmental impact. Therefore, the ecological and enviroeconomic cost analyses of case 1, 2, 3, and 4 systems are valid and demonstrate their worthiness. The results of the cost assessments reveal that the PV/T PCM-DXHP system is more affordable and preferable compared to the solar PV system and HVAC system working alone in the long term. As a result, more non-HVAC buildings should install solar PV/T PCM-W systems, and HVAC-system-integrated buildings should install PV/T PCM-DXHP systems to benefit from the economic rewards and enjoy a pristine environment for the foreseeable future.

Conclusion

Energy, economic, and environmental numerical analyses were carried out on PV/T-W, PV/T PCM-W, PV/T DXHP, and PV/T PCM-DXHP systems with a butterfly serpentine flow profile and HS36 PCM. The following is a summary of the most critical conclusions from the evaluation:

  • Energy performance: The average yearly electrical efficiencies of PV/T-W, PV/T PCM-W, PV/TDXHP, and PV/T PCM-DXHP systems are 9.77%, 10.57%, 11.83%, and 12.91%, which are 16.03%, 25.53%, 40.5%, and 53.32% higher than the reference PV system. The PV/T-W, PV/T PCM-W, PV/T DXHP, and PV/T PCM-DXHP systems produced 5709.35 MJ, 6801.16 MJ, 12,299.18 MJ, and 13,638.24 MJ, respectively. All the four systems with a BSF collector and HS36 PCM demonstrated improved energy performance. These systems produced higher electrical and thermal energy than the reference PV system. Notably, the PV/T PCM-DXHP system exhibited the highest energy production due to the integration of PCM and refrigerant for cooling.

  • Economic viability: The economic analysis showed a good result based on a discounted payback period of 8, 7, 6, and 5 years and the costs of energy production are ₹4.08 per kW-h, ₹3.67 per kW-h, ₹3.37 per kW-h, and ₹2.87 per kW-h for PV/T-W, PV/T PCM-W, PV/T DXHP, and PV/T PCM-DXHP systems, respectively. The financial analyses indicated that all four systems are economically viable. These systems’ discounted net present values (DNPV) and discounted annual cost savings (DACS) were favorable, suggesting long-term profitability. Additionally, the payback periods for these systems were shorter than the reference PV system, further indicating their economic feasibility.

  • Environmental impact: The environmental analysis also showed a good result, and the proposed four systems mitigated the CO2 of 64.72 tons, 90.45 tons, 117.35 tons, and 156.49 tons throughout their lifetimes. It saved the cost by ₹75,075, ₹104,925, ₹136,175, and ₹181,525. The PV/T-W, PV/T PCM-W, PV/T DXHP, and PV/T PCM-DXHP systems demonstrated significant reductions in greenhouse gas emissions and other pollutants compared to the reference PV system. These systems contributed to the mitigation of carbon dioxide (CO2), sulfur dioxide (SO2), nitrogen oxides (NOx), and PM10 emissions. The magnitude of emissions reduction and cost savings varied among the different systems, with the PV/T PCM-DXHP system yielding the highest environmental benefits.

  • In conclusion, all the four systems with a butterfly serpentine flow profile and HS36 PCM demonstrated enhanced energy performance, economic viability, and environmental benefits. The findings support the feasibility and effectiveness of these systems for sustainable energy generation and environmental mitigation.

  • It is beneficial for the HVAC buildings to use the PV/T PCM-DXHP system, which can last up to at least 5 years because the results of the cost assessments reveal that the PV/T PCM -DXHP system is more affordable and more acceptable than the solar PV system and HVAC system working alone in the long term.

  • Subsequently, more non-HVAC buildings should install solar PV/T PCM-W systems and HVAC-system-integrated buildings should install PV/T PCM-DXHP systems to benefit from the economic rewards and relish in a pristine environment for the foreseeable future.