DHI / mikepluspy

MIKE+Py is the official python interface for MIKE+
Apache License 2.0
7 stars 1 forks source link

Example notebook for showing node connectivity information #24

Closed ryan-kipawa closed 6 months ago

ryan-kipawa commented 6 months ago

@wuwwen A few questions:

  1. What do GetUpstreamLinks and GetDownstreamLinks return? They appear the opposite of what I would expect.
  2. What does GetNumberofLinks return? It seems to include all links (e.g. pipes, pumps, weirs etc.), whereas GetUpstreamLinks / GetDownstreamLinks seem to only pipes/canals.
wuwwen commented 6 months ago

@rywm-dhi GetUpstreamLinks is find all the links which has the same FromNodeID with input node id. It is the look the links which have the node on the upstream. It will only search for the links. Valves, pumps or other structure is not included.