Switch

Switching between inputs depending upon condition

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

Depending upon the boolean input u_cond the output y will be equal to either the input u1 (u_cond = true) or the input u2 (u_cond = false).

See also

SwitchN

Connectors (4)

y

Type: RealOutput

Description: Output signal

u1

Type: RealInput

Description: Input 1

u2

Type: RealInput

Description: Input 2

u_cond

Type: BooleanInput

Description: Condition

Used in Components (3)

DelayFixed

BusinessSimulation.Converters.DiscreteDelay

Pipeline information delay without awareness

AsymmetricSmooth

BusinessSimulation.Converters.DiscreteDelay

A smooth with different delay times for positive and negative changes

SoftMax

BusinessSimulation.Converters

Gradual approach of a floor below which output can never fall