# Interface tespy/OGS

**URL:** <https://discourse.opengeosys.org/t/interface-tespy-ogs/1686>\
**Category:** Help & Support\
**Created:** [September 9, 2025, 12:54pm UTC](https://discourse.opengeosys.org/t/interface-tespy-ogs/1686 "2025-09-09T12:54:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![einsor](https://discourse.opengeosys.org/letter_avatar_proxy/v4/letter/e/bcef8e/32.png) [@einsor](https://discourse.opengeosys.org/u/einsor)\
**Post date:** [September 9, 2025, 12:54pm UTC](https://discourse.opengeosys.org/t/interface-tespy-ogs/1686/1 "2025-09-09T12:54:35Z")

</div>

I am trying to make a simulation of a configuration of BHES that are connected, some in serial others in parallel. Thus I need to use tespy to compute the flows and connect the temperatures. The example on the OGS-site has only parallel connections, are there any example with also serial connections, if not can anyone give me guidelines of how to connect such a configuration? As a starter, I think the 3bhes\_array example modified such that the output of the first bhe feeds the last 2 which are parallel would demonstrate this.

---

<div class="post-metadata">

**Author:** ![M\_Jaeschke](https://discourse.opengeosys.org/letter_avatar_proxy/v4/letter/m/258eb7/32.png) [@M\_Jaeschke](https://discourse.opengeosys.org/u/M_Jaeschke)\
**Post date:** [September 10, 2025, 5:57am UTC](https://discourse.opengeosys.org/t/interface-tespy-ogs/1686/2 "2025-09-10T05:57:37Z")

</div>

Hi,  
if I understand correctly, you already have a running setup for the Benchmark " A 3-BHE Array Coupled With Pipe Network"? This is just great. If you want to simulate BHEs connected in serial manner, it is from my point of view a problem only related to Tespy and the connection to ogs is just to assign the right BHE temperatures to each other. A serial connection means, that the outflow of BHE1 enters e.g. BHE2 - this means T\_outflow (BHE1) = T\_inflow (BHE2). You can also model a pipe in between with Tespy, I think. This example with two BHEs will be the simplest possible version and therefore a good starting case for serial connection.

I’m not so familiar with Tespy and this is also a bit out of scope of this forum as it is not directly related to ogs. What I see from the benchmark files: BHEs are modeled as simple heat exchangers in Tespy, and you should be able to connect them also in a serial way in Tespy.

Maybe you can share your actual Python script, than I may able to assist a bit in more detail.

Good luck!
