.BondLib.Switches.D

Information

The ideal diode element is a passive OnePort element. It inherits the effort and flow variables from the passive OnePort. The ideal diode is a switch element with internal modulation. If the modulating signal has a value of true, the diode is considered 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.

The causality of the ideal diode element must be free, i.e., the ideal diode element must be placed inside an algebraic loop. If the causality of the diode is not free, use the leaking diode model, D2, instead.


Potential variables:

 e:         Bondgraphic effort variable

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

 blocking:  Boolean variable denoting the switch position (internal modulation signal)

 s:         Curve parameter


Equations:

blocking = s < 0
f = if blocking then 0 else s
e = if blocking then s else 0


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-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos