.BondLib.Thermal.TS

Information

The non-linear resistive (tunnel diode) source element is a directed TwoPort element. It inherits the effort and flow variables from the directed TwoPort. The non-linear resistance is modeled by a set of parameters.

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 resistive source element has free causality on the primary side, and fixed causality on the secondary side. The causality stroke is at the element on the secondary side (a source of entropy, rather than a source of temperature).


Potential variables:

 e1:    Bondgraphic effort variable of inflow

 f1:    Bondgraphic flow variable of inflow, normalized positive for flows into the model

 e2:    Bondgraphic effort variable of outflow

 f2:    Bondgraphic flow variable of outflow, normalized positive for flows out of 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 ntermediate forward voltage (default value = 1 Volt)

 em2:   Second intermediate forward voltage (default value = 2 Volt)

 em3:   Third intermediate forward voltage (default value = 3 Volt)

 e0:    Maximum forward voltage (default value = 4 Volt)

 fm:    Intermediate bottom current (default value = 1 Amp)

 f0:    Intermediate top current (default value = 2 Amp)


Equations:

s2 = s1 - f0
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
e1 = 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)
f1 = 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)
f2 = (e1/e2)*f1


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.

Generated at 2024-11-20T19:25:51Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos