#954 fix(toolbox): merge asymmetric elements

Merged rskew
Coverage Reach
pypower/pips.py pypower/opf_model.py pypower/dcopf_solver.py pypower/opf_setup.py pypower/pipsopf_solver.py pypower/opf_execute.py pypower/opf_args.py pypower/newtonpf.py pypower/opf_consfcn.py pypower/fdpf.py pypower/opf_hessfcn.py pypower/pfsoln.py pypower/gausspf.py pypower/opf_costfcn.py pypower/dSbr_dV.py pypower/makePTDF.py pypower/qps_pips.py pypower/makeApq.py pypower/makeAy.py pypower/makeAvl.py pypower/makeYbus.py pypower/makeBdc.py pypower/makeSbus.py pypower/totcost.py pypower/opf.py pypower/makeAang.py pypower/polycost.py pypower/qps_pypower.py pypower/idx_gen.py pypower/idx_brch.py pypower/idx_bus.py pypower/dSbus_dV.py pypower/makeB.py pypower/d2Sbus_dV2.py pypower/dIbr_dV.py pypower/hasPQcap.py pypower/d2Sbr_dV2.py pypower/add_userfcn.py pypower/makeLODF.py pypower/update_mupq.py pypower/ppoption.py pypower/run_userfcn.py pypower/pqcost.py pypower/util.py pypower/d2ASbr_dV2.py pypower/dAbr_dV.py pypower/d2AIbr_dV2.py pypower/d2Ibr_dV2.py pypower/dcpf.py pypower/printpf.py pypower/bustypes.py pypower/idx_cost.py pypower/ppver.py pypower/pipsver.py pypower/isload.py pypower/idx_area.py pypower/_compat.py pypower/__init__.py toolbox.py networks/cigre_networks.py networks/create_examples.py networks/power_system_test_cases.py networks/dickert_lv_networks.py networks/kerber_networks.py networks/simple_pandapower_test_networks.py networks/synthetic_voltage_control_lv_networks.py networks/kerber_extreme_networks.py networks/mv_oberrhein.py networks/ieee_europen_lv_asymmetric.py networks/__init__.py create.py estimation/algorithm/base.py estimation/algorithm/estimator.py estimation/algorithm/matrix_base.py estimation/algorithm/lp.py estimation/algorithm/optimization.py estimation/ppc_conversion.py estimation/util.py estimation/state_estimation.py estimation/results.py estimation/idx_brch.py estimation/idx_bus.py estimation/__init__.py pf/run_bfswpf.py pf/runpp_3ph.py pf/runpf_pypower.py pf/run_newton_raphson_pf.py pf/create_jacobian.py pf/pfsoln_numba.py pf/run_dc_pf.py pf/iwamoto_multiplier.py pf/makeYbus_numba.py pf/ppci_variables.py pf/dSbus_dV_numba.py pf/no_numba.py pf/create_jacobian_numba.py timeseries/output_writer.py timeseries/run_time_series.py timeseries/ts_runpp.py timeseries/read_batch_results.py timeseries/data_sources/frame_data.py timeseries/data_sources/__init__.py timeseries/data_source.py timeseries/__init__.py converter/pypower/from_ppc.py converter/pypower/to_ppc.py converter/pypower/__init__.py converter/powermodels/to_pm.py converter/powermodels/from_pm.py converter/powermodels/__init__.py converter/matpower/from_mpc.py converter/matpower/to_mpc.py converter/matpower/__init__.py converter/__init__.py io_utils.py shortcircuit/currents.py shortcircuit/calc_sc.py shortcircuit/results.py shortcircuit/kappa.py shortcircuit/impedance.py shortcircuit/idx_bus.py shortcircuit/idx_brch.py shortcircuit/__init__.py control/controller/trafo/ContinuousTapControl.py control/controller/trafo/DiscreteTapControl.py control/controller/trafo_control.py control/controller/const_control.py control/util/auxiliary.py control/util/diagnostic.py control/util/__init__.py control/run_control.py control/basic_controller.py control/__init__.py auxiliary.py build_branch.py diagnostic.py build_bus.py topology/create_graph.py topology/graph_searches.py topology/graph_tool_interface.py topology/__init__.py results_branch.py diagnostic_reports.py results_bus.py pd2ppc_zero.py convert_format.py build_gen.py results_gen.py opf/make_objective.py opf/pm_storage.py opf/validate_opf_input.py opf/run_powermodels.py file_io.py results.py pd2ppc.py powerflow.py std_types.py optimal_powerflow.py run.py __init__.py runpm.py

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 3 files from the diff.

@@ -42,14 +42,14 @@
Loading
42 42
    if bus_elements:
43 43
        ebts.update([("sgen", "bus"), ("load", "bus"), ("ext_grid", "bus"), ("gen", "bus"),
44 44
                     ("ward", "bus"), ("xward", "bus"), ("shunt", "bus"),
45 -
                     ("storage", "bus")])
45 +
                     ("storage", "bus"), ("asymmetric_load", "bus"), ("asymmetric_sgen", "bus")])
46 46
    if branch_elements:
47 47
        ebts.update([("line", "from_bus"), ("line", "to_bus"), ("impedance", "from_bus"),
48 48
                     ("switch", "bus"), ("impedance", "to_bus"), ("trafo", "hv_bus"),
49 49
                     ("trafo", "lv_bus"), ("trafo3w", "hv_bus"), ("trafo3w", "mv_bus"),
50 50
                     ("trafo3w", "lv_bus"), ("dcline", "from_bus"), ("dcline", "to_bus")])
51 51
    if res_elements:
52 -
        elements_without_res = ["switch", "measurement"]
52 +
        elements_without_res = ["switch", "measurement", "asymmetric_load", "asymmetric_sgen"]
53 53
        ebts.update(
54 54
            [("res_" + ebt[0], ebt[1]) for ebt in ebts if ebt[0] not in elements_without_res])
55 55
    return ebts
@@ -2324,7 +2324,8 @@
Loading
2324 2324
        element_table = net.impedance
2325 2325
        connected_elements = set(net["impedance"].index[(net.impedance.from_bus.isin(buses)) |
2326 2326
                                                        (net.impedance.to_bus.isin(buses))])
2327 -
    elif element in ["gen", "ext_grid", "xward", "shunt", "ward", "sgen", "load", "storage"]:
2327 +
    elif element in ["gen", "ext_grid", "xward", "shunt", "ward", "sgen", "load", "storage",
2328 +
                     "asymmetric_load", "asymmetric_sgen"]:
2328 2329
        element_table = net[element]
2329 2330
        connected_elements = set(element_table.index[(element_table.bus.isin(buses))])
2330 2331
    elif element == "measurement":

Learn more Showing 2 files with coverage changes found.

Changes in pandapower/build_bus.py
-4
+4
Loading file...
Changes in pandapower/networks/ieee_europen_lv_asymmetric.py
-4
+4
Loading file...
Files Coverage
pandapower 0.05% 87.78%
Project Totals (161 files) 87.78%
Loading