From 93a59bac0a6c496657502bdf4254d9967524cb09 Mon Sep 17 00:00:00 2001 From: srdm Date: Tue, 17 Dec 2024 16:38:51 +0100 Subject: [PATCH] remove duplicated code --- src/pandapipes/pf/derivative_calculation.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pandapipes/pf/derivative_calculation.py b/src/pandapipes/pf/derivative_calculation.py index 922f5b09..4b1fe058 100644 --- a/src/pandapipes/pf/derivative_calculation.py +++ b/src/pandapipes/pf/derivative_calculation.py @@ -86,7 +86,6 @@ def calculate_derivatives_hydraulic(net, branch_pit, node_pit, options): def calculate_derivatives_thermal(net, branch_pit, node_pit, _): - node_pit[:, INFEED] = False fluid = get_fluid(net) cp = get_branch_cp(fluid, node_pit, branch_pit) m_init_i = np.abs(branch_pit[:, MDOTINIT])