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

TypeNameDefaultDescription
D.Multiplexers.MUX2x1Mux2x1
D.Sources.TableInput1
D.Sources.StepSelect
D.Sources.TableInput0