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

TypeNameDefaultDescription
BooleanuseInputUse input (if true) or parameter value (if false)
RealpParameter value

Connectors

TypeNameDefaultDescription
RealOutputy (from SO)Connector of Real output signal
Modelica.Blocks.Interfaces.RealInputuConInput signal from input connector

Revisions

  • June 28, 2023, by Philip Groesdonk:
    First implementation.