.DESLib.DEVSLib.Examples.SimpleModels.Switch1

Message forwarding through alternated ports

Information

The Switch1 model switches the receiving and sending ports for messages.

As opposed to the Switch model, this model only has one input port.
The received messages are alternatively sent through the output ports 1 and 2.(i.e. the first message is sent through port 1, the second through port 2, the third through port 1 again, and so on).

Contents

Name Description
 switch1
 con Confluent Transtition Function
 int Internal Transition Function
 ext External Transition Function
 out Output Function
 ta Time Advance Function
 st
 initst

Generated at 2026-04-10T18:18:38Z by OpenModelicaOpenModelica 1.26.3 using GenerateDoc.mos