From 54275aac1dcc9e4956ae65c4d4d37a333b964864 Mon Sep 17 00:00:00 2001 From: Nitish Bharambe Date: Wed, 26 Jun 2024 14:54:21 +0200 Subject: [PATCH] remove name from main obj Signed-off-by: Nitish Bharambe --- src/power_grid_model_io/config/excel/vision_en.yaml | 6 ------ src/power_grid_model_io/config/excel/vision_en_9_7.yaml | 6 ------ src/power_grid_model_io/config/excel/vision_nl.yaml | 6 ------ tests/data/vision/pgm_input_data_en.json | 6 +++--- tests/data/vision/pgm_input_data_nl.json | 6 +++--- tests/data/vision/vision_9_5_en.yaml | 6 ------ tests/data/vision/vision_9_5_nl.yaml | 6 ------ 7 files changed, 6 insertions(+), 36 deletions(-) diff --git a/src/power_grid_model_io/config/excel/vision_en.yaml b/src/power_grid_model_io/config/excel/vision_en.yaml index 375cb3f1..3b38835e 100644 --- a/src/power_grid_model_io/config/excel/vision_en.yaml +++ b/src/power_grid_model_io/config/excel/vision_en.yaml @@ -146,7 +146,6 @@ grid: transformer: id: auto_id: - name: transformer key: Number from_node: auto_id: @@ -231,7 +230,6 @@ grid: key: Number regulated_object: auto_id: - name: transformer key: Number: Number status: 1 @@ -251,7 +249,6 @@ grid: transformer: id: auto_id: - name: transformer key: Number from_node: auto_id: @@ -328,7 +325,6 @@ grid: key: Number regulated_object: auto_id: - name: transformer key: Number: Number status: 1 @@ -752,7 +748,6 @@ grid: three_winding_transformer: id: auto_id: - name: three_winding_transformer key: Number node_1: auto_id: @@ -861,7 +856,6 @@ grid: key: Number regulated_object: auto_id: - name: three_winding_transformer key: Number: Number status: 1 diff --git a/src/power_grid_model_io/config/excel/vision_en_9_7.yaml b/src/power_grid_model_io/config/excel/vision_en_9_7.yaml index 993233f4..ced71e0a 100644 --- a/src/power_grid_model_io/config/excel/vision_en_9_7.yaml +++ b/src/power_grid_model_io/config/excel/vision_en_9_7.yaml @@ -147,7 +147,6 @@ grid: transformer: id: auto_id: - name: transformer key: Number from_node: auto_id: @@ -232,7 +231,6 @@ grid: key: Number regulated_object: auto_id: - name: transformer key: Number: Number status: State @@ -252,7 +250,6 @@ grid: transformer: id: auto_id: - name: transformer key: Number from_node: auto_id: @@ -329,7 +326,6 @@ grid: key: Number regulated_object: auto_id: - name: transformer key: Number: Number status: At @@ -753,7 +749,6 @@ grid: three_winding_transformer: id: auto_id: - name: three_winding_transformer key: Number node_1: auto_id: @@ -862,7 +857,6 @@ grid: key: Number regulated_object: auto_id: - name: three_winding_transformer key: Number: Number status: 1 diff --git a/src/power_grid_model_io/config/excel/vision_nl.yaml b/src/power_grid_model_io/config/excel/vision_nl.yaml index fac27270..01f797e3 100644 --- a/src/power_grid_model_io/config/excel/vision_nl.yaml +++ b/src/power_grid_model_io/config/excel/vision_nl.yaml @@ -146,7 +146,6 @@ grid: transformer: id: auto_id: - name: transformer key: Nummer from_node: auto_id: @@ -228,7 +227,6 @@ grid: key: Nummer regulated_object: auto_id: - name: transformer key: Nummer: Nummer status: 1 @@ -248,7 +246,6 @@ grid: transformer: id: auto_id: - name: transformer key: Nummer from_node: auto_id: @@ -322,7 +319,6 @@ grid: key: Nummer regulated_object: auto_id: - name: transformer key: Nummer: Nummer status: 1 @@ -743,7 +739,6 @@ grid: three_winding_transformer: id: auto_id: - name: three_winding_transformer key: Nummer node_1: auto_id: @@ -849,7 +844,6 @@ grid: key: Nummer regulated_object: auto_id: - name: three_winding_transformer key: Nummer: Nummer status: 1 diff --git a/tests/data/vision/pgm_input_data_en.json b/tests/data/vision/pgm_input_data_en.json index 9ef61069..f3a476fb 100644 --- a/tests/data/vision/pgm_input_data_en.json +++ b/tests/data/vision/pgm_input_data_en.json @@ -21,8 +21,8 @@ ], "transformer": [ - {"id": 9, "from_node": 1, "to_node": 2, "id_reference": {"table": "Transformers", "name": "transformer", "key": {"Number": 1}}, "Name": "transformer1"}, - {"id": 11, "from_node": 1, "to_node": 3, "id_reference": {"table": "Special transformers", "name": "transformer", "key": {"Number": 1}}, "Name": "special_trans1"}, + {"id": 9, "from_node": 1, "to_node": 2, "id_reference": {"table": "Transformers", "key": {"Number": 1}}, "Name": "transformer1"}, + {"id": 11, "from_node": 1, "to_node": 3, "id_reference": {"table": "Special transformers", "key": {"Number": 1}}, "Name": "special_trans1"}, {"id": 13, "from_node": 2, "to_node": 15, "id_reference": {"table": "Transformer loads", "name": "transformer", "key": {"Node.Number": 3, "Subnumber": 4}}, "Name": "transformer_load_2"}, {"id": 14, "from_node": 2, "to_node": 16, "id_reference": {"table": "Transformer loads", "name": "transformer", "key": {"Node.Number": 3, "Subnumber": 2}}, "Name": "transformer_load_1"} ], @@ -58,6 +58,6 @@ ], "three_winding_transformer": [ - {"id": 29, "node_1": 1, "node_2": 2, "node_3": 4, "id_reference": {"table": "Three winding transformers", "name": "three_winding_transformer", "key": {"Number": 1}}} + {"id": 29, "node_1": 1, "node_2": 2, "node_3": 4, "id_reference": {"table": "Three winding transformers", "key": {"Number": 1}}} ] } diff --git a/tests/data/vision/pgm_input_data_nl.json b/tests/data/vision/pgm_input_data_nl.json index a9998772..73332570 100644 --- a/tests/data/vision/pgm_input_data_nl.json +++ b/tests/data/vision/pgm_input_data_nl.json @@ -21,8 +21,8 @@ ], "transformer": [ - {"id": 9, "from_node": 1, "to_node": 2, "id_reference": {"table": "Transformatoren", "name": "transformer", "key": {"Nummer": 1}}, "Naam": "transformer1"}, - {"id": 11, "from_node": 1, "to_node": 3, "id_reference": {"table": "Speciale transformatoren", "name": "transformer", "key": {"Nummer": 1}}, "Naam": "special_trans1"}, + {"id": 9, "from_node": 1, "to_node": 2, "id_reference": {"table": "Transformatoren", "key": {"Nummer": 1}}, "Naam": "transformer1"}, + {"id": 11, "from_node": 1, "to_node": 3, "id_reference": {"table": "Speciale transformatoren", "key": {"Nummer": 1}}, "Naam": "special_trans1"}, {"id": 13, "from_node": 2, "to_node": 15, "id_reference": {"table": "Transformatorbelastingen", "name": "transformer", "key": {"Knooppunt.Nummer": 3, "Subnummer": 4}}, "Naam": "transformer_load_2"}, {"id": 14, "from_node": 2, "to_node": 16, "id_reference": {"table": "Transformatorbelastingen", "name": "transformer", "key": {"Knooppunt.Nummer": 3, "Subnummer": 2}}, "Naam": "transformer_load_1"} ], @@ -58,6 +58,6 @@ ], "three_winding_transformer": [ - {"id": 29, "node_1": 1, "node_2": 2, "node_3": 4, "id_reference": {"table": "Driewikkelingstransformatoren", "name": "three_winding_transformer", "key": {"Nummer": 1}}} + {"id": 29, "node_1": 1, "node_2": 2, "node_3": 4, "id_reference": {"table": "Driewikkelingstransformatoren", "key": {"Nummer": 1}}} ] } diff --git a/tests/data/vision/vision_9_5_en.yaml b/tests/data/vision/vision_9_5_en.yaml index 45fd53c4..7eb95787 100644 --- a/tests/data/vision/vision_9_5_en.yaml +++ b/tests/data/vision/vision_9_5_en.yaml @@ -146,7 +146,6 @@ grid: transformer: id: auto_id: - name: transformer key: Number from_node: auto_id: @@ -231,7 +230,6 @@ grid: key: Number regulated_object: auto_id: - name: transformer key: Number: Number status: 1 @@ -251,7 +249,6 @@ grid: transformer: id: auto_id: - name: transformer key: Number from_node: auto_id: @@ -328,7 +325,6 @@ grid: key: Number regulated_object: auto_id: - name: transformer key: Number: Number status: 1 @@ -738,7 +734,6 @@ grid: three_winding_transformer: id: auto_id: - name: three_winding_transformer key: Number node_1: auto_id: @@ -847,7 +842,6 @@ grid: key: Number regulated_object: auto_id: - name: three_winding_transformer key: Number: Number status: 1 diff --git a/tests/data/vision/vision_9_5_nl.yaml b/tests/data/vision/vision_9_5_nl.yaml index 74aa93a2..92637197 100644 --- a/tests/data/vision/vision_9_5_nl.yaml +++ b/tests/data/vision/vision_9_5_nl.yaml @@ -146,7 +146,6 @@ grid: transformer: id: auto_id: - name: transformer key: Nummer from_node: auto_id: @@ -228,7 +227,6 @@ grid: key: Nummer regulated_object: auto_id: - name: transformer key: Nummer: Nummer status: 1 @@ -248,7 +246,6 @@ grid: transformer: id: auto_id: - name: transformer key: Nummer from_node: auto_id: @@ -322,7 +319,6 @@ grid: key: Nummer regulated_object: auto_id: - name: transformer key: Nummer: Nummer status: 1 @@ -729,7 +725,6 @@ grid: three_winding_transformer: id: auto_id: - name: three_winding_transformer key: Nummer node_1: auto_id: @@ -835,7 +830,6 @@ grid: key: Nummer regulated_object: auto_id: - name: three_winding_transformer key: Nummer: Nummer status: 1