.BondLib.Switches.Sw2

Information

The leaking switch element is a passive OnePort element with modulation. It inherits the effort and flow variables from the passive OnePort. If the modulating signal has a value of true, the switch is considered open.

The causality of the leaking switch element is free.


Potential variables:

 e:           Bondgraphic effort variable

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

 OpenSwitch:  Boolean variable denoting the switch position (modulation signal)

 s:           Curve parameter


Parameters:

 Ron:         Leakage resistance in on state (default value = 1e-5)

 Goff:        Leakage conductance in off state (default value = 1e-5)


Equations:

f = s*(if OpenSwitch then Goff else 1)
e = s*(if OpenSwitch then 1 else Ron)


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-04-25T18:15:59Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos