Diodes are switching elements that are primarily being used in electrical circuits, although nothing prevents them from being used also in other energy domains. Leaking diodes are a special class of non-linear resistors.
The causality of the leaking diode element is free.
Potential variables: e: Bondgraphic effort variable f: Bondgraphic flow variable, normalized positive for flows into the model blocking: Boolean variable denoting the switch position (internal modulation signal) s: Curve parameter Parameters: Ron: Leakage resistance in conducting state (default value = 1e-5 Ohm) Goff: Leakage conductance in blocking state (default value = 1e-5 Mho) e0: Forward threshold effort (default value = 0 Volt)
Equations:
blocking = s < 0
f = s*(if blocking then Goff else 1) + Goff*e0
e = s*(if blocking then 1 else Ron) + e0
References: