e2nIEE / pandapipes

A pipeflow calculation tool that complements pandapower in the simulation of multi energy grids
https://www.pandapipes.org
Other
139 stars 60 forks source link

Added unsupplied_junctions and elements_on_path to pandapipes #592

Closed mfranz13 closed 5 months ago

mfranz13 commented 7 months ago

Added unsupplied_junctions and elements_on_path with tests to pandapipes. Added the convenience functions get_all_branch_component_table_names and get_all_branch_component_models to prevent hardcoding the branch element table names like in pandapower.

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 71.71717% with 28 lines in your changes are missing coverage. Please review.

Project coverage is 90.49%. Comparing base (613fe60) to head (ac6b9b2).

Files Patch % Lines
src/pandapipes/plotting/pipeflow_results.py 9.67% 28 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #592 +/- ## =========================================== - Coverage 90.62% 90.49% -0.14% =========================================== Files 138 139 +1 Lines 10457 10556 +99 =========================================== + Hits 9477 9553 +76 - Misses 980 1003 +23 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mfranz13 commented 5 months ago

@dlohmeier thx for your suggestions, i implemented the changes :)

mfranz13 commented 5 months ago

@dlohmeier I added the functions for plot_pressure_profile to this PR aswell