Gas transmission network modelling: How can I add compressors and flow resistance? #411
Replies: 4 comments
-
Hi ananthu2050, Recently, the new components "compressor" and "pressure controller" have been added to pandapipes. I hope this helps you to get started. Could you please specify further what you have in mind (which level of detail) for the compressor stations and injection points? |
Beta Was this translation helpful? Give feedback.
-
Thank you for the super quick response. "compressor" and "pressure controller" would be good starting points for me. The compressor is driven by a motor fueled by some of the natural gas bled from the pipeline. So there is also small difference in the volume of the gas before and after the compressor station. I think, I will have to implement the same in the compressor component. Also compressor stations will have some scrubbers or strainers to remove impurities or liquids. They might also cause some pressure drop, but I believe that would be negligible. That could be the other level of detail that I need to implement. But I think pressure controller can be readily used. "flow_control" would be useful as well. |
Beta Was this translation helpful? Give feedback.
-
The consumption of the compressor can be modelled by adding a sink at either inlet or outlet junction and controlling it via a "Controller" from pandapower. The Controller object is executed in every iteration step of the pipeflow calculation and will manipulate one variable in the net (mass flow of the compressor sink) based on another variable (compression power). The pandapower Controller is so general that it should be possible to use it in pandapipes without modifications. If you develop new components or extend the existing ones, feel free to open a pull request : ) |
Beta Was this translation helpful? Give feedback.
-
Thank you @jkisse I will open a pull request to implement the changes. |
Beta Was this translation helpful? Give feedback.
-
I am interested in using pandapipes for gas transportation networks. In such networks, we have compressor stations, injection points, flow controllers etc in addition to pipes, junctions, valves that are currently available for modelling in pandapipes. To model the gas transmission networks, I need these additional equipment. I am not sure how to add new component like compressor in pandapipes. I looked at standard type library notebook and currently I could see pipes and pumps. I need some guidance for adding compressors, flow regulators etc in standard type library. Appreciate any inputs for the same.
Beta Was this translation helpful? Give feedback.
All reactions