CHANGELOG

v0.6.3 (2023-10-03)

Fix

Unknown

  • Merge pull request #48 from oopnet/fix/report_parsing_decimals

Fix report parsing decimals and deprecated pandas methods (`266dd0c <https://github.com/oopnet/oopnet/commit/266dd0c266c479f4ff7c0dcf105f9f6b4c545631>`_)

v0.6.2 (2022-10-22)

Fix

v0.6.1 (2022-10-15)

Fix

  • fix: fixed a bug where Valves in controls resulted in an invalid EPANET model

EPANET does not accept FCV/PCV/PRV/… in the IF line in controls but requires VALVE instead. The THEN line accepts VALVE however. Added a corresponding rule to Rules_network and. (`1c20957 <https://github.com/oopnet/oopnet/commit/1c20957cb8a665997f7379a9af561e6ea46222e7>`_)

Unknown

v0.6.0 (2022-10-07)

Documentation

Feature

Unknown

v0.5.3 (2022-10-05)

Fix

  • fix: bugfix in ReportFileReader

fixed another bug, where concatenated results are not parsed correctly (`2dad842 <https://github.com/oopnet/oopnet/commit/2dad8422c260974d81b9da04a60e21475ae3c6fd>`_)

v0.5.2 (2022-09-26)

Fix

  • fix: ReportFileReader bugfix

fixed a bug where concatenated large values are not split correctly if they appear in the first line of a result block (`127f1ce <https://github.com/oopnet/oopnet/commit/127f1cec0a47a7ab1b6932a5701085be961f0a86>`_)

v0.5.1 (2022-09-22)

Ci

Fix

Test

Unknown

  • [ci skip] updated feature request template

added example code block (`e30a98d <https://github.com/oopnet/oopnet/commit/e30a98d5b3b12ec25fe0be36f9c775b94aec01ed>`_)

  • [ci skip] bug report template update

added example code block (`49dc49b <https://github.com/oopnet/oopnet/commit/49dc49bf1c82279301f66eb817176cb64c0e0c4b>`_)

v0.5.0 (2022-09-18)

Documentation

Feature

  • feat: added a new NetworkPlotter class that enables static plots and animations

  • replaced PlotSimulation, Plotnodes etc. with a single class for plotting

  • implemented a new animation function to visualize extended period simulations

  • added animate method to Network class

  • added documentation and a new example run_and_animate.py base on L-Town

  • added tests (`3a3a028 <https://github.com/oopnet/oopnet/commit/3a3a02840443009cffb2d9d271402bb4c7123855>`_)

  • feat: added center method to Link components to calculate a Link's geometric center in 2D

center coordinates are derived from start and end nodes, as well as vertices does not take component's length attribute into account useful for plotting (`d3f5dbf <https://github.com/oopnet/oopnet/commit/d3f5dbff5f5e7f2e175206fa7a6b2d7fb020711f>`_)

Fix

Refactor

Test

Unknown

  • Merge pull request #41 from oopnet/animation_plotting

Animation plotting Fixes #39 (`7a5bb8a <https://github.com/oopnet/oopnet/commit/7a5bb8aed272e260c2e09fb605cbabf8a856d327>`_)

v0.4.1 (2022-09-02)

Fix

Test

v0.4.0 (2022-09-01)

Documentation

Feature

Fix

Unknown

v0.3.2 (2022-08-26)

Ci

Documentation

Fix

  • fix: fixed concatenated large number parsing error in report file reader

fixes #34 (`1685835 <https://github.com/oopnet/oopnet/commit/1685835e1d16bf7eaa605e829486ddde07e4d5de>`_)

Unknown

Large number parsing fix (`9111738 <https://github.com/oopnet/oopnet/commit/91117381185c7c42cf6e2f876f2097b2ae2dbbbf>`_)

v0.3.1 (2022-04-14)

Fix

v0.3.0 (2022-02-28)

Ci

Feature

  • feat: added get_by_id method to SuperComponentRegistry for NetworkComponent lookup

get_by_id is a utility function for iterating over all ComponentRegistries stored in a SuperComponentRegistry. It is implemented in get_nodes(network) and get_links(network). (`d89c8cc <https://github.com/oopnet/oopnet/commit/d89c8cc88bb7ab979ec73a0a7b8e3d18c1c40d49>`_)

Fix

Added lists to the appropriate class attributes (`91b3a6e <https://github.com/oopnet/oopnet/commit/91b3a6eda9fae12a07e36adcbb91b527cab3c9ed>`_)

Unknown

v0.2.3 (2022-02-22)

Fix

  • fix: fixed ComponentRegistry pickling

quick fix to prevent pickling error of ComponentRegistries (object of type ComponentRegistry has no attribute super_registry) (`fbe2900 <https://github.com/oopnet/oopnet/commit/fbe290064dd353fdca969630cbfa6acac525c106>`_)

Test

test for e.g. adding a Junction with ID "1" to a Network that already contains a Tank with the ID "1" (`3fd5818 <https://github.com/oopnet/oopnet/commit/3fd58185b369a21b6243e194cb734181eef1ba93>`_)

v0.2.2 (2022-02-22)

Ci

Fix

  • fix: disabled testing the mc stereo scoop example

SCOOP isn't working with Python 3.10 as described in this issue (`003f249 <https://github.com/oopnet/oopnet/commit/003f249099a40d6b5c647571c0b8ef48f3be8fca>`_)

  • fix: fixed CI pipeline

replaced Python version 3.10 with "3.10" to prevent trimming the version to 3.1 (`50f2650 <https://github.com/oopnet/oopnet/commit/50f2650ea56249cb58d247210d41443c2d194283>`_)

  • fix: fixed CI pipeline

CI pipeline now takes all commits since last release instead of latest only added tests for Python 3.10 minor changes to semantic release secrets (`b79726c <https://github.com/oopnet/oopnet/commit/b79726cbda8e37cd1cd9c675146f3b43cf67b15a>`_)

  • fix: fixed ComponentRegistry initialization

removed dataclass decorator since it could lead to issues (`1cd7d64 <https://github.com/oopnet/oopnet/commit/1cd7d64184856de6b2633a1ceda4dbc2038e3ebe>`_)

Refactor

Test

Unknown

v0.2.1 (2022-02-17)

Fix

v0.2.0 (2022-02-14)

Feature

  • feat: added linkwidth argument to Network.plot

Linkwidth takes a pandas Series with values describing the width of specific Pipes (!). Added tests for some other plotting arguments as well. (`f749a48 <https://github.com/oopnet/oopnet/commit/f749a4803e5583bea126791ed2c54e28a1059b6f>`_)

Fix

  • fix: fixed pandas Series for links with missing values

Missing values from a link pandas Series don't lead to an error anymore when looking up the color of the missing Link. Black will be used instead. (`cc681f4 <https://github.com/oopnet/oopnet/commit/cc681f440ee9393691ab41ffcdbdebbdcc61907d>`_)

Fixed pipe length calculation, added validation for split_ratio argument and added logging (DEBUG level). Added tests for invalid split_ratio arguments and enhanced existing tests. (`7e3b53a <https://github.com/oopnet/oopnet/commit/7e3b53a4b92a74b5cae46bc33a9cd0d11f143bb6>`_)

Refactor

v0.1.6 (2022-02-07)

Ci

  • ci: added dedicated pull request workflow

Added dedicated PR workflow to prevent building OOPNET when adding a PR (`dc9549a <https://github.com/oopnet/oopnet/commit/dc9549a1adb3a939ab61cc3d21e1586be926a3bf>`_)

  • ci: added dedicated pull request workflow

Added dedicated PR workflow to prevent building OOPNET when adding a PR (`2ae988c <https://github.com/oopnet/oopnet/commit/2ae988c02b893fd415e7c3d6b09997c4bdba9bb3>`_)

Fix

added tests for contentreading (`a5afc67 <https://github.com/oopnet/oopnet/commit/a5afc675b8901c3b3fe950982610162f00af026c>`_)

Refactor

silencing pandas warning (`f19fb16 <https://github.com/oopnet/oopnet/commit/f19fb16113256810eba3e96c0d1f57437a100611>`_)

Test

Unknown

  • Merge pull request #22 from oopnet/dev

Dev (`ac64888 <https://github.com/oopnet/oopnet/commit/ac64888bf5cb3b7673086272dab4b2153a0a9c16>`_)

Dev (`0799437 <https://github.com/oopnet/oopnet/commit/0799437ab2b2792a23eaa016aadc2c92efc0dc18>`_)

v0.1.5 (2022-02-07)

Fix

v0.1.4 (2022-02-06)

Fix

v0.1.3 (2022-02-06)

Fix

v0.1.2 (2022-02-06)

Fix

v0.1.1 (2022-02-06)

Fix

v0.1.0 (2022-02-06)

Documentation

Feature

Refactor

Test

Unknown

Refactor (`26cd804 <https://github.com/oopnet/oopnet/commit/26cd80401e771486555508d5a89461997596bf8e>`_)

relates to issue #17

added plotting to benchmark (`6bb4aea <https://github.com/oopnet/oopnet/commit/6bb4aeaf38d2807e49a3f60169bb4b894423338b>`_)