Skip to content

Commit 6fa3589

Browse files
committed
bugfix: removed brell lines disconnection from merger
1 parent d2f07b6 commit 6fa3589

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

emf/loadflow_tool/model_merger/temporary_fixes.py

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
fix_sv_tapsteps, remove_duplicate_sv_voltages,
99
remove_small_islands,check_and_fix_dependencies,
1010
disconnect_equipment_if_flow_sum_not_zero,
11-
export_to_cgmes_zip, set_brell_lines_to_zero_in_models,
12-
configure_paired_boundarypoint_injections_by_nodes,
13-
set_brell_lines_to_zero_in_models_new)
11+
export_to_cgmes_zip,
12+
configure_paired_boundarypoint_injections_by_nodes)
1413

1514

1615
logger = logging.getLogger(__name__)
@@ -19,17 +18,7 @@
1918
def run_pre_merge_processing(input_models, merging_area):
2019

2120
# TODO warning logs for temp fix functions
22-
23-
# SET BRELL LINE VALUES
24-
if merging_area == 'BA':
25-
input_models = set_brell_lines_to_zero_in_models(input_models)
26-
2721
assembled_data = load_opdm_data(input_models)
28-
29-
# TODO try to optimize it better
30-
# if merging_area == 'BA':
31-
# assembled_data = set_brell_lines_to_zero_in_models_new(assembled_data)
32-
3322
assembled_data = triplets.cgmes_tools.update_FullModel_from_filename(assembled_data)
3423
assembled_data = configure_paired_boundarypoint_injections_by_nodes(assembled_data)
3524
escape_upper_xml = assembled_data[assembled_data['VALUE'].astype(str).str.contains('.XML')]

0 commit comments

Comments
 (0)