You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, currently I am working with pandapipes where I am modelling and simulating a real DHN. I have some questions regarding functionality and understanding some error messages.
How to correctly implement the connectivity_check? I tried with,
import pandapipes as pp
rest of my code for building the network.....
.... pp.connectivity_check(net, node_pit, branch_pit) > now here I don't know what should be node and branch pit? is it only the index/variable name of every junction and branches?
I also tried using pp.init_options(net, local_parameters) > here I set up a dictionary with 'check_connectivity' as key and True as value. But it also gives an error (An error occurred during the simulation: 'kwargs').
Is there any way we can elaborate the error message:
(An error occurred during the simulation: Hydraulic calculation/heat transfer calculation did not converge).
So that we know exactly where we are encountering any problems? For example, normally the hydraulic calculation occurs if the pump cannot provide the required amount of fluid through the network, or there is high friction etc. But I also saw, if the network is open somewhere, then we also have this hydraulic calculation convergence error. It doesn't tell that the network is not closed. Therefore, is there any way to understand or print the complete error message for understanding the root cause of the problem?
Finally, as I said, i am modelling a real network. Therefore the geodata of the junctions and pipes are taken from the network database. Even though the junctions are connected via pipes correctly, I can see in pandapipes plot that, in most places the the junction is somewhat offset from the pipes. I have attached a picture for your understanding.
So my question is, could this be one of the reasons for hydraulic calculation convergence issues? Or it is just plotting the network based on the geodata of the junction and pipes from the database?
Would be very helpful if anyone could answer these questions. Thanks in advance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, currently I am working with pandapipes where I am modelling and simulating a real DHN. I have some questions regarding functionality and understanding some error messages.
import pandapipes as pp
rest of my code for building the network.....
....
pp.connectivity_check(net, node_pit, branch_pit) > now here I don't know what should be node and branch pit? is it only the index/variable name of every junction and branches?
I also tried using pp.init_options(net, local_parameters) > here I set up a dictionary with 'check_connectivity' as key and True as value. But it also gives an error (An error occurred during the simulation: 'kwargs').
Is there any way we can elaborate the error message:
(An error occurred during the simulation: Hydraulic calculation/heat transfer calculation did not converge).
So that we know exactly where we are encountering any problems? For example, normally the hydraulic calculation occurs if the pump cannot provide the required amount of fluid through the network, or there is high friction etc. But I also saw, if the network is open somewhere, then we also have this hydraulic calculation convergence error. It doesn't tell that the network is not closed. Therefore, is there any way to understand or print the complete error message for understanding the root cause of the problem?
Finally, as I said, i am modelling a real network. Therefore the geodata of the junctions and pipes are taken from the network database. Even though the junctions are connected via pipes correctly, I can see in pandapipes plot that, in most places the the junction is somewhat offset from the pipes. I have attached a picture for your understanding.
So my question is, could this be one of the reasons for hydraulic calculation convergence issues? Or it is just plotting the network based on the geodata of the junction and pipes from the database?
Would be very helpful if anyone could answer these questions. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions