modelIdealDiode
Ideal leaking diode of analog electrical library
Extends from Interfaces.OnePort (OnePort partial model of analog electrical library).
Information
The ideal leaking electrical diode is built in bondgraphic technology from a bond graph D2 element, a 1-junction, and three bonds. A-causal bonds must be used here, because the causality depends on the embedding of the diode in its environment. A leaking diode has been used to ensure that the diode will not lead to a division by zero in either switch position, irrespective of the circuit topology.
Parameters: Ron: Leakage resistance in on state (default value = 1e-5 Ohm) Goff: Leakage conductance in off state (default value = 1e-5 Mho) Vknee: Forward threshold voltage (default = 0 Volt)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Resistance | Ron | 1.E-5 | Closed switch resistance |
| Modelica.SIunits.Conductance | Goff | 1.E-5 | Opened switch conductance |
| Modelica.SIunits.Voltage | Vknee | 0 | Forward threshold voltage |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p (from OnePort) | Left electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n (from OnePort) | Right electrical connector |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Voltage | v (from OnePort) | Voltage drop between the two pins | |
| Modelica.SIunits.Current | i (from OnePort) | Current flowing from pin p to pin n |