Closed JonasPfeiffer123 closed 1 year ago
Hi @JonasPfeiffer123, I think this problem has been addressed in other issues, I think we should create a small introduction to time series simulation with different setups, e.g. heating networks. Please try to run the time series with mode="all" keyword argument. It is then handed down to the pipeflow. Hope that all works fine. Best regards
Yes, adding the keyword argument mode="all" solves the problem. Thank you very much. I also think it would be useful to add this information to the docs and/or the time series example.
Describe the bug I'm quite new to pandapipes and recently started creating heating networks with pandapipes. I created a net containing pipes, heat exchangers and a constant pressure circulation pump. First of, running "pipeflow(net, mode="all")" works fine. The results show, that the flow temperature at the pump is set correctly and due to heat losses the temperature is reduced from junction to junction. Also a temperature drop happens at the heat exchangers as intended. This can be checked with res_junctions, res_circ_pump_pressure, and res_heat_exchanger.
In the time series simulation of the heating network, the calculated temperatures in the network remain constant. I expect the temperatures to change according to the variations in the input data, but instead, they remain constant. My Controler changes "qext_w" of the heat exchangers so a difference in flow and temperature is expected.
Here are some outputs which show the problem. Issue.txt
Here the output of the temperature in a matplotlib plot.
To Reproduce
My net is currently generated from gis data, so the code I created is quite long and requires geoJSON input files. But as the "normal" calculation works fine, I think the problem come with the time series function.
Edit: I created a new smaller network manually to further test the problem. The following net also creates the problem.
My time series function:
I would like to know, if there is something wrong with my time series calculation or if there is a problem in the run_timeseries function.
Python environment:
This is my first issue ever. If I should add anything else, please tell me.