GunnsBasicSource - nasa/gunns GitHub Wiki

Background

This link implements the Source effect to force a given flow rate between two nodes in a basic network. Flow can go in either direction. It is a two-port link, and positive flow direction is defined going from Port 0 to Port 1, and negative flow goes from Port 1 to Port 0.

The flow rate is usually set from another model or the user. A blockage malfunction can scale down the given flow rate.

Care must be used with this link, as it forces flow between the network regardless of the network’s capacity to supply or receive that flow, and large potential spikes and network instability can result.

How To Use In GunnsDraw

This link can be connected between any two nodes, similar to GunnsBasicConductor. It can also be moved in run-time via the Link Dynamic Node Mapping.

Port Connection Rules

  • Port 0 and 1 cannot connect to the same non-Ground node.

This illustrates the various valid and invalid ways to connect this link to nodes:

default_img

Other Rules

These are extra rules you should always try to follow:

  • N/A

Configuration Data Parameters:

This link has no configuration data.

Input Data Parameters:

  • malfBlockageFlag (default = false): Initial active (true) or inactive (false) state of the blockage malfunction.
  • malfBlockageValue (default = 0.0, must be [0-1]): Initial value of the blockage malfunction. A value of 1 completely blocks all flow, and a value of zero has no effect.
  • sourceFlux (default = 0.0): This is the initial flow rate.

Common Problems

  • N/A.

References

  • N/A
⚠️ **GitHub.com Fallback** ⚠️