Skip to content

release 0.14.0 - #808

Merged
SimonRubenDrauz merged 75 commits into
masterfrom
develop
May 26, 2026
Merged

release 0.14.0#808
SimonRubenDrauz merged 75 commits into
masterfrom
develop

Conversation

@SimonRubenDrauz

Copy link
Copy Markdown
Collaborator

No description provided.

SimonRubenDrauz and others added 30 commits June 12, 2025 16:46
-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
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>
* 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>
SimonRubenDrauz and others added 27 commits January 16, 2026 13:33
* 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
* merge master in develop
@codecov

codecov Bot commented May 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.23782% with 117 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.93%. Comparing base (9b9ab82) to head (cdb6de5).
⚠️ Report is 77 commits behind head on master.

Files with missing lines Patch % Lines
src/pandapipes/pf/derivative_toolbox_numba.py 2.32% 42 Missing ⚠️
src/pandapipes/pipeflow.py 80.28% 14 Missing ⚠️
src/pandapipes/create.py 78.18% 12 Missing ⚠️
src/pandapipes/pandapipes_net.py 73.33% 12 Missing ⚠️
src/pandapipes/converter/stanet/table_creation.py 38.88% 11 Missing ⚠️
src/pandapipes/deprecations.py 70.00% 6 Missing ⚠️
src/pandapipes/toolbox.py 68.42% 6 Missing ⚠️
src/pandapipes/io/convert_format.py 92.30% 4 Missing ⚠️
...c/pandapipes/component_models/component_toolbox.py 85.71% 2 Missing ⚠️
src/pandapipes/converter/stanet/preparing_steps.py 86.66% 2 Missing ⚠️
... and 4 more
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SimonRubenDrauz
SimonRubenDrauz merged commit 394d7c8 into master May 26, 2026
47 of 48 checks passed
SimonRubenDrauz added a commit that referenced this pull request May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.