Pressure Control #590
-
I'm trying to implement a throttle that reduces the pressure. For that i wanted to use the pressure_control component. However this causes a convergent error. To study the component i created a really simple network. I found out it only allows me to induce a small pressure drop but even with that the massflow changes drastically and doesn't stay constant. Also I've tried different solvers. Does anybody know why that happens? Or do I have a fundamental wrong understanding about how the pressure_control is meant to be used. I'd be happy for any help or ideas. This is the code in question: import pandapipes as pp #create junctions #create junction elements #create branch elements pp.pipeflow(net, mode="all", solver_method="nr") |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Dear @PleaseHelpMeThanks , |
Beta Was this translation helpful? Give feedback.
Dear @PleaseHelpMeThanks ,
thanks for reaching out on this problem. I am not exactly sure what kind of problem you are trying to address, but an important aspect of your setup is that you create a throttle in parallel to a pipe (from junction 1 to 2). This leads to the effect that the pressure at the outlet node of the throttle and the pipe (junction 2) must equal, i.e. the mass flow through the throttle is regulated such that the pressure drop inside the throttle is exactly the same as the pressure drop induced by friction from the mass flow through the parallel pipe. This system has a strong inter-dependency.
As I said, I am not exactly sure what type of problem you are trying to solve,…