Intro_Course_4_3_3 - nasa/gunns GitHub Wiki

Intro Course 4.3.3: Nodes

Basic Node

Basic nodes are from the GUNNS_Generic.xml shape library:

  • They create a normal network node in a Basic (Thermal or Electrical aspect) network.
  • They have a number, not a name.
  • They must be numbered in sequence, starting from zero.
    • Draw.io doesn’t number them for you. To set the number yourself, select the node and simply type the number.
    • During network code export, the export script will renumber nodes as necessary to make them continuous.
  • In the exported network code, all the nodes are in an array, and the node number in the drawing is the index in that array. So Node numbers start at zero and go up.
  • You must always have at least one node in a network or the network code generation will fail.
  • The Basic Node Frame is the same as a Basic Node, it just has a different graphic. This can be used to indicate large simulated spaces that enclose other simulated objects.

Fluid Node

Fluid nodes are from the GUNNS_Fluid.xml shape library:

  • They are the same as Basic Nodes but for Fluid aspect networks.
  • Basic nodes cannot be used in Fluid networks, and vice-versa.

Ground Node

Ground is from the GUNNS_Generic.xml shape library:

  • Ground is a special node that represents perfect Ground (zero potential) in all aspects. Many links have special relationships with Ground.
  • There is always exactly one Ground node object in the exported network code.
  • You can put as many of the Ground shapes on the drawing as you want — they all reference the same single Ground node.

Reference Nodes

Reference nodes are from the GUNNS_Generic.xml shape library. They are a shortcut to the normal (Basic or Fluid) node with the same number designation.

  • If you have a normal node 12, then a reference node 12 just represents normal node 12 at another location that you can connect links to.
  • This is useful for representing a normal node in multiple places around a drawing to reduce clutter, etc.
  • You can have multiple reference nodes to any normal node.

Previous Page / Next Page

⚠️ **GitHub.com Fallback** ⚠️