Skip to content

Commit

Permalink
Clarify meaning of GetDownstreamLinks / GetUpstreamLinks
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-kipawa committed Mar 21, 2024
1 parent 6e2fd82 commit 79fb9b8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions notebooks/node_connectivity_information.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
{
"data": {
"text/plain": [
"<DHI.Amelia.DataModule.Services.DataTables.MsmNodeTable object at 0x000001EAC02096C0>"
"<DHI.Amelia.DataModule.Services.DataTables.MsmNodeTable object at 0x00000294752022C0>"
]
},
"execution_count": 3,
Expand Down Expand Up @@ -163,6 +163,7 @@
],
"source": [
"# Get upstream link MUIDs connected to Node_36\n",
"# Note: upstream links refers to links where \"Node_36\" is the upstream node. So in practice, it includes links upstream of \"Node_36\".\n",
"upstream_links = msm_node.GetUpstreamLinks(\"Node_36\")\n",
"list(upstream_links)"
]
Expand All @@ -185,6 +186,7 @@
],
"source": [
"# Get downstream link MUIDs connected to Node_36\n",
"# Note: downstream links refers to links where \"Node_36\" is the downstream node. So in practice, it includes links downstream of \"Node_36\".\n",
"downstream_links = msm_node.GetDownstreamLinks(\"Node_36\")\n",
"list(downstream_links)"
]
Expand Down Expand Up @@ -352,9 +354,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "mikeplus",
"display_name": "Python (webinar)",
"language": "python",
"name": "python3"
"name": "webinar"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -366,7 +368,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.0"
"version": "3.12.2"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 79fb9b8

Please sign in to comment.