diff --git a/CHANGELOG.md b/CHANGELOG.md index e7abd30..e9431d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log +## 0.1.2 + +Released on March 19, 2024 + +### Added + +### Changed + +* Fixed a bug where the wrong vector function was called when using LagrangianPipe + +### Removed + ## 0.1.1 Released on January 19, 2024 diff --git a/pydhn/components/vector_functions.py b/pydhn/components/vector_functions.py index 1dc0534..26f73c7 100644 --- a/pydhn/components/vector_functions.py +++ b/pydhn/components/vector_functions.py @@ -36,4 +36,4 @@ COMPONENT_FUNCTIONS_DICT["base_branch_valve"] = {"delta_p": compute_dp_valve_net} # Add Lagrangian pipe -COMPONENT_FUNCTIONS_DICT["lagrangian_pipe"] = {"delta_p": compute_pipe_temp_net} +COMPONENT_FUNCTIONS_DICT["lagrangian_pipe"] = {"delta_p": compute_dp_pipe_net} diff --git a/pyproject.toml b/pyproject.toml index c29e65d..3dc3f28 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pydhn" -version = "0.1.1" +version = "0.1.2" description = "" authors = [ "Roberto Boghetti ", diff --git a/setup.py b/setup.py index 12933a3..f987fac 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( name="pydhn", - version="0.1.1", + version="0.1.2", description="A library for the simulation of district heating networks.", url="https://www.github.com/idiap/pydhn", author="Roberto Boghetti, Giuseppe Peronato",