MassimoCimmino / pygfunction

An open-source toolbox for the evaluation of thermal response factors (g-functions) of geothermal borehole fields.
BSD 3-Clause "New" or "Revised" License
46 stars 20 forks source link

Negative mass flow rate in pipe and network objects to model reversed flow #282

Open MassimoCimmino opened 1 month ago

MassimoCimmino commented 1 month ago

This is to implement the use of negative mass flow rates when calling Pipe and Network objects to signify reversed flow direction. This will support #215 and enable a more intuitive modelling of borehole thermal energy storage systems.

metab0t commented 4 days ago

Thanks for your work on reversible flow! The BTES often uses different directions of fluid in winter and summer, so it would be crucial to support this.

Is there any prototype code that can be tested?

MassimoCimmino commented 3 days ago

@metab0t This issue is only for the impact of the flow reversal on the interior of boreholes. The impact on the ground heat transfer will be tackled in #215.

The present issue and #215 are my priorities at the moment. I will update #215 as development progresses.