-
Notifications
You must be signed in to change notification settings - Fork 12
DiodeElect
This link is a simple model of an electrical diode, which is a conductor that allows current in a forward direction but opposes current in the reverse direction. The link defines forward current from Port 0 to Port 1. When there is a forward voltage or "bias", i.e. Port 0 voltage is higher than Port 1 voltage, the diode has a high condutance. When there is a reverse bias, i.e. Port 0 has lower voltage than Port 1, then the diode switches to a low conductance, thus limiting reverse current. The forward and reverse conductances are configurable. However the voltage at which the bias switches is not -- it always switches at zero volts.
The DiodeElect link can be attached to nodes in the same ways that a GunnsBasicConductor can.
Port Connection Rules (These are limitations on the port connection to nodes that the link enforces in run-time):
- Ports 0 and 1 cannot connect to the same non-Ground node.
Other Rules (These are extra rules you should always try to follow):
- N/A
Configuration Data Parameters:
- diodeReverseResistance (default = 1.0e8 (ohm), must be > 0 and in general you should limit non-zero values to be between 1.0E-15 and 1.0E+15): This is the resistance link takes when it is reverse-biased.
- diodeForwardResistance (default = 0.01 (ohm), must be > 0 and <= diodeReverseResistance): This is the resistance link takes when it is forward-biased.
Input Data Parameters:
- malfBlockageFlag (default = false): Initial state of the blockage malfunction activation flag.
- malfBlockageValue (default = 0.0, must be (0-1)): Initial state of the blockage malfunction activation value. A value of 0.0 is the same as no blockage at all, and 1.0 is an open-circuit -- it completely blocks all current and isolates the port nodes from each other (although parallel flow paths still apply).
- N/A
- N/A