GunnsResistiveLoad - nasa/gunns GitHub Wiki

GunnsResistiveLoad

default_img

Background

This link is used to create a simple switched resistive electrical load within a GUNNS network without the overhead associated with using User Loads. This link extends GunnsElectricalResistor with a built-in Switch object, similar to how SwitchElect extends GunnsBasicConductor. It uses the built-in Switch object as both the resistive load and an on/off control for it. The switch's resistance is used as the total resistance of the simulated load in series with the switch.

How To Use in GunnsDraw

This link has the same connection rules as GunnsBasicConductor. Usually you will want to connect Port 1 to Ground, since most equipment loads in an electrical system discharge to the circuit return line, which we usually model as referenced to Ground. This saves on the number of nodes in the network. Placing many of these links in parallel, sharing the same input node, creates a simple model of a switch card without the overhead of using the full-blown SwitchCardElect link. The picture below shows an example of using these links to model a 4-switch card. Note that the GunnsElectUserLoadSwitch link provides more flexibility for modeling switch cards in this fashion, with User Loads.

default_img

Port Connection Rules (These are limitations on the port connection to nodes that the link enforces in run-time):

Other Rules (These are extra rules you should always try to follow):

Configuration Data Parameters:

  • loadResistance: Same as resistance in GunnsElectricalResistor. This is the total resistance of the load when it is on, in series with the switch when it is closed.
  • electricalEfficiency: Same as GunnsElectricalResistor.
  • The following parameters configure the built-in Switch object:
    • underVoltageLimit (default = 0 (V), must be >= DBL_EPSILON): This is passed to the minVoltage configuration parameter in the Switch. It also defines the lower input voltage limit above which the power supply to the load is valid.
    • switchResistance (default = 0): This is passed to the defaultSwitchResistance configuration parameter in the Switch. Other than satisfying the Switch's configuration validation checks, this value isn't used in the network -- this link's loadResistance term is used instead.
    • posTripLimit (default = 0): Same as Switch.
    • negTripLimit (default = 0): Same as Switch.
    • tripPriority (default = 0): Same as Switch.

Input Data Parameters:

  • malfBlockageFlag: Same as GunnsBasicConductor.
  • malfBlockageValue: Same as GunnsBasicConductor.
  • The following parameters initialize the built-in Switch object:
    • initialSwitchPosition (default = true): This is passed to the switchIsClosed input parameter in the Switch.

Common Problems

  • N/A

References

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