blockSourceSelector
Block that selects as its output either a parameter value or its input
Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).
Information
Block that produces at its output the input value uCon
or the parameter value p depending on the parameter value
useInput.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useInput | Use input (if true) or parameter value (if false) | |
| Real | p | Parameter value |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) | Connector of Real output signal | |
| Modelica.Blocks.Interfaces.RealInput | uCon | Input signal from input connector |
Revisions
-
June 28, 2023, by Philip Groesdonk:
First implementation.