What the example does
The ground and the demand of the office are uncertain. A Monte Carlo analysis draws 100 combinations of the uncertain inputs, sizes the field for each, and checks how often the original 150 m design meets the limits.
Inputs
| Input | Value |
|---|---|
| Field | 16 boreholes, 4 × 4 rectangle, spacing 6.0 × 6.0 m |
| Boreholes | length 150.0 m, top 4.0 m below the surface, diameter 140 mm |
| Construction | single U, PE pipe 32 × 2.9 mm, shank spacing 70 mm, grout 1.60 W/(m·K) |
| Ground | thermal conductivity 2.60 W/(m·K), heat capacity 2.20 MJ/(m³·K), surface temperature 9.0 °C, geothermal heat flux 0.060 W/m² |
| Fluid and flow | 25 % monopropylene glycol, 0.50 l/s per borehole |
| Loads | monthly: heating 200 MWh, hot water 8 MWh and cooling 45 MWh per year; peaks 100 kW heating and 45 kW cooling for 6 h |
| Heat pump | seasonal performance factors 3.8 heating, 2.8 hot water, 5.0 cooling |
| Design limits | mean fluid temperature between −3.0 °C and 20.0 °C |
| Period | 25 years |
| Uncertain inputs | conductivity normal 2.6 ± 0.3 W/(m·K); heat capacity uniform 2.0–2.6 MJ/(m³·K); surface temperature normal 9.0 ± 0.5 °C; heating demand triangular 0.9–1.0–1.15 |
| Sampling | 100 Latin hypercube samples, seed 1 |
Run the example in BoreTherm
- Press Monte Carlo. Check the distributions of the uncertain inputs, the number of samples and the seed.
- Run the analysis.
- Advanced analysis → Studies & uncertainty → Monte Carlo: the histogram of the required length, the percentiles, the convergence and the sensitivity ranks.
How the Monte Carlo analysis works
- DistributionsEach uncertain input gets a distribution and its parameters.
- Latin hypercubeEach distribution is split into 100 equally likely intervals, and each interval is used once: fewer samples are needed than with random draws.
- Size eachEvery sample gets its required length.
- Fixed lengthEvery sample is also simulated at 150 m and checked against the limits.
- StatisticsThe lengths give the percentiles; the fixed-length runs the share that passes.
- SensitivityThe conductivity dominates (−0.77): higher conductivity, shorter boreholes. The heating demand acts the other way (+0.41).
The example in BoreTherm
Calculated results
Calculated with BoreTherm for every variant of the example. Displayed values are rounded.
| Metric | Value |
|---|---|
| Samples | 100 |
| Failed sizes | 0 |
| Median H [m] | 145.111 |
| 90th percentile H [m] | 158.671 |
| 95th percentile H [m] | 166.334 |
| Fixed-length probability of meeting limits | 0.730 |
| Uncertain input | Spearman correlation with required H |
|---|---|
| ground.conductivity | -0.7676 |
| ground.volumetricHeatCapacity | -0.1724 |
| ground.surfaceTemperature | -0.4279 |
| loads.heatingScale | 0.4112 |
Temperatures by variant
| Variant | Boreholes | Length H [m] | Tf min [°C] | Tf max [°C] | Rb* [m K/W] | Pump [W] | Design limits |
|---|---|---|---|---|---|---|---|
| office reference | 16 | 150.000 | -2.413 | 16.026 | 0.1194 | 3,033.2 | within limits |
What the example shows
Half of the sampled designs need less than 145.1 m, and 95 % less than 166.3 m. At the original 150 m, 73 % of the samples meet the limits. The size-mode percentiles describe resized designs; the 73 % is the reliability of the original field.
The results hold only for the assumed distributions, and 100 samples do not give precise tail probabilities. The fixed seed makes the example reproducible.