2.1. Heat Pump Model
In this study, detailed modeling of the heat pump, rather than curve-fitting methods, is used because the ground temperature variations that are being examined may cause the ELT to fall outside the range of manufacturers’ data. The heat pump model comprises a reciprocating compressor, an expansion valve, and two heat exchangers: one for transferring heat between GHE running fluid and heat pump refrigerant, referred to as liquid-to-refrigerant (LTR), and the other for transferring heat between the building indoor air and refrigerant, referred to as air-to-refrigerant (ATR). The specific function of each heat exchanger depends on the operational mode of the heat pump; i.e., heating or cooling mode. In cooling mode, the ATR heat exchanger functions as an evaporator, extracting heat from the indoor air. Simultaneously, the LTR heat exchanger functions as a condenser, releasing heat to the fluid in the ground loop. In heating mode, this process is reversed.
Figure 1 illustrates the thermal cycle of the heat pump, with refrigerant flow directions corresponding to heating mode. The numbering used for refrigerant flow—1 to 4—refers to the exits of the expansion valve, evaporator, compressor, and condenser, respectively, and is used consistently in the equations throughout this paper.
The modeling of the heat exchangers follows the approach described by Nellis and Klein [
59] in which the heat exchangers are segmented into multiple discrete sections, each representing different thermal regimes, and the effectiveness-NTU method is applied to each sub-heat exchanger. The total heat transfer rate of the evaporator and condenser can be calculated as the sum of the heat transfer rates from the different thermal regions.
The compressor is modeled as a reciprocating type based on the method described by Jahnig et al. [
60]. The refrigerant mass flow rate can be calculated as:
where
[m
3/s] and
represent the displacement rate of the compressor and the specific volume of the refrigerant at the inlet of the compressor, respectively, and
is the compressor volumetric efficiency and accounts for deviations from a constant volumetric flow rate.
The input power to the compressor,
, can be calculated using Equation (2) as follows:
where
is the ratio of specific heat at constant pressure,
, and volume,
,
is the suction pressure,
is the specific volume of the refrigerant at the suction of the compressor,
represents the condenser pressure, and
is the combined mechanical efficiency of the compressor and motor. The specific enthalpy of the refrigerant at the compressor outlet can be determined using Equation (3) as follows:
where
is the specific enthalpy of the refrigerant at the compressor inlet. The expansion valve is considered adiabatic, and the specific enthalpy of the refrigerant remains constant as it passes through the valve.
It should be noted that the current model does not explicitly account for thermal or dynamic lags associated with refrigerant-side transients, such as refrigerant inertia or the thermal response time of internal heat exchanger surfaces. Instead, the heat pump is modeled using a steady-state thermodynamic cycle that is recalculated at each simulation time step, while the effects of on–off cycling are incorporated through a part-load fraction (PLF) model, as described in
Section 2.3. This modeling approach is well suited for the medium- to long-term simulation objectives of this study, where system performance evolves over hours to years and the impact of short-term transient effects is negligible. Although the inclusion of dynamic lags would be important for short-term operational analysis or control strategy optimization, as evidenced by Li and Alleyne’s dynamic VCC model resolving refrigerant-side transient effects during compressor start-up and shut-down [
61] and by Qiao et al.’s transient modeling of a multi-evaporator air conditioning system for control method investigation [
62], their exclusion has minimal effect on the accuracy of the long-term performance predictions, which are the primary focus of this work.
2.2. Ground Heat Exchanger Model
To model temperature variations in the GHE circulating fluid and the surrounding ground due to heat delivery or extraction, analytical models for heat transfer both inside and outside the borehole are integrated using the borehole wall temperature as a key parameter. This integration is essential because the temperature at the borehole wall governs the interaction between the ground heat exchanger and the surrounding ground.
The GHE simulations cover different time scales based on the borehole radius characteristic time,
, where
denotes the borehole radius and
represents the thermal diffusivity of the grouting material. This characteristic time represents the time scale over which the heat transfer processes within the borehole reach a quasi-steady state relative to the size of the borehole [
63,
64]. Short-term simulations (
, in the order of minutes to hours) provide insights for optimizing system control and operation, while medium- to long-term simulations (
, in the order of hours to years) are crucial for assessing the design, overall viability, and performance of the system [
64]. In short-term scenarios, the thermal capacity of the grout material has a significant impact on the transient heat conduction within the borehole, as modeled by various scholars [
65,
66,
67,
68,
69,
70]. However, in medium- to long-term simulations, heat transfer inside the borehole can be assumed to be in a steady-state mode, allowing the heat capacity of the grout material and the GHE fluid to be neglected. In this study, the focus is on assessing the performance and sustainability of the GSHP system over medium- to long-time scales. For this purpose, a steady-state long-term model is sufficient for analyzing the borehole interior. Specifically, the quasi-three-dimensional model proposed by Zeng et al. [
4] is employed, which accounts for fluid temperature variations in the downward and upward tubes, as well as thermal short circuiting between them.
To capture the ground temperature response over medium- to long-time scales, a finite line source (FLS) model is utilized to model the heat transfer outside the borehole.
Figure 2 shows the time scales during which the infinite line source, infinite cylindrical source, and finite line source models are valid. The infinite line source and cylindrical source models are applicable for short- to medium-time scales (
), while FLS models are appropriate for medium-time scales (
) and long-time scales (
) [
64,
71,
72]. Here,
represents the borefield characteristic time, with
and
denoting the borehole length and the ground thermal diffusivity, respectively. Consequently, the infinite line source and infinite cylindrical source models are not suitable for medium- to long-time scale simulations.
In this study, the FLS solution proposed by Claesson and Javed [
24] is utilized, assuming that the GHE does not consist of a large number of closely spaced boreholes. This model provides the ground step response function (g-function) for both single and multiple boreholes. Their solution is simpler and more computationally efficient compared to other previously proposed FLS models [
18,
21,
22]. For example, a GHE was simulated using Zeng et al.’s FLS model [
18] to calculate the mid-point borehole wall temperature and Claesson and Javed’s model [
24] to calculate the mean borehole wall temperature. The results showed that Zeng et al.’s model required approximately 5.4 times more computational time. It should be emphasized that computing the mean borehole wall temperature using Zeng et al.’s model would take even more time since it requires integration along the borehole depth, whereas Claesson and Javed’s model provides the mean temperature explicitly. It is important to note that this and earlier FLS solutions [
18,
21,
22,
23,
24] may overestimate the g-function derived by Eskilson [
14] when applied to a large number of densely packed boreholes, particularly for time scales greater than approximately
[
72,
73]. For such cases, the FLS solution proposed by Cimmino and Bernier [
72] can be used, although it increases the computational time by a factor of 144 [
74]. To account for variable heat rejection or extraction rates from the boreholes, temporal superposition of the step response function (g-function) is applied, as described by Koohi-Fayegh and Rosen [
2].
Although the present study focuses on a single-borehole configuration, the proposed modeling framework is inherently adaptable to multiple interacting boreholes, as commonly encountered in commercial or district-scale systems. The outside-borehole thermal model, based on the FLS formulation by Claesson and Javed [
24], enables the calculation of ground thermal response functions for arbitrary multi-borehole configurations by applying the principle of superposition to account for thermal interactions among boreholes (see Ref. [
24] for further details). This capability allows the model to capture borehole-to-borehole interference effects in both regular and irregular geometries. In parallel, the inside-borehole model developed by Zeng et al. [
4] can be applied individually to each borehole to simulate axial fluid temperature variations and thermal short circuiting between the U-tube legs.
Several assumptions are made to streamline the analytical modeling process as follows:
- -
Natural convection, moisture flow, groundwater flow, and freezing are neglected.
- -
The ground is treated as a homogeneous semi-infinite medium.
- -
The ground is assumed to have a uniform initial temperature.
- -
The thermophysical properties of the ground are assumed constant regardless of temperature changes.
- -
Thermal contact resistance between the grout and ground is considered negligible.
- -
In the model for outside the borehole, the radial dimension of the borehole is neglected.
- -
In the model for inside the borehole, axial heat conduction is neglected.
- -
A constant temperature is assumed at the ground surface throughout the considered period, representing an isothermal boundary condition.
These simplifications are widely adopted in analytical GSHP modeling [
2,
7,
64], particularly for preliminary design and long-term performance evaluation. As noted by Li and Lai [
64], such assumptions are fundamental to many semi-analytical models due to their computational efficiency and the dominance of conductive heat transfer in most practical applications. In particular, in low-permeability ground—such as clay-rich formations—conduction is the primary mode of heat transfer, and the effects of advection or moisture migration are minimal. The influence of groundwater flow can be significant in high-permeability formations—and neglecting it may under- or over-predict seasonal recovery rates (the fraction of heat recharged during the off-season). Numerical simulations show that a Darcy velocity of 1 m/year (≈0.0027 m/day) can shift the thermal plume by nearly 2 °C over 15 years and raise circulating fluid temperatures by up to 1.98 °C compared to no-flow cases, leading to over-predicted recovery if ignored [
75]. For example, beneath Edmonton, Alberta—where Quaternary tills and lacustrine clays extend to a ~200 m depth [
76]—effective Darcy velocities are <0.0001 m/day; therefore, advective effects alter seasonal recovery by less than 5% for 100–200 m boreholes. The effect of groundwater is often ignored in analytical solutions or treated using simplified assumptions (e.g., homogeneous horizontal flow), as its precise characterization is both complex and site-specific. An accurate representation of groundwater flow requires fully numerical approaches [
71]. Similarly, moisture migration and natural convection are rarely included in analytical solutions due to the limited availability of field data and the high complexity of coupled heat and mass transfer mechanisms. Yet, increasing moisture content from dry to 5–10% can boost ground thermal conductivity significantly and raise diffusivity by up to 2–3 times the dry value [
64]. Freezing effects around the borehole are also neglected. As Li and Lai [
64] point out, under typical GSHP operating conditions, ground or groundwater phase change plays a much smaller role in thermal resistance than moisture migration. Analytical models that account for freezing impose restrictive conditions—uniform pore-size distributions, complete saturation, or high-porosity aquifers—that rarely reflect field installations. Furthermore, design standards (e.g., Canadian GeoExchange Coalition guidelines [
77]) mandate circulating fluid temperatures above −4 °C, which effectively prevents freezing of the surrounding ground or grout and limits its impact on long-term system performance.
The assumption of a homogeneous semi-infinite ground is generally acceptable for preliminary design in locations with uniform geology. However, when the ground consists of strongly contrasting layers (e.g., clay over rock or saturated versus unsaturated strata), the mean borehole wall temperature and heat transfer predictions can deviate from reality. Raymond et al. [
78] have shown that under such conditions, fully numerical models offer better accuracy. Therefore, the current model is most applicable in geologies with limited vertical variability in thermal properties.
It should also be noted that the proposed GHE model is tailored to vertical ground heat exchangers and is not directly applicable to horizontal loop configurations or energy piles without modification. However, recent studies have demonstrated that line source models can be adapted for horizontal GHEs, yielding results comparable to 2D numerical simulations in homogeneous ground [
79]. Nonetheless, horizontal GHEs exhibit different heat transfer characteristics due to shallow burial depths and variable conditions at the ground surface (e.g., ambient weather). Therefore, adapting this model to horizontal GHEs would require major reformulations, particularly in the boundary conditions and geometry of heat transfer.
For vertical GHEs, short-term surface weather fluctuations—including extreme events—have minimal effect on deep ground temperatures due to the substantial thermal inertia of the subsurface, particularly at depths beyond 10 m [
71]. As a result, the proposed model remains robust under a wide range of typical and extreme surface climate conditions. In contrast, extreme long-term changes—such as gradual subsurface warming driven by urban heat islands, climate change, and/or persistent thermal interference from nearby systems—can meaningfully alter ground thermal behavior. These effects can be effectively incorporated into the model by adjusting the ground temperature, as demonstrated in the case study scenarios with ±5 °C ground temperature shifts presented in
Section 6.
In this study, the analytical models for inside and outside the borehole are coupled using the mean borehole wall temperature along its length, following the model coupling approach presented by Koohi-Fayegh and Rosen [
2,
80]. While the coupling method is the same, this study differs in its implementation of the FLS model. Koohi-Fayegh and Rosen [
2] used the borehole wall temperature at the mid-point of the borehole, calculated with the FLS model by Zeng et al. [
18], as a good estimate of the mean temperature for model coupling. In contrast, this study directly calculates the mean borehole wall temperature using the model proposed by Claesson and Javed [
24], which eliminates the approximation and reduces the computational cost.
2.3. Dynamic Ground Source Heat Pump Simulation
The dynamic simulation framework is summarized in
Figure 3. At each time step, the states of key points at the heat pump cycle are determined based on iterations of initial guesses for the saturated temperatures at the condenser and evaporator and specified subcooling and superheating values.
Following convergence to the state points, the COP of the heat pump is determined using the respective equations for heating and cooling modes, as shown in Equation (4) as follows:
The varying building load is approximated (i.e., discretized) by a series of constant loads, denoted as
, which are the average or maximum loads in each time interval (see
Section 4 for further discussion). These rates are applied at
, changing after time intervals
. The subscript
indicates that the parameter corresponds to the time step
.
To determine the duration the heat pump needs to operate to meet the required building load during the time interval
, the run fraction (RF) of the heat pump is calculated using Equation (5) as follows:
where
indicates a heating load, while
signifies a cooling load.
The total amount of time the heat pump must operate within each time interval
can be obtained using Equation (6) as follows:
To account for the negative impact of on–off cycling on the performance of the heat pump, the part-load fraction (PLF), defined as the ratio of part-load COP to full-load COP, can be obtained iteratively using the model presented in the study by Henderson and Rengarajan [
47]. This model requires a time constant and a maximum cycling rate, which are considered to be 60 s and 2.5, respectively, as recommended by Henderson et al. [
81] for typical conditions. In the study by Biglarian et al. [
50], a third-order polynomial trendline was fitted to the results obtained from the PLF iterative formula with the specified time constant and maximum cycling rate. The regression equation gives the PLF as a function of the run fraction, as shown in Equation (7) as follows:
The PLF and run fraction have a direct correlation; a higher run fraction results in a higher PLF, and vice versa. Using the PLF, the adjusted COP can be obtained from Equation (8), incorporating the negative effects of cycling as follows:
The on–off cycling of the heat pump results in a series of pulse heat injection or extraction fluxes to and from the ground within each time interval
, as shown in
Figure 4. Because of the steady-state heat conduction assumption within the borehole, in this study, the average heat injection/extraction per unit length of the borehole during each time interval
is utilized to capture the ground temperature response. This average rate can be calculated using Equation (9) as follows:
where
is the ground heat injection/extraction per unit length of the borehole, which can be calculated using Equation (10) as follows:
where
is the total borehole length. In Equation (10), it is assumed that there is no heat loss in the LTR heat exchanger, and heat is fully transferred between the refrigerant and the ground loop running fluid.
Using the undisturbed ground temperature and the average ground heat injection/extraction flux calculated in the previous step, the borehole wall temperature is updated using the model for outside the borehole (see
Section 2.2). The inlet and outlet temperature of the GHE running fluid is calculated and updated based on the updated borehole wall temperature using the model for inside the borehole (see
Section 2.2). This process is repeated for each
.