You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
m.def("get_network_area_diagram_svg_and_metadata", &pypowsybl::getNetworkAreaDiagramSvgAndMetadata, "Get network area diagram SVG and its metadata as a list of strings",
m.def("get_network_area_diagram_displayed_voltage_levels", &pypowsybl::getNetworkAreaDiagramDisplayedVoltageLevels, "Get network area diagram displayed voltage level",
@@ -371,11 +384,30 @@ In the bus_descriptions dataframe parameter:
371
384
-idis the BUSid
372
385
- description define a label for the BUS
373
386
387
+
In the bus_node_styles dataframe parameter:
388
+
-idis the BUSid
389
+
- fill is the fill color for the node
390
+
- edge is the edge color for the node
391
+
- width is the width of the edge for the node
392
+
393
+
In the edge_styles dataframe parameter:
394
+
-idis the branch id
395
+
- edge1, width1 and dash1 is the color, the width and the dash pattern for the first branch's edge
396
+
- edge2, width2 and dash2 is the color, the width and the dash pattern for the second branch's edge
397
+
398
+
The dash pattern string specifies the lengths of alternating dashes and gaps in the edge, separated by commas and/or spaces
399
+
374
400
An additional three_wt_labels dataframe parameter can be used to set the labels and the arrows direction for three winding transformers:
375
401
-idis the three winding transformer id
376
402
- side1, side2, and side3 define the labels along the three winding transformer legs
377
403
- arrow1, arrow2, and arrow3 define the direction of the arrows at the ends of the three winding transformer legs: 'IN'or'OUT'. None (or an empty string) does not display the arrow.
378
404
405
+
Similarly to the edge_styles, the three_wt_styles parameter can be used to set the style for the three winding transformers:
406
+
-idis the three winding transformer id
407
+
- edge1, width1 and dash1 is the color, the width and the dash pattern for the first transformer's leg
408
+
- edge2, width2 and dash2 is the color, the width and the dash pattern for the second transformer's leg
409
+
- edge3, width3 and dash3 is the color, the width and the dash pattern for the third transformer's leg
410
+
379
411
The optional parameter nad_profile can also be setin the write_network_area_diagram function.
0 commit comments