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 = 2  results in the following equations:     y = u1 - u2

Ports

NameTypeDescriptionIO TypeNumber

u1

implicit

input

1

u2

implicit

input

2

y

implicit

output

1