Switch_ThresholdControlled

Switch_ThresholdControlled performs switch functionality controlled by a continuous threshold.

  • upper input: in1
  • middle input: controlInput
  • lower input is in2

Element

Direction

Remark

in1::continuous

input

first continuous input value

in2::continuous

input

second continuous input value

controlInput::cont

input

continuous value; control input of switch

controlInputThreshold:

input in1 is propagated

controlInput < Threshold:

input in2 is propagated

out::continuous

output

continuous output value;

out = in1

if

controlInputThreshold

out = in2

if

controlInput < Threshold

Threshold::continuous

parameter; threshold value for control input