release 0.14.0 - #808
Merged
Merged
Conversation
…junctions: recreating status quo
-move from_nodes and to_nodes from branch_w_internals directly to pipe and valve as it is differently determined -branch_entries move directly to pipe and valve component -lookup for pipe_pit and pipe idx -correct element check in valve creation -adaptions to enable direct connection between valve and pipe
# Conflicts: # CHANGELOG.rst # src/pandapipes/component_models/abstract_models/branch_wzerolength_models.py # src/pandapipes/test/api/test_special_networks.py
Feature/valve
Delete branch_wzerolength_models.py
…hoff/pandapipes into tutorial_dhnx_pandapipes # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
* Improve readability of setting pipeflow options * Replace logger calls with warnings * Apply _iteration_check only to aux_opts; Exclude unwanted keys; Deepcopy inputs * Remove returning opts from _iteraction_check * Add tests for _iteration_check * Remove usage of map to pursue clarity * Remove check for 'mode' in opts It always exists as long as it exists in default opts, since we're checking the merged dict * Replace warning with logger message for now * Rename 'obj' to 'options' --------- Co-authored-by: SRDM <42580302+SimonRubenDrauz@users.noreply.github.com>
tutorial dhnx to pandapipes updated
* STANET converter: some defaults for KFAKT in net_params * STANET converter: vectorization of valve creation * liniting correction (?) * changelog * stanet converter fix * different naming of valve pipes and pumps if "NAME" entry exists * added valve creation mode in stanet converter and implemented an enum for the three modes: - stanet_like (equivalent to stanet_like_valves=True) - separate_pipe (equivalent to stanet_like_valves=False) - only_valve (new mode without inserting a pipe that represents the stanet valve length) * slight change from logger warning to warnings.warn (Deprecation) * added missing import in stanet2pandapipes.py * small fix in create_valves --------- Co-authored-by: srdm <simon.drauz-mauel@retoflow.de> Co-authored-by: SRDM <42580302+SimonRubenDrauz@users.noreply.github.com>
* generalize reindex functions * added heat consumer to element_junction_tuples * linting correction (?) --------- Co-authored-by: Daniel Lohmeier <31214121+dlohmeier@users.noreply.github.com> Co-authored-by: dlohmeier <daniel.lohmeier@retoflow.de>
* std type clarification and adaption --------- Co-authored-by: dlohmeier <daniel.lohmeier@retoflow.de>
* introduce outer diameter in branches with internals * introducing outer diameter in branches wo internals * renaming diameter_m in inner_diameter_mm and considering user api * tutorial updates
* introduce old_pit in base component * removing not required setting of old pit values * introducing old pit in different components * remove not required code in valve because of old pit introduction * remove not required code in pump because of old pit introduction * remove TINIT_OLD from idx_node * introduce old pit in heat_consumer and flow_control * removing old pit consideration in run_timeseries * introducing old pit in junction * introduce old pit in derivative_calculation.py * introduce old pit in pipe compoent * introduce old pit in pipeflow * consider old pit in derivative toolbox * introduce old pit in pipeflow setup
* adaption in stanet converter * new features for press control component * further adaptions in press control and rerun functionalities * converting strings to floats in stanet converter * consider stanet control strategies * consider direction in oos graph * directed adaptions
* enthalpy error * determination of cp_n changed * small bugfixes create_pipes
* updated branding with version from marketing * removed second logo location fixed path issue in index.rst * updated readme to use images from websites (fixes pypi renderer)
* more components with inner and outer diameter: - valve and heat exchanger need at least inner diameter - outer diameter as optional parameter added to both - in convert_format.py: renaming of diameter or add inner diameter of nan; also add outer diameter for all branch components as nan (equals inner diameter) * make tests work again: forgot to pass inner diameter in heat exchanger creation and forgot inner diameter as argument in some tests * update of format version * remove outer_diameter_mm from heat_exchanger and valve * Update branch_wo_internals_models.py * removed unused DO statement
* correction for node_index_active lookup in reduce_pit -> referred to two different indices in case of all active / some inactive -> removal of not required lookup active_match * changelog entry * fix for node active lookup if all are connected * complete fix for the active index lookup - same behavior for nodes and branches in reduce_pit - the lookup now refers to the element indices just like the index lookup for the pit - adaption of the pressure controller such that the junction is now stored in the internal array and a user warning is raised if a controlled junction is set out of service by the connectivity check - the connectivity check in the create press_control function can be ignored - added test for the new behavior --------- Co-authored-by: SRDM <42580302+SimonRubenDrauz@users.noreply.github.com>
* adding dp friction losses along a pipe
* bugfix * release for pp 3.3.3 --------- Co-authored-by: dlohmeier <daniel.lohmeier@retoflow.de>
* -added check for element type pipe * -small changes --------- Co-authored-by: SRDM <42580302+SimonRubenDrauz@users.noreply.github.com>
* add basic water components * fix for parallel pipes with qext_w equals to zero * abs frict loss --------- Co-authored-by: dlohmeier <daniel.lohmeier@retoflow.de>
release 0.14.0 --------- Co-authored-by: dlohmeier <daniel.lohmeier@retoflow.de>
# Conflicts: # CHANGELOG.rst # pyproject.toml # src/pandapipes/__init__.py # src/pandapipes/component_models/abstract_models/branch_w_internals_models.py # src/pandapipes/component_models/abstract_models/branch_wo_internals_models.py # src/pandapipes/component_models/pipe_component.py # src/pandapipes/component_models/pressure_control_component.py # src/pandapipes/component_models/pump_component.py # src/pandapipes/component_models/valve_component.py # src/pandapipes/converter/stanet/table_creation.py # src/pandapipes/create.py # src/pandapipes/deprecations.py # src/pandapipes/io/convert_format.py # src/pandapipes/pf/derivative_calculation.py # src/pandapipes/pf/derivative_toolbox.py # src/pandapipes/pf/derivative_toolbox_numba.py # src/pandapipes/pf/result_extraction.py # src/pandapipes/pipeflow.py # src/pandapipes/plotting/collections.py # src/pandapipes/test/api/release_cycle/release_control_test_network.py # src/pandapipes/test/api/test_components/test_circ_pump_mass.py # src/pandapipes/test/api/test_components/test_ext_grid.py # src/pandapipes/test/api/test_components/test_heat_consumer.py # src/pandapipes/test/api/test_components/test_pipe.py # src/pandapipes/test/api/test_components/test_valve.py # src/pandapipes/test/api/test_create.py # src/pandapipes/test/api/test_network_tables.py # src/pandapipes/test/io/test_file_io.py # src/pandapipes/test/networks/test_networks.py # src/pandapipes/test/pipeflow_internals/test_inservice.py # src/pandapipes/test/test_toolbox.py # tutorials/creating_a_simple_network.ipynb # tutorials/district_heating/circular_flow_in_a_district_heating_grid.ipynb # tutorials/district_heating/multiple_pumps_flow_in_a_circular_district_heating_grid.ipynb # tutorials/district_heating/time_series_in_a_circular_district_heating_grid.ipynb # tutorials/ein_einfaches_netz_erstellen.ipynb # tutorials/minimal_example.ipynb # tutorials/simple_plot.ipynb
master merge
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #808 +/- ##
==========================================
+ Coverage 82.71% 82.93% +0.21%
==========================================
Files 91 91
Lines 7331 7610 +279
==========================================
+ Hits 6064 6311 +247
- Misses 1267 1299 +32 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
SimonRubenDrauz
added a commit
that referenced
this pull request
May 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.