HomeFeaturesExamplesTutorialsHelpTheoryVerificationPricingContact
BoreTherm / TutorialsTutorial 02 / 19
Workflow and theory · Design basics

Dynamic borehole model and hourly loads

What hourly loads add to a monthly design, what the dynamic borehole model adds to hourly loads, and how to use it: size with the fast steady model (Calculation › Size borehole length), then Verify with dynamic model. The example project is a small office building with a ground-source heat pump: 200 MWh/year space heating, 8 MWh/year domestic hot water (DHW) and 45 MWh/year cooling on a field of 16 boreholes of 150 m, over 25 years. Its monthly loads are turned into hourly loads with an office pattern.

01 / The one idea

The one idea: the borehole itself stores heat

BoreTherm checks the mean fluid temperature Tf, the mean of the inlet and outlet temperature of the fluid, against the design limits. The steady model treats the inside of the borehole as one resistance, the effective borehole thermal resistance Rb*: the fluid, the pipes and the grout store nothing, so a load step reaches the fluid temperature in full at once. The dynamic model replaces that resistance by a network on depth levels: the fluid flows down and up the pipes, takes time to pass, and the grout stores heat. The ground outside the wall stays the same analytic g-function, the dimensionless temperature response of the field to a constant heat rate.

Steady model (default)Dynamic modelfluid Tfwall Tbground TmRb*g(t)/(2πλ)Tf = Tb + q · Rb* at every hour or monthno heat stored inside the borehole:a load step reaches the fluid at onceinlet / outlet = Tf ± Q / (2ṁcp)response of Tf to a load stepsteadydynamicschematic: the borehole interior delays the first hoursTinToutground: g-functionΔzone depth levelwall TwRfgRgbRfgRgbRggdownupfluid cell: moves withthe flow, stores heatgrout node: stores heat
Left: the steady model, one resistance between fluid and wall. Right: the dynamic model, fluid cells that move with the flow and grout nodes on every depth level, coupled to the borehole wall.
Steady (every hour)Tf = Tb + q · Rb*
Dynamic: the wall, per step hTw = Tm + [Hhist + g(h) q̄w] / (2πλ)
Dynamic: the fluidTf = (Tin + Tout) / 2

q is the heat rate per metre of borehole (positive into the ground), Tb and Tw the borehole wall temperature, Tm the undisturbed ground temperature, λ the thermal conductivity of the ground and Hhist the effect of the earlier wall fluxes; ṁcp is the capacity flow (mass flow × specific heat) and Q the heat rate. q̄w is the heat flux through the wall, taken from the grout nodes. It differs from the fluid load while the borehole stores or releases heat. Once a load has been steady for a few days the two agree, and the dynamic model gives the steady result.

02 / The workflow

The workflow

Hourly loads are the first step: they put the daily cycle into the design. The borehole model is the second: it decides what happens inside the borehole within those hours. Both commands of the Calculation menu use the chosen model: Calculation › Calculate at the given length, Size borehole length to find the required length. Besides the steady and the dynamic model there is Short-time capacity: the steady model plus the heat capacity of fluid, pipes and grout at short times, as one combined response.

Loads pagemonthly loads, hourly loads (CSV) or a time seriesHourly or time-seriesloads?noMonthly model only (base + peaks)Generate hourly loads… makes hourly loadsfrom the monthly tableyesSize borehole length with the steady model(or short-time capacity): secondsRequired borehole lengthVerify with dynamic model (same length)Limits met with thedynamic model?yesKeep the steady lengththe dynamic model confirms itnoSize borehole length, Borehole model = Dynamicevery trial length runs the dynamic model
The dynamic model needs hourly or time-series loads. Sizing with it runs the dynamic model at every trial length; the faster route sizes with the steady model and verifies once.
Input and runLoadsMonthly, Hourly (CSV) orTime series (CSV);Generate hourly loads…Design limits & simulationBorehole model: Steady,Short-time, Dynamic; time step,Δz, inlet, pump, periods, outputCalculate · Size borehole lengthcalculate at the length,or size it (hour meansagainst the limits)ResultsHourly temperaturesTf, inlet, outlet (hourmeans); ground loadDynamic modeltime series (+ steady model),depth profile, tableRequired borehole lengthVerify with dynamic model,Show on the Dynamic pageMean fluid temperaturemonthly view: last hourand the month’s extremesShow on the Dynamic page
The borehole model and its settings are on Design limits & simulation. With the dynamic model, the Results summary, Mean fluid temperature and Annual pages show its hour means.

Verify with dynamic model (Required borehole length page) copies the project, sets the boreholes to the sized (mean) length, switches the borehole model to Dynamic with the project’s dynamic settings, and runs it, together with the steady model at the same length for comparison. It changes nothing in the project. The result block shows the hour-mean range against the limits, the range at the output interval, and the steady range.

03 / How the dynamic model works

How the dynamic model works

1 Control step hload Q (or inlet T), flow andpump state constant in it2 Fluid sub-stepsdt = min(h, transit / 10):advect ½ · exchange · advect ½3 Field balanceQ dt = ρcp (Vin Tin − outflow):Tin each sub-step4 Wall temperatureTw = Tm + [Hhist + g(h) q̄w] / (2πλ)one unknown per step5 Commit the stepq̄w from the grout nodes →load aggregation history6 OutputsTin, Tout, Tf, Tw, q̄w, Q; hourmeans, profiles, energy balancenext control step
One control step (default 5 min). The fluid moves in sub-steps of a tenth of its transit time; the wall is coupled to the ground once per step.
  1. Depth levels of Δz (default 2 m), each with the resistance–capacity network of Bauer et al. (TRCM): one grout node per leg, resistances fluid–grout (Rfg), grout–wall (Rgb) and grout–grout (Rgg), derived from the matrix of the multipole method (an analytical solution for the pipes in the grout) so that the steady state reproduces the borehole resistance Rb and the internal resistance Ra between the legs exactly.
  2. Plug flow. The fluid is cut into cells of equal volume that move with the flow (Lagrangian). A temperature front keeps its shape and arrives after the transit time, the time the fluid needs to pass through the borehole; there is no numerical diffusion.
  3. Heat exchange. Each cell exchanges heat with the grout nodes of the levels it passes, with an exponentially fitted, time-centred step that is exact for constant node temperatures.
  4. Ground. One wall temperature, uniform along the depth and equal in all boreholes (as the g-function with a uniform borehole wall temperature, UBWT, here with the cylindrical-source correction); the history is kept by the load aggregation of Claesson and Javed, which lumps older wall fluxes into longer blocks. Node temperatures are affine in Tin and Tw, so both are solved exactly, without iterating.
  5. Outside the dynamic periods (option: first and last year, custom periods) the steady model runs on the same grid, so the ground history stays continuous.
04 / The theory with the example

The theory with the example

Hourly loads: the daily cycle is in the design

day 1day 8day 15day 22day 29−4−2024Tf [°C]monthly base 1.00monthly peak −2.41limit −3 °Chourly minimum −3.06 °C0−75ground load [kW](extraction down)
Steady model, hourly loads (office pattern), 150 m as in the example project: January of year 25. Each working day jumps to the heating peak; the monthly model sees one base value and one 6 h peak.

The generator keeps every month’s energy and its peak power, and spreads the rest by the outdoor temperature and the use pattern (here: office hours on working days). The office then draws its peak for a whole working day, day after day, while the monthly model assumes 6 hours at the end of a month at mean load. With the same field the lowest hourly Tf is −3.06 °C against −2.41 °C monthly.

The borehole interior: the first hours of a load step

The coldest load block at H = 150.7 m (hour means)−4−2024°Csteady modelshort-time capacitydynamic modelwall Tw (dynamic)limit −3 °C−750ground load [kW]hours from the start of the load block-8-40+4+8+12+16
The coldest working day of the 25 years (day 19 of year 25) at the length sized with hourly loads. Hour means; the dynamic model runs in 5-min steps.
The counter-intuitive part. The steady model drops by the full q · Rb* in the first hour of the block (to −1.68 °C); the dynamic model reaches only −0.87 °C, because the fluid and the grout give off stored heat first. But the coldest hour is the last one of the 12-hour block, when the storage is spent: there the models differ by only 0.11 K. The dynamic model matters most for short peaks; for long blocks the steady length is close.
30 min into the load block−2.5−1.5−0.50.51.5050100150°Cdepth [m]end of the load block−4.5−3.5−2.5−1.5−0.50.5050100150°C— down-going fluid— up-going fluid— grout
Depth profiles of the dynamic model at the two times of the block (stored at the times set under Depth profiles at). The fluid warms on its way down and up; the grout lies between fluid and wall. The difference between the legs is the thermal short circuit that Rb* accounts for in the steady model. The steps of about 30 m are the distance the fluid moves in one sub-step (0.93 m/s × 32.5 s): fluid that entered within one sub-step carries one temperature; the envelope is the profile.
05 / How each result is derived

How each result is derived

ResultHow BoreTherm derives itExample at 150.7 m
Hourly ground load Qhourly building loads × the SPF factors of Heat pump › Setup (SPF: seasonal performance factor of the heat pump); one year, repeated75.3 kW from the ground in the block: heating 100 kW × 0.737 + DHW
Steady Tf (hourly)Tm + Σ Δq g / (2πλ) + q Rb*, FFT convolution of the hourly stepsfirst hour of the block −1.68 °C, lowest −3.00 °C
Dynamic Tf(Tin + Tout)/2 per control step, averaged over the hourfirst hour −0.87 °C, lowest −2.89 °C
Inlet / outletsteady: Tf ± Q/(2ṁcp); dynamic: the fluid entering and leaving the fieldlowest inlet −4.18 (steady) / −4.09 °C (dynamic)
Depth levels and stepsK = round(H/Δz) levels; sub-step = transit time / 1075 levels of 2.01 m, step 300 s, sub-step 32.5 s
Energy balancelargest step error |load − wall − storage| over the gross flows (T-P11b-4)1.7·10⁻¹⁴; 25 years: 2463 MWh taken by the fluid, 2463 MWh through the walls
Monthly viewbase = the last hour of the month; peaks = the extremes of its 730 hoursthe Mean fluid temperature and Annual pages work unchanged
Limits check, sizinghour means of all years (or the last year) against Tf,min, Tf,max−2.89 … 16.00 °C: limits met

Hourly loads: office pattern, 200 MWh heating (peak 100 kW), 45 MWh cooling, 8 MWh DHW, as the monthly table.

06 / The example in numbers

The example in numbers

Loads and runBorehole modelTf,min [°C]Length
Monthly loads, 150 m (the project)steady, monthly−2.41—
Monthly loads, Size borehole lengthsteady, monthly−3.00143.7 m
Hourly loads, 150 msteady, hourly−3.06—
Hourly loads, Size borehole lengthsteady, hourly−3.00150.7 m
Verify at 150.7 mshort-time capacity−2.92—
Verify at 150.7 mdynamic−2.89meets the limits
Hourly loads, Size borehole lengthdynamic−3.00149.5 m

The limits are −3 / 20 °C. Hourly loads make the field 7.0 m per borehole longer than the monthly sizing (112 m in total for the 16 boreholes): the working-day blocks are colder than the monthly peak. The dynamic model at the hourly length keeps Tf,min 0.11 K above the limit, so the steady length is confirmed with a small reserve. Size borehole length with the dynamic model gives 149.5 m, 1.2 m shorter: 10 dynamic runs of 25 years each, minutes instead of seconds for a saving of 0.8 %.

07 / Limits to keep in mind

Limits to keep in mind

  • The dynamic model needs hourly or time-series loads; with monthly loads Verify says so. Generated hourly loads are synthetic: they keep the monthly energies and peaks, not the real weather.
  • The limits are checked on hour means. With steps shorter than an hour the series at the output interval can be more extreme; the verification shows both.
  • Version 1 of the ground coupling: one wall temperature, uniform along the depth and equal in all boreholes (options per ring or per borehole exist for thermal stores).
  • Run time grows with the period and the transit time, not with the control step: a 25-year run takes a minute or more, and sizing with the dynamic model runs it at every trial length. The first-and-last-year option is much faster.
  • Pump on/off by load: loads asked for while the pump is off are not delivered; the results report that energy.
  • The fluid properties are constant unless Temperature-dependent fluid properties is on (laminar flow in cold periods).

Numbers calculated with BoreTherm. Hourly loads generated with the office pattern. Theory: BoreTherm theory manual.