modelMUX2x1
Simple Multiplexer test
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example is a simple test of a single multiplexer component with 2 inputs prescribed by sources, one select input, and one output. After simulation until 15 s plot Mux2x1.in0, Mux2x1.in1, Mux2x1.sel, and Mux2x1.out. Compare the output signal with the input signals. If the select signal changes, the output switches to the other input.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| D.Multiplexers.MUX2x1 | Mux2x1 | ||
| D.Sources.Table | Input1 | ||
| D.Sources.Step | Select | ||
| D.Sources.Table | Input0 |