e2nIEE / pandapipes

A pipeflow calculation tool that complements pandapower in the simulation of multi energy grids
https://www.pandapipes.org
Other
147 stars 62 forks source link

bug in circular_flow_in_a_district_heating_grid.py tutorial #580

Closed panosz closed 10 months ago

panosz commented 10 months ago

Describe the bug It seems that the pump is connected in a reverse order that it was intended.

To Reproduce Run the tutorial and check the output of net.res_pipe. The temperatures of the junctions are not order as the corresponding text in the notebook describes.

Error message None

Expected behavior The temperatures at the to-nodes should be lower than the temperatures at the from-node

Screenshots If applicable, add screenshots to help explain your problem.

Python environment (please complete the following information):

Additional context None

I believe this is solved by switching the junctions of the pump, i.e.

    return_junction=j3, flow_junction=j0,
dlohmeier commented 10 months ago

Hi @panosz , thanks for the hint, I created a quick fix to be releases soon. Regards