blockAverage
Output the average of its two inputs
Information
Block that outputs y = (u1 + u2) / 2,
where
u1 and u2 are inputs.
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | u1 | Input for average function | |
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | u2 | Input for average function | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | y | Output 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.