Skip to content

Commit

Permalink
Merge pull request #595 from dlohmeier/hotfix/cpp_oos_error
Browse files Browse the repository at this point in the history
fixed error for setting output pressure in case of oos circulation pumps
  • Loading branch information
SimonRubenDrauz committed Apr 5, 2024
2 parents 10a5893 + 50b9050 commit 2338776
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def create_pit_node_entries(cls, net, node_pit):
"""
circ_pump_tbl = net[cls.table_name()][net[cls.table_name()][cls.active_identifier()].values]

junction = net[cls.table_name()][cls.from_to_node_cols()[1]].values
junction = circ_pump_tbl[cls.from_to_node_cols()[1]].values

# TODO: there should be a warning, if any p_bar value is not given or any of the types does
# not contain "p", as this should not be allowed for this component
Expand Down

0 comments on commit 2338776

Please sign in to comment.