Skip to content

Commit c5fefcf

Browse files
authored
updates the widget demo notebook following pypowsybl-jupyter v1.0.0 release (#29)
Signed-off-by: Christian Biasuzzi <christian.biasuzzi@soft.it>
1 parent 86e87fb commit c5fefcf

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

pypowsybl_jupyter_widgets_demo.ipynb

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"id": "3dc5dc34-2c28-411f-b281-c3cc2fd53ad4",
6666
"metadata": {},
6767
"source": [
68-
"Create a network."
68+
"Load IEEE 14 buses network"
6969
]
7070
},
7171
{
@@ -90,9 +90,10 @@
9090
},
9191
"source": [
9292
"Display the network explorer widget. \n",
93-
"* Click on a voltage level from the list to display its NAD and SLD in the two \"Network Area\" and \"Single Line\" tabs. \n",
93+
"* Click on a voltage level from the list to display its NAD and SLD in the two \"Network Area\" and \"Single Line\" tabs. The history box, in the bottom left corner, lists the last displayed voltage levels.\n",
9494
"* Both diagrams can be panned and zoomed.\n",
9595
"* The NAD is centered on the currently selected voltage level. A 'depth' slider controls the size of the sub-network.\n",
96+
"* Nodes in the NAD diagram can be repositioned using drag-and-drop. However, the new positions are not persisted: switching to a new VL and then switching back to the current VL, the original nodes layout would be restored. A SHIFT+CLICK on a node will activate the SLD tab on the corresponding voltage level. Please note that these interactions in the NAD are available only when using PyPowSyBl >= v1.8.1.\n",
9697
"* A third tab, \"Network map\" displays the network’s substations and lines on a map. The map is empty if the network does not contain any geographical data."
9798
]
9899
},
@@ -130,6 +131,14 @@
130131
"network_explorer(n, vl_id='VL14', depth=4)"
131132
]
132133
},
134+
{
135+
"cell_type": "markdown",
136+
"id": "8fcc0656-5864-46c9-8e36-75995ee60f3c",
137+
"metadata": {},
138+
"source": [
139+
"Please note that it could take some time to compute the NAD layout, depending on the network and the depth parameter. A progress bar will indicate the computation in progress."
140+
]
141+
},
133142
{
134143
"cell_type": "markdown",
135144
"id": "ba94b49a-979e-4c70-b66b-5c973556616d",

0 commit comments

Comments
 (0)