Feedback

Output difference between commanded and feedback input

    Feedback

Library

Modelica/Blocks/Math

Description

This blocks computes output y as difference of thecommanded input u1 and the feedbackinput u2:

y = u1 - u2;

Example:

   parameter:   n = 2results in the following equations:   y = u1 - u2

Ports

NameTypeDescriptionIO TypeNumber

u1

implicit

Commanded input

input

1

u2

implicit

Feedback input

input

2

y

implicit

output

1

See Also