Skip to content

release 0.13.0 - #778

Merged
EPrade merged 50 commits into
masterfrom
develop
Jan 16, 2026
Merged

release 0.13.0#778
EPrade merged 50 commits into
masterfrom
develop

Conversation

@EPrade

@EPrade EPrade commented Jan 16, 2026

Copy link
Copy Markdown
Contributor

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>
EPrade and others added 20 commits October 6, 2025 10:06
* -added heat_consumer doc

* -added heat_consumer doc toctree

* Apply suggestions from code review

rename component to heat consumer

Co-authored-by: dad616610 <147147326+dad616610@users.noreply.github.com>

* Apply suggestions from code review

Spelling corrected

Co-authored-by: dad616610 <147147326+dad616610@users.noreply.github.com>

* Update heat_consumer_res.csv

Spelling corrected

---------

Co-authored-by: critzenhoff <carl.ritzenhoff@uni-kassel.de>
Co-authored-by: dad616610 <147147326+dad616610@users.noreply.github.com>
* Update create.py

Due to a refactor _set_entries was changed in pandapower.

* Update create.py

forgot an import

* add old _set_multiple_entries

* Update create.py

copied over more missing pandapower dependencies.

* Update create.py

added even more missing imports.

* Update create.py

updated a weird import.

* Update create.py

forgot another np.

* added fileio requirements in test runners

* added fileio requirements in pyproject.toml

* correction

* correction

* consider API change in basic controller (name field); use pandapipes set_entries for valve_pipe component

* move fileio pandapower requirement to top level at pandapipes installation

* rename initial_pipeflow in storage controller

---------

Co-authored-by: V3 <mike.vogt@iee.fraunhofer.de>
Co-authored-by: David Heck <david.heck@iee.fraunhofer.de>
* changes in branch weigthing function for nx graph -> reduce to given table

* fix of pipe weigthing input for nx graph
…#749)

* implemented exponential form of the temperature loss to ambient for stationary branch equations; some bits of cleanup

* small changes in tests, as the results of the new method slightly differ in some cases, and the pipeflow converges faster

* correction in pipe model for qext; tried first test, but seems problematic with qext and sections

* clean API create_pipe

* -bugfix
-remove UserWarning

* no consideration of qext in pipes; warning if length and qext given at the same time

* lots of corrections

- remove all qext_w occurences for pipes in create.py
- correct warnings and testing for u_w_per_m2k when checking against alpha_w_per_m2k
- adaption of some create-tests (especially not to use qext_w for pipes anymore)
- small correction in derivative_calculation.py

* codacy

* whitespace ??

* install pandapower[fileio] for running tests

* more fileio requirements

* test for pipe t results

* workflows and installation according to develop

* small change in test pipe

* changed pipe component model to remove qext_w

* remove trailing whitespace codacy

* remove trailing whitespace codacy

* remove trailing whitespace codacy

* correction of non zero length check with qext

---------

Co-authored-by: srdm <simon.drauz-mauel@retoflow.de>
* viscosity and compressibility can now be derived from temperature and pressure if a fluid property states that it accepts both

* small correction

* increase number of iterations for some tests

* more corrections in 2d properties, colebrook-white and some components

- usage of 2d properties in more places than before (esp. result extraction, properties toolbox)
- implementation of Colebrook-White with scipy newton algorithm instead of own function
- zero length components initiate K with 1e-3m instead of 1e3m

* Revert "increase number of iterations for some tests"

This reverts commit 19282cd.

* fixes

- missing import in derivative_calculation.py
- correct interpretation of newton algorithm in scipy used in colebrook-white lambda calculation depending on input (scalar or vector)
- had to increase maximum number of colebrook-white iterations for some tests (hard to compare between scipy and hand-written algorithm)

* changelog

* tiny fix (no major importance)

* dynamize fluid properties

* added first derivative of colebrook-white term to colebrook method (second derivative not working properly)

* small corrections to viscosity and branch result extraction

* remove second derivative for colebrook-white algorithm due to instability issues

* include logger again

* add missing changelog entry

* add tolerance of colebrook-white algorithm to user definable options

* changes to pyproject.toml

* changes to test workflows

* changes to test workflows

---------

Co-authored-by: srdm <simon.drauz-mauel@retoflow.de>
Co-authored-by: EPrade <90843651+EPrade@users.noreply.github.com>
)

* Implement code changes to enhance functionality and improve performance

* Finalized the Jupyter Notebooks

* Update and retest district heating example notebooks

Retest all district heating example notebooks with latest pandapipes dev version:

- Verify compatibility of circular_flow_in_a_district_heating_grid.ipynb
- Verify compatibility of time_series_in_a_circular_district_heating_grid.ipynb
- Verify compatibility of BadPointPressureLiftController.ipynb

Updates:
- Increase alpha relaxation parameter from 0.2 to 0.5 in time series simulation as suggested in comments
- Update notebook metadata to reflect current execution environment
- Ensure all examples run successfully with latest dev version

All notebooks have been executed and validated to work correctly with the current development version of pandapipes.
* decimal consideration reading csv

* adding BAUJAHR and MATERIAL to pipes

* wrong variable name
* correct error check

* revert some code parts
* stop python 3.9 support
* start python 3.13 support
* allow zero flow in thermal calculation

* small corrections in order and default values

* remove not required imports
@codecov

codecov Bot commented Jan 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 77.73109% with 212 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.71%. Comparing base (8ea42af) to head (a824ac9).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/pandapipes/pf/derivative_toolbox_numba.py 6.73% 97 Missing ⚠️
src/pandapipes/create.py 75.80% 30 Missing ⚠️
src/pandapipes/converter/stanet/table_creation.py 62.16% 28 Missing ⚠️
src/pandapipes/deprecations.py 58.06% 13 Missing ⚠️
src/pandapipes/toolbox.py 78.84% 11 Missing ⚠️
src/pandapipes/pf/result_extraction.py 65.00% 7 Missing ⚠️
src/pandapipes/component_models/pipe_component.py 93.18% 6 Missing ⚠️
src/pandapipes/pf/pipeflow_setup.py 86.48% 5 Missing ⚠️
src/pandapipes/properties/fluids.py 75.00% 4 Missing ⚠️
src/pandapipes/pf/derivative_calculation.py 95.71% 3 Missing ⚠️
... and 6 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #778      +/-   ##
==========================================
- Coverage   84.31%   82.71%   -1.60%     
==========================================
  Files          91       91              
  Lines        6930     7331     +401     
==========================================
+ Hits         5843     6064     +221     
- Misses       1087     1267     +180     

☔ View full report in Codecov by Sentry.
📢 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.

@EPrade
EPrade merged commit 9b9ab82 into master Jan 16, 2026
54 of 57 checks passed
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.

9 participants