modelDiode
Real diode of the analog electrical library
Extends from Interfaces.OnePort (OnePort partial model of analog electrical library).
Information
The real electrical diode is built in bondgraphic technology from a bond graph Dreal 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.
Parameters: Ids: Saturation current (default value = 1e-6 Amp) Vt: Thermal voltage (default value = 0.04 Volt) Maxexp: Maximum exponent (default value = 15) R: Parallel Ohmic leakage resistance (default value = 1e8 Ohm)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Current | Ids | 1.e-6 | Saturation current |
| Modelica.SIunits.Voltage | Vt | 0.04 | Thermal voltage equivalent of temperature (kT/qn) |
| Real | Maxexp | 15 | Max. exponent for linear continuation |
| Modelica.SIunits.Resistance | R | 1.e8 | Parallel Ohmic leakage resistance |
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 |