blockAverage

Output the average of its two inputs

Information

Block that outputs y = (u1 + u2) / 2, where u1 and u2 are inputs.

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputu1Input for average function
Buildings.Controls.OBC.CDL.Interfaces.RealInputu2Input for average function
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyOutput with the average of the two inputs

Revisions

  • March 2, 2020, by Michael Wetter:
    Changed icon to display dynamically the output value.
  • March 15, 2017, by Jianjun Hu:
    First implementation, based on the implementation of the Modelica Standard Library.