Yearly Electrical Energy Assessment of a Photovoltaic Platform/Geothermal Heat Pump Prosumer

: Romania introduced in 2018 an amendment to the national law 220/2008 by including the Prosumer concept that allows investors in grid-connected photovoltaic systems with a capacity up to 27 kWp to receive a feed in tariff for the electricity delivered to the grid representing approximatively one third of the price paid when the electricity is consumed from the grid. Thus, the challenge is to use as much as possible the photovoltaic power when it is produced. A methodology is developed to evaluate how much of the electrical energy output of a grid-connected photovoltaic platform is used by a geothermal heat pump for space heating in a building. A numerical simulation is performed in Trnsys17 based on locally measured meteorological parameters over a period of one entire year. A case study is presented for which the characteristics of the building, of the heat pump system and of the photovoltaic system are described and integrated into the transient simulation environment. The numerical results are comparatively presented and discussed along with experimental data for sunny days in cold season. For the analysed case study, the self-consumption is 16%, signiﬁcantly lower than the yearly coverage degree of 70%. Further research can be done to increase the self-consumption.


Introduction
The world total energy consumption is continuously growing as reported by International Energy Agency [1] with an average yearly rate of 1.5% over the period 2013-2018. According to the same study, 19% of the total energy consumption is represented by the electricity consumption, the industry sector being the main responsible (42%) followed by the residential sector (27%) and by the commercial and public services sector (22%).
Photovoltaic systems are ones of the most promising technologies converting the solar energy into clean electrical energy. According to International Energy Agency [2] an exponential growth was registered in the installed capacity of photovoltaic systems with a yearly average increase of 32% in the period 2013-2018. The photovoltaic technology is nowadays successfully applied in a large range of applications, from small size installations (a few kWp) to very big ones (tens or hundreds of MWp). The levelized cost of photovoltaic electricity continuously declined, by 48% between 2014 and 2018, reaching a global weighted-average of 0.068 USD/kWh in 2019 [3]. Even lower values ranging between 0.03 and 0.045 EUR/kWh, and 0.05 and 0.075 EUR/kWh were reported for Spain and UK respectively in 2021 [4].
A very efficient way to use the electrical energy for space heating is by using heat pumps that have smaller power consumption than any other electricity driven heating system. According to the European Heat Pump Association [5] the European heat pump stock reached 13.27 million units in 2019 that generated 158 TWh of renewable energy saving 40.5 Mt of CO 2 .
Both technologies, photovoltaic and heat pump, are good candidates for the sustainable development of new buildings and refurbishment of the existing ones, significantly geothermal reservoir, and of electrical energy required for the appliances, heat pumps, hydraulic pumps and electric heaters. Four scenarios were simulated using RES2GEO (Renewable Energy Sources to Geothermal) model on a 20-year horizon. The excess electricity produced by the photovoltaic system is used to regenerate the geothermal reservoir with positive effects on the heat pump system performance and levelized cost of energy.
Reda et al. [14] assessed two promising solar assisted heat pump systems for an office building in Finland. One system consists of solar thermal collectors and an absorption heat pump, while the second relies on a photovoltaic driven air source heat pump. For the second solution, dynamic energy simulations were performed using real on-site measurements as inputs. The photovoltaic driven heat pump system has proved to be more feasible but its self-consumption (15%) is lower than that of the solar thermal assisted absorption heat pump (25%).
The ideal combination of photovoltaic/heat pump systems is when the thermal demand matches the photovoltaic power output (e.g., cold and sunny winter days when the electrical energy may be directly used to drive the heat pump for space heating without any need for storage devices). This situation does not occur very often during the winter time. Therefore, researchers further evaluated various methods to increase the self-consumption in the case of photovoltaic/heat pump systems.
Thygesen and Karlsson [15] proposed a novel weather forecast controller for a photovoltaic/heat pump system aiming to increase the self-consumption of the generated electricity by solar photovoltaic modules. The results show that the controller is not economically feasible since the increment in the self-consumption was not covering its cost.
One solution to increase both the self-consumption of the photovoltaic-heat pump systems and its economic/environmental benefits consists of combining it with battery storage as shown by Litjens et al. [16]. The results demonstrated that the photovoltaic system alone can provide around 19% of the ground source heat pump electrical energy demand while with batteries this share can be enhanced by 53%.
Facci et al. [17] proposed a thermal energy storage system to increase the feasibility of photovoltaic-heat pump systems. The outcomes of this study show that the energy costs are reduced up to 41% while CO 2 emissions are mitigated with 73% when such a system is implemented instead of natural gas boilers. Also, if the self-consumption of the on-site produced electrical energy is adequately promoted, the feasibility of the photovoltaic system is increased, becoming competitive without requiring specific subsidies such as feed in tariffs, etc.
Rinaldi et al. [18] assessed the optimal investments in photovoltaic and heat pump systems to decarbonize the space heating in Swiss residential buildings under different energy retrofitting scenarios. The results show that the scenario with a heat pump supplying the entire thermal energy demand appears to be feasible and does not only decarbonize heat but also allows the shift of the peak energy demand from night to midday. Thus, the self-consumption of the on-site generated photovoltaic electricity increases, resulting in larger and more feasible photovoltaic development.
Hirvonen et al. [19] evaluated the economic potential of different photovoltaic-heat pump systems used for domestic hot water and space heating in Nordic countries. The results show yearly coverage degree ranging between 49 and 100%, and self-consumption between 9 and 28% for photovoltaic system of 1, 3 and 5 kWp and thermal storage capacities of 0, 300 and 1000 L.
Beck et al. [20] developed a mixed integer linear programing model for the optimal photovoltaic-heat pump system configuration and operation. The model was applied under different scenarios and the results demonstrated that the sizing of the heat pump is strongly influenced by the scenario assumptions, while the dimensioning of PV is hardly dependent on the electrical load profiles.
Becoming a prosumer [21] with lowest energy costs and maximal self-consumption is nowadays an intensely studied aspect with benefits both for the end-user and the local electrical energy distributor [22]. Different types of prosumers are analysed in literature, with different production, storage and consumption technologies, which depend on the consumer type and on the installation location.
As such, at low latitude angles like South Africa a simple technological solution includes the photovoltaic system with battery storage capabilities. This is able to assure a total daily cost reduction of 62.71% in summer and 68.99% in winter for residential prosumers and of 81.31% in summer and 31.69% in winter for commercial prosumers [23]. These values translate into the following break-even intervals: 16.35 years for residential prosumers and 5.3 years for commercial prosumers.
More advanced technological solutions like energy sharing among community members, thermal storage of excess photovoltaic energy and using electrical vehicles for storing electrical energy are analysed at Northern European latitudes, in Sweden [24]. The authors indicate that if energy is shared among community members in a residential building cluster this could generate self-consumption ratios as high as 77%. If thermal energy storage and suitable control for generating heat using photovoltaic excess production is used, this can increase the photovoltaic size and the self-consumption rate up to 79.4%. Further on, if electric vehicles are also added to the system this can increase the photovoltaic size even more and the self-consumption rate can reach 80.9%.
Cogenerators may also be part of a prosumer system, such as the one presented by Uchman [25]. The paper analyses a natural gas fuelled micro-cogenerator (micro-CHP) implemented in Poland, which can individually obtain a self-consumption rate of 28%. If additional equipment is optimally added the level of prosumer self-consumption can be increased up to 58% (with a storage system) and up to 52% (with a photovoltaic production platform), or even up to 98% when integrating both solutions. The next step after being a prosumer is indicated by Kuznetsova and Anjos [26]. The paper shows that under certain economic conditions such as the one in Ontario, Canada disconnecting from the grid might be even more convenient than being a prosumer by the year 2030. This can be attributed to the high electricity prices and the high share of fixed costs in the total electricity bill. The conclusion is even more surprising considering the high latitudes (up to 56.5 • ) and relatively low radiation profiles specific to Ontario.
Taking the example from other European Member States, Romania introduced in 2018 an amendment to the national law 220/2008 by including the Prosumer concept that allows the investors in grid-connected photovoltaic systems with a capacity up to 27 kWp to receive a price for the electricity delivered to the grid. This price represents approximatively one third of the price paid when the electricity is consumed from the grid.
In this paper is presented a methodology to assess, based on locally measured weather data, the following: (1) the electrical energy production of a photovoltaic platform, (2) the electrical energy consumption of a geothermal heat pump system used for space heating in a building and (3) the self-consumption of the photovoltaic platform energy output by the heat pump systems. The methodology is applied and validated for a case study, a Solar House located in Brasov, Romania, for which experimental data measured during an entire year (2020) are used. Based on the results obtained through this methodology, solutions to increase the self-consumption are discussed.

Methodology
To assess the electrical energy self-consumption of a photovoltaic/geothermal heat pump a transient simulation software (e.g., Trnsys, EnergyPlus, DOE etc.) is necessary. In this paper, a methodology with four steps based on Trnsys 17 is further presented.

Site Weather Data
The weather data required in Trnsys17 consists of the following set of parameters: global horizontal solar irradiance, direct solar irradiance, outdoor air temperature and relative humidity, wind speed and direction, precipitable water. Usual weather stations provide these parameters. If diffuse horizontal solar irradiance is measured instead of direct solar irradiance, the latter is calculated using: where: B h is the direct horizontal solar irradiance calculated based on the measured global-(G h ) and diffuse-(D h ) horizontal solar irradiance using: α is the solar altitude angle [7] calculated based on the declination angle (δ), hour angle (ω) and site latitude (ϕ) using: The declination angle [7] depends only on the number of the day (N) in the year and is calculated using: The hour angle is a linear function of the solar time (t s ) expressed in hours and is calculated using:

Numerical Simulation of the Building Energy Demand
To numerically simulate the building's thermal and electrical energy demand transient software must be used (e.g., Trnsys, Energy Plus, DOE etc.). In this paper, based on Trnsys17 Simulation Studio a 3D MultiZone Building project is developed (Figure 1). This numerical simulation is based on the characteristics of the site and of the building. The site characteristics are represented by the locally measured weather data. A Type 15-2 component is used in Trnsys17 to import the weather data. Recent weather data is recommended to be used. In their absence, multiannual averaged data provided by specialized databases (e.g., Meteonorm, NASA, SODA) may be used. In this case, differences between measured and multiannual averaged data may occur, distorting the error between simulation and experimental results. The building's characteristics refer the building envelope (slabs, walls, windows and roofs) in terms of geometry, orientation and thermal characteristics of the embedded materials. These building characteristics are transferred into a Type 56 component. Further on, Equation Cards components are used to calculate the azimuth angles of the exterior walls, windows and roof, the shading and the received solar irradiance. The functionality of the lighting system is simulated using a component Type 2d. Online plotter components Type 65a are used to display (while the simulation is progressing) and to export (to a user defined external file) the selected system variables: the received solar irradiance; the indoor and outdoor air temperatures; the energy loads. Type 24 components are used to integrate the thermal and electrical energy loads into monthly energy demand.

Numerical Simulation of the Photovoltaic Platform Output
To numerically simulate the photovoltaic platform output a Type 194b component is used for the photovoltaic platform and an online plotter component Type 65a is used to display and plot the hourly and monthly photovoltaic electrical energy output ( Figure 2).

Assessment of the Electrical Energy Self-Consumption
Based on the results obtained through numerical simulations, to evaluate how much of the electrical energy demand of the geothermal heat pump system (E HP ) is covered over a period of time by the electrical energy output of the photovoltaic platform (E PV ), without considering the matching between the production and consumption periods, the coverage degree is calculated using: To assess the amount of the electrical energy consumed by the geothermal heat pump system (E HPi ) directly covered by the photovoltaic platform (E PVi ) over a time period t, the self-consumption is evaluated using: where E SCi is the self-consumed energy in an hour (i) calculated using:

Case Study
An existing renewable based energy mix delivering both thermal and electrical energy for the Solar House located on the Colina Hill Campus of the Transilvania University of Brasov, Romania ( Figure 3) is considered as case study in this paper. The Solar House is a building with two floors, used in the educational process of the students. This entire infrastructure serves as laboratories for the students enrolled in the B.Sc. programme study Renewable Energy Systems Engineering and in the M.Sc. programme study Sustainable Product Design and Environment Protection, as well as 1:1 testing rigs for research activities in the Renewable Energy Systems and Recycling Research Center.
The largest share of the Solar House energy demand is covered by a ground coupled heat pump (Figure 4). It has an installed capacity of 10.8 kW and it extracts the geothermal energy through a horizontal geothermal heat exchanger with an average depth of 1.7 m and a surface of 600 m 2 . The heat pump provides 98% of the thermal energy required for space heating in the Solar House [28]. The warm water produced by the heat pump is supplied to a storage tank with a capacity of 120 L wherefrom it is distributed in the low-temperature (limited to 25 . . . 35 • C) underfloor heating system of the Solar House. The heat pump also contributes to the domestic hot water (DHW) preparation when the solar energy is not enough for the solar thermal system to cover it entirely. The solar thermal system consists of six flat plate solar thermal collectors each one with a nominal thermal power of 1.88 kW and three evacuated tube solar thermal collectors each one with a nominal thermal power of 2.41 kW. The solar thermal collectors are installed on the rooftop of a nearby building at a tilt angle of 42 • yearly optimized to maximize the thermal energy output during the periods with activity in the campus. This solar thermal system was designed to provide domestic hot water mainly for the locker rooms of a nearby Sport Hall [29].
The yearly electrical energy required by the Solar House, including the heat pump system, is partly covered by a 9.6 kWp fixed photovoltaic platform [28]. This photovoltaic platform is grid connected and the electrical energy not used by the Solar House is distributed to the neighbouring buildings. The fixed photovoltaic platform is tilted at 48 • and consists of 48 polycrystalline silicon photovoltaic modules (type Energy Solutions, model ES200W) with a power of 200 Wp each. The characteristics of the photovoltaic modules are presented in Table 1. The fixed photovoltaic platform is connected to the local grid using three SMA SunnyBoy inverters (two SB 3300 and one SB 1700). Each of the two SB 3300 inverters has a nominal power of 3300 W and converts the energy from two parallel strings of 10 photovoltaic modules. A string of 8 photovoltaic modules is connected to the SB 1700 inverter with a nominal power 1550 W. The monitoring system of the photovoltaic platform relies on a SMA Sunny Control device connected to SMA Sunny Portal [31]. The energy production data from each inverter is considered in the paper for a time interval between January and December 2020.
The meteorological parameters are locally measured using a Delta-T weather station consisting of accurate sensors presented in Table 2. The continuously monitored data is averaged and temporarily saved in a DL2e data logger (every minute for solar irradiance and every 10 min for the other parameters) and further stored in a database on a local computer. Further on, Trnsys3D plug-in for Google Sketchup adapted for Trnsys17 is used to create the 3D model of the Solar House. This 3D model is presented in Figure 5 where the South-Eastern and South-Western facades of the Solar House are shown. The Solar House has two floors, the first one accommodates a laboratory for solar thermal and geothermal systems and the second a multifunctional room used for classes, meetings etc. The Solar House is modelled as a Multizone building, considering one zone for the laboratory situated at the first floor, a second zone for the multifunctional room situated at the second floor and a third zone for the stair case. Large windows and curtain walls are installed to passively exploit the solar energy during the cold season. The shape of the Solar House was designed to enhance the natural ventilation and to reduce its energy demand. The main geometrical characteristics of the Solar House are presented in Table 3. The 3D model of the Solar House was imported in TRNBuild where general information related to the building's implementation site (hemisphere, orientation) and basic properties (such as air properties, heat transfer coefficients etc.) were added. Further on, the characteristics of the building's envelope were defined (the layers and their properties for each building component). The thermal resistance of the building elements is presented in Table 4. According to the specific activities scheduled in the Solar House, the regime data for each zone (schedule, infiltration, heating, gains and initial values) was set as shown in Table 5. The regime data is implemented in each zone of the building considering that in each weekday an average number of 20 occupants are using the Solar House between 08:00 and 20:00. Ventilation is not required, as the infiltration air change rate is covering the required fresh air. Cooling is not evaluated due to the specific climate of the implementation site (mountain area with rather cold summers) and reduced activity volume/holiday between 15 of July and September 15 of September.

Results
The results obtained through numerical simulation based on the methodology presented in Section 2 for the case study analysed in Section 3 are further presented.

Site Weather Data
The global solar irradiance locally measured in 2020 is firstly compared with the values obtained from Meteonorm and Homer and the monthly variation is presented in Figure 6. In terms of yearly global solar energy received in the horizontal plane, similar values (1364 and 1370 kWh/m 2 ) were obtained from local measurements and Meteonorm while Homer provided a lower value (1207 kWh/m 2 ). . When analysing the months of May and June, the amount of the monthly diffuse horizontal solar energy are 50 and 51%, respectively of the global ones (152 and 162 kWh/m 2 ). Thus, the energy output of the photovoltaic platform, mainly relying on the direct solar energy, is expected to be lower in these months than in April, July and August.
Further on, using Equations (1)-(5) the direct solar irradiance required in Trnsys17 is evaluated based on the measured global-and diffuse-horizontal solar irradiance. The direct solar energy (E B ) obtained in 2020 is 1644 kWh/m 2 , two time higher than the direct horizontal solar energy (E Bh ) 819 kWh/m 2 . The monthly distribution of the direct horizontaland direct-solar energy obtained based on the measured values in Brasov in 2020 is plotted in Figure 7. The highest monthly values resulted in August (139.8 kWh/m 2 ) and April (262.95 kWh/m 2 ) for direct horizontal-and direct-solar energy, respectively while the minimum values were both obtained in November, 16.02 and 40.30 kWh/m 2 , respectively. Another factor strongly influencing both thermal energy demand of the Solar House and the power output of the photovoltaic system is the outdoor air temperature. After processing its measured values during 2020 a monthly distribution is obtained (Figure 8). The lowest air temperature (−13.9 • C) occurred in January, month also characterized by the lowest average outdoor air temperature (−2.3 • C). In Romania, the reference temperature establishing the length of the heating period is 12 • C. The monthly average temperatures drop below this limit in seven months in 2020, between January and April and from October till December. Even the month of May has a low monthly average temperature of 12.9 • C, partly including it in the heating season. Maximum temperatures above 30 • C were registered in July (31.2 • C), August (30.9 • C) and September (31.5 • C). Therefore, it is expected that the thermal energy demand of the Solar House will be mainly represented by the energy required for heating rather than that for cooling.
The locally measured weather data is hourly averaged and imported in Trnsys17. The hourly variation of the outdoor air temperature (Ta) and the global horizontal solar irradiance (Gh) is plotted in Figure 9.

Numerical Simulation of the Building Energy Demand
Further on, numerical simulation is performed in Trnsys17 to evaluate the thermal and electrical energy demand of the Solar House in accordance with the regime data established in methodology.
A yearly thermal energy demand of 47,097 kWh resulted. The hourly variation of the thermal power required for heating of the Solar House is plotted in Figure 10. The thermal power reaches a maximum of 21.99 kW in January, corresponding to the minimum value of the outdoor air temperature of −13.85 • C. The average value of the thermal power during the entire heating period resulted 9.67 kW. The yearly electrical energy demand of the geothermal heat pump used for space heating in the Solar House is 14,323 kWh. Figure 11 shows the numerical simulation results of the hourly electrical power consumed by the geothermal heat pump used for space heating in the Solar House. The maximum value resulted also in January (8.66 kW). The average value of the electrical power during the entire heating period is 2.94 kW.

Numerical Simulation of the Photovoltaic Platform Output
The next step in the numerical simulation using Trnsys17 consist of the evaluation of the electrical energy output of the photovoltaic platform of 9.6 kWp installed on a rooftop nearby Solar House. The hourly variation of the electrical power is plotted in Figure 12.

Assessment of the Electrical Energy Self-Consumption
The yearly electrical energy output of the photovoltaic platform reaches 9975 kWh covering on a yearly basis 70% of the entire electrical energy demand of the geothermal system (14,323 kWh). However, this coverage may be considered only when the grid administrator allows a 1:1 compensation of the electrical energy delivered to the grid with that consumed from the grid (same price is applied for both, produced and consumed electrical energy). When this does not happen, the coverage degree must be analysed at a lower time scale. When comparing the monthly values of the consumed (E HP ) and produced (E PV ) electrical energy (Figure 13), the mismatch between the consumption and production is more than obvious. The monthly coverage degree decreases to 16% in January. Between April and September, the photovoltaic platform produced a larger amount of electrical energy than that required by the geothermal heat pump. The monthly amount of the electrical energy produced by the photovoltaic platform directly used by the geothermal heat pump system (E SC ) is also plotted in Figure 13. A yearly value of only 2352 kWh resulted, corresponding to an annual self-consumption (SC) of 16%. During the winter months (November-February), almost the entire electrical energy produced by the photovoltaic platform is directly used.
Further reducing the time scale to a day, the direct coverage degree is evaluated for sunny days in January and April through Trnsys simulations performed based on locally measured weather data. As shown in Figure 14 for 18 January 2020, the electrical power load of the heat pump system ranges between 2.53 and 5.75 kW, and has a daily average value of 3.88 kW corresponding to a daily electrical energy demand of 93.14 kWh. The photovoltaic platform reaches a maximum output of 6.27 kW at noon producing a daily electrical energy of 39.21 kWh. From this value, 25.59 kWh (65%) of the electrical energy production of the photovoltaic platform (the green area in Figure 14) is directly used by the geothermal heat pump, representing 27% from its daily electrical energy demand (93.14 kWh). To further increase the electrical energy self-consumption, the heat pump system could be operated during the day at a higher power to produce more thermal energy that must be stored. Thus, the night electrical energy consumption could be reduced with maximum 13.62 kWh (100% self-consumption) and the coverage degree of the electrical energy demand of the heat pump increases to 42%.
During a sunny day in April (27 April 2020), the electrical power load of the heat pump system ranges between 0 and 2.68 kW, and has an average value of 1.74 kW over the heating period corresponding to a daily electrical energy demand of 26.16 kWh (Figure 15). Due to increased length of the daytime and maximum power output at noon (6.76 kW), the photovoltaic platform produced 51.07 kWh out of which only 11% (5.69 kWh) is directly used by the geothermal heat pump resulting a coverage degree of 22%. During this kind of days, the storage of the thermal energy produced by the heat pump is mandatory to fully use the electrical energy available during the daytime. For the considered day, a storage capacity of 1000 litres of water would be necessary to be heated from 10 • to 50 • C.
Thus, the yearly coverage degree of 70% obtained in the case of 1:1 compensation with the grid represents an annual self-consumption of 16%. This evaluation is very important in the cases when the electrical energy delivered to the grid is not paid by the grid owner, or the received price is significantly lower than the price paid for the energy consumed from the grid. The latter is the case in Romania, where the electrical energy consumed from the grid costs approximatively 0.13 euro/kWh while the electrical energy delivered to the grid is paid with approximatively 0.04 euro/kWh. Thus, for the case study considered in the paper, from the yearly electrical energy provided by the 9.6 kWp photovoltaic platform (9975 kWh), only 2352 kWh can be considered as savings at a rate of 0.13 euro/kWh while for the difference of 7623 kWh will be received the price of 0.04 euro/kWh. Thus, the yearly savings result 610.64 euro. If the entire electrical energy is directly used, the yearly savings increases more than twice, at 1296.69 euro/year. Solutions to increase the self-consumption may be further investigated (e.g., changing the tilt angle of the photovoltaic platform, storing the thermal and/or electrical energy, using the energy for other functionalities).

Experimental Validation of the Electrical Energy Production and Consumption
The results of the numerical simulations performed in Trnsys17 are further compared with experimental data from the monitoring systems of the Solar House for the photovoltaic platform ( Figure 16) and geothermal heat pump ( Figure 12). The electrical power consumed by the geothermal heat pump system and that produced by the 9.6 kWp photovoltaic platform obtained through numerical simulations are further integrated into monthly electrical energy values. The yearly electrical energy output of the 9.6 kWp photovoltaic platform obtained through numerical simulation (9975 kWh) is slightly higher than the value measured in 2020 (9957 kWh). The monthly relative differences range between −4 and +3% obtained in December and February, respectively ( Figure 11). The monthly weather conditions (monthly averaged outdoor air temperature-T am , and the solar energy monthly received in the plane of the photovoltaic platform-E Gn ) and relative differences between the monthly simulated and measured values of the photovoltaic platform electrical energy output (ε PV ) are comparatively presented in Table 6. For the electrical energy consumption of the geothermal heat pump system (Figure 17), acceptable differences (lower than 10%) are obtained for the winter months. Also, the yearly electrical energy consumption obtained through numerical simulation (14,323 kWh) is only 6% lower than the yearly measured value (15,174 kWh). The values measured in June and July correspond to the electrical energy consumption during laboratory experiments performed in these months and the consumption of the monitoring system. In August, the measured value corresponds strictly to the consumption of the monitoring system. These values are not considered in the above validation process. In the following sections numerical simulations were used, with zero energy use for the heat pump during summer months.
Based on the good agreement found between the numerical simulations and measured values for both electrical energy consumed by the geothermal heat pump system and produced by the photovoltaic platform, the model developed in Trnsys can be considered experimentally validated and, further on, the results of the numerical simulations are presented.

Discussions
The results obtained in this paper are further compared with the results of the similar studies fund in literature and synthetized in Tables 7 and 8. As shown in Table 7, there are different types of buildings evaluated in the literature (residential, commercial, office), while this paper addresses a building used in the higher education system. These studies were done in different locations, mainly in the northern and southern part of Europe. The simulations are usually done with Trnsys over a period of one year, based on weather data measured onsite or standard data. To the best of our knowledge, there are no studies including both numerical simulations and experimental validation. In our paper the numerical simulations through the proposed methodology are validated based on the experimental data recorded over a period of one year. The monthly errors between simulated and measured photovoltaic energy values range between −4 and +3% with an annual error lower than 1%. The electrical energy consumption of the heat pump obtained through numerical simulation is only 6% lower than the yearly measured value. The results of the papers from Table 7 are comparatively presented in Table 8. These studies refer to the photovoltaic energy consumed by heat pumps (for space heating, domestic hot water and space cooling) and other functionalities in the buildings (appliances, electrical vehicle and community sharing). In our paper only the space heating with a heat pump is analysed. DHW, SH 57-96 daily [9] DHW, SH 33-59 hourly [10] A, DHW, SH 66.9 31.5-35.7 in winter daily [10] A, DHW, SC 66.9 96.6-100 in summer daily [14] DHW, SH 15 hourly [16] DHW, SH 19 15 min [19] A, DHW, SH 49-100 9-28 hourly [24] A, DHW, SH, CS 77 hourly [24] A Two papers, [10,19], present results related to the yearly coverage degree ranging between 49 and 100% according to the considered functionalities. In our paper, the yearly coverage degree for space heating is 70%.
Related to self-consumption, our result (16%) can be compared with papers performing only numerical simulations [14,19], and only experimental testing [16], for similar functionalities (SH and DHW) and similar evaluation frequencies (hourly or 15 min).
Higher self-consumption values (between 77 and 81%) resulted when the photovoltaic energy is also used for other functionalities.

Conclusions
A methodology to assess the self-consumption of the electrical energy output of a photovoltaic platform by a geothermal heat pump is proposed and experimentally validated in the paper.
The proposed methodology consists of four steps starting with the site weather data, numerical simulation of the building energy demand, numerical simulation of the photovoltaic platform output and the assessment of the self-consumption of the photovoltaic/geothermal heat pump system. It can be applied to any type of building.
The methodology was applied to a case study represented by a building used in the educational process of students (Solar House) equipped with a grid-connected photovoltaic platform supplying electrical energy to a geothermal heat pump.
The results of the numerical simulations show that the yearly electrical energy consumption of the heat pump system is covered 70% by the electrical energy output of the photovoltaic platform, but the self-consumption is only 16%.
The error between the simulated and measured values resulted of 6% for the consumed energy and below 1% for the produced energy. Data Availability Statement: Not applicable.

Conflicts of Interest:
The authors declare no conflict of interest. There are not any funders having a role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.