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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u1 | Connector of first Real input signal | |
| Modelica.Blocks.Interfaces.BooleanInput | u2 | Connector of Boolean input signal | |
| Modelica.Blocks.Interfaces.RealInput | u3 | Connector of second Real input signal | |
| Modelica.Blocks.Interfaces.RealOutput | y | Connector of Real output signal |