GunnsElectricalResistor - nasa/gunns GitHub Wiki

GunnsElectricalResistor

default_img

Background

This link extends GunnsBasicConductor with attributes more specific to an actual electrial resistor device. It is configured with a resistance term rather than a conductance, and produces a waste heat for output to a thermal aspect that is some configurable fraction of the actual power loss through the conductor.

How To Use in GunnsDraw

This link has the same connection rules as GunnsBasicConductor.

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:

  • resistance (default = 0.0 (ohm), must be >= DBL_EPSILON and in general you should limit non-zero values to be between 1.0E-15 and 1.0E+15): This is the minimum resistance the link takes when it is not blocked. The inverse of this resistance becomes the base conductor class's defaultConductivity. The blockage malfunction (described below) further reduces the effective conductivity used in the flow equation from this maximum conductivity.
  • electricalEfficiency (default = 0.0, must be (FLT_EPSILON-(1-FLT_EPSILON))): This sets the electrical efficiency of the resistor. The waste heat produced for output to a thermal aspect is the total power dissipated in the resistor (the "ohmic" loss) multiplied by (1 - this efficiency). This would be useful for modeling some fraction of the power loss being converted into the visible light spectrum or other forms of energy that we don't want to model as heat in the thermal aspect.

Input Data Parameters:

Common Problems

  • N/A

References

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