superhot geothermal wells. This model is validated by
a code-to-code approach, particularly the results
provided by the commercial software Eclipse are
assumed as benchmark. However, the study resulted
almost generic and more relevant results would be
provided applying this model to more realistic and
detailed cases study. Ref. (Lamy-Chappuis, 2022) in
detail models the heat transfer phenomena occurring
in a geothermal well. The main assumptions of this
model are: i) 1-D approach; ii) constant temperature
at an infinite distance from the geothermal well; iii)
heat transfer does not occur in the extraction zone and
injection zone; iv) constant working fluid velocity; v)
the heat exchange occurs only in radial way; vi) the
heat exchange along the axis of the pipe is neglected.
The simulation model is developed using MATLAB
software. This model simulates a desalination plant
which exploits the geothermal energy for producing
drinkable water. The proposed model resulted
extremely sensitive to: i) the geothermal gradient; ii)
geothermal well depth and iii) water to be desalinated
dissolved solids. The model proved that a geothermal
well of a depth of 4000 m, featured by geothermal
gradient of 0.05°C/m, may produce roughly 600
m
3
/day of freshwater.
1.1 Aim and Novelty
As investigated in the literature review, many works
simulate the performances of geothermal wells,
comparing with experimental data. Unfortunately, in
the framework of geothermal well mathematical
modelling, none of the available models is focused on
the dynamic response of the well and on the coupling
with a detailed geothermal plant. Therefore, the aim
and novelty of the present work are:
• Present a model which is suitably detailed but
not too computationally heavy to carry out
dynamic simulations in complex and detailed
geothermal plant layouts.
• Investigate the behavior of the transient model
when the operating parameters are varied.
• Evaluate the optimal control strategies for the
different operating conditions analyzed, during
transient operation.
2 MODEL
This work presents the evaluation of the performance
of a geothermal well, focusing on the heat exchange
phenomena, by means of a thermodynamic model
developed in a previous work by some of the authors
of this paper. Note that the focus of this work is on
the heat exchange phenomena that occur within the
well, which are important for assessing the overall
energy performance of the well and the related
geothermal plant. In addition, the thermodynamic
model will be used to simulate the heat transfer and
fluid flow within the well, and to predict the thermal
response of the well under different operating
conditions. This model simulates a stratified well,
including two downhole heat exchangers and ten
potential double ports. The double ports are employed
for describing the water withdrawn from the well, by
means of a submerged pump, which can be located at
any well depth. However, in the framework of this
research the submerged pumps are located at a
selected height (close to the well top). The internal
heat exchangers are used with the aim of modelling
the downhole heat exchangers installed inside the
well. Figure 1 displays the simplified scheme of the
geothermal well. In particular, only two heat
exchangers and one double port are considered. A
double port represents a couple of inlet/outlet to/from
the well. The mass balance must be maintained
through the double port. This means that the amount
of mass flowing into the well through the inlet port
must be equal to the amount of mass flowing out of
the well through the outlet port. When the geothermal
brine is withdrawn from the top of the geothermal
well by means of the submerged pump, the
geothermal brine simultaneously enters the bottom of
the well from the geothermal ground. Thus, the heat
continuously enters the well by inlet groundwater
openings. The two heat exchangers (Figure 1) are
linked for modelling the performance of a downhole
heat exchanger inside the geothermal well. The
geothermal well is divided in a suitable number of
nodes (N
node
). Each node represents a layer of the
stratified well as a function of the vertical gradient of
the temperature. In each layer the volume is assumed
fully mixed. The energy balance is performed for
each layer of the well to perform a detailed
calculation of each node's temperature. Obviously,
this approach leads to a discrete temperature
stratification. The nodes temperatures are evaluated
by solving a set of differential equations. The data
necessary for describing the well thermodynamic
performance are stored in a N
node
×3 array. The first
column (j=1) consists of the data about the first heat
exchanger, the second one (j=2) includes the data of
the well, and the last column (j=3) consists of the data
of the second heat exchanger. The energy balance of
each well (j=2) node (i) is displayed in the following
equation: