diff --git a/diagram/PowSyBl/add_iri.py b/diagram/PowSyBl/add_iri.py index 6f67c81..3909be0 100644 --- a/diagram/PowSyBl/add_iri.py +++ b/diagram/PowSyBl/add_iri.py @@ -28,50 +28,60 @@ from lxml import etree -_BUS_INDEX_SUFFIX = re.compile(r'_\d+$') -_SW_FICT_SUFFIX = re.compile(r'_SW_fict$') +_UUID_RE = re.compile( + r'[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}', + re.IGNORECASE, +) -def _normalize_mrid(mrid: str) -> str: - """Remove _SW_fict suffix from mrids (fictitious switches).""" - return _SW_FICT_SUFFIX.sub("", mrid) +def extract_mrids(raw_id: str) -> list[str]: + """ + Extract all unique UUID mRIDs from an SVG element ID or equipment ID. + + Algorithm (from svg-click/README.md): + 1. Decode SVG ID encoding: _45_ -> dash, _95_ -> underscore + 2. Find all UUIDs in the string, deduplicate preserving order + Handles both simple IDs (one UUID) and compound IDs (multiple UUIDs). + """ + s = raw_id.replace('_45_', '-').replace('_95_', '_') + return list(dict.fromkeys(_UUID_RE.findall(s))) -def build_mapping_nad(meta: dict) -> dict[str, str]: +def build_mapping_nad(meta: dict) -> dict[str, list[str]]: """ NAD JSON: entries in nodes/busNodes/edges/textNodes each have 'svgId' (the SVG element id) and 'equipmentId' (the mRID). - PowSyBl appends '_' to the base mRID for busNodes (e.g. - 'abc123_0' for bus bar 0 of voltage level 'abc123'). That suffix - is stripped here so the IRI always points to the real equipment mRID. + Uses extract_mrid() to generically obtain the UUID from the + equipmentId, stripping any PowSyBl-added suffixes. + A single svgId may map to several distinct mRIDs. """ - mapping: dict[str, str] = {} + mapping: dict[str, list[str]] = {} for section in ("nodes", "busNodes", "edges", "textNodes"): for item in meta.get(section, []): if "equipmentId" in item: - mrid = item["equipmentId"] - if section == "busNodes": - mrid = _BUS_INDEX_SUFFIX.sub("", mrid) - mrid = _normalize_mrid(mrid) - mapping[item["svgId"]] = mrid + for mrid in extract_mrids(item["equipmentId"]): + if mrid not in mapping.setdefault(item["svgId"], []): + mapping[item["svgId"]].append(mrid) return mapping -def build_mapping_sld(meta: dict) -> dict[str, str]: +def build_mapping_sld(meta: dict) -> dict[str, list[str]]: """ SLD JSON: entries in nodes have 'id' (= the SVG element id, hex-encoded) and 'equipmentId' (the mRID). Only entries that have an equipmentId are real network elements; NODE / BUS_CONNECTION topology nodes have none. """ - mapping: dict[str, str] = {} + mapping: dict[str, list[str]] = {} for item in meta.get("nodes", []): if "equipmentId" in item: - mapping[item["id"]] = _normalize_mrid(item["equipmentId"]) + for mrid in extract_mrids(item["equipmentId"]): + if mrid not in mapping.setdefault(item["id"], []): + mapping[item["id"]].append(mrid) return mapping -def detect_and_build_mapping(meta: dict) -> dict[str, str]: +def detect_and_build_mapping(meta: dict) -> dict[str, list[str]]: """Auto-detect NAD vs SLD by inspecting the first node entry.""" nodes = meta.get("nodes", []) if nodes and "svgId" in nodes[0]: @@ -94,8 +104,11 @@ def annotate_svg(svg_path: str, json_path: str, prefix: str, out_path: str) -> i count = 0 for el in root.iter(): eid = el.get("id") - if eid and eid in mapping: - el.set("iri", prefix + mapping[eid]) + if not eid: + continue + mrids = mapping.get(eid) or extract_mrids(eid) + if mrids: + el.set("iri", ">".join(prefix + m for m in mrids)) count += 1 tree.write(out_path, xml_declaration=False, encoding="utf-8", pretty_print=False) diff --git a/diagram/PowSyBl/generate_diagrams.py b/diagram/PowSyBl/generate_diagrams.py index aa1677f..0f4e770 100644 --- a/diagram/PowSyBl/generate_diagrams.py +++ b/diagram/PowSyBl/generate_diagrams.py @@ -139,7 +139,8 @@ def generate_diagrams(network_path: str, tsv_path: str, output_dir: str, verbose # Load the network if verbose: print(f"Loading network from {network_path}...") - network = pn.load(network_path) + import_params = {"iidm.import.cgmes.cgm-with-subnetworks": "false"} + network = pn.load(network_path, parameters=import_params) if verbose: print("Network loaded successfully.") diff --git a/diagram/PowSyBl/sources-telemark.txt b/diagram/PowSyBl/sources-telemark.txt index 1e539af..b30f9ac 100644 --- a/diagram/PowSyBl/sources-telemark.txt +++ b/diagram/PowSyBl/sources-telemark.txt @@ -11,7 +11,7 @@ https://raw.githubusercontent.com/3lbits/CIM4NoUtility/refs/heads/main/Telemark- https://raw.githubusercontent.com/3lbits/CIM4NoUtility/refs/heads/main/Telemark-120/Grid/CIMXML/Telemark-120-LV1_OP.xml https://raw.githubusercontent.com/3lbits/CIM4NoUtility/refs/heads/main/Telemark-120/Grid/CIMXML/Telemark-120-LV1_OR.xml https://raw.githubusercontent.com/3lbits/CIM4NoUtility/refs/heads/main/Telemark-120/Grid/CIMXML/Telemark-120-LV1_SC.xml -https://raw.githubusercontent.com/3lbits/CIM4NoUtility/refs/heads/main/Telemark-120/Grid/CIMXML/Telemark-120-LV1_SSH.xml +https://raw.githubusercontent.com/nikolatulechki/CIM4NoUtility/refs/heads/main/Telemark-120/Grid/CIMXML/Telemark-120-LV1_SSH.xml https://raw.githubusercontent.com/3lbits/CIM4NoUtility/refs/heads/main/Telemark-120/Grid/CIMXML/Telemark-120-MeasurementValueSource_RD.xml https://raw.githubusercontent.com/3lbits/CIM4NoUtility/refs/heads/main/Telemark-120/Grid/CIMXML/Telemark-120-MV1_DL.xml https://raw.githubusercontent.com/3lbits/CIM4NoUtility/refs/heads/main/Telemark-120/Grid/CIMXML/Telemark-120-MV1_EQ.xml diff --git a/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-Bamble-LA.json b/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-Bamble-LA.json index e69de29..3cdd032 100644 --- a/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-Bamble-LA.json +++ b/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-Bamble-LA.json @@ -0,0 +1,797 @@ +{ + "layoutParameters" : { + "textNodesForceLayout" : false, + "textNodeFixedShift" : { + "x" : 100.0, + "y" : -40.0 + }, + "maxSteps" : 1000, + "timeoutSeconds" : 15.0, + "textNodeEdgeConnectionYShift" : 25.0, + "injectionsAdded" : false + }, + "svgParameters" : { + "diagramPadding" : { + "left" : 200.0, + "top" : 200.0, + "right" : 200.0, + "bottom" : 200.0 + }, + "insertNameDesc" : false, + "svgWidthAndHeightAdded" : true, + "cssLocation" : "INSERTED_IN_SVG", + "sizeConstraint" : "FIXED_HEIGHT", + "fixedWidth" : 800, + "fixedHeight" : 600, + "fixedScale" : 0.2, + "arrowShift" : 30.0, + "arrowLabelShift" : 19.0, + "converterStationWidth" : 70.0, + "voltageLevelCircleRadius" : 30.0, + "fictitiousVoltageLevelCircleRadius" : 15.0, + "transformerCircleRadius" : 20.0, + "nodeHollowWidth" : 15.0, + "edgesForkLength" : 80.0, + "edgesForkAperture" : 60.0, + "edgeStartShift" : 0.0, + "unknownBusNodeExtraRadius" : 10.0, + "loopDistance" : 120.0, + "loopEdgesAperture" : 60.0, + "loopControlDistance" : 40.0, + "edgeInfoAlongEdge" : true, + "interAnnulusSpace" : 5.0, + "svgPrefix" : "", + "arrowPathIn" : "M-10 -10 H10 L0 10z", + "arrowPathOut" : "M-10 10 H10 L0 -10z", + "languageTag" : "en", + "voltageValuePrecision" : 1, + "powerValuePrecision" : 0, + "angleValuePrecision" : 1, + "currentValuePrecision" : 0, + "percentageValuePrecision" : 0, + "pstArrowHeadSize" : 8.0, + "undefinedValueSymbol" : "", + "highlightGraph" : false, + "injectionAperture" : 10.0, + "injectionEdgeLength" : 145.0, + "injectionCircleRadius" : 25.0, + "voltageLevelLegendsIncluded" : true, + "edgeInfosIncluded" : true + }, + "busNodes" : [ { + "svgId" : "3", + "equipmentId" : "277ce47c-fa5b-438d-9f82-346c887b57fd_0", + "nbNeighbours" : 1, + "index" : 0, + "vlNode" : "0", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "4", + "equipmentId" : "277ce47c-fa5b-438d-9f82-346c887b57fd_1", + "nbNeighbours" : 1, + "index" : 1, + "vlNode" : "0", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "8", + "equipmentId" : "791059a4-3f6e-4242-a478-1fbbf1abc328_0", + "nbNeighbours" : 3, + "index" : 0, + "vlNode" : "5", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "10", + "equipmentId" : "791059a4-3f6e-4242-a478-1fbbf1abc328_2", + "nbNeighbours" : 3, + "index" : 1, + "vlNode" : "5", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "11", + "equipmentId" : "791059a4-3f6e-4242-a478-1fbbf1abc328_3", + "nbNeighbours" : 3, + "index" : 2, + "vlNode" : "5", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "9", + "equipmentId" : "791059a4-3f6e-4242-a478-1fbbf1abc328_1", + "nbNeighbours" : 3, + "index" : 3, + "vlNode" : "5", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "15", + "equipmentId" : "8da6d670-4607-4432-abce-49614b85fd8e_0", + "nbNeighbours" : 3, + "index" : 0, + "vlNode" : "12", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "16", + "equipmentId" : "8da6d670-4607-4432-abce-49614b85fd8e_1", + "nbNeighbours" : 3, + "index" : 1, + "vlNode" : "12", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "17", + "equipmentId" : "8da6d670-4607-4432-abce-49614b85fd8e_2", + "nbNeighbours" : 3, + "index" : 2, + "vlNode" : "12", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "18", + "equipmentId" : "8da6d670-4607-4432-abce-49614b85fd8e_3", + "nbNeighbours" : 3, + "index" : 3, + "vlNode" : "12", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "22", + "equipmentId" : "91ef68b3-8878-47a4-b24f-66f42bb459ba_0", + "nbNeighbours" : 2, + "index" : 0, + "vlNode" : "19", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "24", + "equipmentId" : "91ef68b3-8878-47a4-b24f-66f42bb459ba_2", + "nbNeighbours" : 2, + "index" : 1, + "vlNode" : "19", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "23", + "equipmentId" : "91ef68b3-8878-47a4-b24f-66f42bb459ba_1", + "nbNeighbours" : 2, + "index" : 2, + "vlNode" : "19", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "28", + "equipmentId" : "bb017e3b-c1e1-463c-b719-fe73df802624_0", + "nbNeighbours" : 1, + "index" : 0, + "vlNode" : "25", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "29", + "equipmentId" : "bb017e3b-c1e1-463c-b719-fe73df802624_1", + "nbNeighbours" : 1, + "index" : 1, + "vlNode" : "25", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "33", + "equipmentId" : "d82114b7-09c0-4cb4-b9c8-19a5fdaf991a_0", + "nbNeighbours" : 2, + "index" : 0, + "vlNode" : "30", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "34", + "equipmentId" : "d82114b7-09c0-4cb4-b9c8-19a5fdaf991a_1", + "nbNeighbours" : 2, + "index" : 1, + "vlNode" : "30", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "35", + "equipmentId" : "d82114b7-09c0-4cb4-b9c8-19a5fdaf991a_2", + "nbNeighbours" : 2, + "index" : 2, + "vlNode" : "30", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "39", + "equipmentId" : "d87764a9-3363-4342-908f-d96f8e7ef71d_0", + "nbNeighbours" : 3, + "index" : 0, + "vlNode" : "36", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "40", + "equipmentId" : "d87764a9-3363-4342-908f-d96f8e7ef71d_1", + "nbNeighbours" : 3, + "index" : 1, + "vlNode" : "36", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "41", + "equipmentId" : "d87764a9-3363-4342-908f-d96f8e7ef71d_2", + "nbNeighbours" : 3, + "index" : 2, + "vlNode" : "36", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "42", + "equipmentId" : "d87764a9-3363-4342-908f-d96f8e7ef71d_3", + "nbNeighbours" : 3, + "index" : 3, + "vlNode" : "36", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "46", + "equipmentId" : "681a21b6-5a55-11eb-a658-74e5f963e191_0", + "nbNeighbours" : 1, + "index" : 0, + "vlNode" : "43", + "legend" : "0.2 kV / -5.1°" + }, { + "svgId" : "47", + "equipmentId" : "681a21b6-5a55-11eb-a658-74e5f963e191_1", + "nbNeighbours" : 1, + "index" : 1, + "vlNode" : "43", + "legend" : "0.2 kV / -5.1°" + } ], + "nodes" : [ { + "svgId" : "0", + "equipmentId" : "277ce47c-fa5b-438d-9f82-346c887b57fd", + "x" : -388.33, + "y" : -244.73, + "legendSvgId" : "1", + "legendEdgeSvgId" : "2", + "legendHeader" : [ "04 TELEMA 2 VL4" ] + }, { + "svgId" : "5", + "equipmentId" : "791059a4-3f6e-4242-a478-1fbbf1abc328", + "x" : 373.7, + "y" : -49.67, + "legendSvgId" : "6", + "legendEdgeSvgId" : "7", + "legendHeader" : [ "04 TELEMA 2 VL3" ] + }, { + "svgId" : "12", + "equipmentId" : "8da6d670-4607-4432-abce-49614b85fd8e", + "x" : -207.46, + "y" : 110.02, + "legendSvgId" : "13", + "legendEdgeSvgId" : "14", + "legendHeader" : [ "04 TELEMA 2 VL5" ] + }, { + "svgId" : "19", + "equipmentId" : "91ef68b3-8878-47a4-b24f-66f42bb459ba", + "x" : 333.77, + "y" : -449.48, + "legendSvgId" : "20", + "legendEdgeSvgId" : "21", + "legendHeader" : [ "04 TELEMA 2 VL1" ] + }, { + "svgId" : "25", + "equipmentId" : "bb017e3b-c1e1-463c-b719-fe73df802624", + "x" : -204.23, + "y" : 524.64, + "legendSvgId" : "26", + "legendEdgeSvgId" : "27", + "legendHeader" : [ "04 TELEMA 2 VL7" ] + }, { + "svgId" : "30", + "equipmentId" : "d82114b7-09c0-4cb4-b9c8-19a5fdaf991a", + "x" : 89.08, + "y" : 309.17, + "legendSvgId" : "31", + "legendEdgeSvgId" : "32", + "legendHeader" : [ "04 TELEMA 2 VL6" ] + }, { + "svgId" : "36", + "equipmentId" : "d87764a9-3363-4342-908f-d96f8e7ef71d", + "x" : 754.03, + "y" : 123.62, + "legendSvgId" : "37", + "legendEdgeSvgId" : "38", + "legendHeader" : [ "04 TELEMA 2 VL2" ] + }, { + "svgId" : "43", + "equipmentId" : "681a21b6-5a55-11eb-a658-74e5f963e191", + "x" : -3.92, + "y" : -242.98, + "invisible" : true, + "legendSvgId" : "44", + "legendEdgeSvgId" : "45", + "legendHeader" : [ "NEDENES 04" ] + } ], + "edges" : [ { + "svgId" : "48", + "equipmentId" : "81567f71-8233-4e19-8357-e75d35e89470", + "node1" : "0", + "node2" : "0", + "busNode1" : "4", + "busNode2" : "3", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "49", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "50", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "51", + "equipmentId" : "f2ed5944-a394-4802-8ec9-936bc60e5bc4", + "node1" : "43", + "node2" : "0", + "busNode1" : "47", + "busNode2" : "4", + "type" : "LineEdge", + "invisible1" : true, + "edgeInfo1" : { + "svgId" : "52", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "53", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "54", + "equipmentId" : "fe0a5228-5eb4-4008-9ee6-d22389f798e9", + "node1" : "0", + "node2" : "12", + "busNode1" : "4", + "busNode2" : "18", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "55", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "56", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "57", + "equipmentId" : "320b9701-cae3-478e-a70b-03d1736ed4e3", + "node1" : "36", + "node2" : "5", + "busNode1" : "42", + "busNode2" : "9", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "58", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "59", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "60", + "equipmentId" : "797fe5ce-1857-4bea-8a0f-728a4b4c30ed", + "node1" : "5", + "node2" : "5", + "busNode1" : "9", + "busNode2" : "11", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "61", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "62", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "63", + "equipmentId" : "8dcf0a96-206b-4da2-814d-4030ac0dfaec", + "node1" : "5", + "node2" : "5", + "busNode1" : "9", + "busNode2" : "10", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "64", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "65", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "66", + "equipmentId" : "e0e00668-9e76-461f-b310-8c84afb9ffe6", + "node1" : "12", + "node2" : "5", + "busNode1" : "18", + "busNode2" : "8", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "67", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "68", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + } + }, { + "svgId" : "69", + "equipmentId" : "ead7f7fd-d132-43b5-b561-1b0e65b0a562", + "node1" : "19", + "node2" : "5", + "busNode1" : "23", + "busNode2" : "9", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "70", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "71", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "72", + "equipmentId" : "30d15518-d0ac-4800-a5c1-da8593c790ed", + "node1" : "25", + "node2" : "12", + "busNode1" : "29", + "busNode2" : "17", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "73", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "74", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + } + }, { + "svgId" : "75", + "equipmentId" : "93efed67-8a75-487c-8e1d-0d31ee4a2fc3", + "node1" : "12", + "node2" : "12", + "busNode1" : "18", + "busNode2" : "15", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "76", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "77", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "78", + "equipmentId" : "b6bbea56-f530-4f7b-9a94-9b7fdeb58779", + "node1" : "12", + "node2" : "12", + "busNode1" : "18", + "busNode2" : "16", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "79", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "80", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "81", + "equipmentId" : "46bce40c-71c2-4d19-b63f-78a69c460b0e", + "node1" : "19", + "node2" : "19", + "busNode1" : "23", + "busNode2" : "24", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "82", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "83", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "84", + "equipmentId" : "84329e8e-2efe-4870-82db-a0bf9a768bd2", + "node1" : "19", + "node2" : "19", + "busNode1" : "23", + "busNode2" : "22", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "85", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "86", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "87", + "equipmentId" : "9d58e5bb-834c-4faa-928c-7da0bb1497d9", + "node1" : "43", + "node2" : "19", + "busNode1" : "47", + "busNode2" : "23", + "type" : "LineEdge", + "invisible1" : true, + "edgeInfo1" : { + "svgId" : "88", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "89", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "90", + "equipmentId" : "0103615e-f6cc-4cb8-a338-a7fb714cdfa2", + "node1" : "30", + "node2" : "25", + "busNode1" : "35", + "busNode2" : "29", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "91", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "92", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "93", + "equipmentId" : "919be6f3-be6b-449d-af3d-4d0a7a221ff5", + "node1" : "25", + "node2" : "25", + "busNode1" : "29", + "busNode2" : "28", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "94", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "95", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "96", + "equipmentId" : "43dbe66c-a342-44b0-b9cf-058c784cef1d", + "node1" : "30", + "node2" : "30", + "busNode1" : "35", + "busNode2" : "34", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "97", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "98", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "99", + "equipmentId" : "50e4056a-92e6-4bc2-b6e1-4d66f1624c38", + "node1" : "43", + "node2" : "30", + "busNode1" : "47", + "busNode2" : "35", + "type" : "LineEdge", + "invisible1" : true, + "edgeInfo1" : { + "svgId" : "100", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "101", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "102", + "equipmentId" : "70b19e4c-edb9-4957-885c-59b7a515724f", + "node1" : "30", + "node2" : "30", + "busNode1" : "35", + "busNode2" : "33", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "103", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "104", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "105", + "equipmentId" : "3f90847f-9450-47aa-a2fa-714cc5353867", + "node1" : "36", + "node2" : "36", + "busNode1" : "42", + "busNode2" : "39", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "106", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "107", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "108", + "equipmentId" : "446700b3-38fb-4cfe-aa71-11fdf6118a49", + "node1" : "36", + "node2" : "36", + "busNode1" : "42", + "busNode2" : "41", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "109", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "110", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "111", + "equipmentId" : "6f519536-eefe-452e-8294-c115bf21581d", + "node1" : "36", + "node2" : "36", + "busNode1" : "42", + "busNode2" : "40", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "112", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "113", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + } ], + "textNodes" : [ { + "svgId" : "1", + "equipmentId" : "277ce47c-fa5b-438d-9f82-346c887b57fd", + "vlNode" : "0", + "shiftX" : 100.0, + "shiftY" : -40.0, + "connectionShiftX" : 100.0, + "connectionShiftY" : -15.0 + }, { + "svgId" : "6", + "equipmentId" : "791059a4-3f6e-4242-a478-1fbbf1abc328", + "vlNode" : "5", + "shiftX" : 100.0, + "shiftY" : -40.0, + "connectionShiftX" : 100.0, + "connectionShiftY" : -15.0 + }, { + "svgId" : "13", + "equipmentId" : "8da6d670-4607-4432-abce-49614b85fd8e", + "vlNode" : "12", + "shiftX" : 100.0, + "shiftY" : -40.0, + "connectionShiftX" : 100.0, + "connectionShiftY" : -15.0 + }, { + "svgId" : "20", + "equipmentId" : "91ef68b3-8878-47a4-b24f-66f42bb459ba", + "vlNode" : "19", + "shiftX" : 100.0, + "shiftY" : -40.0, + "connectionShiftX" : 100.0, + "connectionShiftY" : -15.0 + }, { + "svgId" : "26", + "equipmentId" : "bb017e3b-c1e1-463c-b719-fe73df802624", + "vlNode" : "25", + "shiftX" : 100.0, + "shiftY" : -40.0, + "connectionShiftX" : 100.0, + "connectionShiftY" : -15.0 + }, { + "svgId" : "31", + "equipmentId" : "d82114b7-09c0-4cb4-b9c8-19a5fdaf991a", + "vlNode" : "30", + "shiftX" : 100.0, + "shiftY" : -40.0, + "connectionShiftX" : 100.0, + "connectionShiftY" : -15.0 + }, { + "svgId" : "37", + "equipmentId" : "d87764a9-3363-4342-908f-d96f8e7ef71d", + "vlNode" : "36", + "shiftX" : 100.0, + "shiftY" : -40.0, + "connectionShiftX" : 100.0, + "connectionShiftY" : -15.0 + } ] +} \ No newline at end of file diff --git a/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-Bamble-LA.svg b/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-Bamble-LA.svg new file mode 100644 index 0000000..1f4676a --- /dev/null +++ b/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-Bamble-LA.svg @@ -0,0 +1,498 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + -0 + + + + -0 + + + + 0 + + + + -0 + + + + 0 + + + + -0 + + + + 0 + + + + -0 + + + + 0 + + + + -0 + + + + 0 + + + + 0 + + + + 0 + + + + -0 + + + + 0 + + + + 0 + + + + 0 + + + + -0 + + + + 0 + + + + -0 + + + + 0 + + + + -0 + + + + 0 + + + + -0 + + + + -0 + + + + 0 + + + + -0 + + + + 0 + + + + -0 + + + + 0 + + + + -0 + + + + -0 + + + + 0 + + + + -0 + + + + 0 + + + + -0 + + + + 0 + + + + -0 + + + + 0 + + + + -0 + + + + + + + + + + + + +
+
+
04 TELEMA 2 VL4
+
+ 0.2 kV / -5.1°
+
+ 0.2 kV / -5.1°
+
+
+
04 TELEMA 2 VL3
+
+ 0.2 kV / -5.1°
+
+ 0.2 kV / -5.1°
+
+ 0.2 kV / -5.1°
+
+ 0.2 kV / -5.1°
+
+
+
04 TELEMA 2 VL5
+
+ 0.2 kV / -5.1°
+
+ 0.2 kV / -5.1°
+
+ 0.2 kV / -5.1°
+
+ 0.2 kV / -5.1°
+
+
+
04 TELEMA 2 VL1
+
+ 0.2 kV / -5.1°
+
+ 0.2 kV / -5.1°
+
+ 0.2 kV / -5.1°
+
+
+
04 TELEMA 2 VL7
+
+ 0.2 kV / -5.1°
+
+ 0.2 kV / -5.1°
+
+
+
04 TELEMA 2 VL6
+
+ 0.2 kV / -5.1°
+
+ 0.2 kV / -5.1°
+
+ 0.2 kV / -5.1°
+
+
+
04 TELEMA 2 VL2
+
+ 0.2 kV / -5.1°
+
+ 0.2 kV / -5.1°
+
+ 0.2 kV / -5.1°
+
+ 0.2 kV / -5.1°
+
+
+
+
\ No newline at end of file diff --git a/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-DSO1-LA-1.json b/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-DSO1-LA-1.json index e69de29..cd8da70 100644 --- a/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-DSO1-LA-1.json +++ b/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-DSO1-LA-1.json @@ -0,0 +1,304 @@ +{ + "layoutParameters" : { + "textNodesForceLayout" : false, + "textNodeFixedShift" : { + "x" : 100.0, + "y" : -40.0 + }, + "maxSteps" : 1000, + "timeoutSeconds" : 15.0, + "textNodeEdgeConnectionYShift" : 25.0, + "injectionsAdded" : false + }, + "svgParameters" : { + "diagramPadding" : { + "left" : 200.0, + "top" : 200.0, + "right" : 200.0, + "bottom" : 200.0 + }, + "insertNameDesc" : false, + "svgWidthAndHeightAdded" : true, + "cssLocation" : "INSERTED_IN_SVG", + "sizeConstraint" : "FIXED_HEIGHT", + "fixedWidth" : 800, + "fixedHeight" : 600, + "fixedScale" : 0.2, + "arrowShift" : 30.0, + "arrowLabelShift" : 19.0, + "converterStationWidth" : 70.0, + "voltageLevelCircleRadius" : 30.0, + "fictitiousVoltageLevelCircleRadius" : 15.0, + "transformerCircleRadius" : 20.0, + "nodeHollowWidth" : 15.0, + "edgesForkLength" : 80.0, + "edgesForkAperture" : 60.0, + "edgeStartShift" : 0.0, + "unknownBusNodeExtraRadius" : 10.0, + "loopDistance" : 120.0, + "loopEdgesAperture" : 60.0, + "loopControlDistance" : 40.0, + "edgeInfoAlongEdge" : true, + "interAnnulusSpace" : 5.0, + "svgPrefix" : "", + "arrowPathIn" : "M-10 -10 H10 L0 10z", + "arrowPathOut" : "M-10 10 H10 L0 -10z", + "languageTag" : "en", + "voltageValuePrecision" : 1, + "powerValuePrecision" : 0, + "angleValuePrecision" : 1, + "currentValuePrecision" : 0, + "percentageValuePrecision" : 0, + "pstArrowHeadSize" : 8.0, + "undefinedValueSymbol" : "", + "highlightGraph" : false, + "injectionAperture" : 10.0, + "injectionEdgeLength" : 145.0, + "injectionCircleRadius" : 25.0, + "voltageLevelLegendsIncluded" : true, + "edgeInfosIncluded" : true + }, + "busNodes" : [ { + "svgId" : "3", + "equipmentId" : "681a1e65-5a55-11eb-a658-74e5f963e191_0", + "nbNeighbours" : 0, + "index" : 0, + "vlNode" : "0", + "legend" : "116.7 kV / 0.0°" + }, { + "svgId" : "9", + "equipmentId" : "d4addb12-e956-e44b-9a9d-f118fdbe49f8_2", + "nbNeighbours" : 2, + "index" : 0, + "vlNode" : "4", + "legend" : "0.2 kV / 179.3°" + }, { + "svgId" : "7", + "equipmentId" : "d4addb12-e956-e44b-9a9d-f118fdbe49f8_0", + "nbNeighbours" : 2, + "index" : 1, + "vlNode" : "4", + "legend" : "0.1 kV / 178.5°" + }, { + "svgId" : "8", + "equipmentId" : "d4addb12-e956-e44b-9a9d-f118fdbe49f8_1", + "nbNeighbours" : 2, + "index" : 2, + "vlNode" : "4", + "legend" : "0.1 kV / -3.3°" + }, { + "svgId" : "13", + "equipmentId" : "681a1e3e-5a55-11eb-a658-74e5f963e191_0", + "nbNeighbours" : 0, + "index" : 0, + "vlNode" : "10", + "legend" : "68.1 kV / -3.1°" + }, { + "svgId" : "18", + "equipmentId" : "681a1e4e-5a55-11eb-a658-74e5f963e191_1", + "nbNeighbours" : 3, + "index" : 0, + "vlNode" : "14", + "legend" : "10.4 kV / -3.3°" + }, { + "svgId" : "19", + "equipmentId" : "681a1e4e-5a55-11eb-a658-74e5f963e191_2", + "nbNeighbours" : 3, + "index" : 1, + "vlNode" : "14", + "legend" : "10.4 kV / -3.3°" + }, { + "svgId" : "20", + "equipmentId" : "681a1e4e-5a55-11eb-a658-74e5f963e191_3", + "nbNeighbours" : 3, + "index" : 2, + "vlNode" : "14", + "legend" : "10.4 kV / -3.3°" + }, { + "svgId" : "17", + "equipmentId" : "681a1e4e-5a55-11eb-a658-74e5f963e191_0", + "nbNeighbours" : 3, + "index" : 3, + "vlNode" : "14", + "legend" : "10.4 kV / -3.3°" + }, { + "svgId" : "24", + "equipmentId" : "d4959144-d4c4-4885-a5fd-2a8ad9abbe2c_0", + "nbNeighbours" : 1, + "index" : 0, + "vlNode" : "21", + "legend" : "131.9 kV / -0.1°" + }, { + "svgId" : "25", + "equipmentId" : "d4959144-d4c4-4885-a5fd-2a8ad9abbe2c_1", + "nbNeighbours" : 1, + "index" : 1, + "vlNode" : "21", + "legend" : "131.7 kV / -0.3°" + } ], + "nodes" : [ { + "svgId" : "0", + "equipmentId" : "681a1e65-5a55-11eb-a658-74e5f963e191", + "x" : 361.35, + "y" : 183.45, + "legendSvgId" : "1", + "legendEdgeSvgId" : "2", + "legendHeader" : [ "FROLAND 132 VL1" ] + }, { + "svgId" : "4", + "equipmentId" : "d4addb12-e956-e44b-9a9d-f118fdbe49f8", + "x" : -556.4, + "y" : -329.95, + "legendSvgId" : "5", + "legendEdgeSvgId" : "6", + "legendHeader" : [ "ENGENE 023 VL1" ] + }, { + "svgId" : "10", + "equipmentId" : "681a1e3e-5a55-11eb-a658-74e5f963e191", + "x" : 1.52, + "y" : 234.62, + "invisible" : true, + "legendSvgId" : "11", + "legendEdgeSvgId" : "12", + "legendHeader" : [ "T_ENGENE 132 VL1" ] + }, { + "svgId" : "14", + "equipmentId" : "681a1e4e-5a55-11eb-a658-74e5f963e191", + "x" : -287.95, + "y" : -561.09, + "invisible" : true, + "legendSvgId" : "15", + "legendEdgeSvgId" : "16", + "legendHeader" : [ "ENGENE 22 VL1" ] + }, { + "svgId" : "21", + "equipmentId" : "d4959144-d4c4-4885-a5fd-2a8ad9abbe2c", + "x" : 598.68, + "y" : 452.29, + "invisible" : true, + "legendSvgId" : "22", + "legendEdgeSvgId" : "23", + "legendHeader" : [ "ARENDAL 132 VL1" ] + } ], + "edges" : [ { + "svgId" : "26", + "equipmentId" : "681a26f3-5a55-11eb-a658-74e5f963e191", + "node1" : "21", + "node2" : "0", + "busNode1" : "25", + "busNode2" : "3", + "type" : "LineEdge", + "invisible1" : true, + "edgeInfo1" : { + "svgId" : "27", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "11" + }, + "edgeInfo2" : { + "svgId" : "28", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-9" + } + }, { + "svgId" : "29", + "equipmentId" : "92d33b99-7034-11eb-a65a-74e5f963e191", + "node1" : "0", + "node2" : "10", + "busNode1" : "3", + "busNode2" : "13", + "type" : "LineEdge", + "invisible2" : true, + "edgeInfo1" : { + "svgId" : "30", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "31", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + }, { + "svgId" : "32", + "equipmentId" : "681a26db-5a55-11eb-a658-74e5f963e191", + "node1" : "4", + "node2" : "4", + "busNode1" : "8", + "busNode2" : "7", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "33", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "34", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + } + }, { + "svgId" : "35", + "equipmentId" : "ab5aff23-cc0c-40a9-ab1b-7c113822358e", + "node1" : "4", + "node2" : "4", + "busNode1" : "7", + "busNode2" : "9", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "36", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + }, + "edgeInfo2" : { + "svgId" : "37", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + } + }, { + "svgId" : "38", + "equipmentId" : "681a2fcb-5a55-11eb-a658-74e5f963e191", + "node1" : "14", + "node2" : "4", + "busNode1" : "17", + "busNode2" : "8", + "type" : "TwoWtEdge", + "invisible1" : true, + "edgeInfo1" : { + "svgId" : "39", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "0" + }, + "edgeInfo2" : { + "svgId" : "40", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-0" + } + } ], + "textNodes" : [ { + "svgId" : "1", + "equipmentId" : "681a1e65-5a55-11eb-a658-74e5f963e191", + "vlNode" : "0", + "shiftX" : 100.0, + "shiftY" : -40.0, + "connectionShiftX" : 100.0, + "connectionShiftY" : -15.0 + }, { + "svgId" : "5", + "equipmentId" : "d4addb12-e956-e44b-9a9d-f118fdbe49f8", + "vlNode" : "4", + "shiftX" : 100.0, + "shiftY" : -40.0, + "connectionShiftX" : 100.0, + "connectionShiftY" : -15.0 + } ] +} \ No newline at end of file diff --git a/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-DSO1-LA-1.svg b/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-DSO1-LA-1.svg new file mode 100644 index 0000000..39fec78 --- /dev/null +++ b/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-DSO1-LA-1.svg @@ -0,0 +1,214 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -9 + + + + 0 + + + + 0 + + + + 0 + + + + -0 + + + + 0 + + + + -0 + + + + + + + +
+
+
FROLAND 132 VL1
+
+ 116.7 kV / 0.0°
+
+
+
ENGENE 023 VL1
+
+ 0.2 kV / 179.3°
+
+ 0.1 kV / 178.5°
+
+ 0.1 kV / -3.3°
+
+
+
+
\ No newline at end of file diff --git a/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-FI-LA.json b/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-FI-LA.json index 5086b46..6bc7c47 100644 --- a/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-FI-LA.json +++ b/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-FI-LA.json @@ -1,13 +1,14 @@ { "layoutParameters" : { "textNodesForceLayout" : false, - "springRepulsionFactorForceLayout" : 0.0, "textNodeFixedShift" : { "x" : 100.0, "y" : -40.0 }, "maxSteps" : 1000, - "textNodeEdgeConnectionYShift" : 25.0 + "timeoutSeconds" : 15.0, + "textNodeEdgeConnectionYShift" : 25.0, + "injectionsAdded" : false }, "svgParameters" : { "diagramPadding" : { @@ -38,151 +39,264 @@ "loopEdgesAperture" : 60.0, "loopControlDistance" : 40.0, "edgeInfoAlongEdge" : true, - "edgeNameDisplayed" : false, "interAnnulusSpace" : 5.0, "svgPrefix" : "", - "idDisplayed" : false, - "substationDescriptionDisplayed" : false, - "arrowHeight" : 10.0, - "busLegend" : true, - "voltageLevelDetails" : false, + "arrowPathIn" : "M-10 -10 H10 L0 10z", + "arrowPathOut" : "M-10 10 H10 L0 -10z", "languageTag" : "en", "voltageValuePrecision" : 1, "powerValuePrecision" : 0, "angleValuePrecision" : 1, "currentValuePrecision" : 0, - "edgeInfoDisplayed" : "ACTIVE_POWER", + "percentageValuePrecision" : 0, "pstArrowHeadSize" : 8.0, "undefinedValueSymbol" : "", - "highlightGraph" : false + "highlightGraph" : false, + "injectionAperture" : 10.0, + "injectionEdgeLength" : 145.0, + "injectionCircleRadius" : 25.0, + "voltageLevelLegendsIncluded" : true, + "edgeInfosIncluded" : true }, "busNodes" : [ { - "svgId" : "1", + "svgId" : "3", "equipmentId" : "f17696b4-9aeb-11e5-91da-b8763fd99c5f_0", "nbNeighbours" : 0, "index" : 0, - "vlNode" : "0" + "vlNode" : "0", + "legend" : "420.0 kV / -13.5°" }, { - "svgId" : "3", + "svgId" : "7", "equipmentId" : "f17696ba-9aeb-11e5-91da-b8763fd99c5f_0", "nbNeighbours" : 0, "index" : 0, - "vlNode" : "2" + "vlNode" : "4", + "legend" : "421.2 kV / -13.0°" }, { - "svgId" : "5", + "svgId" : "11", "equipmentId" : "f17696c0-9aeb-11e5-91da-b8763fd99c5f_0", "nbNeighbours" : 0, "index" : 0, - "vlNode" : "4" + "vlNode" : "8", + "legend" : "419.3 kV / -13.8°" }, { - "svgId" : "7", + "svgId" : "15", "equipmentId" : "f17696c6-9aeb-11e5-91da-b8763fd99c5f_0", "nbNeighbours" : 0, "index" : 0, - "vlNode" : "6" + "vlNode" : "12", + "legend" : "420.0 kV / -15.5°" }, { - "svgId" : "9", + "svgId" : "19", "equipmentId" : "f17695ce-9aeb-11e5-91da-b8763fd99c5f_0", "nbNeighbours" : 0, "index" : 0, - "vlNode" : "8" + "vlNode" : "16", + "legend" : "420.0 kV / -15.8°" }, { - "svgId" : "11", + "svgId" : "23", "equipmentId" : "f17695e7-9aeb-11e5-91da-b8763fd99c5f_0", "nbNeighbours" : 0, "index" : 0, - "vlNode" : "10" + "vlNode" : "20", + "legend" : "420.0 kV / -17.6°" } ], "nodes" : [ { "svgId" : "0", "equipmentId" : "f17696b4-9aeb-11e5-91da-b8763fd99c5f", "x" : -207.8, - "y" : -101.43 + "y" : -101.43, + "legendSvgId" : "1", + "legendEdgeSvgId" : "2", + "legendHeader" : [ "HELSINKI420" ] }, { - "svgId" : "2", + "svgId" : "4", "equipmentId" : "f17696ba-9aeb-11e5-91da-b8763fd99c5f", "x" : -424.6, - "y" : -446.22 + "y" : -446.22, + "legendSvgId" : "5", + "legendEdgeSvgId" : "6", + "legendHeader" : [ "VYBORG 420" ] }, { - "svgId" : "4", + "svgId" : "8", "equipmentId" : "f17696c0-9aeb-11e5-91da-b8763fd99c5f", "x" : -519.31, - "y" : 145.08 + "y" : 145.08, + "legendSvgId" : "9", + "legendEdgeSvgId" : "10", + "legendHeader" : [ "ESTLINK 420" ] }, { - "svgId" : "6", + "svgId" : "12", "equipmentId" : "f17696c6-9aeb-11e5-91da-b8763fd99c5f", "x" : 200.29, - "y" : 120.1 + "y" : 120.1, + "legendSvgId" : "13", + "legendEdgeSvgId" : "14", + "legendHeader" : [ "OULU 420" ] }, { - "svgId" : "8", + "svgId" : "16", "equipmentId" : "f17695ce-9aeb-11e5-91da-b8763fd99c5f", "x" : 601.07, - "y" : 63.32 + "y" : 63.32, + "invisible" : true, + "legendSvgId" : "17", + "legendEdgeSvgId" : "18", + "legendHeader" : [ "PORJUS 420" ] }, { - "svgId" : "10", + "svgId" : "20", "equipmentId" : "f17695e7-9aeb-11e5-91da-b8763fd99c5f", "x" : 189.79, - "y" : 522.27 + "y" : 522.27, + "invisible" : true, + "legendSvgId" : "21", + "legendEdgeSvgId" : "22", + "legendHeader" : [ "GRUNDFOR420" ] } ], "edges" : [ { - "svgId" : "12", - "equipmentId" : "f1769d34-9aeb-11e5-91da-b8763fd99c5f", + "svgId" : "24", + "equipmentId" : "f1769d28-9aeb-11e5-91da-b8763fd99c5f", "node1" : "0", "node2" : "4", - "busNode1" : "1", - "busNode2" : "5", - "type" : "LineEdge" + "busNode1" : "3", + "busNode2" : "7", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "25", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-903" + }, + "edgeInfo2" : { + "svgId" : "26", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "903" + } }, { - "svgId" : "13", + "svgId" : "27", + "equipmentId" : "f1769d34-9aeb-11e5-91da-b8763fd99c5f", + "node1" : "0", + "node2" : "8", + "busNode1" : "3", + "busNode2" : "11", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "28", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "519" + }, + "edgeInfo2" : { + "svgId" : "29", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-519" + } + }, { + "svgId" : "30", "equipmentId" : "f1769d40-9aeb-11e5-91da-b8763fd99c5f", "node1" : "0", - "node2" : "6", - "busNode1" : "1", - "busNode2" : "7", - "type" : "LineEdge" + "node2" : "12", + "busNode1" : "3", + "busNode2" : "15", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "31", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "266" + }, + "edgeInfo2" : { + "svgId" : "32", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-263" + } }, { - "svgId" : "14", + "svgId" : "33", "equipmentId" : "f1769d4c-9aeb-11e5-91da-b8763fd99c5f", "node1" : "0", - "node2" : "6", - "busNode1" : "1", - "busNode2" : "7", - "type" : "LineEdge" + "node2" : "12", + "busNode1" : "3", + "busNode2" : "15", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "34", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "266" + }, + "edgeInfo2" : { + "svgId" : "35", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-263" + } }, { - "svgId" : "15", + "svgId" : "36", "equipmentId" : "f1769d58-9aeb-11e5-91da-b8763fd99c5f", "node1" : "0", - "node2" : "6", - "busNode1" : "1", - "busNode2" : "7", - "type" : "LineEdge" + "node2" : "12", + "busNode1" : "3", + "busNode2" : "15", + "type" : "LineEdge", + "edgeInfo1" : { + "svgId" : "37", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "234" + }, + "edgeInfo2" : { + "svgId" : "38", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-232" + } }, { - "svgId" : "16", - "equipmentId" : "f1769d28-9aeb-11e5-91da-b8763fd99c5f", - "node1" : "0", - "node2" : "2", - "busNode1" : "1", - "busNode2" : "3", - "type" : "LineEdge" + "svgId" : "39", + "equipmentId" : "f1769b00-9aeb-11e5-91da-b8763fd99c5f", + "node1" : "16", + "node2" : "12", + "busNode1" : "19", + "busNode2" : "15", + "type" : "LineEdge", + "invisible1" : true, + "edgeInfo1" : { + "svgId" : "40", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-41" + }, + "edgeInfo2" : { + "svgId" : "41", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "42" + } }, { - "svgId" : "17", + "svgId" : "42", "equipmentId" : "f1769b3c-9aeb-11e5-91da-b8763fd99c5f", - "node1" : "10", - "node2" : "6", - "busNode1" : "11", - "busNode2" : "7", - "type" : "LineEdge" - }, { - "svgId" : "18", - "equipmentId" : "f1769b00-9aeb-11e5-91da-b8763fd99c5f", - "node1" : "8", - "node2" : "6", - "busNode1" : "9", - "busNode2" : "7", - "type" : "LineEdge" + "node1" : "20", + "node2" : "12", + "busNode1" : "23", + "busNode2" : "15", + "type" : "LineEdge", + "invisible1" : true, + "edgeInfo1" : { + "svgId" : "43", + "infoTypeB" : "ActivePower", + "direction" : "IN", + "labelB" : "-460" + }, + "edgeInfo2" : { + "svgId" : "44", + "infoTypeB" : "ActivePower", + "direction" : "OUT", + "labelB" : "464" + } } ], "textNodes" : [ { - "svgId" : "0-textnode", + "svgId" : "1", "equipmentId" : "f17696b4-9aeb-11e5-91da-b8763fd99c5f", "vlNode" : "0", "shiftX" : 100.0, @@ -190,25 +304,25 @@ "connectionShiftX" : 100.0, "connectionShiftY" : -15.0 }, { - "svgId" : "2-textnode", + "svgId" : "5", "equipmentId" : "f17696ba-9aeb-11e5-91da-b8763fd99c5f", - "vlNode" : "2", + "vlNode" : "4", "shiftX" : 100.0, "shiftY" : -40.0, "connectionShiftX" : 100.0, "connectionShiftY" : -15.0 }, { - "svgId" : "4-textnode", + "svgId" : "9", "equipmentId" : "f17696c0-9aeb-11e5-91da-b8763fd99c5f", - "vlNode" : "4", + "vlNode" : "8", "shiftX" : 100.0, "shiftY" : -40.0, "connectionShiftX" : 100.0, "connectionShiftY" : -15.0 }, { - "svgId" : "6-textnode", + "svgId" : "13", "equipmentId" : "f17696c6-9aeb-11e5-91da-b8763fd99c5f", - "vlNode" : "6", + "vlNode" : "12", "shiftX" : 100.0, "shiftY" : -40.0, "connectionShiftX" : 100.0, diff --git a/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-FI-LA.svg b/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-FI-LA.svg index ddd5f75..ed358f6 100644 --- a/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-FI-LA.svg +++ b/diagram/PowSyBl/svg/PowSyBl-NAD-LoadArea-FI-LA.svg @@ -1,96 +1,96 @@ -