e2nIEE / pandapipes

@@ -56,7 +56,7 @@
Loading
56 56
            try:
57 57
                for key in self["fluid"].keys():
58 58
                     r += "\n%s" % self["fluid"][key]
59 -
            except:
59 +
            except AttributeError:
60 60
                r += "\n%s" % self["fluid"]
61 61
        else:
62 62
            r += "\nIt does not contain any defined fluid"

@@ -8,8 +8,6 @@
Loading
8 8
import pandas as pd
9 9
from networkx import has_path
10 10
11 -
from pandapipes.component_models.abstract_models.branch_models import BranchComponent
12 -
from pandapipes.component_models.abstract_models.node_element_models import NodeElementComponent
13 11
from pandapipes.pandapipes_net import pandapipesNet
14 12
from pandapipes.topology import create_nxgraph
15 13
from pandapower.auxiliary import get_indices
@@ -416,7 +414,6 @@
Loading
416 414
                        include_mass_circ_pumps=False, include_press_controls=False)
417 415
    return has_path(mg, to_junction, controlled_junction)
418 416
419 -
420 417
# TODO: change to pumps??
421 418
# def drop_trafos(net, trafos, table="trafo"):
422 419
#     """

@@ -10,8 +10,7 @@
Loading
10 10
from pandapower import pandapowerNet
11 11
from pandapower.control.util.diagnostic import control_diagnostic
12 12
from pandapower.timeseries.run_time_series import get_recycle_settings, init_time_steps, output_writer_routine, \
13 -
    print_progress_bar, cleanup, run_loop, init_default_outputwriter as init_default_ow_pp, init_output_writer
14 -
import tqdm
13 +
    cleanup, run_loop, init_default_outputwriter as init_default_ow_pp, init_output_writer
15 14
16 15
try:
17 16
    from pandaplan.core import pplog

@@ -2,15 +2,15 @@
Loading
2 2
# and Energy System Technology (IEE), Kassel. All rights reserved.
3 3
# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
4 4
5 +
from collections.abc import Iterable
6 +
7 +
import numpy as np
5 8
from pandas.errors import InvalidIndexError
6 9
7 10
from pandapipes.pipeflow_setup import get_lookup
8 11
from pandapipes.properties.fluids import get_fluid, get_mixture_higher_heating_value
9 12
from pandapower.control import ConstControl
10 13
from pandapower.control.basic_controller import Controller
11 -
from pandas.errors import InvalidIndexError
12 -
import numpy as np
13 -
from collections.abc import Iterable
14 14
15 15
16 16
class P2GControlMultiEnergy(Controller):

@@ -4,9 +4,8 @@
Loading
4 4
5 5
import networkx as nx
6 6
import numpy as np
7 -
from pandapower.topology.create_graph import add_edges, get_edge_table
8 7
9 -
from pandapipes.component_models.abstract_models.branch_models import BranchComponent
8 +
from pandapower.topology.create_graph import add_edges, get_edge_table
10 9
11 10
try:
12 11
    from pandaplan.core import pplog as logging

@@ -3,7 +3,8 @@
Loading
3 3
# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
4 4
5 5
import numpy as np
6 -
from pandapipes.component_models import ExtGrid, Pipe, Sink, Source, Junction
6 +
7 +
from pandapipes.component_models import Pipe
7 8
from pandapower.plotting.generic_geodata import coords_from_igraph, \
8 9
    _prepare_geodata_table, _get_element_mask_from_nodes, _igraph_meshed
9 10
Files Coverage
pandapipes 88.88%
setup.py 0.00%
Project Totals (78 files) 88.62%

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading