This commuting switch must be used instead of the corresponding Sw4 commuting switch, because Dymola sets by default the flow of an unconnected terminal to zero. Hence we must not set it to zero once more externally.
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)
Logic:
contol = true: p-n2 is connected
contol = false: p-n1 is connected