pandapipes
pandapipes copied to clipboard
Branch output: internal node temperature
Problem In some cases, a heat exchanger, but also any kind of other branch, is connected to an outlet junction that has more incoming flows than that just the one from the heat exchanger (cf. #494). However, it would be nice to also display the temperature at the outlet of the heat exchanger (not just the mixed temperature at the junction) for further processing.
Solution This result is hard to retrieve externally, but could probably quite simply be done within the component model itself. I think, we should add this result parameter to the result table and extract it during the simulation.
EDIT: This was shown on the example of a heat exchanger, but the same is true for a pipe. This way, it could look like a pipe is connected to an external heat source when considering the t_to_k result, but in fact there is just another stream to the same junction with a higher temperature.
Maybe it would even make sense to drop t_from_k and t_to_k ( as they can be retrieved from the junction tables), and just create the parameters t_inlet and t_outlet, where t_inlet would usually equal t_from_k.
Maybe it would even make sense to drop t_from_k and t_to_k ( as they can be retrieved from the junction tables), and just create the parameters t_inlet and t_outlet, where t_inlet would usually equal t_from_k.
This is exactly what I would expect as a user. This is also somewhat connected to #423 where exactly these temperatures (inlet and outlet, not mixing temperature at the junctions) would be needed to calculated / validate heat losses.
We recently added this to our development agenda... I can't say exactly how long it takes, but we will probably deal with this in the near future.