modelDS

Bondgraphic non-linear resistive (diode) source element

Extends from Interfaces.TwoPort (Partial model invoking two bondgraphic connectors).

Information

The resistive (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

 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
f1 = s*(if blocking then Goff else 1) + Goff*e0
e1 = s*(if blocking then 1 else Ron) + e0
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.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.ResistanceRon1E-5Leakage resistance
Modelica.SIunits.ConductanceGoff1E-5Leakage conductance
Modelica.SIunits.Voltagee00Forward threshold voltage

Connectors

TypeNameDefaultDescription
BondLib.Interfaces.BondConBondCon1 (from TwoPort)Left bond graph connector
BondLib.Interfaces.BondConBondCon2 (from TwoPort)Right bond graph connector

Components

TypeNameDefaultDescription
Reale1 (from TwoPort)Bondgraphic primary effort
Realf1 (from TwoPort)Bondgraphic primary flow
Reale2 (from TwoPort)Bondgraphic secondary effort
Realf2 (from TwoPort)Bondgraphic secondary flow
RealsCurve parameter
Booleanblocking