modelT2

Electrical ideal leaking tunnel diode of the Modelica bond graph library

Extends from Interfaces.PassiveOnePort (Partial model invoking one bondgraphic connector).

Information

The ideal leaking tunnel diode element is a passive OnePort element. It inherits the effort and flow variables from the passive OnePort. The ideal leaking tunnel diode is a switch element with internal modulation. The modulating signal, mode, is a sextary signal with the values blocking, c1, b1, c2, b2, and blocking.

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 ideal leaking diode element is free.


Potential variables:

 e:     Bondgraphic effort variable

 f:     Bondgraphic flow variable, normalized positive for flows into the model

 mode:  Sextary variable denoting the switch position (internal modulation signal)

 s1:    Curve parameter

 s2:    Curve parameter

 s3:    Curve parameter

 s4:    Curve parameter

 s5:    Curve parameter


Parameters:

 G0:    Leakage conductance in blocking state (default value = 1e-5 Mho)

 R1:    Leakage resistance in conducting state (default value = 1e-5 Ohm)

 R2:    Leakage resistance in conducting state (default value = 1e-5 Ohm)

 R3:    Leakage resistance in conducting state (default value = 1e-5 Ohm)

 em1:   First knee voltage (default value = 1 Volt)

 em2:   Second knee voltage (default value = 2 Volt)

 em3:   Third knee voltage (default value = 3 Volt)

 e0:    Fourth knee voltage (default value = 4 Volt)

 fm:    Bottom intermediate current (default value = 1 Amp)

 f0:    Top intermediate current (default value = 2 Amp)


Equations:

s2 = s1 - f0
s3 = s3 = s2 - (em2-em1)
s4 = s3 - (f0-fm)
s5 = s4 - (e0-em3)
mode = if s1 < 0 then blockinging else if s2 < 0 then c1 else if s3 < 0 then b1 else if s4 < 0 then c2 else if s5 < 0 then b2 else conducting
e = if mode == blocking then s1 else if mode == c1 then R1*s1 else if mode == b1 then (em1 + s2) else if mode == c2 then (em2 + R2*s3) else if mode == b2 then (em3 + s4) else (e0 + R3*s5)
f = if mode == blocking then G0*s1 else if mode == c1 then s1 else if mode == b1 then f0 else if mode == c2 then (f0 - s3) else if mode == b2 then fm else (fm + s5)


References:

  1. Otter, M., H. Elmqvist, and S.E. Mattsson (1999), "Hybrid Modeling in Modelica Based on the Synchronous Data Flow Principle," Proc. CACSD'99, IEEE Symposium on Computer-Aided Control System Design, Hawaii, August 22-27, 1999, pp. 151-157.

Parameters

TypeNameDefaultDescription
Integerblocking1
Integerc12
Integerb13
Integerc24
Integerb25
Integerconducting6
RealG01E-5Leakage Conductance
RealR11E-5Leakage Resistance
RealR21E-5Leakage Resistance
RealR31E-5Leakage Resistance
Realem11Intermediate forward voltage
Realem22Intermediate forward voltage
Realem33Intermediate forward voltage
Reale04Maximum forward voltage
Realfm1Intermediate bottom current
Realf02Intermediate top current

Connectors

TypeNameDefaultDescription
BondLib.Interfaces.BondConBondCon1 (from PassiveOnePort)Bond graph connector

Components

TypeNameDefaultDescription
Reale (from PassiveOnePort)Bondgraphic effort
Realf (from PassiveOnePort)Bondgraphic flow
Reals1Curve parameter
Reals2Curve parameter
Reals3Curve parameter
Reals4Curve parameter
Reals5Curve parameter
IntegermodeOperating mode