.BondLib.Switches.Sw4

Information

Ideal commuting switch element with leakage. This switch can be used to model a two-way switch. If control = true, the switch is in the p-n2 connection. If control = false, the switch is in the p-n1 connection.


Bond graph connectors:

 p:           Positive connector

 n1:          First negative connector

 n2:          Second negative connector


Control variables:

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


Parameters:

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

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


Logic:

contol = true: p-n2 is connected
contol = false: p-n1 is connected


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