blockGap
Compare goal (u1) and current value (u2) to determine gap
Extends from Interfaces.PartialConverters.SI2SO (Converter with two inputs and a single output).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The output y is obtained by subtracting input u2 from input u1:
y = u1 - u2;
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Connectors.RealInput | u1 (from SI2SO) | Input 1 | |
| Connectors.RealInput | u2 (from SI2SO) | Input 2 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) |