Introduction
Heat is the largest energy end use and accounts for almost half of global final energy consumption [1 ] . Its decarbonization is part of the transition toward carbon neutrality [2 ] . Ground Source Heat Pumps (GSHPs) are an efficient, low-carbon alternative to fossil-fuel-based heating and cooling systems [3 , 4 ] . Using the stable temperature of the shallow subsurface, GSHPs can provide base-load heating and cooling for individual buildings and for district heating and cooling networks [5 ] . Borehole Heat Exchangers (BHEs) exchange the heat between the heat pump and the ground. The deployment of BHE fields is limited by their high initial capital cost. The ground heat exchangers account for more than 30% of the total cost of a GSHP system and are the largest contributor to its cost premium over conventional systems [6 ] . Over-sizing the total drilling length by a few percent therefore increases the cost of the ground heat exchangers by about the same fraction. Design tools should minimize the total drilling length while keeping the subsurface thermally sustainable.
Analytical models for BHE fields are reviewed in [7 , 8 ] . Cimmino et al. [9 ] , Sec. 4 developed a method based on the Finite Line Source that computes thermal response functions for boreholes that are not regularly spaced. This removed the dependence on pre-calculated libraries and allowed the analysis of non-grid layouts. Building on this, Rose et al. [10 ] , Sec. 2.2 introduced a framework that constructs both short- and long-term g-functions [11 ] . It is tailored to the thermal interactions of parallel-connected BHE systems. Common design tools use only part of this flexibility. Sizing tools such as Earth Energy Designer (EED) [12 ] and GHEtool [13 ] determine the required borehole length for a given layout. GHEtool also accepts custom borehole positions, but neither tool optimizes the positions together with the length. To our knowledge, neither tool accounts for groundwater advection, although advection shifts the thermal plumes downstream and changes the long-term performance [14 ] , Sec. 4.2.
Egidi et al. [15 ] optimized the BHE positions with an analytical heat conduction model to reduce the interference between neighboring BHEs, without groundwater flow. Beck et al. [16 ] optimized the positions together with the loads of the individual boreholes in conduction-dominated ground by evolutionary algorithms and linear programming. In their study, optimizing the positions alone reduced the ground temperature change by about 12%, almost as much as optimizing the loads. De Paly et al. [17 ] optimized the individual loads by linear programming, and Hecht-Méndez et al. [18 ] extended this approach to groundwater flow using moving line sources. In their field of 25 boreholes, the optimized load patterns align with the flow direction, and the benefit of the optimization decreases with increasing flow velocity. None of these studies optimizes the borehole length. Advection can be included analytically by the Moving Finite Line Source (MFLS) [14 , 19 ] , which we use here. Numerical simulators based on finite element methods, such as FEFLOW [20 ] or OpenGeoSys [21 ] , can model heterogeneous domains with high physical fidelity. However, a single simulation of a BHE field over several decades is computationally expensive, and an optimization requires many such simulations. These suites also often lack automated optimization routines.
We propose a framework (OptiGeoS) for the simultaneous optimization of the BHE positions and the borehole length. It couples an analytical forward model that includes groundwater advection with a gradient-based optimizer that handles the thermal and regulatory constraints. The boreholes can thus be placed with respect to the flow direction. Unlike metaheuristics such as genetic algorithms [22 ] or the evolutionary algorithms of Beck et al. [16 ] , it uses analytical gradients of the model. Cimmino and Bernier [23 ] restricted the optimization to a grid, and Bayer et al. [24 ] and Yang et al. [25 ] used discrete mixed-integer formulations for placement and scheduling. Our framework instead treats the borehole coordinates as continuous variables. It builds on our earlier work [26 ] , which placed the boreholes first by a modified Lloyd algorithm that maximizes the spacing, and then optimized only the common length L L L for these fixed positions, with a conduction-only finite line source model. Here, the positions and L L L are optimized simultaneously with analytical gradients, and groundwater advection is included.
The geometric constraints are handled with Centroidal Voronoi Tessellations (CVT) [27 ] , [28 Secs. 2.1, 2.5 and 2.6] . The CVT partitions the convex property into cells that are shrunk by half the minimum borehole spacing, and each BHE moves continuously within its own cell. This is more restrictive than pairwise distance constraints, but it replaces these non-convex constraints by linear inequalities. We solve the optimization problem with the trust-region method trust-constr of SciPy [29 ] , which returns locally optimal layouts and borehole lengths.
Coupled Thermal Modeling
We use a two-scale approach as in [30 Sec. 2] . The local model treats the borehole as quasi-steady, following [31 Sec. 5.1] with the extensions of [32 Sec. 2] and [33 Secs. 2.1 and 2.4] . The global model describes heat transport in the surrounding subsurface [19 ] .
Local BHE Physics
For a BHE of length L L L , the coupled heat balance on the inlet T i ( z , t ) T_i(z,t) T i ( z , t ) and outlet T o ( z , t ) T_o(z,t) T o ( z , t ) fluid temperatures reads [34 Sec. 8.1, Eq. (104)]
− C f ∂ T i ∂ z = T i − T s R 1 Δ + T i − T o R 12 Δ (1) -C_f\frac{\partial T_i}{\partial z}=\frac{T_i-T_s}{R_1^\Delta}+\frac{T_i-T_o}{R_{12}^\Delta} \tag*{(1)} − C f ∂ z ∂ T i = R 1 Δ T i − T s + R 12 Δ T i − T o (1)
C f ∂ T o ∂ z = T o − T s R 2 Δ + T o − T i R 12 Δ (2) C_f\frac{\partial T_o}{\partial z}=\frac{T_o-T_s}{R_2^\Delta}+\frac{T_o-T_i}{R_{12}^\Delta} \tag*{(2)} C f ∂ z ∂ T o = R 2 Δ T o − T s + R 12 Δ T o − T i (2)
where z ∈ [ 0 , L ] z \in[0,L] z ∈ [ 0 , L ] is the depth below the surface and T s ( z , t ) T_s(z,t) T s ( z , t ) is the borehole wall temperature. The heat capacity rate of one borehole is C f = m ˙ c p C_f=\dot{m}c_p C f = m ˙ c p [W/K], with mass flow rate m ˙ \dot{m} m ˙ and specific heat capacity c p c_p c p . For N b N_b N b boreholes connected in parallel with the total mass flow rate m ˙ t o t \dot{m}_{\mathrm{tot}} m ˙ tot and a uniform flow distribution [10 Sec. 1] , C f = m ˙ t o t c p / N b C_f=\dot{m}_{\mathrm{tot}}c_p/N_b C f = m ˙ tot c p / N b .
The thermal resistances R 1 Δ R_1^\Delta R 1 Δ , R 2 Δ R_2^\Delta R 2 Δ between the pipes and the borehole wall and R 12 Δ R_{12}^\Delta R 12 Δ between the pipes follow from the resistance network of Bauer et al. [32 Sec. 2] ; see [34 Secs. 5 and 8.3] for different BHE geometries (1U, 2U, CXA, CXC). For the 1U and 2U geometries, we compute the borehole resistance R b R_b R b and the internal resistance R a R_a R a with the multipole method [35 ] instead of the grout correlations of Bauer et al. [32 Sec. 2] . Both resistances include the convective resistance in the pipes [34 Eq. (32)] . The network is calibrated to reproduce R b R_b R b and R a R_a R a exactly, and R 1 Δ R_1^\Delta R 1 Δ , R 2 Δ R_2^\Delta R 2 Δ , R 12 Δ R_{12}^\Delta R 12 Δ follow from it [34 Sec. 8.3] . With the bottom boundary condition T i ( L , t ) = T o ( L , t ) T_i(L,t)=T_o(L,t) T i ( L , t ) = T o ( L , t ) , the outlet temperature T o u t ( t ) = T o ( 0 , t ) T_{\mathrm{out}}(t)=T_o(0,t) T out ( t ) = T o ( 0 , t ) follows via the Laplace transform [34 Sec. 8.2] .
We assume that each BHE has the same extraction rate q b h e = q s y s / N b q_{\mathrm{bhe}}=q_{\mathrm{sys}}/N_b q bhe = q sys / N b [W]. The energy balance then gives q b h e ( t ) = C f ( T o u t ( t ) − T i n ( t ) ) q_{\mathrm{bhe}}(t)=C_f(T_{\mathrm{out}}(t)-T_{\mathrm{in}}(t)) q bhe ( t ) = C f ( T out ( t ) − T in ( t )) [36 Sec. 6.4] . Together with the uniform heat flux along each borehole in the soil model (§ 2.2 ), this is the boundary condition BC-I of Rose et al. [10 Sec. 1] . With a common inlet temperature and the same C f C_f C f , this boundary condition would strictly imply identical outlet temperatures. In our model, the wall temperatures T s T_s T s differ between the boreholes, so (3) yields different outlet temperatures T o u t k T_{\mathrm{out}}^k T out k , which are averaged in (14) . Under groundwater advection, upstream and downstream boreholes would in reality also differ in their extraction rates. Since the optimizer exploits these differences in the wall temperatures, the optimized layouts should be read with this approximation in mind.
Substituting the heat load and solving for T o u t T_{\mathrm{out}} T out yields [34 Sec. 8.3] (see also [20 App. M.4.3] )
T o u t ( t ) = ψ ( L ) ∫ 0 L T s ( ξ , t ) w L ( ξ ) d ξ − q b h e ( t ) ( ψ ( L ) − 1 ) C f , (3) T_{\mathrm{out}}(t)=\psi(L)\int_0^L T_s(\xi,t)w_L(\xi)\,\mathrm{d}\xi-\frac{q_{\mathrm{bhe}}(t)(\psi(L)-1)}{C_f}, \tag*{(3)} T out ( t ) = ψ ( L ) ∫ 0 L T s ( ξ , t ) w L ( ξ ) d ξ − C f q bhe ( t ) ( ψ ( L ) − 1 ) , (3)
with the weight w L ( ξ ) : = N W ( L − ξ ) / D W ( L ) w_L(\xi):=N_W(L-\xi)/D_W(L) w L ( ξ ) := N W ( L − ξ ) / D W ( L ) and, in the notation of [34 Eq. (109)] ,
β j = 1 R j A C f , β = β 2 − β 1 2 , γ = ( β 1 + β 2 ) 2 4 + β 12 ( β 1 + β 2 ) , ν = β 1 + β 2 2 γ , M 1 , 2 = β ± γ , ψ ( z ) = 1 2 ν coth ( γ z ) + 1 2 , N W ( z ) = C 1 e M 1 z + C 2 e M 2 z , C 1 = ν M 1 , C 2 = − ν M 2 , D W ( z ) = D 1 e M 1 z + D 2 e M 2 z , D 1 = 1 + ν 2 , D 2 = 1 − ν 2 . (4) \begin{aligned}
\beta_j&=\frac{1}{R_j^A C_f},\qquad\beta=\frac{\beta_2-\beta_1}{2},\qquad\gamma=\sqrt{\frac{(\beta_1+\beta_2)^2}{4}+\beta_{12}(\beta_1+\beta_2)},\qquad\nu=\frac{\beta_1+\beta_2}{2\gamma},\qquad M_{1,2}=\beta\pm\gamma,\\
\psi(z)&=\frac{1}{2\nu}\coth(\gamma z)+\frac{1}{2},\\
N_W(z)&=C_1e^{M_1z}+C_2e^{M_2z},\qquad C_1=\nu M_1,\qquad C_2=-\nu M_2,\\
D_W(z)&=D_1e^{M_1z}+D_2e^{M_2z},\qquad D_1=\frac{1+\nu}{2},\qquad D_2=\frac{1-\nu}{2}. \tag*{(4)}
\end{aligned} β j ψ ( z ) N W ( z ) D W ( z ) = R j A C f 1 , β = 2 β 2 − β 1 , γ = 4 ( β 1 + β 2 ) 2 + β 12 ( β 1 + β 2 ) , ν = 2 γ β 1 + β 2 , M 1 , 2 = β ± γ , = 2 ν 1 coth ( γ z ) + 2 1 , = C 1 e M 1 z + C 2 e M 2 z , C 1 = ν M 1 , C 2 = − ν M 2 , = D 1 e M 1 z + D 2 e M 2 z , D 1 = 2 1 + ν , D 2 = 2 1 − ν . (4)
Global Soil Physics
We consider a constant velocity field v = ( v x , v y , 0 ) T ∈ R 3 \mathbf{v}=(v_x,v_y,0)^\mathsf{T}\in\mathbb{R}^3 v = ( v x , v y , 0 ) T ∈ R 3 that represents steady-state groundwater flow.
The temperature change u ( x , t ) : = T ( x , t ) − T 0 ( z ) u(\mathbf{x},t):=T(\mathbf{x},t)-T_0(z) u ( x , t ) := T ( x , t ) − T 0 ( z ) with respect to the undisturbed profile
T 0 ( z ) = T s u r f a c e + g g e o z (5) T_0(z)=T_{\mathrm{surface}}+g_{\mathrm{geo}}z \tag*{(5)} T 0 ( z ) = T surface + g geo z (5)
with a constant geothermal gradient g g e o g_{\mathrm{geo}} g geo is governed by the linear advection-diffusion equation on R 3 \mathbb{R}^3 R 3
∂ t u + v ⋅ ∇ u − α Δ u = α λ f ( x , t ) , x ∈ R 3 , t > 0 , u ( x , 0 ) = 0 , x ∈ R 3 . (6) \begin{aligned}
\partial_tu+\mathbf{v}\cdot\nabla u-\alpha\Delta u&=\frac{\alpha}{\lambda}f(\mathbf{x},t),\qquad\mathbf{x}\in\mathbb{R}^3,\ t>0,\\
u(\mathbf{x},0)&=0,\qquad\mathbf{x}\in\mathbb{R}^3. \tag*{(6)}
\end{aligned} ∂ t u + v ⋅ ∇ u − α Δ u u ( x , 0 ) = λ α f ( x , t ) , x ∈ R 3 , t > 0 , = 0 , x ∈ R 3 . (6)
Here, α \alpha α [m2 ^2 2 /s] denotes the thermal diffusivity and λ \lambda λ [W/(m ⋅ \cdot ⋅ K)] the thermal conductivity of the soil. The velocity v = ( ρ c ) w ( ρ c ) m v D \mathbf{v}=\frac{(\rho c)_w}{(\rho c)_m}\mathbf{v}_D v = ( ρ c ) m ( ρ c ) w v D is the effective thermal velocity [19 ] , i.e. the Darcy flux v D \mathbf{v}_D v D scaled by the ratio of the volumetric heat capacities of the water and of the saturated soil, with ( ρ c ) m = λ / α (\rho c)_m=\lambda/\alpha ( ρ c ) m = λ / α . The source term f f f represents the N b N_b N b BHEs as finite line sources with the extraction rate q b h e q_{\mathrm{bhe}} q bhe of § 2.1 , distributed uniformly along the borehole,
f ( x , t ) = − ∑ k = 1 N b q b h e , L ( t ) δ ( x − p x k ) δ ( y − p y k ) ( 1 [ 0 , L ] ( z ) − 1 [ − L , 0 ] ( z ) ) , (7) f(\mathbf{x},t)=-\sum_{k=1}^{N_b}q_{\mathrm{bhe},L}(t)\delta(x-p_x^k)\delta(y-p_y^k)\left(\mathbb{1}_{[0,L]}(z)-\mathbb{1}_{[-L,0]}(z)\right), \tag*{(7)} f ( x , t ) = − k = 1 ∑ N b q bhe , L ( t ) δ ( x − p x k ) δ ( y − p y k ) ( 1 [ 0 , L ] ( z ) − 1 [ − L , 0 ] ( z ) ) , (7)
where the minus sign makes q b h e > 0 q_{\mathrm{bhe}}>0 q bhe > 0 denote heat extraction, q b h e , L : = q b h e / L q_{\mathrm{bhe},L}:=q_{\mathrm{bhe}}/L q bhe , L := q bhe / L [W/m], x = ( x x y , z ) \mathbf{x}=(\mathbf{x}_{xy},z) x = ( x x y , z ) with x x y = ( x , y ) \mathbf{x}_{xy}=(x,y) x x y = ( x , y ) , and p = ( p 1 , … , p N b ) \mathbf{p}=(\mathbf{p}^1,\ldots,\mathbf{p}^{N_b}) p = ( p 1 , … , p N b ) collects the planar positions p k = ( p x k , p y k ) \mathbf{p}^k=(p_x^k,p_y^k) p k = ( p x k , p y k ) of the BHEs, all of length L L L [m].
The physical subsurface is the half-space R + 3 : = { x ∈ R 3 : z ≥ 0 } \mathbb{R}_+^3:=\{\mathbf{x}\in\mathbb{R}^3:z\ge0\} R + 3 := { x ∈ R 3 : z ≥ 0 } , whose surface is held at T s u r f a c e = T 0 ( 0 ) T_{\mathrm{surface}}=T_0(0) T surface = T 0 ( 0 ) [31 Sec. 2.2] , i.e. u ∣ z = 0 = 0 u|_{z=0}=0 u ∣ z = 0 = 0 . We enforce this by the method of images: the second indicator function in (7) mirrors the BHE to z < 0 z<0 z < 0 , so f f f is odd in z z z . Since v z = 0 v_z=0 v z = 0 , u u u is odd in z z z as well. Hence the restriction of u u u to R + 3 \mathbb{R}_+^3 R + 3 solves the half-space problem. Since f f f is a measure, (6) is understood in the following distributional sense, where S ′ ( R 3 ) \mathcal{S}'(\mathbb{R}^3) S ′ ( R 3 ) denotes the space of tempered distributions.
Definition 1 (Solution). Let T > 0 T>0 T > 0 . A function u ∈ C ( [ 0 , T ] ; S ′ ( R 3 ) ) u\in C([0,T];\mathcal{S}'(\mathbb{R}^3)) u ∈ C ([ 0 , T ] ; S ′ ( R 3 )) solves (6) on ( 0 , T ) (0,T) ( 0 , T ) if u ( ⋅ , 0 ) = 0 u(\cdot,0)=0 u ( ⋅ , 0 ) = 0 in S ′ ( R 3 ) \mathcal{S}'(\mathbb{R}^3) S ′ ( R 3 ) and, for every ϕ ∈ C c ∞ ( R 3 ) \phi\in C^\infty_{\mathrm{c}}(\mathbb{R}^3) ϕ ∈ C c ∞ ( R 3 ) and every ζ ∈ C c ∞ ( 0 , T ) \zeta\in C^\infty_{\mathrm{c}}(0,T) ζ ∈ C c ∞ ( 0 , T ) ,
∫ 0 T ⟨ u ( t ) , ϕ ⟩ ζ ′ ( t ) d t + ∫ 0 T ⟨ u ( t ) , v ⋅ ∇ ϕ + α Δ ϕ ⟩ ζ ( t ) d t = − α λ ∫ 0 T ⟨ f ( ⋅ , t ) , ϕ ⟩ ζ ( t ) d t . (8) \int_0^T \langle u(t),\phi\rangle\zeta'(t)\,\mathrm{d}t+\int_0^T\langle u(t),\mathbf{v}\cdot\nabla\phi+\alpha\Delta\phi\rangle\zeta(t)\,\mathrm{d}t=-\frac{\alpha}{\lambda}\int_0^T\langle f(\cdot,t),\phi\rangle\zeta(t)\,\mathrm{d}t. \tag*{(8)} ∫ 0 T ⟨ u ( t ) , ϕ ⟩ ζ ′ ( t ) d t + ∫ 0 T ⟨ u ( t ) , v ⋅ ∇ ϕ + α Δ ϕ ⟩ ζ ( t ) d t = − λ α ∫ 0 T ⟨ f ( ⋅ , t ) , ϕ ⟩ ζ ( t ) d t . (8)
The solution is expressed through the kernel
G ( r , z , τ , L ) : = Λ ( r , τ ) Z ( z , τ , L ) , Λ ( r , τ ) : = C λ R ( r , τ ) W v ( τ ) , (9) G(r,z,\tau,L):=\Lambda(r,\tau)Z(z,\tau,L),\qquad\Lambda(r,\tau):=C_\lambda\mathcal{R}(r,\tau)\mathcal{W}_v(\tau), \tag*{(9)} G ( r , z , τ , L ) := Λ ( r , τ ) Z ( z , τ , L ) , Λ ( r , τ ) := C λ R ( r , τ ) W v ( τ ) , (9)
with C λ = 1 / ( 4 π λ ) C_\lambda=1/(4\pi\lambda) C λ = 1/ ( 4 π λ ) , the radial diffusion kernel R ( r , τ ) = τ − 1 e − r 2 / ( 4 α τ ) \mathcal{R}(r,\tau)=\tau^{-1}e^{-r^2/(4\alpha\tau)} R ( r , τ ) = τ − 1 e − r 2 / ( 4 α τ ) with r ( x x y ; p k ) = ∥ x x y − p k ∥ r(\mathbf{x}_{xy};\mathbf{p}^k)=\lVert\mathbf{x}_{xy}-\mathbf{p}^k\rVert r ( x x y ; p k ) = ∥ x x y − p k ∥ , the advective decay factor W v ( τ ) = e − ∥ v ∥ 2 τ / ( 4 α ) \mathcal{W}_v(\tau)=e^{-\lVert\mathbf{v}\rVert^2\tau/(4\alpha)} W v ( τ ) = e − ∥ v ∥ 2 τ / ( 4 α ) , and the vertical finite source kernel
Z ( z , τ , L ) = 1 2 [ erf ( L − z 2 α τ ) + 2 erf ( z 2 α τ ) − erf ( L + z 2 α τ ) ] , (10) Z(z,\tau,L)=\frac{1}{2}\left[\operatorname{erf}\left(\frac{L-z}{2\sqrt{\alpha\tau}}\right)+2\operatorname{erf}\left(\frac{z}{2\sqrt{\alpha\tau}}\right)-\operatorname{erf}\left(\frac{L+z}{2\sqrt{\alpha\tau}}\right)\right], \tag*{(10)} Z ( z , τ , L ) = 2 1 [ erf ( 2 α τ L − z ) + 2 erf ( 2 α τ z ) − erf ( 2 α τ L + z ) ] , (10)
which accounts for the finite length and the mirror image. The directional influence of the flow relative to the source position enters through S v ( x x y , p k ) = exp ( ⟨ x x y − p k , v ⟩ / ( 2 α ) ) S_v(\mathbf{x}_{xy},\mathbf{p}^k)=\exp(\langle\mathbf{x}_{xy}-\mathbf{p}^k,\mathbf{v}\rangle/(2\alpha)) S v ( x x y , p k ) = exp (⟨ x x y − p k , v ⟩ / ( 2 α )) . Both S v S_v S v and W v \mathcal{W}_v W v result from the shift of the heat kernel by v τ \mathbf{v}\tau v τ (cf. Lemma 3 ).
Let μ k : = δ p x k ⊗ δ p y k ⊗ ( 1 [ 0 , L ] − 1 [ − L , 0 ] ) \mu_k:=\delta_{p_x^k}\otimes\delta_{p_y^k}\otimes(\mathbb{1}_{[0,L]}-\mathbb{1}_{[-L,0]}) μ k := δ p x k ⊗ δ p y k ⊗ ( 1 [ 0 , L ] − 1 [ − L , 0 ] ) be the line source of the k k k -th BHE together with its mirror image, so that f ( ⋅ , t ) = − q b h e , L ( t ) μ f(\cdot,t)=-q_{\mathrm{bhe},L}(t)\mu f ( ⋅ , t ) = − q bhe , L ( t ) μ with the finite measure μ : = ∑ k = 1 N b μ k \mu:=\sum_{k=1}^{N_b}\mu_k μ := ∑ k = 1 N b μ k of total variation 2 L N b 2LN_b 2 L N b . The fundamental solution of the operator ∂ t + v ⋅ ∇ − α Δ \partial_t+\mathbf{v}\cdot\nabla-\alpha\Delta ∂ t + v ⋅ ∇ − α Δ is the heat kernel shifted by v τ \mathbf{v}\tau v τ [37 Sec. 2.3.1] ,
Φ ( x , τ ) : = ( 4 π α τ ) − 3 / 2 exp ( − ∥ x − v τ ∥ 2 4 α τ ) , x ∈ R 3 , τ > 0. (11) \Phi(\mathbf{x},\tau):=(4\pi\alpha\tau)^{-3/2}\exp\left(-\frac{\lVert\mathbf{x}-\mathbf{v}\tau\rVert^2}{4\alpha\tau}\right),\qquad\mathbf{x}\in\mathbb{R}^3,\ \tau>0. \tag*{(11)} Φ ( x , τ ) := ( 4 π α τ ) − 3/2 exp ( − 4 α τ ∥ x − v τ ∥ 2 ) , x ∈ R 3 , τ > 0. (11)
Theorem 1 (Existence, uniqueness and representation). Let q b h e , L ∈ L l o c 1 ( [ 0 , ∞ ) ) q_{\mathrm{bhe},L} \in L_{\mathrm{loc}}^1([0,\infty)) q bhe , L ∈ L loc 1 ([ 0 , ∞ )) and T > 0 T>0 T > 0 . Then (6) has exactly one solution u u u in the sense of Definition 1, given by Duhamel’s formula
u ( x , t ) : = α λ ∫ 0 t ( Φ ( ⋅ , t − s ) ∗ f ( ⋅ , s ) ) ( x ) d s = − α λ ∫ 0 t q b h e , L ( s ) ( Φ ( ⋅ , t − s ) ∗ μ ) ( x ) d s , t ∈ [ 0 , T ] . (12) u(\mathbf{x},t):=\frac{\alpha}{\lambda}\int_0^t\left(\Phi(\cdot,t-s)*f(\cdot,s)\right)(\mathbf{x})\,\mathrm{d}s=-\frac{\alpha}{\lambda}\int_0^t q_{\mathrm{bhe},L}(s)\left(\Phi(\cdot,t-s)*\mu\right)(\mathbf{x})\,\mathrm{d}s,\qquad t\in[0,T]. \tag*{(12)} u ( x , t ) := λ α ∫ 0 t ( Φ ( ⋅ , t − s ) ∗ f ( ⋅ , s ) ) ( x ) d s = − λ α ∫ 0 t q bhe , L ( s ) ( Φ ( ⋅ , t − s ) ∗ μ ) ( x ) d s , t ∈ [ 0 , T ] . (12) For every t ∈ [ 0 , T ] t\in[0,T] t ∈ [ 0 , T ] , u ( ⋅ , t ) u(\cdot,t) u ( ⋅ , t ) is an integrable function with ∥ u ( ⋅ , t ) ∥ L 1 ≤ α λ 2 L N b ∫ 0 t ∣ q b h e , L ∣ \lVert u(\cdot,t)\rVert_{L^1}\leq\frac{\alpha}{\lambda}2LN_b\int_0^t\lvert q_{\mathrm{bhe},L}\rvert ∥ u ( ⋅ , t ) ∥ L 1 ≤ λ α 2 L N b ∫ 0 t ∣ q bhe , L ∣ , and at every point x = ( x x y , z ) \mathbf{x}=(\mathbf{x}_{xy},z) x = ( x x y , z ) with x x y ≠ p k \mathbf{x}_{xy}\ne\mathbf{p}^k x x y = p k for all k = 1 , … , N b k=1,\ldots,N_b k = 1 , … , N b it is given by the superposition of N b N_b N b Moving Finite Line Sources (MFLS) [14 , 19 ] .2
u ( x , t ; L , p ) = − ∑ k = 1 N b S v ( x x y , p k ) ( q b h e , L ∗ G k ) ( t ) , G k ( τ ) : = G ( r ( x x y ; p k ) , z , τ , L ) . (13) u(\mathbf{x},t;\mathbf{L},\mathbf{p})=-\sum_{k=1}^{N_b}S_{\mathrm{v}}(\mathbf{x}_{xy},\mathbf{p}^k)(q_{\mathrm{bhe},L}*\mathcal{G}_k)(t),\qquad\mathcal{G}_k(\tau):=\mathcal{G}(r(\mathbf{x}_{xy};\mathbf{p}^k),z,\tau,L). \tag*{(13)} u ( x , t ; L , p ) = − k = 1 ∑ N b S v ( x x y , p k ) ( q bhe , L ∗ G k ) ( t ) , G k ( τ ) := G ( r ( x x y ; p k ) , z , τ , L ) . (13) The proof is given in Appendix § 7 .
Temporal Coupling
The system outlet temperature is the mean of the outlet temperatures T o u t k T_{\mathrm{out}}^k T out k of the N b N_b N b BHEs from (3) ,
T o u t , s y s ( t ) = 1 N b ∑ k = 1 N b T o u t k ( t ) . (14) T_{\mathrm{out,sys}}(t)=\frac{1}{N_b}\sum_{k=1}^{N_b}T_{\mathrm{out}}^k(t). \tag*{(14)} T out , sys ( t ) = N b 1 k = 1 ∑ N b T out k ( t ) . (14)
Since (6) is linear, u = ∑ ℓ u ℓ u=\sum_{\ell}u_\ell u = ∑ ℓ u ℓ , where the ℓ \ell ℓ -th summand u ℓ u_\ell u ℓ of (13) is the response to BHE ℓ \ell ℓ alone. The wall temperature of BHE k k k is therefore
T s , k ( z , t ) = T 0 ( z ) + ∑ ℓ = 1 N b Δ T k , ℓ ( z , t ) , (15) T_{s,k}(z,t)=T_0(z)+\sum_{\ell=1}^{N_b}\Delta T_{k,\ell}(z,t), \tag*{(15)} T s , k ( z , t ) = T 0 ( z ) + ℓ = 1 ∑ N b Δ T k , ℓ ( z , t ) , (15)
Δ T k , ℓ ( z , t ) = − S v ( p k , p ℓ ) ( q b h e , L ∗ G ( r k , ℓ , z , ⋅ , L ) ) ( t ) , (16) \Delta T_{k,\ell}(z,t)=-S_{\mathrm{v}}(\mathbf{p}^k,\mathbf{p}^{\ell})(q_{\mathrm{bhe},L}*\mathcal{G}(r_{k,\ell},z,\cdot,L))(t), \tag*{(16)} Δ T k , ℓ ( z , t ) = − S v ( p k , p ℓ ) ( q bhe , L ∗ G ( r k , ℓ , z , ⋅ , L )) ( t ) , (16)
where Δ T k , ℓ = u ℓ ( p k , ⋅ , ⋅ ) \Delta T_{k,\ell}=u_\ell(\mathbf{p}^k,\cdot,\cdot) Δ T k , ℓ = u ℓ ( p k , ⋅ , ⋅ ) and r k , ℓ = ∥ p k − p ℓ ∥ r_{k,\ell}=\lVert\mathbf{p}^k-\mathbf{p}^{\ell}\rVert r k , ℓ = ∥ p k − p ℓ ∥ for ℓ ≠ k \ell\ne k ℓ = k . For ℓ = k \ell=k ℓ = k , the line source is singular at p k \mathbf{p}^k p k , so u k u_k u k is evaluated on the borehole wall, r k , k = r b r_{k,k}=r_b r k , k = r b . On the wall, we set the directional factor S v S_{\mathrm{v}} S v to 1.
Substituting (15) into (3) and averaging by (14) decomposes the system outlet temperature into three potentials,
T o u t , s y s ( t ) = Ψ g r o u n d − Ψ s o i l ( t ) − Ψ p o w e r ( t ) , (17) T_{\mathrm{out,sys}}(t)=\Psi_{\mathrm{ground}}-\Psi_{\mathrm{soil}}(t)-\Psi_{\mathrm{power}}(t), \tag*{(17)} T out , sys ( t ) = Ψ ground − Ψ soil ( t ) − Ψ power ( t ) , (17)
with
Ψ g r o u n d = ψ ( L ) ∫ 0 L T 0 ( ξ ) w L ( ξ ) d ξ , (18) \Psi_{\mathrm{ground}}=\psi(L)\int_{0}^{L}T_0(\xi)w_L(\xi)\,\mathrm{d}\xi, \tag*{(18)} Ψ ground = ψ ( L ) ∫ 0 L T 0 ( ξ ) w L ( ξ ) d ξ , (18)
Ψ s o i l ( t ) = ψ ( L ) N b ∑ k = 1 N b ∑ ℓ = 1 N b S V ( p k , p ℓ ) ∫ 0 L w L ( ξ ) ( q b h e , L ∗ G ( r k , ℓ , ξ , ⋅ , L ) ) ( t ) d ξ , (19) \Psi_{\mathrm{soil}}(t)=\frac{\psi(L)}{N_b}\sum_{k=1}^{N_b}\sum_{\ell=1}^{N_b}\mathcal{S}_V(\mathbf{p}^k,\mathbf{p}^{\ell})\int_{0}^{L}w_L(\xi)\left(q_{\mathrm{bhe},L}*G(r_{k,\ell},\xi,\cdot,L)\right)(t)\,\mathrm{d}\xi, \tag*{(19)} Ψ soil ( t ) = N b ψ ( L ) k = 1 ∑ N b ℓ = 1 ∑ N b S V ( p k , p ℓ ) ∫ 0 L w L ( ξ ) ( q bhe , L ∗ G ( r k , ℓ , ξ , ⋅ , L ) ) ( t ) d ξ , (19)
Ψ p o w e r ( t ) = ( ψ ( L ) − 1 ) q b h e ( t ) C f . (20) \Psi_{\mathrm{power}}(t)=(\psi(L)-1)\frac{q_{\mathrm{bhe}}(t)}{C_f}. \tag*{(20)} Ψ power ( t ) = ( ψ ( L ) − 1 ) C f q bhe ( t ) . (20)
Since Δ T k , ℓ ≤ 0 \Delta T_{k,\ell}\le0 Δ T k , ℓ ≤ 0 for q b h e , L ≥ 0 q_{\mathrm{bhe},L}\ge0 q bhe , L ≥ 0 , extraction lowers the wall temperature, so Ψ s o i l \Psi_{\mathrm{soil}} Ψ soil enters (17) with a negative sign.
Ground Potential
The ground potential Ψ g r o u n d \Psi_{\mathrm{ground}} Ψ ground is the contribution of the undisturbed subsurface temperature T 0 T_0 T 0 . Inserting N W N_W N W from (4) and the linear profile (5) into (18) , substituting s = L − ξ s=L-\xi s = L − ξ and integrating e M l s e^{M_l s} e M l s and s e M l s s e^{M_l s} s e M l s over [ 0 , L ] [0,L] [ 0 , L ] gives
Ψ g r o u n d = χ ( L ) ∑ l = 1 2 C l U l ( L ) , U l ( L ) : = L ( T s u r f a c e ϕ 1 ( M l L ) + g g e o L ϕ 2 ( M l L ) ) , (21) \Psi_{\mathrm{ground}}=\chi(L)\sum_{l=1}^{2}C_lU_l(L),\qquad U_l(L):=L\left(T_{\mathrm{surface}}\phi_1(M_lL)+g_{\mathrm{geo}}L\phi_2(M_lL)\right), \tag*{(21)} Ψ ground = χ ( L ) l = 1 ∑ 2 C l U l ( L ) , U l ( L ) := L ( T surface ϕ 1 ( M l L ) + g geo L ϕ 2 ( M l L ) ) , (21)
with χ ( L ) : = ψ ( L ) / D W ( L ) \chi(L):=\psi(L)/D_W(L) χ ( L ) := ψ ( L ) / D W ( L ) and the normalized exponential functions3
ϕ 1 ( z ) = e z − 1 z , ϕ 2 ( z ) = e z − 1 − z z 2 . (22) \phi_1(z)=\frac{e^z-1}{z},\qquad\phi_2(z)=\frac{e^z-1-z}{z^2}. \tag*{(22)} ϕ 1 ( z ) = z e z − 1 , ϕ 2 ( z ) = z 2 e z − 1 − z . (22)
Soil and Power Potential
The soil potential Ψ s o i l \Psi_{\mathrm{soil}} Ψ soil collects the thermal interaction within the field. Interchanging the integrals in (19) reduces it to a single temporal convolution,
Ψ s o i l ( t ) = ψ ( L ) ( q b h e , L ∗ H Σ ) ( t ) , H Σ ( τ ; θ ) : = 1 N b ∑ k = 1 N b ∑ ℓ = 1 N b S V ( p k , p ℓ ) H ( r k , ℓ , τ , L ) , (23) \Psi_{\mathrm{soil}}(t)=\psi(L)\left(q_{\mathrm{bhe},L}*\mathcal{H}_{\Sigma}\right)(t),\qquad\mathcal{H}_{\Sigma}(\tau;\theta):=\frac{1}{N_b}\sum_{k=1}^{N_b}\sum_{\ell=1}^{N_b}\mathcal{S}_V(\mathbf{p}^k,\mathbf{p}^{\ell})\mathcal{H}(r_{k,\ell},\tau,L), \tag*{(23)} Ψ soil ( t ) = ψ ( L ) ( q bhe , L ∗ H Σ ) ( t ) , H Σ ( τ ; θ ) := N b 1 k = 1 ∑ N b ℓ = 1 ∑ N b S V ( p k , p ℓ ) H ( r k , ℓ , τ , L ) , (23)
with H ( r , τ , L ) : = Λ ( r , τ ) Y ( τ ; L ) \mathcal{H}(r,\tau,L):=\Lambda(r,\tau)\mathcal{Y}(\tau;L) H ( r , τ , L ) := Λ ( r , τ ) Y ( τ ; L ) and the integrated vertical response
Y ( τ ; L ) : = ∫ 0 L Z ( z , τ , L ) w L ( z ) d z , (24) \mathcal{Y}(\tau;L):=\int_{0}^{L}\mathcal{Z}(z,\tau,L)w_L(z)\,\mathrm{d}z, \tag*{(24)} Y ( τ ; L ) := ∫ 0 L Z ( z , τ , L ) w L ( z ) d z , (24)
whose closed form is derived in Appendix § 8 . The power potential Ψ p o w e r \Psi_{\mathrm{power}} Ψ power is the quasi-steady temperature drop across the borehole resistance; it does not depend on the positions of the boreholes.
Lumping and Interaction Split
The convolutions in (23) are expensive, because BHE fields are simulated over several decades (§ 3.1 ) and their number grows quadratically with N b N_b N b . To reduce their cost, we lump the load and quantify the resulting error.
Let Δ t B \Delta t_B Δ t B be a lumping interval (e.g. a day, week or month), t m : = m Δ t B t_m := m\,\Delta t_B t m := m Δ t B , and let q ˉ j \bar{q}_j q ˉ j be the mean of the load q q q over the block ( t j − 1 , t j ] (t_{j-1},t_j] ( t j − 1 , t j ] . The convolution C ( r , t ) : = ( q ∗ H ( r , ⋅ ) ) ( t ) C(r,t) := (q * \mathcal{H}(r,\cdot))(t) C ( r , t ) := ( q ∗ H ( r , ⋅ )) ( t ) is approximated at the block ends by
C Δ t B ( r , t m ) = ∑ j = 1 m q ˉ j ∫ ( m − j ) Δ t B ( m − j + 1 ) Δ t B H ( r , τ ) d τ , (25) C_{\Delta t_B}(r,t_m) = \sum_{j=1}^{m} \bar{q}_j \int_{(m-j)\Delta t_B}^{(m-j+1)\Delta t_B} \mathcal{H}(r,\tau)\,\mathrm{d}\tau, \tag*{(25)} C Δ t B ( r , t m ) = j = 1 ∑ m q ˉ j ∫ ( m − j ) Δ t B ( m − j + 1 ) Δ t B H ( r , τ ) d τ , (25)
and between the block ends C Δ t B ( r , ⋅ ) C_{\Delta t_B}(r,\cdot) C Δ t B ( r , ⋅ ) is interpolated linearly in t t t . For Δ t B = 1 h \Delta t_B = 1\,\mathrm{h} Δ t B = 1 h , C 1 h = C C_{1\,\mathrm{h}} = C C 1 h = C at the hourly time steps. We are interested in radii r ≥ Δ b h e r \geq\Delta_{\mathrm{bhe}} r ≥ Δ bhe , the minimum distance between two BHEs (Table 2 ). We measure the lumping error over the entire load history by E Δ t B ( r ) = max t ∣ C Δ t B ( r , t ) − C 1 h ( r , t ) ∣ / max t ∣ C 1 h ( r , t ) ∣ E_{\Delta t_B}(r) = \max_t |C_{\Delta t_B}(r,t)-C_{1\,\mathrm{h}}(r,t)|/\max_t |C_{1\,\mathrm{h}}(r,t)| E Δ t B ( r ) = max t ∣ C Δ t B ( r , t ) − C 1 h ( r , t ) ∣/ max t ∣ C 1 h ( r , t ) ∣ . Figure 1 shows E Δ t B ( r ) E_{\Delta t_B}(r) E Δ t B ( r ) for the scaled case-study load (cf. Test 4 of Ahmadfard and Bernier [39 ] ).
Figure 1. Lumping error E Δ t B ( r ) E_{\Delta t_B}(r) E Δ t B ( r ) for lumping intervals Δ t B \Delta t_B Δ t B of one day, one week and one month, as a function of the distance r r r between two boreholes. Vertical line: minimum BHE distance Δ b h e = 8 m \Delta_{\mathrm{bhe}} = 8\,\mathrm{m} Δ bhe = 8 m .
Table 2. Parameters of the case study: soil and fluid properties, borehole geometry with the resulting thermal resistances (1U), and constraint bounds.
For Δ t B = 1 \Delta t_B = 1 Δ t B = 1 month the error is 8.5 % 8.5\% 8.5% at r = 1 m r = 1\,\mathrm{m} r = 1 m , exceeds 1 % 1\% 1% for r ≲ 5 m r \lesssim5\,\mathrm{m} r ≲ 5 m , and is 0.51 % 0.51\% 0.51% at r = Δ b h e r = \Delta_{\mathrm{bhe}} r = Δ bhe and 0.17 % 0.17\% 0.17% at r = 15 m r = 15\,\mathrm{m} r = 15 m . For all 8 m ≤ r ≤ 30 m 8\,\mathrm{m} \leq r \leq30\,\mathrm{m} 8 m ≤ r ≤ 30 m , it is at most 0.08 % 0.08\% 0.08% for one week and 0.013 % 0.013\% 0.013% for one day. Since the error is largest at small radii, we split the soil potential into a self-interaction and a mutual interaction term, Ψ s o i l = Ψ s e l f + Ψ i n t e r \Psi_{\mathrm{soil}} = \Psi_{\mathrm{self}} + \Psi_{\mathrm{inter}} Ψ soil = Ψ self + Ψ inter . The N b N_b N b diagonal terms k = ℓ k = \ell k = ℓ of (23) are identical (r k , k = r b r_{k,k} = r_b r k , k = r b , S v = 1 S_v = 1 S v = 1 ), so their sum cancels the factor 1 / N b 1/N_b 1/ N b and gives Ψ s e l f ( t ) = ψ ′ ( L ) ( q b h e , L ∗ H ( r b , ⋅ , L ) ) ( t ) \Psi_{\mathrm{self}}(t) = \psi'(L)(q_{\mathrm{bhe},L} * \mathcal{H}(r_b,\cdot,L))(t) Ψ self ( t ) = ψ ′ ( L ) ( q bhe , L ∗ H ( r b , ⋅ , L )) ( t ) . The remaining pairs give
Ψ i n t e r ( t ) = ψ ′ ( L ) N b ∑ 1 ≤ ℓ < k ≤ N b S ^ v ( p k , p ℓ ) ( q b h e , L ∗ H ( r k , ℓ , ⋅ , L ) ) ( t ) , (26) \Psi_{\mathrm{inter}}(t) = \frac{\psi'(L)}{N_b} \sum_{1 \leq\ell< k \leq N_b} \widehat{S}_v(\mathbf{p}^{k},\mathbf{p}^{\ell})(q_{\mathrm{bhe},L} * \mathcal{H}(r_{k,\ell},\cdot,L))(t), \tag*{(26)} Ψ inter ( t ) = N b ψ ′ ( L ) 1 ≤ ℓ < k ≤ N b ∑ S v ( p k , p ℓ ) ( q bhe , L ∗ H ( r k , ℓ , ⋅ , L )) ( t ) , (26)
with the symmetrized shift kernel S ^ v ( p ℓ , p k ) : = S v ( p ℓ , p k ) + S v ( p k , p ℓ ) = 2 cosh ( ⟨ p k − p ℓ , v ⟩ / ( 2 α ) ) \widehat{S}_{\mathrm{v}}(\mathbf{p}^{\ell},\mathbf{p}^{k}) := S_{\mathrm{v}}(\mathbf{p}^{\ell},\mathbf{p}^{k}) + S_{\mathrm{v}}(\mathbf{p}^{k},\mathbf{p}^{\ell}) = 2\cosh(\langle\mathbf{p}^{k} - \mathbf{p}^{\ell},\mathbf{v}\rangle/(2\alpha)) S v ( p ℓ , p k ) := S v ( p ℓ , p k ) + S v ( p k , p ℓ ) = 2 cosh (⟨ p k − p ℓ , v ⟩ / ( 2 α )) . In Ψ i n t e r \Psi_{\mathrm{inter}} Ψ inter all radii satisfy r k , ℓ ≥ Δ b h e r_{k,\ell} \ge\Delta_{\mathrm{bhe}} r k , ℓ ≥ Δ bhe .
Numerical Implementation via Fast Fourier Transform
This subsection evaluates u u u in (13) and Ψ s o i l \Psi_{\mathrm{soil}} Ψ soil in (23) with the Discrete Fourier Transform (DFT) and derives their gradients, which the optimizer needs in every iteration.
Evaluation of the Soil and Fluid Temperature
We evaluate all convolutions on the hourly grid t n = n Δ t t_n = n\Delta t t n = n Δ t , n = 0 , … , N n = 0,\ldots,N n = 0 , … , N , and write K \mathcal{K} K for either of the kernels G ( r , z , ⋅ , L ) \mathcal{G}(r,z,\cdot,L) G ( r , z , ⋅ , L ) and H ( r , ⋅ , L ) \mathcal{H}(r,\cdot,L) H ( r , ⋅ , L ) . The heat load is piecewise constant, q b h e , L ( s ) = q n q_{\mathrm{bhe},L}(s) = q_n q bhe , L ( s ) = q n for s ∈ ( ( n − 1 ) Δ t , n Δ t ] s \in((n-1)\Delta t,n\Delta t] s ∈ (( n − 1 ) Δ t , n Δ t ] , so splitting the integral at the grid points gives
∫ 0 t n q b h e , L ( t n − τ ) K ( τ ) d τ = ∑ j = 1 n q n − j + 1 κ j , κ j : = ∫ ( j − 1 ) Δ t j Δ t K ( τ ) d τ . (27) \int_{0}^{t_n} q_{\mathrm{bhe},L}(t_n-\tau)\mathcal{K}(\tau)\,\mathrm{d}\tau= \sum_{j=1}^{n} q_{n-j+1}\kappa_j,\qquad\kappa_j := \int_{(j-1)\Delta t}^{j\Delta t} \mathcal{K}(\tau)\,\mathrm{d}\tau. \tag*{(27)} ∫ 0 t n q bhe , L ( t n − τ ) K ( τ ) d τ = j = 1 ∑ n q n − j + 1 κ j , κ j := ∫ ( j − 1 ) Δ t j Δ t K ( τ ) d τ . (27)
For r > 0 r>0 r > 0 , K \mathcal{K} K and all its derivatives vanish as τ → 0 + \tau\to0^{+} τ → 0 + because of the factor e − r 2 / ( 4 α τ ) e^{-r^{2}/(4\alpha\tau)} e − r 2 / ( 4 α τ ) in R \mathcal{R} R . We compute the weights κ j \kappa_j κ j , i.e. the increments of t ↦ ∫ 0 t K ( τ ) d τ t\mapsto\int_{0}^{t}\mathcal{K}(\tau)\,\mathrm{d}\tau t ↦ ∫ 0 t K ( τ ) d τ , with the cumulative trapezoidal rule. Its nodes are the logarithmically graded points τ i : = τ l o e i h \tau_i := \tau_{\mathrm{lo}}e^{ih} τ i := τ lo e ih , i = 0 , … , n τ − 1 i=0,\ldots,n_{\tau}-1 i = 0 , … , n τ − 1 , with h : = ln ( t N / τ l o ) / ( n τ − 1 ) h := \ln(t_N/\tau_{\mathrm{lo}})/(n_{\tau}-1) h := ln ( t N / τ lo ) / ( n τ − 1 ) , refined by the hourly nodes t j t_j t j .
The right-hand side of (27) is a discrete convolution. With the sequences q ~ = ( q 1 , … , q N ) \widetilde{q}=(q_1,\ldots,q_N) q = ( q 1 , … , q N ) and κ ~ = ( κ 1 , … , κ N ) \widetilde{\kappa}=(\kappa_1,\ldots,\kappa_N) κ = ( κ 1 , … , κ N ) padded with zeros to a common length M ≥ 2 N − 1 M\ge2N-1 M ≥ 2 N − 1 , all N N N time levels follow from
( q b h e , L ∗ K ) n : = ∑ j = 1 n q n − j + 1 κ j = DFT − 1 { DFT ( q ~ ) ⋅ DFT ( κ ~ ) } n , n = 1 , … , N , (28) (q_{\mathrm{bhe},L} * \mathcal{K})_n := \sum_{j=1}^{n}q_{n-j+1}\kappa_j = \operatorname{DFT}^{-1}\{\operatorname{DFT}(\widetilde{q})\cdot\operatorname{DFT}(\widetilde{\kappa})\}_n,\qquad n=1,\ldots,N, \tag*{(28)} ( q bhe , L ∗ K ) n := j = 1 ∑ n q n − j + 1 κ j = DFT − 1 { DFT ( q ) ⋅ DFT ( κ ) } n , n = 1 , … , N , (28)
which costs O ( N log N ) O(N\log N) O ( N log N ) with the Fast Fourier Transform (FFT) instead of O ( N 2 ) O(N^2) O ( N 2 ) [40 Sec. 2.3] .
The temperature change u ( x , t n ) u(x,t_n) u ( x , t n ) follows from (13) with the discrete convolutions ( q b h e , L ∗ G k ) n (q_{\mathrm{bhe},L} * \mathcal{G}_k)_n ( q bhe , L ∗ G k ) n . The terms Ψ s e l f \Psi_{\mathrm{self}} Ψ self and Ψ i n t e r \Psi_{\mathrm{inter}} Ψ inter (§ 2.4 ) are evaluated in the same way with the kernels H ( r b , ⋅ , L ) \mathcal{H}(r_b,\cdot,L) H ( r b , ⋅ , L ) and H k , ℓ ( τ ) : = H ( r k , ℓ , τ , L ) \mathcal{H}_{k,\ell}(\tau):=\mathcal{H}(r_{k,\ell},\tau,L) H k , ℓ ( τ ) := H ( r k , ℓ , τ , L ) . Since the cost of Ψ i n t e r \Psi_{\mathrm{inter}} Ψ inter grows with the number of pairs, its hourly loads and weights are replaced by the block means and block integrals of (25).
Analytical Gradients
The design variables are θ = ( L , p 1 , … , p N b ) \boldsymbol{\theta}=(L,\mathbf{p}^{1},\ldots,\mathbf{p}^{N_b}) θ = ( L , p 1 , … , p N b ) . The loads q s y s q_{\mathrm{sys}} q sys and q b h e = q s y s / N b q_{\mathrm{bhe}}=q_{\mathrm{sys}}/N_b q bhe = q sys / N b do not depend on θ \boldsymbol{\theta} θ , whereas q b h e , L = q b h e / L q_{\mathrm{bhe},L}=q_{\mathrm{bhe}}/L q bhe , L = q bhe / L depends on L L L . All gradients follow from differentiation under the integral sign [41 Thm. 2.27] . Let q ∈ L 1 ( 0 , T ) q\in L^{1}(0,T) q ∈ L 1 ( 0 , T ) , Θ ⊆ R d \Theta\subseteq\mathbb{R}^{d} Θ ⊆ R d open, and let K : ( 0 , T ] × Θ → R K:(0,T]\times\Theta\to\mathbb{R} K : ( 0 , T ] × Θ → R have first derivatives D θ K D_{\theta}K D θ K that are continuous on ( 0 , T ] × Θ (0,T] \times\boldsymbol{\Theta} ( 0 , T ] × Θ and satisfy
sup τ ∈ ( 0 , T ] , θ ∈ Θ 0 ( ∣ K ( τ ; θ ) ∣ + ∥ D θ K ( τ ; θ ) ∥ ) < ∞ for every compact Θ 0 ⊂ Θ . (29) \sup_{\tau\in(0,T],\,\theta\in\Theta_0}\left(|K(\tau;\theta)|+\|D_\theta K(\tau;\theta)\|\right)<\infty\qquad\text{for every compact }\Theta_0\subset\Theta. \tag*{(29)} τ ∈ ( 0 , T ] , θ ∈ Θ 0 sup ( ∣ K ( τ ; θ ) ∣ + ∥ D θ K ( τ ; θ ) ∥ ) < ∞ for every compact Θ 0 ⊂ Θ. (29)
Then, for every t ∈ ( 0 , T ] t\in(0,T] t ∈ ( 0 , T ] , u ( t ; θ ) : = ( q ∗ K ( ⋅ ; θ ) ) ( t ) u(t;\theta):=(q*K(\cdot;\theta))(t) u ( t ; θ ) := ( q ∗ K ( ⋅ ; θ )) ( t ) is continuously differentiable on Θ \Theta Θ [42 Thm. 9.21] , with
D θ u ( t ; θ ) = ( q ∗ D θ K ( ⋅ ; θ ) ) ( t ) . (30) D_\theta u(t;\theta)=(q*D_\theta K(\cdot;\theta))(t). \tag*{(30)} D θ u ( t ; θ ) = ( q ∗ D θ K ( ⋅ ; θ )) ( t ) . (30)
We apply this to u u u , Ψ s o i l \Psi_{\mathrm{soil}} Ψ soil and the outlet temperature T o u t , s y s T_{\mathrm{out,sys}} T out , sys ; the proofs are given in Appendix § 10 .
The following propositions use G m i d ( r , τ , L ) : = Λ ( r , τ ) Z m i d ( τ , L ) \mathcal{G}_{\mathrm{mid}}(r,\tau,L):=\Lambda(r,\tau)\mathcal{Z}_{\mathrm{mid}}(\tau,L) G mid ( r , τ , L ) := Λ ( r , τ ) Z mid ( τ , L ) with Z m i d ( τ , L ) : = Z ( L / 2 , τ , L ) \mathcal{Z}_{\mathrm{mid}}(\tau,L):=\mathcal{Z}(L/2,\tau,L) Z mid ( τ , L ) := Z ( L /2 , τ , L ) , i.e. the kernel for the soil temperature at mid-depth (cf. § 3.1 ), and v x y = ( v x , v y ) \mathbf{v}_{xy}=(v_x,v_y) v x y = ( v x , v y ) .
Proposition 1 (Gradient of the soil temperature). Let x x y ∈ R 2 \mathbf{x}_{xy}\in\mathbb{R}^2 x x y ∈ R 2 be a sensor position, q b h e ∈ L 1 ( 0 , T ) q_{bhe}\in L^1(0,T) q bh e ∈ L 1 ( 0 , T ) and Θ x : = { ( L , p ) : L > 0 , p k ≠ x x y for all k } \Theta_x:=\{(L,\mathbf{p}):L>0,\ \mathbf{p}^k\ne\mathbf{x}_{xy}\text{ for all }k\} Θ x := {( L , p ) : L > 0 , p k = x x y for all k } . For θ ∈ Θ x \theta\in\Theta_x θ ∈ Θ x let u ( t ; θ ) u(t;\theta) u ( t ; θ ) be given by (13) at x = ( x x y , L / 2 ) \mathbf{x}=(\mathbf{x}_{xy},L/2) x = ( x x y , L /2 ) with q b h e , L = q b h e / L q_{bhe,L}=q_{bhe}/L q bh e , L = q bh e / L , and let r k = ∥ x x y − p k ∥ r_k=\|\mathbf{x}_{xy}-\mathbf{p}^k\| r k = ∥ x x y − p k ∥ , S k = S v ( x x y , p k ) S_k=S_v(\mathbf{x}_{xy},\mathbf{p}^k) S k = S v ( x x y , p k ) , G k ( τ ) = G m i d ( r k , τ , L ) \mathcal{G}_k(\tau)=\mathcal{G}_{\mathrm{mid}}(r_k,\tau,L) G k ( τ ) = G mid ( r k , τ , L ) . Then u ( t ; ⋅ ) ∈ C 1 ( Θ x ) u(t;\cdot)\in C^1(\Theta_x) u ( t ; ⋅ ) ∈ C 1 ( Θ x ) for every t ∈ ( 0 , T ] t\in(0,T] t ∈ ( 0 , T ] , and
∂ L u ( t ; θ ) = − u ( t ; θ ) L − ∑ k = 1 N b S k ( q b h e , L ∗ [ Λ ( r k , ⋅ ) ∂ L Z m i d ( ⋅ , L ) ] ) ( t ) , (31) \partial_Lu(t;\theta)=-\frac{u(t;\theta)}{L}-\sum_{k=1}^{N_b}S_k\left(q_{bhe,L}*\left[\Lambda(r_k,\cdot)\,\partial_L\mathcal{Z}_{\mathrm{mid}}(\cdot,L)\right]\right)(t), \tag*{(31)} ∂ L u ( t ; θ ) = − L u ( t ; θ ) − k = 1 ∑ N b S k ( q bh e , L ∗ [ Λ ( r k , ⋅ ) ∂ L Z mid ( ⋅ , L ) ] ) ( t ) , (31) ∇ p k u ( t ; θ ) = − S k ( q b h e , L ∗ [ b k G k ] ) ( t ) , b k ( τ ) : = 1 2 α [ x x y − p k τ − v x y ] , (32) \nabla_{\mathbf{p}^k}u(t;\theta)=-S_k\left(q_{bhe,L}*[\mathbf{b}_k\mathcal{G}_k]\right)(t),\qquad\mathbf{b}_k(\tau):=\frac{1}{2\alpha}\left[\frac{\mathbf{x}_{xy}-\mathbf{p}^k}{\tau}-\mathbf{v}_{xy}\right], \tag*{(32)} ∇ p k u ( t ; θ ) = − S k ( q bh e , L ∗ [ b k G k ] ) ( t ) , b k ( τ ) := 2 α 1 [ τ x x y − p k − v x y ] , (32) where
∂ L Z m i d ( τ , L ) = 3 4 π α τ ( e − L 2 16 α τ − e − 9 L 2 16 α τ ) . \partial_L\mathcal{Z}_{\mathrm{mid}}(\tau,L)=\frac{3}{4\sqrt{\pi\alpha\tau}}\left(e^{-\frac{L^2}{16\alpha\tau}}-e^{-\frac{9L^2}{16\alpha\tau}}\right). ∂ L Z mid ( τ , L ) = 4 π α τ 3 ( e − 16 α τ L 2 − e − 16 α τ 9 L 2 ) .
Proposition 2 (Gradient of Ψ s o i l \Psi_{\mathrm{soil}} Ψ soil ). Let q b h e ∈ L 1 ( 0 , T ) q_{bhe}\in L^1(0,T) q bh e ∈ L 1 ( 0 , T ) , Θ Ψ : = { ( L , p ) : L > 0 , p k ≠ p ℓ for k ≠ ℓ } \Theta_\Psi:=\{(L,\mathbf{p}):L>0,\ \mathbf{p}^k\ne\mathbf{p}^{\ell}\text{ for }k\ne\ell\} Θ Ψ := {( L , p ) : L > 0 , p k = p ℓ for k = ℓ } , and let Ψ s o i l ( t ; θ ) \Psi_{\mathrm{soil}}(t;\theta) Ψ soil ( t ; θ ) be given by (23) with q b h e , L = q b h e / L q_{bhe,L}=q_{bhe}/L q bh e , L = q bh e / L and r k , k = r b r_{k,k}=r_b r k , k = r b . Then Ψ s o i l ( t ; ⋅ ) ∈ C 1 ( Θ Ψ ) \Psi_{\mathrm{soil}}(t;\cdot)\in C^1(\Theta_\Psi) Ψ soil ( t ; ⋅ ) ∈ C 1 ( Θ Ψ ) for every t ∈ ( 0 , T ] t\in(0,T] t ∈ ( 0 , T ] , and
∂ L Ψ s o i l ( t ; θ ) = ( ψ ′ ( L ) ψ ( L ) − 1 L ) Ψ s o i l ( t ; θ ) + ψ ′ ( L ) N b ∑ k , ℓ = 1 N b S v ( p k , p ℓ ) ( q b h e , L ∗ [ Λ ( r k , ℓ , ⋅ ) ∂ L Y ( ⋅ ; L ) ] ) ( t ) , (33) \partial_L\Psi_{\mathrm{soil}}(t;\theta)=\left(\frac{\psi'(L)}{\psi(L)}-\frac{1}{L}\right)\Psi_{\mathrm{soil}}(t;\theta)+\frac{\psi'(L)}{N_b}\sum_{k,\ell=1}^{N_b}S_v(\mathbf{p}^k,\mathbf{p}^{\ell})\left(q_{bhe,L}*\left[\Lambda(r_{k,\ell},\cdot)\,\partial_L\mathcal{Y}(\cdot;L)\right]\right)(t), \tag*{(33)} ∂ L Ψ soil ( t ; θ ) = ( ψ ( L ) ψ ′ ( L ) − L 1 ) Ψ soil ( t ; θ ) + N b ψ ′ ( L ) k , ℓ = 1 ∑ N b S v ( p k , p ℓ ) ( q bh e , L ∗ [ Λ ( r k , ℓ , ⋅ ) ∂ L Y ( ⋅ ; L ) ] ) ( t ) , (33) ∇ p m Ψ s o i l ( t ; θ ) = ψ ( L ) α N b ∑ ℓ ≠ m ( q b h e , L ∗ [ H m , ℓ ( v x y sinh a m ℓ − cosh ( a m ℓ ) p m − p ℓ τ ) ] ) ( t ) , (34) \nabla_{\mathbf{p}^m}\Psi_{\mathrm{soil}}(t;\theta)=\frac{\psi(L)}{\alpha N_b}\sum_{\ell\ne m}\left(q_{bhe,L}*\left[H_{m,\ell}\left(\mathbf{v}_{xy}\sinh a_{m\ell}-\cosh(a_{m\ell})\frac{\mathbf{p}^m-\mathbf{p}^{\ell}}{\tau}\right)\right]\right)(t), \tag*{(34)} ∇ p m Ψ soil ( t ; θ ) = α N b ψ ( L ) ℓ = m ∑ ( q bh e , L ∗ [ H m , ℓ ( v x y sinh a m ℓ − cosh ( a m ℓ ) τ p m − p ℓ ) ] ) ( t ) , (34) with a m ℓ : = ⟨ p m − p ℓ , v ⟩ / ( 2 α ) a_{m\ell}:=\langle\mathbf{p}^m-\mathbf{p}^{\ell},\mathbf{v}\rangle/(2\alpha) a m ℓ := ⟨ p m − p ℓ , v ⟩ / ( 2 α ) , ψ ′ ( L ) = − γ / ( 2 ν sinh 2 ( γ L ) ) \psi'(L)=-\gamma/(2\nu\sinh^2(\gamma L)) ψ ′ ( L ) = − γ / ( 2 ν sinh 2 ( γ L )) , and ∂ L Y \partial_L\mathcal{Y} ∂ L Y is given in (D.1).
Proposition 3 (Gradient of the outlet temperature). Under the assumptions of Proposition 2, the outlet temperature T o u t , s y s ( t ; θ ) T_{\mathrm{out,sys}}(t;\theta) T out , sys ( t ; θ ) in (17) is continuously differentiable on Θ Ψ \Theta_\Psi Θ Ψ for every t ∈ ( 0 , T ] t\in(0,T] t ∈ ( 0 , T ] , and
∂ L T o u t , s y s = Ψ g r o u n d ′ ( L ) − ∂ L Ψ s o i l − ψ ′ ( L ) q b h e ( t ) C f , ∇ p m T o u t , s y s = − ∇ p m Ψ s o i l . \partial_LT_{\mathrm{out,sys}}=\Psi'_{\mathrm{ground}}(L)-\partial_L\Psi_{\mathrm{soil}}-\psi'(L)\frac{q_{bhe}(t)}{C_f},\qquad\nabla_{\mathbf{p}^m}T_{\mathrm{out,sys}}=-\nabla_{\mathbf{p}^m}\Psi_{\mathrm{soil}}. ∂ L T out , sys = Ψ ground ′ ( L ) − ∂ L Ψ soil − ψ ′ ( L ) C f q bh e ( t ) , ∇ p m T out , sys = − ∇ p m Ψ soil .
with ∂ L Ψ s o i l \partial_L\Psi_{\mathrm{soil}} ∂ L Ψ soil , ∇ p m Ψ s o i l \nabla_{\mathbf{p}^m}\Psi_{\mathrm{soil}} ∇ p m Ψ soil from Proposition 2, Ψ g r o u n d ′ ( L ) = χ ′ ( L ) ∑ l = 1 2 C l U l ( L ) + χ ( L ) ∑ l = 1 2 C l ( T 0 ( L ) + M l U l ( L ) ) \Psi'_{\mathrm{ground}}(L)=\chi'(L)\sum_{l=1}^{2}C_lU_l(L)+\chi(L)\sum_{l=1}^{2}C_l\left(T_0(L)+M_lU_l(L)\right) Ψ ground ′ ( L ) = χ ′ ( L ) ∑ l = 1 2 C l U l ( L ) + χ ( L ) ∑ l = 1 2 C l ( T 0 ( L ) + M l U l ( L ) ) , χ = ψ / D W \chi=\psi/D_W χ = ψ / D W , χ ′ ( L ) = ( ψ ′ ( L ) D W ( L ) − ψ ( L ) D W ′ ( L ) ) / D W ( L ) 2 \chi'(L)=\left(\psi'(L)D_W(L)-\psi(L)D'_W(L)\right)/D_W(L)^2 χ ′ ( L ) = ( ψ ′ ( L ) D W ( L ) − ψ ( L ) D W ′ ( L ) ) / D W ( L ) 2 with D W ′ ( L ) = M 1 D 1 e M 1 L + M 2 D 2 e M 2 L D'_W(L)=M_1D_1e^{M_1L}+M_2D_2e^{M_2L} D W ′ ( L ) = M 1 D 1 e M 1 L + M 2 D 2 e M 2 L , and U l U_l U l from (21) .
Gradient-Based Optimization
Constraints
The BHE field is subject to geometric, operational and environmental constraints [43 ] , [44 Sec. 4] .
Geometric and Spatial Constraints
To comply with property law, each borehole position p k = ( p x k , p y k ) \mathbf{p}^k=(p_x^k,p_y^k) p k = ( p x k , p y k ) , k = 1 , … , N b k=1,\ldots,N_b k = 1 , … , N b , must lie in the effective domain Ω e f f : = { x ∈ Ω : dist ( x , ∂ Ω ) ≥ Δ n e i g h } \Omega_{\mathrm{eff}}:=\{\mathbf{x}\in\Omega:\operatorname{dist}(\mathbf{x},\partial\Omega)\ge\Delta_{\mathrm{neigh}}\} Ω eff := { x ∈ Ω : dist ( x , ∂ Ω ) ≥ Δ neigh } of the property Ω \Omega Ω , with Δ n e i g h > 0 \Delta_{\mathrm{neigh}}>0 Δ neigh > 0 [44 Secs. 3.4 and 3.5] .
Technical guidelines [43 ] require ∥ p k − p ℓ ∥ ≥ Δ b h e \lVert\mathbf{p}^k-\mathbf{p}^{\ell}\rVert\ge\Delta_{\mathrm{bhe}} ∥ p k − p ℓ ∥ ≥ Δ bhe for all k ≠ ℓ k\ne\ell k = ℓ to limit thermal interference and structural risks. To replace this non-convex constraint by linear inequalities, we partition Ω \Omega Ω into Voronoi cells V k V_k V k and shrink each cell to V ^ k ⊂ V k ∩ Ω e f f \widehat{V}_k\subset V_k\cap\Omega_{\mathrm{eff}} V k ⊂ V k ∩ Ω eff such that dist ( V ^ k , V ^ ℓ ) ≥ Δ b h e \operatorname{dist}(\widehat{V}_k,\widehat{V}_{\ell})\ge\Delta_{\mathrm{bhe}} dist ( V k , V ℓ ) ≥ Δ bhe for k ≠ ℓ k\ne\ell k = ℓ (§ 3.3 and 3.3.4). Then p k ∈ V ^ k \mathbf{p}^k\in\widehat{V}_k p k ∈ V k for all k k k guarantees both the separation and the distance to the property boundary. This requires a convex polygon Ω \Omega Ω , as in the case study, so that the cells V k V_k V k and Ω e f f \Omega_{\mathrm{eff}} Ω eff are convex polygons. For a non-convex property, the cells can be non-convex or even disconnected; this extension is left for future work.
The borehole length is bounded, L ∈ L : = [ L min , L max ] L\in\mathcal{L}:=[L_{\min},L_{\max}] L ∈ L := [ L m i n , L m a x ] . In Germany, boreholes deeper than 100 m fall under § 127 of the Federal Mining Act [45 ] .
Operational Thermal Constraints
To keep the coefficient of performance of the heat pump high and to prevent freezing of the ground and the grout, the fluid temperature must stay above a safety threshold [43 ] . For high-temperature heat pumps, higher return temperatures from the field also reduce the required temperature lift and thus the energy consumption [46 ] . The outlet temperature T o u t , s y s T_{\mathrm{out,sys}} T out , sys from (14) must satisfy
T max f l u i d ≥ T o u t , s y s ( t ) ≥ T min f l u i d ∀ t ∈ [ 0 , t e n d ] . (35) T^{\mathrm{fluid}}_{\max}\ge T_{\mathrm{out,sys}}(t)\ge T^{\mathrm{fluid}}_{\min}\quad\forall t\in[0,t_{\mathrm{end}}]. \tag*{(35)} T m a x fluid ≥ T out , sys ( t ) ≥ T m i n fluid ∀ t ∈ [ 0 , t end ] . (35)
T min f l u i d T^{\mathrm{fluid}}_{\min} T m i n fluid is typically set between − 3 ∘ C -3\,^{\circ}\mathrm{C} − 3 ∘ C and 0 ∘ C 0\,^{\circ}\mathrm{C} 0 ∘ C to protect the borehole grout [43 ] , while T max f l u i d T^{\mathrm{fluid}}_{\max} T m a x fluid depends on the heat pump. Both limits refer to the outlet temperature T o u t , s y s T_{\mathrm{out,sys}} T out , sys , i.e. the fluid returning from the field to the heat pump. The inlet temperature T i n ( t ) = T o u t , s y s ( t ) − q s y s ( t ) / ( m ˙ t o t c p ) T_{\mathrm{in}}(t)=T_{\mathrm{out,sys}}(t)-q_{\mathrm{sys}}(t)/(\dot{m}_{\mathrm{tot}}c_p) T in ( t ) = T out , sys ( t ) − q sys ( t ) / ( m ˙ tot c p ) is an affine function of T o u t , s y s T_{\mathrm{out,sys}} T out , sys for the given load. A limit on T i n T_{\mathrm{in}} T in , e.g. due to the pipe material, can therefore be imposed in the same way.
Remark 1. Imposing (35) at all N = 175 200 N=175\,200 N = 175 200 hourly time steps of 20 years would add N N N constraints and their gradients in every iteration. We therefore impose it only at the critical times t min ∗ = arg min t ∈ [ 0 , t e n d ] T o u t , s y s ( t ; θ 0 ) t^*_{\min}=\operatorname*{arg\,min}_{t\in[0,t_{\mathrm{end}}]}T_{\mathrm{out,sys}}(t;\boldsymbol{\theta}_0) t m i n ∗ = arg min t ∈ [ 0 , t end ] T out , sys ( t ; θ 0 ) and t max ∗ = arg max t ∈ [ 0 , t e n d ] T o u t , s y s ( t ; θ 0 ) t^*_{\max}=\operatorname*{arg\,max}_{t\in[0,t_{\mathrm{end}}]}T_{\mathrm{out,sys}}(t;\boldsymbol{\theta}_0) t m a x ∗ = arg max t ∈ [ 0 , t end ] T out , sys ( t ; θ 0 ) of the initial design θ 0 \boldsymbol{\theta}_0 θ 0 , i.e. T min ∗ = { t min ∗ } \mathcal{T}_{\min}^{*}=\{t_{\min}^{*}\} T m i n ∗ = { t m i n ∗ } and T max ∗ = { t max ∗ } \mathcal{T}_{\max}^{*}=\{t_{\max}^{*}\} T m a x ∗ = { t m a x ∗ } in (P). These times may shift during the optimization. The final design is therefore checked against the full hourly time series of T o u t , s y s T_{\mathrm{out,sys}} T out , sys , and the optimization is repeated with updated critical times if a limit is violated. Further critical times, e.g. one per heating and cooling season, can be added in the same way. The length-only baseline in § 5 evaluates the extremes of the full time series.
Environmental and Regulatory Impact Constraints
German environmental regulations require that the operation of a BHE field does not substantially alter the thermal state of neighboring properties [47 , 48 ] . Unmanaged shallow geothermal systems interfere thermally and hydraulically and lose efficiency, as Perego et al. [49 ] show for a densely developed urban area. At sensors x i : = ( x i x y , L / 2 ) \boldsymbol{x}_i := (x_i^{xy}, L/2) x i := ( x i x y , L /2 ) , i ∈ N s i \in\mathcal{N}_s i ∈ N s , at mid-depth, whose planar positions x i x y x_i^{xy} x i x y are typically located on the property boundary ∂ Ω \partial\Omega ∂ Ω , we therefore require
∣ u ( x i , t e n d ) ∣ ≤ Δ T max ∀ i ∈ N s , (36) \lvert u(\boldsymbol{x}_i,t_{\mathrm{end}})\rvert\le\Delta T_{\max} \qquad\forall i \in\mathcal{N}_s, \tag*{(36)} ∣ u ( x i , t end )∣ ≤ Δ T m a x ∀ i ∈ N s , (36)
which the optimizer handles as the two smooth constraints ± u ( x i , t e n d ) ≤ Δ T max \pm u(\boldsymbol{x}_i,t_{\mathrm{end}}) \le\Delta T_{\max} ± u ( x i , t end ) ≤ Δ T m a x . At mid-depth, the temperature change of a finite line source is close to its maximum over the depth.
The permissible change depends on the local administrative practice. The Hamburg guideline allows at most Δ T max = 1 \Delta T_{\max}=1 Δ T m a x = 1 K relative to the undisturbed temperature [47 Sec. 5.6] , and the guideline of Lower Saxony asks for the isolines of ± 1 \pm1 ± 1 K [48 pp. 31–32] . Since Δ T max \Delta T_{\max} Δ T m a x is an input of the optimization, any such limit can be prescribed; the case study uses Δ T max = 2 \Delta T_{\max}=2 Δ T m a x = 2 K (Table 2 ). The limit is checked by a simulation over a prescribed observation period. This period is 25 years in Hamburg [47 Sec. 8.6] and usually 50 years in Lower Saxony, where the temporal extreme within this period is required [48 p. 31] . We impose (36) only at t e n d t_{\mathrm{end}} t end , which neglects seasonal maxima that occur earlier. If the limit has to hold at all times, further time points can be added as in Remark 1.
Optimization Problem
The objective is to minimize the total drilling length N b L N_bL N b L under the constraints of the previous section. Since N b N_b N b is fixed, this is equivalent to minimizing L L L . The thermal demand q s y s q_{\mathrm{sys}} q sys is prescribed, so every design meets it, and only the temperatures it causes are constrained. With the design variables θ = ( L , p 1 , … , p N b ) \boldsymbol{\theta}=(L,\boldsymbol{p}^{1},\ldots,\boldsymbol{p}^{N_b}) θ = ( L , p 1 , … , p N b ) , the problem reads
min θ L s.t. p k ∈ V ^ k , ∀ k = 1 , … , N b (Spatial Separation) T o u t , s y s ( t ∗ ; θ ) ≥ T min f l u i d , ∀ t ∗ ∈ T min ∗ (Lower Limit Outlet Temperature) T o u t , s y s ( t ∗ ; θ ) ≤ T max f l u i d , ∀ t ∗ ∈ T max ∗ (Upper Limit Outlet Temperature) ∣ u ( x i , t e n d ; θ ) ∣ ≤ Δ T max , ∀ i ∈ N s (Soil Temperature) L ∈ L . (Length Bounds) (37) \begin{aligned}
\min_{\theta}\quad&L\\
\text{s.t.}\quad&\mathbf{p}^{k} \in\widehat{V}_{k},\quad\forall k=1,\ldots,N_b &&\text{(Spatial Separation)}\\
&T_{\mathrm{out,sys}}(t^{*};\theta) \ge T_{\min}^{\mathrm{fluid}},\quad\forall t^{*}\in\mathcal{T}_{\min}^{*} &&\text{(Lower Limit Outlet Temperature)}\\
&T_{\mathrm{out,sys}}(t^{*};\theta) \le T_{\max}^{\mathrm{fluid}},\quad\forall t^{*}\in\mathcal{T}_{\max}^{*} &&\text{(Upper Limit Outlet Temperature)}\\
&\lvert u(\mathbf{x}_{i},t_{\mathrm{end}};\theta)\rvert\le\Delta T_{\max},\quad\forall i\in\mathcal{N}_{s} &&\text{(Soil Temperature)}\\
&L\in\mathcal{L}. &&\text{(Length Bounds)} \tag*{(37)}
\end{aligned} θ min s.t. L p k ∈ V k , ∀ k = 1 , … , N b T out , sys ( t ∗ ; θ ) ≥ T m i n fluid , ∀ t ∗ ∈ T m i n ∗ T out , sys ( t ∗ ; θ ) ≤ T m a x fluid , ∀ t ∗ ∈ T m a x ∗ ∣ u ( x i , t end ; θ )∣ ≤ Δ T m a x , ∀ i ∈ N s L ∈ L . (Spatial Separation) (Lower Limit Outlet Temperature) (Upper Limit Outlet Temperature) (Soil Temperature) (Length Bounds) (37)
The cells V ^ k = V ^ k ( η ∗ ) \widehat{V}_{k}=\widehat{V}_{k}(\eta_{*}) V k = V k ( η ∗ ) are computed before the optimization and kept fixed (Section 3.3.4). We solve (P) with the trust-constr method of SciPy [29 ] , using the analytical gradients of § 2.5.2 .
Spatial Distribution via Centroidal Voronoi Tessellations
We construct the cells V ^ k = V ^ k ( η ∗ ) \widehat{V}_{k}=\widehat{V}_{k}(\eta_{*}) V k = V k ( η ∗ ) of § 3.1 , for the sharpness η ∗ \eta_{*} η ∗ chosen in Section 3.3.4, from a Centroidal Voronoi Tessellation (CVT) [27 ] , which spreads the BHEs over the property. The use of a CVT and of Lloyd’s algorithm for the BHE placement was introduced in [26 ] , with a uniform density for the conduction-only case. Here, the density depends on the groundwater flow (§ 3.3.2 ), and the CVT serves as the initial layout and as the linear position constraints of the gradient-based optimization.
CVT Optimization Problem
For the convex polygon Ω ⊂ R 2 \Omega\subset\mathbb{R}^{2} Ω ⊂ R 2 of the property and N b N_b N b BHEs, we seek generators g = { g k } k = 1 N b ⊂ Ω \mathbf{g}=\{\mathbf{g}_{k}\}_{k=1}^{N_b}\subset\Omega g = { g k } k = 1 N b ⊂ Ω and the partition of Ω \Omega Ω into their Voronoi cells V k = { x ∈ Ω : ∥ x − g k ∥ ≤ ∥ x − g ℓ ∥ ∀ ℓ } V_k=\{\mathbf{x}\in\Omega:\lVert\mathbf{x}-\mathbf{g}_k\rVert\le\lVert\mathbf{x}-\mathbf{g}_{\ell}\rVert\ \forall\ell\} V k = { x ∈ Ω : ∥ x − g k ∥ ≤ ∥ x − g ℓ ∥ ∀ ℓ } that minimize
J ( g ) : = ∑ k = 1 N b ∫ V k ρ ( x ) ∥ g k − x ∥ 2 d x (38) J(\mathbf{g}):=\sum_{k=1}^{N_b}\int_{V_k}\rho(\mathbf{x})\lVert\mathbf{g}_k-\mathbf{x}\rVert^{2}\,\mathrm{d}x \tag*{(38)} J ( g ) := k = 1 ∑ N b ∫ V k ρ ( x ) ∥ g k − x ∥ 2 d x (38)
for a density ρ > 0 \rho>0 ρ > 0 . At a minimum, each generator is the weighted centroid g k = ∫ V k x ρ ( x ) d x ∫ V k ρ ( x ) d x \mathbf{g}_k=\frac{\int_{V_k}\mathbf{x}\rho(\mathbf{x})\,\mathrm{d}x}{\int_{V_k}\rho(\mathbf{x})\,\mathrm{d}x} g k = ∫ V k ρ ( x ) d x ∫ V k x ρ ( x ) d x of its cell. Lloyd’s algorithm [50 ] approximates a CVT by alternately computing the Voronoi cells of the generators and moving the generators to these centroids.
Flow-Dependent Density Functions
With groundwater flow, upstream placement of the BHEs can reduce the thermal interference, because upstream boreholes are not affected by the plumes of other boreholes. We therefore use the density
ρ ( x ) = exp ( − η x ⋅ v ∥ v ∥ ) (39) \rho(\mathbf{x})=\exp\left(-\eta\frac{\mathbf{x}\cdot\mathbf{v}}{\lVert\mathbf{v}\rVert}\right) \tag*{(39)} ρ ( x ) = exp ( − η ∥ v ∥ x ⋅ v ) (39)
in (37), whose sharpness η ≥ 0 \eta\ge0 η ≥ 0 controls the upstream bias. The density, and hence the generators g k ( η ) \mathbf{g}_k(\eta) g k ( η ) and the cells V k ( η ) V_k(\eta) V k ( η ) , depend on η \eta η , which we indicate by the argument where it matters. A larger η \eta η packs the cells more tightly upstream (Figure 2 ). The resulting generators are the initial layout of the optimization.
Figure 2. (a) Uniform density, η = 0 \eta= 0 η = 0 . (b) η = 0.0965 / m \eta= 0.0965/\mathrm{m} η = 0.0965/ m (initial layout of the case study). Centroidal Voronoi tessellations of the 140 m × 140 m 140\,\mathrm{m} \times140\,\mathrm{m} 140 m × 140 m property of § 5 for N b = 25 N_b = 25 N b = 25 and groundwater flow in x x x -direction. The cells are colored by the density ρ \rho ρ (39) at their generator (black dots), normalized to 1 at the upstream boundary (logarithmic scale).
Analytical Centroid Calculation
For the density (39) , i.e. ρ ( x ) = e a ⋅ x \rho(\mathbf{x}) = e^{\mathbf{a}\cdot\mathbf{x}} ρ ( x ) = e a ⋅ x with a = − η v / ∥ v ∥ \mathbf{a} = -\eta\,\mathbf{v}/\lVert\mathbf{v}\rVert a = − η v / ∥ v ∥ , the centroids in Lloyd’s algorithm have a closed form: g k ( η ) \mathbf{g}_k(\eta) g k ( η ) is the weighted centroid of V k ( η ) V_k(\eta) V k ( η ) and follows from the following lemma with V = V k ( η ) V = V_k(\eta) V = V k ( η ) . We derive it with the divergence theorem in Appendix § 9 .
Lemma 1. Let V V V be a polygon in R 2 \mathbb{R}^2 R 2 with edges S i S_i S i from vertex P i \mathbf{P}_i P i to P i + 1 \mathbf{P}_{i+1} P i + 1 (counter-clockwise). For the density ρ ( x ) = exp ( a ⋅ x ) \rho(\mathbf{x}) = \exp(\mathbf{a}\cdot\mathbf{x}) ρ ( x ) = exp ( a ⋅ x ) with a ≠ 0 \mathbf{a} \ne0 a = 0 , the weighted centroid g \mathbf{g} g is given by:
g = ∑ i [ W i m i − Δ P i ⊥ E i , 0 ] ∑ i W i E i , 0 , m i : = P i ( E i , 0 − E i , 1 ) + P i + 1 E i , 1 , (40) \mathbf{g} = \frac{\sum_i \left[W_i\mathbf{m}_i - \Delta\mathbf{P}_i^\perp\mathcal{E}_{i,0}\right]}{\sum_i W_i\mathcal{E}_{i,0}}, \qquad\mathbf{m}_i := \mathbf{P}_i(\mathcal{E}_{i,0}-\mathcal{E}_{i,1})+\mathbf{P}_{i+1}\mathcal{E}_{i,1}, \tag*{(40)} g = ∑ i W i E i , 0 ∑ i [ W i m i − Δ P i ⊥ E i , 0 ] , m i := P i ( E i , 0 − E i , 1 ) + P i + 1 E i , 1 , (40) where f i = a ⋅ P i f_i = \mathbf{a}\cdot\mathbf{P}_i f i = a ⋅ P i , Δ f i = f i + 1 − f i \Delta f_i = f_{i+1}-f_i Δ f i = f i + 1 − f i , Δ P i ⊥ = ( y i + 1 − y i , − ( x i + 1 − x i ) ) T \Delta\mathbf{P}_i^\perp= \left(y_{i+1}-y_i,-(x_{i+1}-x_i)\right)^\mathsf{T} Δ P i ⊥ = ( y i + 1 − y i , − ( x i + 1 − x i ) ) T is the scaled outward normal, W i = a ⋅ Δ P i ⊥ W_i = \mathbf{a}\cdot\Delta\mathbf{P}_i^\perp W i = a ⋅ Δ P i ⊥ , E i , 0 = e f i ϕ 1 ( Δ f i ) \mathcal{E}_{i,0} = e^{f_i}\phi_1(\Delta f_i) E i , 0 = e f i ϕ 1 ( Δ f i ) and E i , 1 = e f i ( ϕ 1 ( Δ f i ) − ϕ 2 ( Δ f i ) ) \mathcal{E}_{i,1} = e^{f_i}\left(\phi_1(\Delta f_i)-\phi_2(\Delta f_i)\right) E i , 1 = e f i ( ϕ 1 ( Δ f i ) − ϕ 2 ( Δ f i ) ) , with ϕ 1 , ϕ 2 \phi_1,\phi_2 ϕ 1 , ϕ 2 from (22) , continuously extended by ϕ 1 ( 0 ) = 1 \phi_1(0)=1 ϕ 1 ( 0 ) = 1 and ϕ 2 ( 0 ) = 1 2 \phi_2(0)=\frac{1}{2} ϕ 2 ( 0 ) = 2 1 .
Choice of the Sharpness η \eta η
For a given η \eta η , the weighted Lloyd iterations return the cells V k ( η ) V_k(\eta) V k ( η ) and generators g k ( η ) \mathbf{g}_k(\eta) g k ( η ) . Each cell V k ( η ) = { x ∣ n k j ⋅ x + b k j ≤ 0 ∀ j } V_k(\eta) = \{\mathbf{x}\mid\mathbf{n}_{kj}\cdot\mathbf{x}+b_{kj}\le0\ \forall j\} V k ( η ) = { x ∣ n k j ⋅ x + b k j ≤ 0 ∀ j } , with the outward unit normals n k j \mathbf{n}_{kj} n k j and offsets b k j b_{kj} b k j of its edges j j j (which depend on η \eta η through the cell), is shrunk to V ^ k ( η ) = { x ∣ n k j ⋅ x + b k j + ϵ k j ≤ 0 ∀ j } \widehat{V}_k(\eta) = \{\mathbf{x}\mid\mathbf{n}_{kj}\cdot\mathbf{x}+b_{kj}+\epsilon_{kj}\le0\ \forall j\} V k ( η ) = { x ∣ n k j ⋅ x + b k j + ϵ k j ≤ 0 ∀ j } , where ϵ k j = ϵ : = Δ b h e / 2 \epsilon_{kj}=\epsilon:=\Delta_{\mathrm{bhe}}/2 ϵ k j = ϵ := Δ bhe /2 for edges shared with a neighboring cell and ϵ k j = Δ n e i g h \epsilon_{kj}=\Delta_{\mathrm{neigh}} ϵ k j = Δ neigh on ∂ Ω \partial\Omega ∂ Ω . A larger η \eta η moves the generators g k ( η ) \mathbf{g}_k(\eta) g k ( η ) closer to the upstream edges of their cells. We use the largest η \eta η with g k ( η ) ∈ V ^ k ( η ) g_k(\eta) \in\widehat{V}_k(\eta) g k ( η ) ∈ V k ( η ) for all k k k , i.e. the strongest flow bias whose initial layout satisfies the separation constraint.
Algorithm 1 computes this η \eta η for a fixed tessellation. Since the Lloyd iterations change the cells with η \eta η , its result is only an upper bound in the following procedure:
Compute the uniform CVT (η = 0 \eta= 0 η = 0 ), the starting point of all weighted Lloyd iterations.
Apply Algorithm 1 to its cells V k ( 0 ) V_k(0) V k ( 0 ) , which gives the upper bound η ( 0 ) \eta^{(0)} η ( 0 ) .
Run the weighted Lloyd iterations with η = η ( 0 ) \eta= \eta^{(0)} η = η ( 0 ) . If g k ( η ( 0 ) ) ∈ V ^ k ( η ( 0 ) ) g_k(\eta^{(0)}) \in\widehat{V}_k(\eta^{(0)}) g k ( η ( 0 ) ) ∈ V k ( η ( 0 ) ) for all k k k , accept η ( 0 ) \eta^{(0)} η ( 0 ) . Otherwise, bisect the interval [ 0 , η ( 0 ) ] [0, \eta^{(0)}] [ 0 , η ( 0 ) ] for a fixed number of rounds; every trial value η \eta η requires one Lloyd run, which gives V k ( η ) V_k(\eta) V k ( η ) , g k ( η ) g_k(\eta) g k ( η ) and V ^ k ( η ) \widehat{V}_k(\eta) V k ( η ) for this η \eta η . Keep the largest η \eta η with g k ( η ) ∈ V ^ k ( η ) g_k(\eta) \in\widehat{V}_k(\eta) g k ( η ) ∈ V k ( η ) for all k k k , or use η = 0 \eta= 0 η = 0 if there is none. The accepted value is denoted η ∗ \eta_* η ∗ , and the cells V ^ k = V ^ k ( η ∗ ) \widehat{V}_k = \widehat{V}_k(\eta_*) V k = V k ( η ∗ ) are kept fixed in the following.
The functions DistanceConstraint k \operatorname{DistanceConstraint}_k DistanceConstraint k in Algorithm 1 need not be monotone, so the root returned by Brent’s method [51 ] is only a candidate. The feasibility of the final layout is checked in step 3.
Algorithm 1 Largest admissible sharpness η max g l o b a l \eta_{\max}^{\mathrm{global}} η m a x global
Require: Voronoi cells { V k } k = 1 N b \{V_k\}_{k=1}^{N_b} { V k } k = 1 N b (convex polygons), direction v \mathbf{v} v , margins ε k j > 0 \varepsilon_{kj} > 0 ε k j > 0 , bracket upper bound η u p p e r \eta_{\mathrm{upper}} η upper
1: η max g l o b a l ← + ∞ \eta_{\max}^{\mathrm{global}} \leftarrow+\infty η m a x global ← + ∞
2: for each cell V k V_k V k with vertices P 0 , … , P E k − 1 \mathbf{P}_0,\ldots,\mathbf{P}_{E_k-1} P 0 , … , P E k − 1 and edges j = 1 , … , E k j = 1,\ldots,E_k j = 1 , … , E k do
3: Extract outward unit edge normals { n k j } j \{\mathbf{n}_{kj}\}_j { n k j } j , ∥ n k j ∥ = 1 \lVert\mathbf{n}_{kj}\rVert= 1 ∥ n k j ∥ = 1 , and offsets { b k j } j \{b_{kj}\}_j { b k j } j such that V k = { x ∣ n k j ⋅ x + b k j ≤ 0 ∀ j } V_k = \{\mathbf{x} \mid\mathbf{n}_{kj}\cdot\mathbf{x} + b_{kj} \le0\ \forall j\} V k = { x ∣ n k j ⋅ x + b k j ≤ 0 ∀ j }
4: function DistanceConstraint k ( η ) \operatorname{DistanceConstraint}_k(\eta) DistanceConstraint k ( η )
5: Compute g k ( η ) \mathbf{g}_k(\eta) g k ( η ) via Lemma 1 (V = V k V = V_k V = V k , a = − η v / ∥ v ∥ \mathbf{a} = -\eta\mathbf{v}/\lVert\mathbf{v}\rVert a = − η v / ∥ v ∥ )
6: return min j ( − b k j − n k j ⋅ g k ( η ) − ε k j ) \min_j\left(-b_{kj} - \mathbf{n}_{kj}\cdot\mathbf{g}_k(\eta) - \varepsilon_{kj}\right) min j ( − b k j − n k j ⋅ g k ( η ) − ε k j )
7: end function
8: if DistanceConstraint k ( 0 ) ≤ 0 \operatorname{DistanceConstraint}_k(0) \le0 DistanceConstraint k ( 0 ) ≤ 0 then
9: η max , k ← 0 \eta_{\max,k} \leftarrow0 η m a x , k ← 0 ▷ Uniform centroid already closer than ε k j \varepsilon_{kj} ε k j to an edge
10: else if DistanceConstraint k ( η u p p e r ) > 0 \operatorname{DistanceConstraint}_k(\eta_{\mathrm{upper}}) > 0 DistanceConstraint k ( η upper ) > 0 then
11: η max , k ← η u p p e r \eta_{\max,k} \leftarrow\eta_{\mathrm{upper}} η m a x , k ← η upper ▷ No sign change in the bracket
12: else
13: Find a root η max , k \eta_{\max,k} η m a x , k of DistanceConstraint k ( η ) = 0 \operatorname{DistanceConstraint}_k(\eta) = 0 DistanceConstraint k ( η ) = 0 in [ 0 , η u p p e r ] [0,\eta_{\mathrm{upper}}] [ 0 , η upper ] (Brent’s method)
14: end if
15: η max g l o b a l ← min ( η max g l o b a l , η max , k ) \eta_{\max}^{\mathrm{global}} \leftarrow\min\left(\eta_{\max}^{\mathrm{global}},\eta_{\max,k}\right) η m a x global ← min ( η m a x global , η m a x , k )
16: end for
17: return η max g l o b a l \eta_{\max}^{\mathrm{global}} η m a x global
Benchmarking and Verification
We compare the forward model with Earth Energy Designer (EED) [12 ] , a commercial design tool, and the open-source GHEtool [13 ] . Both are based on the g g g -function method and are therefore not independent of each other, whereas OptiGeoS uses the MFLS with the temporal coupling above.
We use Tests 1 and 2 of Ahmadfard and Bernier [39 ] , which prescribe varying heat extraction rates. Test 1 is a single borehole of length 58.6 m. Test 2 is a field of 120 boreholes of length 90.1 m on a 12 × 10 12 \times10 12 × 10 grid with a spacing of 6 m, so it also covers the thermal interaction between the boreholes.
Figure 3 shows the fluid outlet temperatures of the three tools over 10 years with hourly resolution. EED and GHEtool model conduction only, so the comparison covers the model without groundwater flow (v = 0 \mathbf{v} = 0 v = 0 ). The advective part, which drives the results of the case study, is verified separately below. Tests 1 and 2 are sizing tests [39 ] , for which a comparison of the required borehole lengths would be more informative; we compare the temperature extremes for the prescribed fields.
Figure 3. (a) Test 1 (single borehole). (b) Test 2 (120 boreholes). Fluid outlet temperature over 10 years (left) and in the last year (right).
For Test 1, the temperature extremes of the three tools agree within 0.32 K, the difference between EED and GHEtool (Table 1 ). OptiGeoS lies between them, 0.14 K from EED in both extremes, with an hourly RMSE of 0.04 K.
Table 1. Fluid outlet temperature extremes (∘ C ^\circ\mathrm{C} ∘ C ) and root mean square error (RMSE, K) of the hourly outlet temperature with respect to EED, 10-year simulation.
For Test 2, the hourly time series agree in the mean (RMSE 0.28 K with respect to EED and 0.33 K with respect to GHEtool, mean differences −0.01 K and −0.04 K; Table 1 ). OptiGeoS, however, predicts more pronounced extremes: its maximum is 2.0 K higher and its minimum 1.5 K lower than those of EED. The difference to EED is almost proportional to the instantaneous load (correlation coefficient −0.99). It is concentrated in the peak-load hours, with a mean absolute value of 1.6 K in the 1 % of the hours with the largest load and 0.2 K otherwise. This is consistent with an effective borehole thermal resistance about 0.04 m K/W above that of EED and GHEtool, compared with R b = 0.11 m ⋅ K / W R_b = 0.11\ \mathrm{m\cdot K/W} R b = 0.11 m ⋅ K/W from the multipole method. Since the long-term mean agrees, the deviation points to the local borehole model (borehole resistances, quasi-steady description without grout capacity) rather than to the interaction between the boreholes. We did not isolate these effects. The higher peaks suggest that OptiGeoS would size longer boreholes for Test 2. Without measurements from a real BHE field, we cannot tell which tool is closer to the true response.
Advective soil response. To verify the advective part of the soil model, we compare it with the moving infinite line source (MILS) of Molina-Giraldo et al. [52 Eq. (14)] without thermal dispersion. We use the setup of Molina-Giraldo et al. [52 Sec. 4] : a single borehole with a constant heat extraction rate of 60 W/m, λ = 2.5 W / ( m ⋅ K ) \lambda= 2.5\ \mathrm{W/(m\cdot K)} λ = 2.5 W/ ( m ⋅ K ) , a volumetric heat capacity of 2.8 × 10 6 J / ( m 3 ⋅ K ) 2.8 \times10^{6}\ \mathrm{J/(m^{3}\cdot K)} 2.8 × 1 0 6 J/ ( m 3 ⋅ K ) and Darcy velocities ∥ v D ∥ \lVert\mathbf{v}_D \rVert ∥ v D ∥ between 10 − 8 10^{-8} 1 0 − 8 and 10 − 5 10^{-5} 1 0 − 5 m/s. The effective thermal velocity is computed with the volumetric heat capacity of water 4.18 × 10 6 J / ( m 3 ⋅ K ) 4.18 \times10^{6}\ \mathrm{J/(m^{3}\cdot K)} 4.18 × 1 0 6 J/ ( m 3 ⋅ K ) , which Molina-Giraldo et al. [52 ] do not state. OptiGeoS evaluates the soil temperature at mid-depth with the same routine as the soil constraint. For a borehole of length L = 1000 L = 1000 L = 1000 m, which approximates the infinite line source, the temperature change along the centerline (− 10 -10 − 10 m ≤ x ≤ 20 \le x \le20 ≤ x ≤ 20 m) and perpendicular to the flow (1 m ≤ y ≤ 10 \le y \le10 ≤ y ≤ 10 m) agrees with the MILS within 6 × 10 − 5 6 \times10^{-5} 6 × 1 0 − 5 K after 1 and 20 years for all velocities (Figure 4 a shows 20 years). The length of the 0.5 K plume after 50 days agrees within 0.01 m (Figure 4 b). For L = 100 L = 100 L = 100 m, the finite length reduces the temperature change at mid-depth after 20 years by at most 1.4 % (∥ v D ∥ = 10 − 8 \lVert\mathbf{v}_D \rVert= 10^{-8} ∥ v D ∥ = 1 0 − 8 m/s), in line with the axial effects discussed in [19 ] . The monthly lumping of the interaction kernels (§ 2.4 ) is accurate at these times. At 50 days, it causes deviations of up to 0.15 K, so Figure 4 b is computed with daily blocks. This comparison is not a validation against numerical models of heterogeneous aquifers or against field measurements.
Figure 4. OptiGeoS compared with the MILS [52 Eq. (14)] for a single borehole with 60 W/m and Darcy velocity ∥ v D ∥ \lVert\mathbf{v}_D\rVert ∥ v D ∥ . (a) Temperature change along the centerline at mid-depth after 20 years. (b) Downstream distance of the 0.5 K isotherm after 50 days, cf. [52 Fig. 8] .
Case Study
We compare a fixed-grid baseline with the simultaneous optimization of the positions and the length of a 1U BHE field under groundwater advection.
Simulation Parameters and Constraints
The geological and technical parameters follow Test 4 of Ahmadfard and Bernier [39 Sec. 4.5 and Table 3] .
Table 2 lists these parameters, the borehole geometry with the computed resistances, and the constraint bounds. The field consists of N b = 25 N_b = 25 N b = 25 boreholes on a square property of 140 m × 140 m 140\ \mathrm{m} \times140\ \mathrm{m} 140 m × 140 m . The thermal load is the load profile of Test 4, which was defined for a field of 120 boreholes, scaled by the factor N b / 120 N_b/120 N b /120 .
The hourly load of one year (8760 values) is repeated over the simulated years. After the scaling, the peak cooling load of the field is 139.7 kW and the peak heating load 64.9 kW. Over one year, 193.1 MWh of heat are injected into and 18.2 MWh extracted from the ground, so the load is cooling-dominated (cf. Figure 5 ). The simulated operation time is t e n d = 20 t_{\mathrm{end}} = 20 t end = 20 years with an hourly time step, and Ψ i n t e r \Psi_{\mathrm{inter}} Ψ inter is lumped with Δ t B = 730 \Delta t_B = 730 Δ t B = 730 h (one month, § 2.4 ). The weights κ j \kappa_j κ j in (27) are computed with τ l o = 10 − 2 s \tau_{\mathrm{lo}} = 10^{-2}\ \mathrm{s} τ lo = 1 0 − 2 s and n τ = 4000 n_\tau= 4000 n τ = 4000 , so that h = 6.2 ⋅ 10 − 3 h = 6.2 \cdot10^{-3} h = 6.2 ⋅ 1 0 − 3 .
Figure 5. Inlet and outlet fluid temperature over 20 years for the fixed grid without groundwater flow (L = 97.24 L = 97.24 L = 97.24 m). Dotted: limits T min f l u i d T_{\min}^{\mathrm{fluid}} T m i n fluid and T max f l u i d T_{\max}^{\mathrm{fluid}} T m a x fluid of the outlet temperature.
Fixed-Grid Baseline
As a baseline, we fix a regular 5 × 5 5 \times5 5 × 5 grid of BHEs with a spacing of 31 m and a distance of 8 m to the property boundary. Under groundwater flow, a designer would move the grid towards the inflow boundary. We therefore shift the grid by 4 m in the direction opposite to the flow, so that the upstream boreholes are 4 m from the upstream boundary. This is (P) with fixed positions p k \mathbf{p}^k p k and L L L as the only variable. Let Γ ( L ) \Gamma(L) Γ ( L ) denote the maximal violation of the fluid and soil temperature constraints for the length L L L . We compute a root of Γ \Gamma Γ with Brent’s method [51 ] , which requires a bracket Γ ( L min ) > 0 > Γ ( L max ) \Gamma(L_{\min}) > 0 > \Gamma(L_{\max}) Γ ( L m i n ) > 0 > Γ ( L m a x ) . If Γ ( L max ) > 0 \Gamma(L_{\max}) > 0 Γ ( L m a x ) > 0 , the baseline is infeasible within the drilling bounds; if Γ ( L min ) ≤ 0 \Gamma(L_{\min}) \le0 Γ ( L m i n ) ≤ 0 , the lower bound L min L_{\min} L m i n is already feasible.
Since Γ \Gamma Γ need not be monotone (e.g. the sensor depth L / 2 L/2 L /2 changes with L L L ), the root need not be the smallest feasible length.
Without groundwater flow (v = 0 \mathbf{v} = 0 v = 0 ), the baseline requires L = 97.24 L = 97.24 L = 97.24 m, and the outlet temperature reaches its upper limit T max f l u i d T_{\max}^{\mathrm{fluid}} T m a x fluid in the last year of the 20-year period (Figure 5 ). At the peak cooling load, the inlet temperature exceeds the outlet temperature by the temperature spread of 3.4 K and reaches 41.3 °C. This is admissible, since the limits refer to the outlet temperature (§ 3.1.2 ).
With a groundwater flow of ∥ v ∥ = 1 × 10 − 7 \lVert\mathbf{v}\rVert= 1 \times10^{-7} ∥ v ∥ = 1 × 1 0 − 7 m/s in x x x -direction, the thermal plume of the fixed grid is shifted downstream (Figure 6 ). The soil constraint ((36) ) becomes active at the downstream property boundary, although it is now 12 m from the outermost boreholes. The baseline then requires L = 117.61 L = 117.61 L = 117.61 m. In this case study, the advective shift of the plume thus increases the required length by 20.37 m (20.9 %), which suggests that it should be considered in BHE field design.
(a) Fixed grid, v = 0 \mathbf{v} = 0 v = 0 .
(b) Fixed grid, ∥ v ∥ = 1 × 10 − 7 m / s \lVert\mathbf{v}\rVert= 1 \times10^{-7}\,\mathrm{m}/\mathrm{s} ∥ v ∥ = 1 × 1 0 − 7 m / s .
Figure 6. Soil temperature at mid-depth after 20 years for the fixed 5 × 5 grid without groundwater flow and, shifted by 4 m towards the inflow boundary, with groundwater flow. ×: boreholes; black dots: sensors x i x_i x i of constraint (36) ; black contour: Δ T max \Delta T_{\max} Δ T m a x .
Optimized Layout
For variable positions, we compute the CVT with the flow-dependent density of § 3.3.2 . Algorithm 1 and the subsequent bisection of Section 3.3.4 give η = 0.0965 / m \eta= 0.0965/\mathrm{m} η = 0.0965/ m .
When the BHE positions adapt to the flow (Figure 7 and Figure 8 ), the required borehole length decreases from 117.61 m for the fixed grid to L = 98.56 L = 98.56 L = 98.56 m, a reduction by 16.2 %. At this optimum, two constraints are active: the soil constraint (36) , at sensors on the lateral property boundaries in the upstream half (Figure 8 ), and the upper fluid temperature limit. Over the full hourly time series of 20 years, the outlet temperature of the final layout stays between 7.1 °C and 38.0 °C. The optimization starts from the infeasible length L 0 = 90 L_0 = 90 L 0 = 90 m and increases L L L to at most 99.82 m in iteration 12 while the positions move. After iteration 30, L L L changes by less than 0.1 m (Figure 7b ).
(a) Borehole positions over the iterations.
(b) Borehole length L L L over the iterations.
Figure 7. Simultaneous optimization of the positions and the length under groundwater flow in x x x -direction, from the initial flow-biased CVT layout (dark) to the final iteration (bright). Gray lines in (a): Voronoi cells of the initial layout, each of which contains one borehole throughout the optimization.
Figure 8. Soil temperature at mid-depth after 20 years for the optimized layout (L = 98.56 L = 98.56 L = 98.56 m) under groundwater flow; markers as in Figure 6 .
To test the dependence on the initial layout, we repeated the optimization from five further random initializations of the Lloyd iterations. They give η \eta η between 0.1002 and 0.1093/m and final lengths between 98.42 and 98.71 m. These local optima differ by less than 0.3 % in length.
On a smaller property of 120 m × 120 m with the same load and a 5 × 5 grid of spacing 26 m, the fixed grid, shifted by 4 m towards the inflow boundary as above, cannot satisfy the soil constraint within L max L_{\max} L m a x . At L = 150 L = 150 L = 150 m, the temperature change at the downstream boundary still exceeds Δ T max \Delta T_{\max} Δ T m a x by 0.12 K. The optimized layout (η = 0.0907 / m \eta= 0.0907/\mathrm{m} η = 0.0907/ m ) is feasible on this property with L = 100.81 L = 100.81 L = 100.81 m (Table 3 ).
Table 3. Required borehole length L L L for the different layouts of the case study. The change refers to the fixed grid on the same property with the same flow.
Computational Cost
For N b = 25 N_b = 25 N b = 25 boreholes and 20 years with hourly resolution, one simulation of the coupled model takes 0.3–0.4 s on a laptop CPU (Intel Core i7-8565U, 1.80 GHz). One evaluation including all analytical gradients
takes 5–6 s. The optimization of (P) needed 69 iterations and 92 evaluations of the coupled model and took about 8 min. The cost of the pair interactions grows quadratically with the number of boreholes, and that of the FFT convolutions like N log N N \log N N log N in the number N N N of time steps.
Discussion
In the fixed grid, the thermal plume is advected downstream, heat accumulates at the downstream boreholes, and the soil constraint becomes active at the downstream property boundary (Figure 6 ), consistent with [14 Sec. 4.2] . With static positions, this can only be compensated by a longer borehole, which lowers the heat extraction rate q b h e , L q_{\mathrm{bhe},L} q bhe , L per unit length.
Throughout the optimization, the Voronoi cells confine each borehole to its own region and thereby guarantee the minimal spacing. Within their cells, the optimized layout shows two mechanisms (Figure 7a and Figure 8 ). First, 11 boreholes move to the upstream property boundary, at the distance Δ n e i g h \Delta_{\mathrm{neigh}} Δ neigh . They exchange heat with groundwater that has not been disturbed by other boreholes, and their plumes are carried into the property. Second, four boreholes whose cells extend into the downstream half of the property move to the downstream ends of their cells, three of them to the downstream boundary. They are far from the other boreholes (Figure 7a ), so the temperature change at the downstream boundary stays below Δ T max \Delta T_{\max} Δ T m a x .
With these mechanisms, the heat input is distributed over the property (Figure 8 ). Hecht-Méndez et al. [18 ] found that the benefit of optimizing the loads decreases with the flow velocity, because the demand is fixed and the advective heat supply already levels the temperature anomalies. Here, the soil constraint at the property boundary makes the advected plume the limiting factor. The smaller property shows that the optimization can also make a field feasible for which the fixed 5 × 5 5 \times5 5 × 5 grid is infeasible within the drilling bounds.
Conclusion and Limitations
We presented a gradient-based framework that optimizes the borehole length and the borehole positions of a BHE field simultaneously. It couples an analytical forward model including groundwater advection with analytical gradients and a Voronoi-based partition of the property. The partition confines each borehole to its own cell and thereby guarantees the minimal spacing. In the case study with groundwater advection, the optimized layout reduced the required borehole length from 117.61 m to 98.56 m, i.e. by 16.2 % compared with a fixed grid shifted towards the inflow boundary. This length is only 1.4 % above that of the fixed grid without groundwater flow. The improvement results from the gradient-based optimization of the positions within their Voronoi cells, which distributes the boreholes over the property. On a smaller property, the optimized layout was feasible although the fixed grid was not. These results suggest that, under groundwater flow, the layout of a BHE field should be adapted to the local flow conditions rather than fixed to a predefined grid.
The results are subject to several limitations. Every borehole carries the same extraction rate (§ 2.1 ), although under advection the upstream and downstream boreholes see different wall temperatures. The optimizer exploits these differences, so the reported savings should be read with this approximation in mind. The subsurface is homogeneous with a constant, horizontal effective velocity, so layered soils, heterogeneities or vertical flow may distort the plumes. The quasi-steady borehole model does not resolve sub-hourly transients. The fluid temperature constraints are evaluated at the two critical times of the initial design, which may shift during the optimization for strongly dynamic loads. All boreholes share one length L L L ; individual lengths could give additional savings, in particular downstream. Finally, the forward model was compared with the conduction-only tools EED and GHEtool and with the analytical moving infinite line source. EED and GHEtool agree with it in the long-term response but give up to 2 K less pronounced peak temperatures for the field of 120 boreholes. The forward model has not been validated against numerical models of heterogeneous aquifers or measurements from a real BHE field, and the benchmark comparison does not cover the required borehole lengths.
Future work includes a validation with measured data and the extension of the spatial strategy to non-convex properties, e.g. by a decomposition of the property into convex parts [53 ] . The framework can also be extended to generic ground response functions [14 Sec. 4] , [11 ] . Another direction is the optimization of several interacting BHE fields to maximize the regional capacity while controlling their mutual thermal interference. An example is a brownfield scenario in which a new field is designed around an existing one.
Data and code availability
The code, input data and scripts that reproduce all results of this paper are available in the GitHub repository (MIT licence).
Declaration of competing interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Declaration of generative AI and AI-assisted technologies in the writing process
During the preparation of this work, the authors used Claude (Anthropic; model Claude Sonnet 5.5) in the following ways. (i) Mathematical content: Claude was asked to draft a proof of Theorem 1 (Appendix Appendix A), which the authors checked step by step and revised. For double-checking the authors’ analytical derivations, Claude was used to generate Mathematica notebooks that the authors applied to the proofs and closed-form expressions. (ii) Software: Claude assisted with writing and debugging the Python code that produces all results. Claude set up the case studies, i.e. the configuration files, input data and run scripts. (iii) Manuscript text: Claude was used for language editing, including rewording the authors’ proofs for clarity, for checking the consistency of notation, cross-references and reported numbers, and for reviewing drafts and pointing out errors and gaps. The scientific content, the models, the problem formulation and the numerical experiments are the authors’ own. After using this tool, the authors reviewed and edited the content as needed and take full responsibility for the content of the published article.
Acknowledgement
The work presented in this paper was supported by the German Federal Ministry for Economic Affairs and Climate Action (BMWK) within the scope of the research project OptiGeoS (01256700/1).
Existence, Uniqueness and Representation of the Temperature Change
This appendix proves Theorem 1. Throughout, T > 0 T > 0 T > 0 and Φ \Phi Φ is given by (11) . Lemma 4 concerns the homogeneous problem and does not involve the source; the source (7) of the BHE field enters Lemmas 2 and 3 and the proof of Theorem 1. We write f ( ⋅ , t ) = − q b h e , L ( t ) μ f(\cdot,t)=-q_{\mathrm{bhe},L}(t)\,\mu f ( ⋅ , t ) = − q bhe , L ( t ) μ with the finite measure μ \mu μ of total variation ∥ μ ∥ = 2 L N b \lVert\mu\rVert= 2LN_b ∥ μ ∥ = 2 L N b defined before (11) . The mirror term in (7) makes μ \mu μ odd in z z z . Lemmas 2 and 4 and Theorem 1 therefore concern the full-space problem with the source and its mirror image. Since v z = 0 v_z=0 v z = 0 , its solution is odd in z z z , and its restriction to z ≥ 0 z\ge0 z ≥ 0 is the solution of the half-space problem with u ∣ z = 0 = 0 u|_{z=0}=0 u ∣ z = 0 = 0 .
Lemma 2 (Duhamel’s formula gives a solution). Let q b h e , L ∈ L 1 ( 0 , T ) q_{\mathrm{bhe},L}\in L^1(0,T) q bhe , L ∈ L 1 ( 0 , T ) and let f f f be the source (7) . Then, for every t ∈ [ 0 , T ] t\in[0,T] t ∈ [ 0 , T ] , the function u ( ⋅ , t ) u(\cdot,t) u ( ⋅ , t ) defined by (12) is integrable with ∥ u ( ⋅ , t ) ∥ L 1 ≤ α λ 2 L N b ∫ 0 t ∣ q b h e , L ∣ \lVert u(\cdot,t)\rVert_{L^1}\leq\frac{\alpha}{\lambda}2LN_b\int_0^t|q_{\mathrm{bhe},L}| ∥ u ( ⋅ , t ) ∥ L 1 ≤ λ α 2 L N b ∫ 0 t ∣ q bhe , L ∣ , and u u u solves (6) in the sense of Definition 1.
Proof. Since f ( ⋅ , s ) = − q b h e , L ( s ) μ f(\cdot,s)=-q_{\mathrm{bhe},L}(s)\,\mu f ( ⋅ , s ) = − q bhe , L ( s ) μ with a fixed finite measure μ \mu μ and q b h e , L ∈ L 1 ( 0 , T ) q_{\mathrm{bhe},L}\in L^1(0,T) q bhe , L ∈ L 1 ( 0 , T ) , all integrands below are products of the measurable function q b h e , L q_{\mathrm{bhe},L} q bhe , L and a bounded Borel function of ( s , y ) (s,y) ( s , y ) (e.g. ( s , y ) ↦ ( P t − s ϕ ) ( y ) (s,y)\mapsto(P_{t-s}\phi)(y) ( s , y ) ↦ ( P t − s ϕ ) ( y ) on { s < t } \{s<t\} { s < t } ), so that Tonelli’s and Fubini’s theorems apply. Since Φ ( ⋅ , τ ) \Phi(\cdot,\tau) Φ ( ⋅ , τ ) is a probability density, ∣ Φ ( ⋅ , τ ) ∗ f ( ⋅ , s ) ∣ ≤ ∣ q b h e , L ( s ) ∣ Φ ( ⋅ , τ ) ∗ ∣ μ ∣ |\Phi(\cdot,\tau)*f(\cdot,s)|\leq|q_{\mathrm{bhe},L}(s)|\Phi(\cdot,\tau)*|\mu| ∣Φ ( ⋅ , τ ) ∗ f ( ⋅ , s ) ∣ ≤ ∣ q bhe , L ( s ) ∣Φ ( ⋅ , τ ) ∗ ∣ μ ∣ and ∫ R 3 Φ ( ⋅ , τ ) ∗ ∣ μ ∣ d x = ∥ μ ∥ = 2 L N b \int_{\mathbb{R}^3}\Phi(\cdot,\tau)*|\mu|\,\mathrm{d}x=\lVert\mu\rVert=2LN_b ∫ R 3 Φ ( ⋅ , τ ) ∗ ∣ μ ∣ d x = ∥ μ ∥ = 2 L N b . By Tonelli’s theorem, (12) therefore defines u ( ⋅ , t ) ∈ L 1 ( R 3 ) ⊂ S ′ ( R 3 ) u(\cdot,t)\in L^1(\mathbb{R}^3)\subset\mathcal{S}'(\mathbb{R}^3) u ( ⋅ , t ) ∈ L 1 ( R 3 ) ⊂ S ′ ( R 3 ) with the stated bound, and by Fubini’s theorem, for every bounded continuous ϕ \phi ϕ ,
⟨ u ( ⋅ , t ) , ϕ ⟩ = − α λ ∫ 0 t q b h e , L ( s ) ⟨ μ , P t − s ϕ ⟩ d s , (41) \langle u(\cdot,t),\phi\rangle=-\frac{\alpha}{\lambda}\int_0^t q_{\mathrm{bhe},L}(s)\langle\mu,P_{t-s}\phi\rangle\,\mathrm{d}s, \tag*{(41)} ⟨ u ( ⋅ , t ) , ϕ ⟩ = − λ α ∫ 0 t q bhe , L ( s ) ⟨ μ , P t − s ϕ ⟩ d s , (41)
where ( P τ ϕ ) ( y ) : = ∫ Φ ( x − y , τ ) ϕ ( x ) d x (P_\tau\phi)(y):=\int\Phi(x-y,\tau)\phi(x)\,\mathrm{d}x ( P τ ϕ ) ( y ) := ∫ Φ ( x − y , τ ) ϕ ( x ) d x for τ > 0 \tau>0 τ > 0 and P 0 ϕ : = ϕ P_0\phi:=\phi P 0 ϕ := ϕ . Again because Φ ( ⋅ , τ ) \Phi(\cdot,\tau) Φ ( ⋅ , τ ) is a probability density, ∥ P τ ϕ ∥ ∞ ≤ ∥ ϕ ∥ ∞ \lVert P_\tau\phi\rVert_\infty\leq\lVert\phi\rVert_\infty ∥ P τ ϕ ∥ ∞ ≤ ∥ ϕ ∥ ∞ , and P τ ϕ → ϕ P_\tau\phi\to\phi P τ ϕ → ϕ pointwise as τ → 0 \tau\to0 τ → 0 . Now let ϕ ∈ C c ∞ ( R 3 ) \phi\in C^\infty_c(\mathbb{R}^3) ϕ ∈ C c ∞ ( R 3 ) . Let
Φ 0 ( z , τ ) : = ( 4 π α τ ) − 3 / 2 e − ∥ z ∥ 2 / ( 4 α τ ) \Phi_0(z,\tau):=(4\pi\alpha\tau)^{-3/2}e^{-\lVert z\rVert^2/(4\alpha\tau)} Φ 0 ( z , τ ) := ( 4 π α τ ) − 3/2 e − ∥ z ∥ 2 / ( 4 α τ )
be the heat kernel, which satisfies ∂ τ Φ 0 = α Δ Φ 0 \partial_\tau\Phi_0=\alpha\Delta\Phi_0 ∂ τ Φ 0 = α Δ Φ 0 . Writing ( P τ ϕ ) ( y ) = ∫ Φ 0 ( z , τ ) ϕ ( y + v τ + z ) d z (P_\tau\phi)(y)=\int\Phi_0(z,\tau)\phi(y+v\tau+z)\,\mathrm{d}z ( P τ ϕ ) ( y ) = ∫ Φ 0 ( z , τ ) ϕ ( y + v τ + z ) d z and integrating by parts gives ∂ τ P τ ϕ = P τ ( A ϕ ) \partial_\tau P_\tau\phi=P_\tau(A\phi) ∂ τ P τ ϕ = P τ ( A ϕ ) for τ > 0 \tau>0 τ > 0 with A ϕ : = v ⋅ ∇ ϕ + α Δ ϕ ∈ C c ∞ ( R 3 ) A\phi:=v\cdot\nabla\phi+\alpha\Delta\phi\in C^\infty_c(\mathbb{R}^3) A ϕ := v ⋅ ∇ ϕ + α Δ ϕ ∈ C c ∞ ( R 3 ) . Hence P τ ϕ = ϕ + ∫ 0 τ P σ ( A ϕ ) d σ P_\tau\phi=\phi+\int_0^\tau P_\sigma(A\phi)\,\mathrm{d}\sigma P τ ϕ = ϕ + ∫ 0 τ P σ ( A ϕ ) d σ pointwise, with ∣ P σ ( A ϕ ) ∣ ≤ ∥ A ϕ ∥ ∞ |P_\sigma(A\phi)|\leq\lVert A\phi\rVert_\infty ∣ P σ ( A ϕ ) ∣ ≤ ∥ A ϕ ∥ ∞ . Inserting this into (A.1), substituting r = s + σ r=s+\sigma r = s + σ in the inner integral, exchanging the order of integration (Fubini, since ∣ q b h e , L ( s ) ⟨ μ , P r − s ( A ϕ ) ⟩ ∣ ≤ ∥ A ϕ ∥ ∞ 2 L N b ∣ q b h e , L ( s ) ∣ |q_{\mathrm{bhe},L}(s)\langle\mu,P_{r-s}(A\phi)\rangle|\leq\lVert A\phi\rVert_\infty2LN_b|q_{\mathrm{bhe},L}(s)| ∣ q bhe , L ( s ) ⟨ μ , P r − s ( A ϕ )⟩ ∣ ≤ ∥ A ϕ ∥ ∞ 2 L N b ∣ q bhe , L ( s ) ∣ ) and applying (A.1) at time r r r to the test function A ϕ A\phi A ϕ gives
⟨ u ( ⋅ , t ) , ϕ ⟩ = − α λ ∫ 0 t q b h e , L ( s ) ⟨ μ , ϕ ⟩ d s − α λ ∫ 0 t ∫ 0 r q b h e , L ( s ) ⟨ μ , P r − s ( A ϕ ) ⟩ d s d r = − α λ ∫ 0 t q b h e , L ( s ) ⟨ μ , ϕ ⟩ d s + ∫ 0 t ⟨ u ( ⋅ , r ) , A ϕ ⟩ d r . \begin{aligned}
\langle u(\cdot,t),\phi\rangle=-\frac{\alpha}{\lambda}\int_0^t q_{\mathrm{bhe},L}(s)\langle\mu,\phi\rangle\,\mathrm{d}s-\frac{\alpha}{\lambda}\int_0^t\int_0^r q_{\mathrm{bhe},L}(s)\langle\mu,P_{r-s}(A\phi)\rangle\,\mathrm{d}s\,\mathrm{d}r \\
&=-\frac{\alpha}{\lambda}\int_0^t q_{\mathrm{bhe},L}(s)\langle\mu,\phi\rangle\,\mathrm{d}s+\int_0^t\langle u(\cdot,r),A\phi\rangle\,\mathrm{d}r.
\end{aligned} ⟨ u ( ⋅ , t ) , ϕ ⟩ = − λ α ∫ 0 t q bhe , L ( s ) ⟨ μ , ϕ ⟩ d s − λ α ∫ 0 t ∫ 0 r q bhe , L ( s ) ⟨ μ , P r − s ( A ϕ )⟩ d s d r = − λ α ∫ 0 t q bhe , L ( s ) ⟨ μ , ϕ ⟩ d s + ∫ 0 t ⟨ u ( ⋅ , r ) , A ϕ ⟩ d r .
Both integrands are integrable, since ∣ q b h e , L ( s ) ⟨ μ , ϕ ⟩ ∣ ≤ ∥ ϕ ∥ ∞ 2 L N b ∣ q b h e , L ( s ) ∣ |q_{\mathrm{bhe},L}(s)\langle\mu,\phi\rangle|\leq\lVert\phi\rVert_\infty2LN_b|q_{\mathrm{bhe},L}(s)| ∣ q bhe , L ( s ) ⟨ μ , ϕ ⟩ ∣ ≤ ∥ ϕ ∥ ∞ 2 L N b ∣ q bhe , L ( s ) ∣ and ∣ ⟨ u ( ⋅ , r ) , A ϕ ⟩ ∣ ≤ ∥ A ϕ ∥ ∞ ∥ u ( ⋅ , r ) ∥ L 1 |\langle u(\cdot,r),A\phi\rangle|\leq\lVert A\phi\rVert_\infty\lVert u(\cdot,r)\rVert_{L^1} ∣ ⟨ u ( ⋅ , r ) , A ϕ ⟩ ∣ ≤ ∥ A ϕ ∥ ∞ ∥ u ( ⋅ , r ) ∥ L 1 . Hence t ↦ ⟨ u ( ⋅ , t ) , ϕ ⟩ t\mapsto\langle u(\cdot,t),\phi\rangle t ↦ ⟨ u ( ⋅ , t ) , ϕ ⟩ is absolutely continuous with derivative α λ ⟨ f ( ⋅ , t ) , ϕ ⟩ + ⟨ u ( ⋅ , t ) , A ϕ ⟩ \frac{\alpha}{\lambda}\langle f(\cdot,t),\phi\rangle+\langle u(\cdot,t),A\phi\rangle λ α ⟨ f ( ⋅ , t ) , ϕ ⟩ + ⟨ u ( ⋅ , t ) , A ϕ ⟩ , where ⟨ f ( ⋅ , t ) , ϕ ⟩ = − q b h e , L ( t ) ⟨ μ , ϕ ⟩ \langle f(\cdot,t),\phi\rangle=-q_{\mathrm{bhe},L}(t)\langle\mu,\phi\rangle ⟨ f ( ⋅ , t ) , ϕ ⟩ = − q bhe , L ( t ) ⟨ μ , ϕ ⟩ , for a.e. t ∈ ( 0 , T ) t\in(0,T) t ∈ ( 0 , T ) . Multiplying by ζ ∈ C c ∞ ( 0 , T ) \zeta\in C^\infty_c(0,T) ζ ∈ C c ∞ ( 0 , T ) and integrating by parts in t t t gives (8) . Finally, u ( ⋅ , 0 ) = 0 u(\cdot,0)=0 u ( ⋅ , 0 ) = 0 , and for every ϕ ∈ S ( R 3 ) \phi\in\mathcal{S}(\mathbb{R}^3) ϕ ∈ S ( R 3 ) the map t ↦ ⟨ u ( ⋅ , t ) , ϕ ⟩ t\mapsto\langle u(\cdot,t),\phi\rangle t ↦ ⟨ u ( ⋅ , t ) , ϕ ⟩ is continuous by (A.1) and dominated convergence, so u ∈ C ( [ 0 , T ] ; S ′ ( R 3 ) ) u\in C([0,T];\mathcal{S}'(\mathbb{R}^3)) u ∈ C ([ 0 , T ] ; S ′ ( R 3 )) .
Lemma 3 (MFLS representation). Let q b h e , L ∈ L l o c 1 ( [ 0 , ∞ ) ) q_{\mathrm{bhe},L}\in L^1_{\mathrm{loc}}([0,\infty)) q bhe , L ∈ L loc 1 ([ 0 , ∞ )) and let f f f be the source (7) . At every point x = ( x x y , z ) \mathbf{x}=(\mathbf{x}_{xy},z) x = ( x x y , z ) with x x y ≠ p k \mathbf{x}_{xy}\ne\mathbf{p}^k x x y = p k for all k = 1 , … , N b k=1,\ldots,N_b k = 1 , … , N b , the function u ( ⋅ , t ) u(\cdot,t) u ( ⋅ , t ) from (12) is given by (13) , and the convolution integrals in (13) converge absolutely.
Proof. Since v z = 0 v_z=0 v z = 0 , Φ \Phi Φ factorizes as Φ ( x , τ ) = Φ H ( x x y − v x y τ , τ ) Φ V ( z , τ ) \Phi(\mathbf{x},\tau)=\Phi_H(\mathbf{x}_{xy}-\mathbf{v}_{xy}\tau,\tau)\Phi_V(z,\tau) Φ ( x , τ ) = Φ H ( x x y − v x y τ , τ ) Φ V ( z , τ ) with v x y = ( v x , v y ) \mathbf{v}_{xy}=(v_x,v_y) v x y = ( v x , v y ) , Φ H ( d , τ ) = e − ∥ d ∥ 2 / ( 4 α τ ) / ( 4 π α τ ) \Phi_H(\mathbf{d},\tau)=e^{-\|\mathbf{d}\|^2/(4\alpha\tau)}/(4\pi\alpha\tau) Φ H ( d , τ ) = e − ∥ d ∥ 2 / ( 4 α τ ) / ( 4 π α τ ) and Φ V ( z , τ ) = e − z 2 / ( 4 α τ ) / 4 π α τ \Phi_V(z,\tau)=e^{-z^2/(4\alpha\tau)}/\sqrt{4\pi\alpha\tau} Φ V ( z , τ ) = e − z 2 / ( 4 α τ ) / 4 π α τ . For the line source μ k \mu_k μ k , the convolution is therefore the product
( Φ ( ⋅ , τ ) ∗ μ k ) ( x ) = Φ H ( x x y − p k − v x y τ , τ ) ∫ R Φ V ( z − z ′ , τ ) ( 1 [ 0 , L ] − 1 [ − L , 0 ] ) ( z ′ ) d z ′ . (\Phi(\cdot,\tau)*\mu_k)(\mathbf{x})=\Phi_H(\mathbf{x}_{xy}-\mathbf{p}^k-\mathbf{v}_{xy}\tau,\tau)\int_{\mathbb{R}}\Phi_V(z-z',\tau)(\mathbb{1}_{[0,L]}-\mathbb{1}_{[-L,0]})(z')\,\mathrm{d}z'. ( Φ ( ⋅ , τ ) ∗ μ k ) ( x ) = Φ H ( x x y − p k − v x y τ , τ ) ∫ R Φ V ( z − z ′ , τ ) ( 1 [ 0 , L ] − 1 [ − L , 0 ] ) ( z ′ ) d z ′ .
With erf z = 2 π ∫ 0 z e − t 2 d t \operatorname{erf} z=\frac{2}{\sqrt{\pi}}\int_0^z e^{-t^2}\,\mathrm{d}t erf z = π 2 ∫ 0 z e − t 2 d t [54 Eq. 7.2.1] , the substitution ξ = ( z − z ′ ) / ( 2 α τ ) \xi=(z-z')/(2\sqrt{\alpha\tau}) ξ = ( z − z ′ ) / ( 2 α τ ) gives ∫ a b Φ V ( z − z ′ , τ ) d z ′ = 1 2 [ erf ( ( z − a ) / ( 2 α τ ) ) − erf ( ( z − b ) / ( 2 α τ ) ) ] \int_a^b\Phi_V(z-z',\tau)\,\mathrm{d}z'=\frac{1}{2}[\operatorname{erf}((z-a)/(2\sqrt{\alpha\tau}))-\operatorname{erf}((z-b)/(2\sqrt{\alpha\tau}))] ∫ a b Φ V ( z − z ′ , τ ) d z ′ = 2 1 [ erf (( z − a ) / ( 2 α τ )) − erf (( z − b ) / ( 2 α τ ))] , so that the z ′ z' z ′ -integral above equals
1 2 [ erf z 2 α τ + erf L − z 2 α τ ] − 1 2 [ erf L + z 2 α τ − erf z 2 α τ ] = Z ( z , τ , L ) . \frac{1}{2}\left[\operatorname{erf}\frac{z}{2\sqrt{\alpha\tau}}+\operatorname{erf}\frac{L-z}{2\sqrt{\alpha\tau}}\right]-\frac{1}{2}\left[\operatorname{erf}\frac{L+z}{2\sqrt{\alpha\tau}}-\operatorname{erf}\frac{z}{2\sqrt{\alpha\tau}}\right]=\mathcal{Z}(z,\tau,L). 2 1 [ erf 2 α τ z + erf 2 α τ L − z ] − 2 1 [ erf 2 α τ L + z − erf 2 α τ z ] = Z ( z , τ , L ) .
Let d = x x y − p k \mathbf{d}=\mathbf{x}_{xy}-\mathbf{p}^k d = x x y − p k and r = ∥ d ∥ r=\|\mathbf{d}\| r = ∥ d ∥ . From ∥ d − v x y τ ∥ 2 = r 2 − 2 τ ⟨ d , v x y ⟩ + ∥ v ∥ 2 τ 2 \|\mathbf{d}-\mathbf{v}_{xy}\tau\|^2=r^2-2\tau\langle\mathbf{d},\mathbf{v}_{xy}\rangle+\|\mathbf{v}\|^2\tau^2 ∥ d − v x y τ ∥ 2 = r 2 − 2 τ ⟨ d , v x y ⟩ + ∥ v ∥ 2 τ 2 ,
α λ Φ H ( d − v x y τ , τ ) = 1 4 π λ ⋅ 1 τ e − r 2 4 α τ ⋅ e ⟨ d , v ⟩ 2 α ⋅ e − ∥ v ∥ 2 τ 4 α = C λ R ( r , τ ) S v ( x x y , p k ) W v ( τ ) . \frac{\alpha}{\lambda}\Phi_H(\mathbf{d}-\mathbf{v}_{xy}\tau,\tau)=\frac{1}{4\pi\lambda}\cdot\frac{1}{\tau}e^{-\frac{r^2}{4\alpha\tau}}\cdot e^{\frac{\langle\mathbf{d},\mathbf{v}\rangle}{2\alpha}}\cdot e^{-\frac{\|\mathbf{v}\|^2\tau}{4\alpha}}=C_\lambda\mathcal{R}(r,\tau)\mathcal{S}_{\mathbf{v}}(\mathbf{x}_{xy},\mathbf{p}^k)\mathcal{W}_{\mathbf{v}}(\tau). λ α Φ H ( d − v x y τ , τ ) = 4 π λ 1 ⋅ τ 1 e − 4 α τ r 2 ⋅ e 2 α ⟨ d , v ⟩ ⋅ e − 4 α ∥ v ∥ 2 τ = C λ R ( r , τ ) S v ( x x y , p k ) W v ( τ ) .
Combining, we get α λ ( Φ ( ⋅ , τ ) ∗ μ k ) ( x ) = S v ( x x y , p k ) G ( r , z , τ , L ) \frac{\alpha}{\lambda}(\Phi(\cdot,\tau)*\mu_k)(\mathbf{x})=\mathcal{S}_{\mathbf{v}}(\mathbf{x}_{xy},\mathbf{p}^k)\mathcal{G}(r,z,\tau,L) λ α ( Φ ( ⋅ , τ ) ∗ μ k ) ( x ) = S v ( x x y , p k ) G ( r , z , τ , L ) . Inserting f = − q b h e , L ∑ k μ k f=-q_{\mathrm{bhe},L}\sum_k\mu_k f = − q bhe , L ∑ k μ k into (12) and substituting τ = t − s \tau=t-s τ = t − s gives (13) . For r > 0 r>0 r > 0 the integrand is absolutely integrable, because G ( r , z , ⋅ , L ) \mathcal{G}(r,z,\cdot,L) G ( r , z , ⋅ , L ) is bounded for every z ∈ R z\in\mathbb{R} z ∈ R and q b h e , L ∈ L 1 ( 0 , t ) q_{\mathrm{bhe},L}\in L^1(0,t) q bhe , L ∈ L 1 ( 0 , t ) . Its factors are bounded: for a , c > 0 a,c>0 a , c > 0 ,
sup τ > 0 τ − a e − c / τ = ( a e c ) a . (42) \sup_{\tau>0}\tau^{-a}e^{-c/\tau}=\left(\frac{a}{ec}\right)^a. \tag*{(42)} τ > 0 sup τ − a e − c / τ = ( ec a ) a . (42)
so R ( r , ⋅ ) ≤ 4 α / ( e r 2 ) \mathcal{R}(r,\cdot)\leq4\alpha/(er^2) R ( r , ⋅ ) ≤ 4 α / ( e r 2 ) , further 0 < W v ≤ 1 0<\mathcal{W}_{\mathbf{v}}\leq1 0 < W v ≤ 1 , and ∣ Z ( z , τ , L ) ∣ ≤ ∫ − L L Φ V ( z − z ′ , τ ) d z ′ ≤ ∫ R Φ V ( z − z ′ , τ ) d z ′ = 1 |\mathcal{Z}(z,\tau,L)|\leq\int_{-L}^{L}\Phi_V(z-z',\tau)\,\mathrm{d}z'\leq\int_{\mathbb{R}}\Phi_V(z-z',\tau)\,\mathrm{d}z'=1 ∣ Z ( z , τ , L ) ∣ ≤ ∫ − L L Φ V ( z − z ′ , τ ) d z ′ ≤ ∫ R Φ V ( z − z ′ , τ ) d z ′ = 1 , since ∣ 1 [ 0 , L ] − 1 [ − L , 0 ] ∣ = 1 [ − L , L ] |\mathbb{1}_{[0,L]}-\mathbb{1}_{[-L,0]}|=\mathbb{1}_{[-L,L]} ∣ 1 [ 0 , L ] − 1 [ − L , 0 ] ∣ = 1 [ − L , L ] almost everywhere.
The restriction r > 0 r>0 r > 0 is essential: for r = 0 r=0 r = 0 we have R = 1 / τ \mathcal{R}=1/\tau R = 1/ τ and Z → ± 1 \mathcal{Z}\to\pm1 Z → ± 1 as τ ↓ 0 \tau\downarrow0 τ ↓ 0 for 0 < ± z < L 0<\pm z<L 0 < ± z < L , so the integrand in (13) behaves like 1 / τ 1/\tau 1/ τ near τ = 0 \tau=0 τ = 0 (the logarithmic singularity of the line source). On compact subsets of R 3 ∖ ⋃ k ( { p k } × R ) \mathbb{R}^3\setminus\bigcup_k(\{\mathbf{p}^k\}\times\mathbb{R}) R 3 ∖ ⋃ k ({ p k } × R ) , the bounds above are uniform in x \mathbf{x} x , so by dominated convergence (13) is continuous in x \mathbf{x} x there and gives the canonical representative of the L 1 L^1 L 1 class u ( ⋅ , t ) u(\cdot,t) u ( ⋅ , t ) .
Lemma 4 (Uniqueness). Problem (6) has at most one solution in the sense of Definition 1.
Proof. Let w w w be the difference of two solutions. Then w ∈ C ( [ 0 , T ] ; S ′ ( R 3 ) ) w\in C([0,T];\mathcal{S}'(\mathbb{R}^3)) w ∈ C ([ 0 , T ] ; S ′ ( R 3 )) , w ( 0 ) = 0 w(0)=0 w ( 0 ) = 0 , and w w w satisfies (8) with f = 0 f=0 f = 0 . Since t ↦ ⟨ w ( t ) , ϕ ⟩ t\mapsto\langle w(t),\phi\rangle t ↦ ⟨ w ( t ) , ϕ ⟩ is continuous on [ 0 , T ] [0,T] [ 0 , T ] for every ϕ ∈ S ( R 3 ) \phi\in\mathcal{S}(\mathbb{R}^3) ϕ ∈ S ( R 3 ) , the family { w ( t ) } t ∈ [ 0 , T ] \{w(t)\}_{t\in[0,T]} { w ( t ) } t ∈ [ 0 , T ] is pointwise bounded on the Fréchet space S ( R 3 ) \mathcal{S}(\mathbb{R}^3) S ( R 3 ) . It is therefore equicontinuous [55 Thm. 2.6] : there are C ≥ 0 C\geq0 C ≥ 0 and m ∈ N m\in\mathbb{N} m ∈ N with
∣ ⟨ w ( t ) , ϕ ⟩ ∣ ≤ C ∑ ∣ μ ∣ ≤ m sup y ∈ R 3 ( 1 + ∥ y ∥ ) m ∣ ∂ μ ϕ ( y ) ∣ for all t ∈ [ 0 , T ] , ϕ ∈ S ( R 3 ) . |\langle w(t),\phi\rangle|\leq C\sum_{|\mu|\leq m}\sup_{\mathbf{y}\in\mathbb{R}^3}(1+\|\mathbf{y}\|)^m|\partial^\mu\phi(\mathbf{y})|\qquad\text{for all }t\in[0,T],\ \phi\in\mathcal{S}(\mathbb{R}^3). ∣ ⟨ w ( t ) , ϕ ⟩ ∣ ≤ C ∣ μ ∣ ≤ m ∑ y ∈ R 3 sup ( 1 + ∥ y ∥ ) m ∣ ∂ μ ϕ ( y ) ∣ for all t ∈ [ 0 , T ] , ϕ ∈ S ( R 3 ) .
Fix ω ∈ C c ∞ ( R 3 ) \omega\in C^\infty_c(\mathbb{R}^3) ω ∈ C c ∞ ( R 3 ) and set w ω ( x , t ) : = ⟨ w ( t ) , ω ( x − ⋅ ) ⟩ w_\omega(\mathbf{x},t):=\langle w(t),\omega(\mathbf{x}-\cdot)\rangle w ω ( x , t ) := ⟨ w ( t ) , ω ( x − ⋅ )⟩ . Since x ↦ ω ( x − ⋅ ) \mathbf{x}\mapsto\omega(\mathbf{x}-\cdot) x ↦ ω ( x − ⋅ ) is smooth with values in S ( R 3 ) \mathcal{S}(\mathbb{R}^3) S ( R 3 ) , the estimate above shows that w ω w_\omega w ω is smooth in x \mathbf{x} x with ∂ x μ w ω ( x , t ) = ⟨ w ( t ) , ( ∂ μ ω ) ( x − ⋅ ) ⟩ \partial^\mu_{\mathbf{x}}w_\omega(\mathbf{x},t)=\langle w(t),(\partial^\mu\omega)(\mathbf{x}-\cdot)\rangle ∂ x μ w ω ( x , t ) = ⟨ w ( t ) , ( ∂ μ ω ) ( x − ⋅ )⟩ and that, for fixed t t t , all these derivatives are continuous in x \mathbf{x} x . Moreover, they are jointly continuous on R 3 × [ 0 , T ] \mathbb{R}^3\times[0,T] R 3 × [ 0 , T ] : let ( x n , t n ) → ( x , t ) (\mathbf{x}_n,t_n)\to(\mathbf{x},t) ( x n , t n ) → ( x , t ) , ψ n : = ( ∂ μ ω ) ( x n − ⋅ ) \psi_n:=(\partial^\mu\omega)(\mathbf{x}_n-\cdot) ψ n := ( ∂ μ ω ) ( x n − ⋅ ) and ψ : = ( ∂ μ ω ) ( x − ⋅ ) \psi:=(\partial^\mu\omega)(\mathbf{x}-\cdot) ψ := ( ∂ μ ω ) ( x − ⋅ ) . Then ψ n → ψ \psi_n\to\psi ψ n → ψ in S ( R 3 ) \mathcal{S}(\mathbb{R}^3) S ( R 3 ) , since all ψ n \psi_n ψ n are supported in a fixed compact set and depend smoothly on x n \mathbf{x}_n x n . Hence ∣ ⟨ w ( t n ) , ψ n ⟩ − ⟨ w ( t ) , ψ ⟩ ∣ ≤ ∣ ⟨ w ( t n ) , ψ n − ψ ⟩ ∣ + ∣ ⟨ w ( t n ) − w ( t ) , ψ ⟩ ∣ |\langle w(t_n),\psi_n\rangle-\langle w(t),\psi\rangle|\leq|\langle w(t_n),\psi_n-\psi\rangle|+|\langle w(t_n)-w(t),\psi\rangle| ∣ ⟨ w ( t n ) , ψ n ⟩ − ⟨ w ( t ) , ψ ⟩ ∣ ≤ ∣ ⟨ w ( t n ) , ψ n − ψ ⟩ ∣ + ∣ ⟨ w ( t n ) − w ( t ) , ψ ⟩ ∣ . The first term is bounded by C ∑ ∣ μ ′ ∣ ≤ m sup y ( 1 + ∥ y ∥ ) m ∣ ∂ μ ′ ( ψ n − ψ ) ( y ) ∣ → 0 C\sum_{|\mu'|\leq m}\sup_y(1+\|y\|)^m|\partial^{\mu'}(\psi_n-\psi)(y)|\to0 C ∑ ∣ μ ′ ∣ ≤ m sup y ( 1 + ∥ y ∥ ) m ∣ ∂ μ ′ ( ψ n − ψ ) ( y ) ∣ → 0 by the estimate above, which is uniform in t t t . The second term tends to 0 0 0 because t ↦ ⟨ w ( t ) , ψ ⟩ t\mapsto\langle w(t),\psi\rangle t ↦ ⟨ w ( t ) , ψ ⟩ is continuous. With 1 + ∥ y ∥ ≤ ( 1 + ∥ x ∥ ) ( 1 + ∥ x − y ∥ ) 1+\|y\|\leq(1+\|\mathbf{x}\|)(1+\|\mathbf{x}-y\|) 1 + ∥ y ∥ ≤ ( 1 + ∥ x ∥ ) ( 1 + ∥ x − y ∥ ) , it also gives ∣ ∂ x μ w ω ( x , t ) ∣ ≤ C μ ( 1 + ∥ x ∥ ) m |\partial^\mu_{\mathbf{x}}w_\omega(\mathbf{x},t)|\leq C_\mu(1+\|\mathbf{x}\|)^m ∣ ∂ x μ w ω ( x , t ) ∣ ≤ C μ ( 1 + ∥ x ∥ ) m uniformly in t ∈ [ 0 , T ] t\in[0,T] t ∈ [ 0 , T ] .
Testing (8) with ϕ = ω ( x − ⋅ ) ∈ C c ∞ ( R 3 ) \phi=\omega(\mathbf{x}-\cdot)\in C^\infty_c(\mathbb{R}^3) ϕ = ω ( x − ⋅ ) ∈ C c ∞ ( R 3 ) , for which ∇ ϕ = − ( ∇ ω ) ( x − ⋅ ) \nabla\phi=-(\nabla\omega)(\mathbf{x}-\cdot) ∇ ϕ = − ( ∇ ω ) ( x − ⋅ ) and Δ ϕ = ( Δ ω ) ( x − ⋅ ) \Delta\phi=(\Delta\omega)(\mathbf{x}-\cdot) Δ ϕ = ( Δ ω ) ( x − ⋅ ) , gives ∂ t w ω ( x , ⋅ ) = − v ⋅ ∇ x w ω ( x , ⋅ ) + α Δ x w ω ( x , ⋅ ) \partial_tw_\omega(\mathbf{x},\cdot)=-\mathbf{v}\cdot\nabla_{\mathbf{x}}w_\omega(\mathbf{x},\cdot)+\alpha\Delta_{\mathbf{x}}w_\omega(\mathbf{x},\cdot) ∂ t w ω ( x , ⋅ ) = − v ⋅ ∇ x w ω ( x , ⋅ ) + α Δ x w ω ( x , ⋅ ) in D ′ ( 0 , T ) \mathcal{D}'(0,T) D ′ ( 0 , T ) for every x ∈ R 3 \mathbf{x}\in\mathbb{R}^3 x ∈ R 3 . The right-hand side is continuous on R 3 × [ 0 , T ] \mathbb{R}^3\times[0,T] R 3 × [ 0 , T ] , so w ω ( x , ⋅ ) ∈ C 1 ( [ 0 , T ] ) w_\omega(\mathbf{x},\cdot)\in C^1([0,T]) w ω ( x , ⋅ ) ∈ C 1 ([ 0 , T ]) , the equation holds pointwise, and w ω ( x , 0 ) = 0 w_\omega(\mathbf{x},0)=0 w ω ( x , 0 ) = 0 . The function W ( y , s ) : = w ω ( y + v s / α , s / α ) W(y,s):=w_\omega(y+\mathbf{v}s/\alpha,s/\alpha) W ( y , s ) := w ω ( y + v s / α , s / α ) therefore solves ∂ s W = Δ W \partial_sW=\Delta W ∂ s W = Δ W in R 3 × ( 0 , α T ] \mathbb{R}^3\times(0,\alpha T] R 3 × ( 0 , α T ] with W ( ⋅ , 0 ) = 0 W(\cdot,0)=0 W ( ⋅ , 0 ) = 0 . It belongs to C 1 2 ( R 3 × ( 0 , α T ] ) ∩ C ( R 3 × [ 0 , α T ] ) C^2_1(\mathbb{R}^3\times(0,\alpha T])\cap C(\mathbb{R}^3\times[0,\alpha T]) C 1 2 ( R 3 × ( 0 , α T ]) ∩ C ( R 3 × [ 0 , α T ]) and grows at most polynomially in y y y . By the uniqueness theorem for the Cauchy problem of the heat equation [37 Sec. 2.3.3, Thm. 7] , W ≡ 0 W\equiv0 W ≡ 0 , i.e. w ω ≡ 0 w_\omega\equiv0 w ω ≡ 0 .
Finally, for ϕ ∈ C c ∞ ( R 3 ) \phi\in C^\infty_c(\mathbb{R}^3) ϕ ∈ C c ∞ ( R 3 ) choose ω : = ϕ ( − ⋅ ) \omega:=\phi(-\cdot) ω := ϕ ( − ⋅ ) . Then ⟨ w ( t ) , ϕ ⟩ = w ω ( 0 , t ) = 0 \langle w(t),\phi\rangle=w_\omega(0,t)=0 ⟨ w ( t ) , ϕ ⟩ = w ω ( 0 , t ) = 0 , and since C c ∞ ( R 3 ) C^\infty_c(\mathbb{R}^3) C c ∞ ( R 3 ) is dense in S ( R 3 ) \mathcal{S}(\mathbb{R}^3) S ( R 3 ) , w ( t ) = 0 w(t)=0 w ( t ) = 0 for all t ∈ [ 0 , T ] t\in[0,T] t ∈ [ 0 , T ] . □ \square □
Proof of Theorem 1. Since q b h e , L ∈ L 1 ( 0 , T ) q_{\mathrm{bhe},L}\in L^1(0,T) q bhe , L ∈ L 1 ( 0 , T ) , Lemma 2 shows that (12) defines a solution with ∥ u ( ⋅ , t ) ∥ L 1 ≤ α λ 2 L N b ∫ 0 t ∣ q b h e , L ∣ \|u(\cdot,t)\|_{L^1}\leq\frac{\alpha}{\lambda}2LN_b\int_0^t|q_{\mathrm{bhe},L}| ∥ u ( ⋅ , t ) ∥ L 1 ≤ λ α 2 L N b ∫ 0 t ∣ q bhe , L ∣ ; the second expression in (12) follows from f ( ⋅ , s ) = − q b h e , L ( s ) μ f(\cdot,s)=-q_{\mathrm{bhe},L}(s)\,\mu f ( ⋅ , s ) = − q bhe , L ( s ) μ . By Lemma 4, this solution is the only one. Lemma 3 gives the representation (13) . □ \square □
Closed Form of the Integrated Vertical Response
This appendix evaluates the integrated vertical response Y \mathcal{Y} Y from (24) in closed form. Throughout, τ > 0 \tau>0 τ > 0 , L > 0 L>0 L > 0 and ϑ : = L / ( 2 α τ ) > 0 \vartheta:=L/(2\sqrt{\alpha\tau})>0 ϑ := L / ( 2 α τ ) > 0 . Recall Y ( τ ; L ) = ∫ 0 L Z ( z , τ , L ) w L ( z ) d z \mathcal{Y}(\tau;L)=\int_0^L\mathcal{Z}(z,\tau,L)w_L(z)\,\mathrm{d}z Y ( τ ; L ) = ∫ 0 L Z ( z , τ , L ) w L ( z ) d z with w L ( z ) = N W ( L − z ) / D W ( L ) w_L(z)=N_W(L-z)/D_W(L) w L ( z ) = N W ( L − z ) / D W ( L ) , where N W ( z ) = C 1 e M 1 z + C 2 e M 2 z N_W(z)=C_1e^{M_1z}+C_2e^{M_2z} N W ( z ) = C 1 e M 1 z + C 2 e M 2 z and D W D_W D W are given in (4) , and Z \mathcal{Z} Z in (10) . Since γ 2 − β 2 = β 1 β 2 + β 12 ( β 1 + β 2 ) > 0 \gamma^2-\beta^2=\beta_1\beta_2+\beta_{12}(\beta_1+\beta_2)>0 γ 2 − β 2 = β 1 β 2 + β 12 ( β 1 + β 2 ) > 0 , the exponents M 1 , 2 = β ± γ M_{1,2}=\beta\pm\gamma M 1 , 2 = β ± γ satisfy M 1 > 0 > M 2 M_1>0>M_2 M 1 > 0 > M 2 . In particular M 1 , M 2 ≠ 0 M_1,M_2\ne0 M 1 , M 2 = 0 .
Proposition 4 (Closed form of Y \mathcal{Y} Y ). For ϑ > 0 \vartheta>0 ϑ > 0 and σ ∈ R ∖ { 0 } \sigma\in\mathbb{R}\setminus\{0\} σ ∈ R ∖ { 0 } let
I ( ϑ , σ ) : = 1 2 ∫ 0 1 K 0 ( x , ϑ ) e σ ( 1 − x ) d x , K 0 ( x , ϑ ) : = erf ( ϑ ( 1 − x ) ) + 2 erf ( ϑ x ) − erf ( ϑ ( 1 + x ) ) . \mathcal{I}(\vartheta,\sigma):=\frac{1}{2}\int_0^1K_0(x,\vartheta)e^{\sigma(1-x)}\,\mathrm{d}x,\qquad K_0(x,\vartheta):=\operatorname{erf}(\vartheta(1-x))+2\operatorname{erf}(\vartheta x)-\operatorname{erf}(\vartheta(1+x)). I ( ϑ , σ ) := 2 1 ∫ 0 1 K 0 ( x , ϑ ) e σ ( 1 − x ) d x , K 0 ( x , ϑ ) := erf ( ϑ ( 1 − x )) + 2 erf ( ϑ x ) − erf ( ϑ ( 1 + x )) . Then
Y ( τ ; L ) = L D W ( L ) [ C 1 I ( ϑ , M 1 L ) + C 2 I ( ϑ , M 2 L ) ] (43) \mathcal{Y}(\tau;L)=\frac{L}{D_W(L)}\left[C_1\mathcal{I}(\vartheta,M_1L)+C_2\mathcal{I}(\vartheta,M_2L)\right] \tag*{(43)} Y ( τ ; L ) = D W ( L ) L [ C 1 I ( ϑ , M 1 L ) + C 2 I ( ϑ , M 2 L ) ] (43) and
I ( ϑ , σ ) = 1 2 σ [ erf ( 2 ϑ ) − 2 erf ( ϑ ) + Q ( 0 , ϑ , σ ) − 2 Q ( 1 , ϑ , σ ) + Q ( 2 , ϑ , σ ) ] . (44) \mathcal{I}(\vartheta,\sigma)=\frac{1}{2\sigma}\left[\operatorname{erf}(2\vartheta)-2\operatorname{erf}(\vartheta)+\mathcal{Q}(0,\vartheta,\sigma)-2\mathcal{Q}(1,\vartheta,\sigma)+\mathcal{Q}(2,\vartheta,\sigma)\right]. \tag*{(44)} I ( ϑ , σ ) = 2 σ 1 [ erf ( 2 ϑ ) − 2 erf ( ϑ ) + Q ( 0 , ϑ , σ ) − 2 Q ( 1 , ϑ , σ ) + Q ( 2 , ϑ , σ ) ] . (44)
where
Q ( n , ϑ , σ ) : = exp ( σ 2 4 ϑ 2 + n σ ) [ erf ( σ 2 ϑ + ( n − 1 ) ϑ ) − erf ( σ 2 ϑ + n ϑ ) ] . Q(n,\vartheta,\sigma) := \exp\left(\frac{\sigma^2}{4\vartheta^2}+n\sigma\right)\left[\operatorname{erf}\left(\frac{\sigma}{2\vartheta}+(n-1)\vartheta\right)-\operatorname{erf}\left(\frac{\sigma}{2\vartheta}+n\vartheta\right)\right]. Q ( n , ϑ , σ ) := exp ( 4 ϑ 2 σ 2 + nσ ) [ erf ( 2 ϑ σ + ( n − 1 ) ϑ ) − erf ( 2 ϑ σ + n ϑ ) ] .
Proof. Step 1: Reduction to L L L . With z = L x z=Lx z = Lx we have Z ( L x , τ , L ) = 1 2 K 0 ( x , ϑ ) \mathcal{Z}(Lx,\tau,L)=\frac{1}{2}K_0(x,\vartheta) Z ( Lx , τ , L ) = 2 1 K 0 ( x , ϑ ) and N W ( L − L x ) = ∑ l = 1 2 C l e M l L ( 1 − x ) N_W(L-Lx)=\sum_{l=1}^{2}C_l e^{M_lL(1-x)} N W ( L − Lx ) = ∑ l = 1 2 C l e M l L ( 1 − x ) , hence D W ( L ) Y ( τ ; L ) = L ∑ l = 1 2 C l I ( ϑ , M l L ) D_W(L)\mathcal{Y}(\tau;L)=L\sum_{l=1}^{2}C_l\mathcal{I}(\vartheta,M_lL) D W ( L ) Y ( τ ; L ) = L ∑ l = 1 2 C l I ( ϑ , M l L ) , which is (B.1).
Step 2: Evaluation of I \mathcal{I} I . Split 2 I = J 1 + 2 J 2 − J 3 2\mathcal{I}=J_1+2J_2-J_3 2 I = J 1 + 2 J 2 − J 3 with
J 1 = ∫ 0 1 erf ( ϑ y ) e σ y d y , J 2 = ∫ 0 1 erf ( ϑ x ) e σ ( 1 − x ) d x , J 3 = ∫ 0 1 erf ( ϑ ( 1 + x ) ) e σ ( 1 − x ) d x , J_1=\int_0^1\operatorname{erf}(\vartheta y)e^{\sigma y}\,dy,\qquad J_2=\int_0^1\operatorname{erf}(\vartheta x)e^{\sigma(1-x)}\,dx,\qquad J_3=\int_0^1\operatorname{erf}(\vartheta(1+x))e^{\sigma(1-x)}\,dx, J 1 = ∫ 0 1 erf ( ϑ y ) e σ y d y , J 2 = ∫ 0 1 erf ( ϑ x ) e σ ( 1 − x ) d x , J 3 = ∫ 0 1 erf ( ϑ ( 1 + x )) e σ ( 1 − x ) d x ,
where we substituted y = 1 − x y=1-x y = 1 − x in the first integral. The antiderivative of erf ( a z + b ) e δ z + c \operatorname{erf}(az+b)e^{\delta z+c} erf ( a z + b ) e δ z + c [56 1.5.1] gives
J 1 = 1 σ [ e σ erf ( ϑ ) + Q ( 0 , ϑ , σ ) ] , J 2 = − 1 σ [ erf ( ϑ ) + Q ( 1 , ϑ , σ ) ] , J_1=\frac{1}{\sigma}\left[e^\sigma\operatorname{erf}(\vartheta)+Q(0,\vartheta,\sigma)\right],\qquad J_2=-\frac{1}{\sigma}\left[\operatorname{erf}(\vartheta)+Q(1,\vartheta,\sigma)\right], J 1 = σ 1 [ e σ erf ( ϑ ) + Q ( 0 , ϑ , σ ) ] , J 2 = − σ 1 [ erf ( ϑ ) + Q ( 1 , ϑ , σ ) ] ,
J 3 = − 1 σ [ erf ( 2 ϑ ) − e σ erf ( ϑ ) + Q ( 2 , ϑ , σ ) ] . J_3=-\frac{1}{\sigma}\left[\operatorname{erf}(2\vartheta)-e^\sigma\operatorname{erf}(\vartheta)+Q(2,\vartheta,\sigma)\right]. J 3 = − σ 1 [ erf ( 2 ϑ ) − e σ erf ( ϑ ) + Q ( 2 , ϑ , σ ) ] .
Step 3: Assembly. Inserting these expressions into 2 I = J 1 + 2 J 2 − J 3 2\mathcal{I}=J_1+2J_2-J_3 2 I = J 1 + 2 J 2 − J 3 cancels the terms with e σ erf ( ϑ ) e^\sigma\operatorname{erf}(\vartheta) e σ erf ( ϑ ) and gives (B.2).
Remark 2 (Symmetric BHEs). For symmetric BHEs with R 1 Δ = R 2 Δ R_1^\Delta=R_2^\Delta R 1 Δ = R 2 Δ , such as 1 U 1U 1 U and 2 U 2U 2 U configurations, β 1 = β 2 \beta_1=\beta_2 β 1 = β 2 and hence β = 0 \beta=0 β = 0 . Then M 1 , 2 = ± γ M_{1,2}=\pm\gamma M 1 , 2 = ± γ , C 1 = C 2 = ν γ C_1=C_2=\nu\gamma C 1 = C 2 = ν γ and D W ( L ) = cosh ( γ L ) + ν sinh ( γ L ) D_W(L)=\cosh(\gamma L)+\nu\sinh(\gamma L) D W ( L ) = cosh ( γ L ) + ν sinh ( γ L ) . With σ : = γ L \sigma:=\gamma L σ := γ L , (B.1) becomes
Y ( τ ; L ) = ν 2 ( cosh σ + ν sinh σ ) ∑ n = 0 2 ( 2 n ) ( − 1 ) n [ Q ( n , ϑ , σ ) − Q ( n , ϑ , − σ ) ] . (45) \mathcal{Y}(\tau;L)=\frac{\nu}{2(\cosh\sigma+\nu\sinh\sigma)}\sum_{n=0}^{2}\binom{2}{n}(-1)^n\left[Q(n,\vartheta,\sigma)-Q(n,\vartheta,-\sigma)\right]. \tag*{(45)} Y ( τ ; L ) = 2 ( cosh σ + ν sinh σ ) ν n = 0 ∑ 2 ( n 2 ) ( − 1 ) n [ Q ( n , ϑ , σ ) − Q ( n , ϑ , − σ ) ] . (45)
Closed Form of Voronoi Centroids
This appendix proves Lemma 1. We use the notation of the lemma and write, with the vertex indices understood cyclically,
Δ P i : = P i + 1 − P i , ℓ i : = ∥ Δ P i ∥ , n i : = Δ P i ⊥ ℓ i . \Delta\mathbf{P}_i:=\mathbf{P}_{i+1}-\mathbf{P}_i,\qquad\ell_i:=\lVert\Delta\mathbf{P}_i\rVert,\qquad\mathbf{n}_i:=\frac{\Delta\mathbf{P}_i^\perp}{\ell_i}. Δ P i := P i + 1 − P i , ℓ i := ∥ Δ P i ∥ , n i := ℓ i Δ P i ⊥ .
For a counter-clockwise oriented polygon, n i \mathbf{n}_i n i is the outward unit normal of the edge S i S_i S i . By the definitions of n i \mathbf{n}_i n i and W i W_i W i ,
( a ⋅ n i ) ℓ i = W i , n i ℓ i = Δ P i ⊥ . (46) (\mathbf{a}\cdot\mathbf{n}_i)\ell_i=W_i,\qquad\mathbf{n}_i\ell_i=\Delta\mathbf{P}_i^\perp. \tag*{(46)} ( a ⋅ n i ) ℓ i = W i , n i ℓ i = Δ P i ⊥ . (46)
Parametrizing the edge by x ( t ) = P i + t Δ P i \mathbf{x}(t)=\mathbf{P}_i+t\Delta\mathbf{P}_i x ( t ) = P i + t Δ P i , t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] , we have d s = ℓ i d t ds=\ell_i\,dt d s = ℓ i d t and a ⋅ x ( t ) = f i + t Δ f i \mathbf{a}\cdot\mathbf{x}(t)=f_i+t\Delta f_i a ⋅ x ( t ) = f i + t Δ f i . We define the edge integrals
E i , 0 : = ∫ 0 1 e f i + t Δ f i d t , E i , 1 : = ∫ 0 1 t e f i + t Δ f i d t . (47) \mathcal{E}_{i,0}:=\int_0^1 e^{f_i+t\Delta f_i}\,dt,\qquad\mathcal{E}_{i,1}:=\int_0^1 t e^{f_i+t\Delta f_i}\,dt. \tag*{(47)} E i , 0 := ∫ 0 1 e f i + t Δ f i d t , E i , 1 := ∫ 0 1 t e f i + t Δ f i d t . (47)
Proof of Lemma 1. The weighted centroid is g = M V / M V \mathbf{g}=\mathbf{M}_V/M_V g = M V / M V with the mass M V M_V M V and the first moment M V \mathbf{M}_V M V ,
M V : = ∬ V e a ⋅ x d A , M V : = ∬ V x e a ⋅ x d A . M_V := \iint_V e^{\mathbf{a}\cdot\mathbf{x}}\,dA,\qquad\mathbf{M}_V := \iint_V \mathbf{x}e^{\mathbf{a}\cdot\mathbf{x}}\,dA. M V := ∬ V e a ⋅ x d A , M V := ∬ V x e a ⋅ x d A .
We use the divergence theorem ∬ V ∇ ⋅ G d A = ∮ ∂ V G ⋅ n d s \iint_V \nabla\cdot\mathbf{G}\,dA=\oint_{\partial V}\mathbf{G}\cdot\mathbf{n}\,ds ∬ V ∇ ⋅ G d A = ∮ ∂ V G ⋅ n d s [57 Thm. 5.8.1] , where n = n i \mathbf{n}=\mathbf{n}_i n = n i is constant on every edge S i S_i S i .
Step 1: The edge integrals. With ∫ 0 1 e z t d t = ϕ 1 ( z ) \int_0^1 e^{zt}\,dt=\phi_1(z) ∫ 0 1 e z t d t = ϕ 1 ( z ) and, by integration by parts, ∫ 0 1 t e z t d t = ϕ 1 ( z ) − ϕ 2 ( z ) \int_0^1 te^{zt}\,dt=\phi_1(z)-\phi_2(z) ∫ 0 1 t e z t d t = ϕ 1 ( z ) − ϕ 2 ( z ) for z = Δ f i z=\Delta f_i z = Δ f i , the integrals (C.2) are those of Lemma 1.
Step 2: The mass. The vector field F ( x ) : = ∥ a ∥ − 2 e a ⋅ x a \mathbf{F}(\mathbf{x}):=\lVert\mathbf{a}\rVert^{-2}e^{\mathbf{a}\cdot\mathbf{x}}\mathbf{a} F ( x ) := ∥ a ∥ − 2 e a ⋅ x a satisfies ∇ ⋅ F = ∥ a ∥ − 2 ( a ⋅ a ) e a ⋅ x = e a ⋅ x \nabla\cdot\mathbf{F}=\lVert\mathbf{a}\rVert^{-2}(\mathbf{a}\cdot\mathbf{a})e^{\mathbf{a}\cdot\mathbf{x}}=e^{\mathbf{a}\cdot\mathbf{x}} ∇ ⋅ F = ∥ a ∥ − 2 ( a ⋅ a ) e a ⋅ x = e a ⋅ x . The divergence theorem, the parametrization of the edges and (C.1) give
M V = ∑ i a ⋅ n i ∥ a ∥ 2 ∫ S i e a ⋅ x d s = 1 ∥ a ∥ 2 ∑ i ( a ⋅ n i ) ℓ i E i , 0 = 1 ∥ a ∥ 2 ∑ i W i E i , 0 . (48) M_V=\sum_i\frac{\mathbf{a}\cdot\mathbf{n}_i}{\lVert\mathbf{a}\rVert^2}\int_{S_i}e^{\mathbf{a}\cdot\mathbf{x}}\,ds=\frac{1}{\lVert\mathbf{a}\rVert^2}\sum_i(\mathbf{a}\cdot\mathbf{n}_i)\ell_i E_{i,0}=\frac{1}{\lVert\mathbf{a}\rVert^2}\sum_i W_iE_{i,0}. \tag*{(48)} M V = i ∑ ∥ a ∥ 2 a ⋅ n i ∫ S i e a ⋅ x d s = ∥ a ∥ 2 1 i ∑ ( a ⋅ n i ) ℓ i E i , 0 = ∥ a ∥ 2 1 i ∑ W i E i , 0 . (48)
Step 3: The first moment. For j ∈ { 1 , 2 } j\in\{1,2\} j ∈ { 1 , 2 } let Q j ( x ) : = ∥ a ∥ − 2 e a ⋅ x ( x j a − e j ) \mathbf{Q}_j(\mathbf{x}):=\lVert\mathbf{a}\rVert^{-2}e^{\mathbf{a}\cdot\mathbf{x}}(x_j\mathbf{a}-\mathbf{e}_j) Q j ( x ) := ∥ a ∥ − 2 e a ⋅ x ( x j a − e j ) . By the product rule,
∇ ⋅ Q j = e a ⋅ x ∥ a ∥ 2 ( a ⋅ ( x j a − e j ) + ∇ ⋅ ( x j a ) ) = e a ⋅ x ∥ a ∥ 2 ( x j ∥ a ∥ 2 − a j + a j ) = x j e a ⋅ x . \nabla\cdot\mathbf{Q}_j=\frac{e^{\mathbf{a}\cdot\mathbf{x}}}{\lVert\mathbf{a}\rVert^2}\left(\mathbf{a}\cdot(x_j\mathbf{a}-\mathbf{e}_j)+\nabla\cdot(x_j\mathbf{a})\right)=\frac{e^{\mathbf{a}\cdot\mathbf{x}}}{\lVert\mathbf{a}\rVert^2}\left(x_j\lVert\mathbf{a}\rVert^2-a_j+a_j\right)=x_je^{\mathbf{a}\cdot\mathbf{x}}. ∇ ⋅ Q j = ∥ a ∥ 2 e a ⋅ x ( a ⋅ ( x j a − e j ) + ∇ ⋅ ( x j a ) ) = ∥ a ∥ 2 e a ⋅ x ( x j ∥ a ∥ 2 − a j + a j ) = x j e a ⋅ x .
The divergence theorem, applied to both components, yields
M V = 1 ∥ a ∥ 2 ∑ i ∫ S i e a ⋅ x [ ( a ⋅ n i ) x − n i ] d s = 1 ∥ a ∥ 2 ∑ i ℓ i ∫ 0 1 e f i + t Δ f i [ ( a ⋅ n i ) ( P i + t Δ P i ) − n i ] d t . \mathbf{M}_V=\frac{1}{\lVert\mathbf{a}\rVert^2}\sum_i\int_{S_i}e^{\mathbf{a}\cdot\mathbf{x}}\left[(\mathbf{a}\cdot\mathbf{n}_i)\mathbf{x}-\mathbf{n}_i\right]\,ds=\frac{1}{\lVert\mathbf{a}\rVert^2}\sum_i\ell_i\int_0^1e^{f_i+t\Delta f_i}\left[(\mathbf{a}\cdot\mathbf{n}_i)(\mathbf{P}_i+t\Delta\mathbf{P}_i)-\mathbf{n}_i\right]\,dt. M V = ∥ a ∥ 2 1 i ∑ ∫ S i e a ⋅ x [ ( a ⋅ n i ) x − n i ] d s = ∥ a ∥ 2 1 i ∑ ℓ i ∫ 0 1 e f i + t Δ f i [ ( a ⋅ n i ) ( P i + t Δ P i ) − n i ] d t .
Evaluating the integral with (C.2) and using (C.1), we obtain
M V = 1 ∥ a ∥ 2 ∑ i [ W i ( P i E i , 0 + Δ P i E i , 1 ) − Δ P i ⊥ E i , 0 ] = 1 ∥ a ∥ 2 ∑ i [ W i m i − Δ P i ⊥ E i , 0 ] . \mathbf{M}_V=\frac{1}{\lVert\mathbf{a}\rVert^2}\sum_i\left[W_i(\mathbf{P}_iE_{i,0}+\Delta\mathbf{P}_iE_{i,1})-\Delta\mathbf{P}_i^{\perp}E_{i,0}\right]=\frac{1}{\lVert\mathbf{a}\rVert^2}\sum_i\left[W_i\mathbf{m}_i-\Delta\mathbf{P}_i^{\perp}E_{i,0}\right]. M V = ∥ a ∥ 2 1 i ∑ [ W i ( P i E i , 0 + Δ P i E i , 1 ) − Δ P i ⊥ E i , 0 ] = ∥ a ∥ 2 1 i ∑ [ W i m i − Δ P i ⊥ E i , 0 ] .
because P i E i , 0 + ( P i + 1 − P i ) E i , 1 = P i ( E i , 0 − E i , 1 ) + P i + 1 E i , 1 = m i \mathbf{P}_iE_{i,0}+(\mathbf{P}_{i+1}-\mathbf{P}_i)E_{i,1}=\mathbf{P}_i(E_{i,0}-E_{i,1})+\mathbf{P}_{i+1}E_{i,1}=\mathbf{m}_i P i E i , 0 + ( P i + 1 − P i ) E i , 1 = P i ( E i , 0 − E i , 1 ) + P i + 1 E i , 1 = m i .
Step 4: The centroid. Since M V > 0 M_V>0 M V > 0 , also ∑ i W i E i , 0 = ∥ a ∥ 2 M V > 0 \sum_iW_iE_{i,0}=\lVert\mathbf{a}\rVert^2M_V>0 ∑ i W i E i , 0 = ∥ a ∥ 2 M V > 0 by (C.3), and in g = M V / M V \mathbf{g}=\mathbf{M}_V/M_V g = M V / M V the factor ∥ a ∥ − 2 \lVert\mathbf{a}\rVert^{-2} ∥ a ∥ − 2 cancels, which gives the assertion.
Analytical Gradients
This appendix proves Propositions 1–3.
Proof of Proposition 1
Let t ∈ ( 0 , T ] t \in(0,T] t ∈ ( 0 , T ] . Since q b h e , L = q b h e / L q_{\mathrm{bhe},L}=q_{\mathrm{bhe}}/L q bhe , L = q bhe / L , the soil temperature (13) at x = ( x x y , L / 2 ) \mathbf{x}=(x_{xy},L/2) x = ( x x y , L /2 ) is a parametric convolution of the θ \theta θ -independent load q b h e q_{\mathrm{bhe}} q bhe ,
u ( t ; θ ) = ( q b h e ∗ K x ) ( t ) , K x ( τ ; θ ) : = − 1 L ∑ k = 1 N b S k G k ( τ ) , u(t;\theta)=(q_{\mathrm{bhe}}*K_x)(t),\qquad K_x(\tau;\theta):=-\frac{1}{L}\sum_{k=1}^{N_b}S_kG_k(\tau), u ( t ; θ ) = ( q bhe ∗ K x ) ( t ) , K x ( τ ; θ ) := − L 1 k = 1 ∑ N b S k G k ( τ ) ,
so all dependence on L L L , including that of the load per unit length, lies in the kernel, where the chain rule applies.
Regularity. On Θ x \Theta_x Θ x we have r k = ∥ x x y − p k ∥ > 0 r_k=\lVert x_{xy}-p^k\rVert>0 r k = ∥ x x y − p k ∥ > 0 , so θ ↦ r k \theta\mapsto r_k θ ↦ r k is smooth; S k S_k S k , R \mathcal{R} R , W v W_v W v , Z m i d Z_{\mathrm{mid}} Z mid and 1 / L 1/L 1/ L are smooth functions of their arguments for τ > 0 \tau>0 τ > 0 . Hence all θ \theta θ -derivatives of K x K_x K x exist and are continuous on ( 0 , T ] × Θ x (0,T]\times\Theta_x ( 0 , T ] × Θ x .
Derivatives. With S k = exp ( ⟨ x x y − p k , v ⟩ / ( 2 α ) ) S_k=\exp(\langle x_{xy}-p^k,v\rangle/(2\alpha)) S k = exp (⟨ x x y − p k , v ⟩ / ( 2 α )) we have ∇ p k S k = − v x y 2 α S k \nabla_{p^k}S_k=-\frac{v_{xy}}{2\alpha}S_k ∇ p k S k = − 2 α v x y S k , and ∇ p k r k = − ( x x y − p k ) / r k \nabla_{p^k}r_k=-(x_{xy}-p^k)/r_k ∇ p k r k = − ( x x y − p k ) / r k . From ∂ r R = − r 2 α τ R \partial_r\mathcal{R}=-\frac{r}{2\alpha\tau}\mathcal{R} ∂ r R = − 2 α τ r R we get by the chain rule
∇ p k G k = ∂ r G m i d ∇ p k r k = x x y − p k 2 α τ G k , hence ∇ p k K x = − S k L b k G k . \nabla_{p^k}\mathcal{G}_k=\partial_r\mathcal{G}_{\mathrm{mid}}\nabla_{p^k}r_k=\frac{x_{xy}-p^k}{2\alpha\tau}\mathcal{G}_k,\qquad\text{hence}\qquad\nabla_{p^k}K_x=-\frac{S_k}{L}b_k\mathcal{G}_k. ∇ p k G k = ∂ r G mid ∇ p k r k = 2 α τ x x y − p k G k , hence ∇ p k K x = − L S k b k G k .
Among the factors of G k \mathcal{G}_k G k , only Z m i d ( τ , L ) = Z ( L / 2 , τ , L ) Z_{\mathrm{mid}}(\tau,L)=Z(L/2,\tau,L) Z mid ( τ , L ) = Z ( L /2 , τ , L ) depends on L L L , through both of its arguments. With σ = 2 α τ \sigma=2\sqrt{\alpha\tau} σ = 2 α τ ,
∂ z Z = 1 π σ [ − e − ( L − z ) 2 / σ 2 + 2 e − z 2 / σ 2 − e − ( L + z ) 2 / σ 2 ] \partial_z Z=\frac{1}{\sqrt{\pi}\sigma}\left[-e^{-(L-z)^2/\sigma^2}+2e^{-z^2/\sigma^2}-e^{-(L+z)^2/\sigma^2}\right] ∂ z Z = π σ 1 [ − e − ( L − z ) 2 / σ 2 + 2 e − z 2 / σ 2 − e − ( L + z ) 2 / σ 2 ]
and
∂ L Z = 1 π σ [ e − ( L − z ) 2 / σ 2 − e − ( L + z ) 2 / σ 2 ] , \partial_L Z=\frac{1}{\sqrt{\pi}\sigma}\left[e^{-(L-z)^2/\sigma^2}-e^{-(L+z)^2/\sigma^2}\right], ∂ L Z = π σ 1 [ e − ( L − z ) 2 / σ 2 − e − ( L + z ) 2 / σ 2 ] ,
so the chain rule at z = L / 2 z=L/2 z = L /2 gives
∂ L Z m i d = 1 2 ∂ z Z + ∂ L Z = 3 2 π σ [ e − L 2 / ( 4 σ 2 ) − e − 9 L 2 / ( 4 σ 2 ) ] = 3 4 π α τ [ e − L 2 / ( 16 α τ ) − e − 9 L 2 / ( 16 α τ ) ] . \partial_L Z_{\mathrm{mid}}=\frac{1}{2}\partial_z Z+\partial_L Z=\frac{3}{2\sqrt{\pi}\sigma}\left[e^{-L^2/(4\sigma^2)}-e^{-9L^2/(4\sigma^2)}\right]=\frac{3}{4\sqrt{\pi\alpha\tau}}\left[e^{-L^2/(16\alpha\tau)}-e^{-9L^2/(16\alpha\tau)}\right]. ∂ L Z mid = 2 1 ∂ z Z + ∂ L Z = 2 π σ 3 [ e − L 2 / ( 4 σ 2 ) − e − 9 L 2 / ( 4 σ 2 ) ] = 4 π α τ 3 [ e − L 2 / ( 16 α τ ) − e − 9 L 2 / ( 16 α τ ) ] .
By the product rule, ∂ L K x = − ∑ k S k [ 1 L ∂ L G m i d ( r k , τ , L ) − 1 L 2 G k ] \partial_LK_x=-\sum_kS_k\left[\frac{1}{L}\partial_L\mathcal{G}_{\mathrm{mid}}(r_k,\tau,L)-\frac{1}{L^2}\mathcal{G}_k\right] ∂ L K x = − ∑ k S k [ L 1 ∂ L G mid ( r k , τ , L ) − L 2 1 G k ] with ∂ L G m i d = Λ ∂ L Z m i d \partial_L\mathcal{G}_{\mathrm{mid}}=\Lambda\partial_LZ_{\mathrm{mid}} ∂ L G mid = Λ ∂ L Z mid .
Domination. Let Θ 0 ⊂ Θ x \Theta_0\subset\Theta_x Θ 0 ⊂ Θ x be compact. By continuity and compactness there are 0 < r 0 ≤ r 1 0<r_0\le r_1 0 < r 0 ≤ r 1 and 0 < L 1 ≤ L 2 0<L_1\le L_2 0 < L 1 ≤ L 2 with r k ∈ [ r 0 , r 1 ] r_k\in[r_0,r_1] r k ∈ [ r 0 , r 1 ] for all k k k and L ∈ [ L 1 , L 2 ] L\in[L_1,L_2] L ∈ [ L 1 , L 2 ] on Θ 0 \Theta_0 Θ 0 ; moreover S k ≤ e ∥ v ∥ r 1 / ( 2 α ) S_k\le e^{\lVert v\rVert r_1/(2\alpha)} S k ≤ e ∥ v ∥ r 1 / ( 2 α ) and ∥ x x y − p k ∥ ≤ r 1 \lVert x_{xy}-p^k\rVert\le r_1 ∥ x x y − p k ∥ ≤ r 1 . By (A.2) with c = r 0 2 / ( 4 α ) c=r_0^2/(4\alpha) c = r 0 2 / ( 4 α ) , R ≤ 4 α / ( e r 0 2 ) \mathcal{R}\le4\alpha/(e r_0^2) R ≤ 4 α / ( e r 0 2 ) and τ − 1 R ≤ ( 8 α / ( e r 0 2 ) ) 2 \tau^{-1}\mathcal{R}\le(8\alpha/(e r_0^2))^2 τ − 1 R ≤ ( 8 α / ( e r 0 2 ) ) 2 , and with s = 1 2 s=\frac{1}{2} s = 2 1 and c = L 1 2 / ( 16 α ) c=L_1^2/(16\alpha) c = L 1 2 / ( 16 α ) , ∂ L Z m i d \partial_LZ_{\mathrm{mid}} ∂ L Z mid is bounded. Further, 0 < W v ≤ 1 0<W_v\le1 0 < W v ≤ 1 and 0 ≤ Z m i d ≤ 1 0\le Z_{\mathrm{mid}}\le1 0 ≤ Z mid ≤ 1 , since Z m i d = 1 2 ( 3 erf x − erf 3 x ) Z_{\mathrm{mid}}=\frac{1}{2}(3\operatorname{erf}x-\operatorname{erf}3x) Z mid = 2 1 ( 3 erf x − erf 3 x ) with x = L / ( 4 α τ ) x=L/(4\sqrt{\alpha\tau}) x = L / ( 4 α τ ) increases from 0 0 0 to 1 1 1 in x x x . Hence G k \mathcal{G}_k G k , τ − 1 G k \tau^{-1}\mathcal{G}_k τ − 1 G k and ∂ L G m i d = Λ ∂ L Z m i d \partial_L\mathcal{G}_{\mathrm{mid}}=\Lambda\partial_LZ_{\mathrm{mid}} ∂ L G mid = Λ ∂ L Z mid are bounded on ( 0 , T ] × Θ 0 (0,T]\times\Theta_0 ( 0 , T ] × Θ 0 , hence so are K x K_x K x , ∂ L K x \partial_LK_x ∂ L K x and ∇ p k K x \nabla_{p^k}K_x ∇ p k K x . This is (29) .
Hence u ( t ; ⋅ ) ∈ C 1 ( Θ x ) u(t;\cdot)\in C^1(\Theta_x) u ( t ; ⋅ ) ∈ C 1 ( Θ x ) and, by (30) , D θ u = ( q b h e ∗ D θ K x ) ( t ) D_\theta u=(q_{\mathrm{bhe}}*D_\theta K_x)(t) D θ u = ( q bhe ∗ D θ K x ) ( t ) . Inserting the derivatives and using q b h e / L = q b h e , L q_{\mathrm{bhe}}/L=q_{\mathrm{bhe},L} q bhe / L = q bhe , L yields (32) and
∂ L u = − ∑ k S k ( q b h e , L ∗ ∂ L G m i d ( r k , ⋅ , L ) ) ( t ) + 1 L ∑ k S k ( q b h e , L ∗ G k ) ( t ) . \partial_Lu=-\sum_kS_k\left(q_{\mathrm{bhe},L}*\partial_L\mathcal{G}_{\mathrm{mid}}(r_k,\cdot,L)\right)(t)+\frac{1}{L}\sum_kS_k(q_{\mathrm{bhe},L}*\mathcal{G}_k)(t). ∂ L u = − k ∑ S k ( q bhe , L ∗ ∂ L G mid ( r k , ⋅ , L ) ) ( t ) + L 1 k ∑ S k ( q bhe , L ∗ G k ) ( t ) .
By (13) , ∑ k S k ( q b h e , L ∗ G k ) ( t ) = − u ( t ; θ ) \sum_kS_k(q_{\mathrm{bhe},L}*\mathcal{G}_k)(t)=-u(t;\theta) ∑ k S k ( q bhe , L ∗ G k ) ( t ) = − u ( t ; θ ) , so the last term equals − u / L -u/L − u / L , which is (31) .
Proof of Proposition 2
As above, Ψ s o i l ( t ; θ ) = ( q b h e ∗ K Ψ ) ( t ) \Psi_{\mathrm{soil}}(t;\theta)=(q_{\mathrm{bhe}} * K_{\Psi})(t) Ψ soil ( t ; θ ) = ( q bhe ∗ K Ψ ) ( t ) with the θ \theta θ -independent load q b h e q_{\mathrm{bhe}} q bhe and
K Ψ ( τ ; θ ) : = ψ ( L ) L H Σ ( τ ; θ ) , K_{\Psi}(\tau;\theta):=\frac{\psi(L)}{L}\mathcal{H}_{\Sigma}(\tau;\theta), K Ψ ( τ ; θ ) := L ψ ( L ) H Σ ( τ ; θ ) ,
where H Σ \mathcal{H}_{\Sigma} H Σ is defined in (23) . The diagonal terms k = ℓ k=\ell k = ℓ have S v = 1 S_v=1 S v = 1 and r k , k = r b r_{k,k}=r_b r k , k = r b , and depend on L L L only; for k ≠ ℓ k\ne\ell k = ℓ we have r k , ℓ > 0 r_{k,\ell}>0 r k , ℓ > 0 on Θ Ψ \Theta_{\Psi} Θ Ψ , so K Ψ K_{\Psi} K Ψ is smooth in θ \theta θ .
Derivatives with respect to L L L . Only ψ ( L ) / L \psi(L)/L ψ ( L ) / L and H ( r , τ , L ) = Λ ( r , τ ) Y ( τ ; L ) \mathcal{H}(r,\tau,L)=\Lambda(r,\tau)\mathcal{Y}(\tau;L) H ( r , τ , L ) = Λ ( r , τ ) Y ( τ ; L ) depend on L L L ; by the product rule
∂ L K Ψ = ( ψ ′ ( L ) L − ψ ( L ) L 2 ) H Σ + ψ ( L ) L ∂ L H Σ , ∂ L H Σ = 1 N b ∑ k , ℓ S v ( p k , p ℓ ) Λ ( r k , ℓ , τ ) ∂ L Y ( τ ; L ) . \partial_L K_{\Psi}=\left(\frac{\psi'(L)}{L}-\frac{\psi(L)}{L^2}\right)\mathcal{H}_{\Sigma}+\frac{\psi(L)}{L}\partial_L\mathcal{H}_{\Sigma},\qquad
\partial_L\mathcal{H}_{\Sigma}=\frac{1}{N_b}\sum_{k,\ell}S_v(\mathbf{p}^k,\mathbf{p}^{\ell})\Lambda(r_{k,\ell},\tau)\partial_L\mathcal{Y}(\tau;L). ∂ L K Ψ = ( L ψ ′ ( L ) − L 2 ψ ( L ) ) H Σ + L ψ ( L ) ∂ L H Σ , ∂ L H Σ = N b 1 k , ℓ ∑ S v ( p k , p ℓ ) Λ ( r k , ℓ , τ ) ∂ L Y ( τ ; L ) .
Since Ψ s o i l = ψ ( L ) ( q b h e , L ∗ H Σ ) \Psi_{\mathrm{soil}}=\psi(L)(q_{\mathrm{bhe},L} * \mathcal{H}_{\Sigma}) Ψ soil = ψ ( L ) ( q bhe , L ∗ H Σ ) and ψ ( L ) = 1 2 + 1 2 ν coth ( γ L ) > 0 \psi(L)=\frac{1}{2}+\frac{1}{2\nu}\coth(\gamma L)>0 ψ ( L ) = 2 1 + 2 ν 1 coth ( γ L ) > 0 , the first term produces ( ψ ′ / ψ − 1 / L ) Ψ s o i l (\psi'/\psi-1/L)\Psi_{\mathrm{soil}} ( ψ ′ / ψ − 1/ L ) Ψ soil , and the second term gives the last term of (33) .
Derivatives with respect to p m \mathbf{p}^m p m . The diagonal terms k = ℓ k=\ell k = ℓ do not depend on p \mathbf{p} p . For k ≠ ℓ k\ne\ell k = ℓ the terms ( k , ℓ ) (k,\ell) ( k , ℓ ) and ( ℓ , k ) (\ell,k) ( ℓ , k ) combine to S ^ v ( p k , p ℓ ) H ( r k , ℓ , τ , L ) \hat{S}_v(\mathbf{p}^k,\mathbf{p}^{\ell})\mathcal{H}(r_{k,\ell},\tau,L) S ^ v ( p k , p ℓ ) H ( r k , ℓ , τ , L ) with the symmetrized shift kernel S ^ v \hat{S}_v S ^ v of Section 2.4. Only the pairs { m , ℓ } \{m,\ell\} { m , ℓ } , ℓ ≠ m \ell\ne m ℓ = m , depend on p m \mathbf{p}^m p m . By the chain rule,
∇ p m S ^ v = v x y α sinh ( p m − p ℓ , v 2 α ) , ∇ p m r m , ℓ = p m − p ℓ r m , ℓ , ∂ r H = − r 2 α τ H , \nabla_{\mathbf{p}^m}\hat{S}_v=\frac{v_{xy}}{\alpha}\sinh\left(\frac{\mathbf{p}^m-\mathbf{p}^{\ell},\mathbf{v}}{2\alpha}\right),\qquad
\nabla_{\mathbf{p}^m}r_{m,\ell}=\frac{\mathbf{p}^m-\mathbf{p}^{\ell}}{r_{m,\ell}},\qquad
\partial_r\mathcal{H}=-\frac{r}{2\alpha\tau}\mathcal{H}, ∇ p m S ^ v = α v x y sinh ( 2 α p m − p ℓ , v ) , ∇ p m r m , ℓ = r m , ℓ p m − p ℓ , ∂ r H = − 2 α τ r H ,
so that ∇ p m [ S ^ v H ( r m , ℓ , τ , L ) ] = H α [ v x y sinh a m ℓ − cosh ( a m ℓ ) p m − p ℓ τ ] \nabla_{\mathbf{p}^m}\left[\hat{S}_v\mathcal{H}(r_{m,\ell},\tau,L)\right]=\frac{\mathcal{H}}{\alpha}\left[v_{xy}\sinh a_{m\ell}-\cosh(a_{m\ell})\frac{\mathbf{p}^m-\mathbf{p}^{\ell}}{\tau}\right] ∇ p m [ S ^ v H ( r m , ℓ , τ , L ) ] = α H [ v x y sinh a m ℓ − cosh ( a m ℓ ) τ p m − p ℓ ] (using S ^ v = 2 cosh a m ℓ \hat{S}_v=2\cosh a_{m\ell} S ^ v = 2 cosh a m ℓ ); multiplication by ψ ( L ) / ( L N b ) \psi(L)/(LN_b) ψ ( L ) / ( L N b ) gives the kernel of (34) .
Domination. Let Θ 0 ⊂ Θ Ψ \Theta_0\subset\Theta_{\Psi} Θ 0 ⊂ Θ Ψ be compact. Then L ∈ [ L 1 , L 2 ] ⊂ ( 0 , ∞ ) L\in[L_1,L_2]\subset(0,\infty) L ∈ [ L 1 , L 2 ] ⊂ ( 0 , ∞ ) and r k , ℓ ∈ [ r 0 , r 1 ] r_{k,\ell}\in[r_0,r_1] r k , ℓ ∈ [ r 0 , r 1 ] for k ≠ ℓ k\ne\ell k = ℓ , where we may take r 0 ≤ r b ≤ r 1 r_0\le r_b\le r_1 r 0 ≤ r b ≤ r 1 . The functions ψ , ψ ′ , S ^ v , sinh ( ⋅ ) \psi,\psi',\hat{S}_v,\sinh(\cdot) ψ , ψ ′ , S ^ v , sinh ( ⋅ ) are bounded on Θ 0 \Theta_0 Θ 0 , and Λ , τ − 1 Λ \Lambda,\tau^{-1}\Lambda Λ , τ − 1 Λ are bounded as in the proof of Proposition 1. Since D W ( L ) = e β L ( cosh ( γ L ) + ν sinh ( γ L ) ) > 0 D_W(L)=e^{\beta L}\left(\cosh(\gamma L)+\nu\sinh(\gamma L)\right)>0 D W ( L ) = e β L ( cosh ( γ L ) + ν sinh ( γ L ) ) > 0 and ∣ Z ∣ ≤ 1 |\mathcal{Z}|\le1 ∣ Z ∣ ≤ 1 (proof of Lemma 3), Y \mathcal{Y} Y is bounded. With w L = N W ( L − ⋅ ) / D W ( L ) w_L=N_W(L-\cdot)/D_W(L) w L = N W ( L − ⋅ ) / D W ( L ) , the Leibniz rule gives
∂ L Y ( τ ; L ) = − D W ′ ( L ) D W ( L ) 2 ∫ 0 L Z N W ( L − z ) d z + 1 D W ( L ) [ Z ( L , τ , L ) N W ( 0 ) + ∫ 0 L ∂ L Z N W ( L − z ) d z + ∫ 0 L Z N W ′ ( L − z ) d z ] . (49) \begin{aligned}
\partial_L\mathcal{Y}(\tau;L)={}&-\frac{D_W'(L)}{D_W(L)^2}\int_0^L\mathcal{Z}N_W(L-z)\,dz\\
&+\frac{1}{D_W(L)}\left[\mathcal{Z}(L,\tau,L)N_W(0)+\int_0^L\partial_L\mathcal{Z}N_W(L-z)\,dz+\int_0^L\mathcal{Z}N_W'(L-z)\,dz\right]. \tag*{(49)}
\end{aligned} ∂ L Y ( τ ; L ) = − D W ( L ) 2 D W ′ ( L ) ∫ 0 L Z N W ( L − z ) d z + D W ( L ) 1 [ Z ( L , τ , L ) N W ( 0 ) + ∫ 0 L ∂ L Z N W ( L − z ) d z + ∫ 0 L Z N W ′ ( L − z ) d z ] . (49)
where 0 ≤ ∂ L Z 0\le\partial_L\mathcal{Z} 0 ≤ ∂ L Z (Section Appendix § 10 .§ 1 ) is bounded by a Gaussian density in z z z , so ∫ 0 L ∂ L Z d z ≤ 1 \int_0^L\partial_L\mathcal{Z}\,dz\le1 ∫ 0 L ∂ L Z d z ≤ 1 uniformly in τ \tau τ . Hence ∂ L Y \partial_L\mathcal{Y} ∂ L Y is bounded, and so are H \mathcal{H} H , τ − 1 H \tau^{-1}\mathcal{H} τ − 1 H and ∂ L H = Λ ∂ L Y \partial_L\mathcal{H}=\Lambda\partial_L\mathcal{Y} ∂ L H = Λ ∂ L Y . Hence K Ψ K_{\Psi} K Ψ and its first derivatives satisfy (29) . Hence Ψ s o i l ( t ; ⋅ ) ∈ C 1 ( Θ Ψ ) \Psi_{\mathrm{soil}}(t;\cdot)\in C^1(\Theta_{\Psi}) Ψ soil ( t ; ⋅ ) ∈ C 1 ( Θ Ψ ) with D θ Ψ s o i l = ( q b h e ∗ D θ K Ψ ) ( t ) D_{\theta}\Psi_{\mathrm{soil}}=(q_{\mathrm{bhe}} * D_{\theta}K_{\Psi})(t) D θ Ψ soil = ( q bhe ∗ D θ K Ψ ) ( t ) , and rewriting q b h e / L = q b h e , L q_{\mathrm{bhe}}/L=q_{\mathrm{bhe},L} q bhe / L = q bhe , L gives (33) and (34) .
Proof of Proposition 3
By (17) , T o u t , s y s = Ψ g r o u n d − Ψ s o i l − Ψ p o w e r T_{\mathrm{out,sys}}=\Psi_{\mathrm{ground}}-\Psi_{\mathrm{soil}}-\Psi_{\mathrm{power}} T out , sys = Ψ ground − Ψ soil − Ψ power . The term Ψ s o i l \Psi_{\mathrm{soil}} Ψ soil is treated in Proposition 2. The term Ψ p o w e r = ( ψ ( L ) − 1 ) q b h e ( t ) / C f \Psi_{\mathrm{power}}=(\psi(L)-1)q_{\mathrm{bhe}}(t)/C_{\mathrm{f}} Ψ power = ( ψ ( L ) − 1 ) q bhe ( t ) / C f depends on θ \boldsymbol{\theta} θ only through ψ ( L ) \psi(L) ψ ( L ) , since q b h e q_{\mathrm{bhe}} q bhe and C f C_{\mathrm{f}} C f do not depend on θ \boldsymbol{\theta} θ ; hence ∂ L Ψ p o w e r = ψ ′ ( L ) q b h e ( t ) / C f \partial_L\Psi_{\mathrm{power}}=\psi'(L)q_{\mathrm{bhe}}(t)/C_{\mathrm{f}} ∂ L Ψ power = ψ ′ ( L ) q bhe ( t ) / C f and ∇ p Ψ p o w e r = 0 \nabla_{\mathbf{p}}\Psi_{\mathrm{power}}=0 ∇ p Ψ power = 0 . Finally, by (18) and § 2.3.1 , Ψ g r o u n d ( L ) = χ ( L ) ∑ l = 1 2 C l U l ( L ) \Psi_{\mathrm{ground}}(L)=\chi(L)\sum_{l=1}^{2}C_lU_l(L) Ψ ground ( L ) = χ ( L ) ∑ l = 1 2 C l U l ( L ) with U l ( L ) = ∫ T 0 L T 0 ( ξ ) e M l ( L − ξ ) d ξ U_l(L)=\int_{T_0}^{L}T_0(\xi)e^{M_l(L-\xi)}\mathrm{d}\xi U l ( L ) = ∫ T 0 L T 0 ( ξ ) e M l ( L − ξ ) d ξ , which does not depend on p \mathbf{p} p . The integrand is smooth in ( ξ , L ) (\xi,L) ( ξ , L ) , and the Leibniz rule gives U l ′ ( L ) = T 0 ( L ) + M l U l ( L ) U_l'(L)=T_0(L)+M_lU_l(L) U l ′ ( L ) = T 0 ( L ) + M l U l ( L ) . Together with D W > 0 D_W>0 D W > 0 (proof of Proposition 2) and the product rule this proves the formula for Ψ g r o u n d ′ \Psi'_{\mathrm{ground}} Ψ ground ′ .
Nomenclature
Table ?.