A resistive-capacitive model of pile heat exchangers with an application to thermal response tests interpretation