blockSmoothSwitch

Smooth switch between two Real signals

Extends from Modelica.Blocks.Icons.PartialBooleanBlock.

Information

Overview

Adapted from Modelica.Blocks.Logical.Switch.

The SmoothSwitch switches, depending on the logical connector u2 (the middle connector) between the two possible input signals u1 (upper connector) and u3 (lower connector).

Concept

The switch is smooth.

If u2 is true, the output signal y is set equal to u1, else it is set equal to u3.

  • April 11, 2013  by Ole Odendahl:
    Formatted documentation appropriately
  • 16 Mai, 2012  by Ana Constantin:
    Implemented.

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputu1Connector of first Real input signal
Modelica.Blocks.Interfaces.BooleanInputu2Connector of Boolean input signal
Modelica.Blocks.Interfaces.RealInputu3Connector of second Real input signal
Modelica.Blocks.Interfaces.RealOutputyConnector of Real output signal