Skip to content

Commit

Permalink
Fix vector function assignment for dynamic pipe, bump version to 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rboghe committed Mar 19, 2024
1 parent 868991d commit a455675
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pydhn/components/vector_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pydhn"
version = "0.1.1"
version = "0.1.2"
description = ""
authors = [
"Roberto Boghetti <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a455675

Please sign in to comment.