blockMultiMaxInteger

Output the maximum element of the input vector

Information

Outputs the maximum element of the input vector.

Parameters

TypeNameDefaultDescription
Integernin0Size of input array

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.IntegerInput[nin]uInteger input signal
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyInteger output signal

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Conversions.IntegerToReal[nin]intToReaCast to real type
Buildings.Controls.OBC.CDL.Reals.MultiMaxmulMaxReturn max value
Buildings.Controls.OBC.CDL.Conversions.RealToIntegerreaToIntCast back to integer type

Revisions

  • July 10, 2026, by Antoine Gautier:
    Refactored using CDL Elementary Blocks.
  • March 29, 2024, by Antoine Gautier:
    First implementation.