Interface tespy/OGS

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.

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!