Skip to content

Commit

Permalink
import fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dlohmeier committed Mar 18, 2024
1 parent 4a57b24 commit a3a2ebd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/pandapipes/component_models/heat_consumer_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from pandapipes.component_models import get_fluid, \
BranchWZeroLengthComponent, get_component_array, standard_branch_wo_internals_result_lookup
from pandapipes.component_models.junction_component import Junction
from pandapipes.idx_branch import D, AREA, VINIT, ALPHA, QEXT, \
RHO, TEXT, JAC_DERIV_DP1, JAC_DERIV_DV, JAC_DERIV_DP, LOAD_VEC_BRANCHES, TL
from pandapipes.idx_branch import (D, AREA, VINIT, ALPHA, QEXT, RHO, TEXT, JAC_DERIV_DP1,
JAC_DERIV_DV, JAC_DERIV_DP, LOAD_VEC_BRANCHES)
from pandapipes.pf.result_extraction import extract_branch_results_without_internals


Expand Down Expand Up @@ -137,7 +137,8 @@ def adaption_after_derivatives_hydraulic(cls, net, branch_pit, node_pit, idx_loo
# f, t = idx_lookups[cls.table_name()]
# hs_pit = branch_pit[f:t, :]
# mask_t_return = ~np.isnan(hs_pit[:, TRETURN])
# hs_pit[mask_t_return, TINIT_OUT] = hs_pit[mask_t_return, TINIT_OUT] - hs_pit[mask_t_return, DELTAT]
# hs_pit[mask_t_return, TINIT_OUT] = (hs_pit[mask_t_return, TINIT_OUT]
# - hs_pit[mask_t_return, DELTAT])
#
#
# @classmethod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ def extract_results(cls, net, options, branch_results, mode):
extract_branch_results_without_internals(net, branch_results, required_results_hyd,
required_results_ht, cls.table_name(), mode)


@classmethod
def get_component_input(cls):
"""
Expand Down

0 comments on commit a3a2ebd

Please sign in to comment.