blockMultiMaxInteger
Output the maximum element of the input vector
Information
Outputs the maximum element of the input vector.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nin | 0 | Size of input array |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.IntegerInput[nin] | u | Integer input signal | |
| Buildings.Controls.OBC.CDL.Interfaces.IntegerOutput | y | Integer output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Conversions.IntegerToReal[nin] | intToRea | Cast to real type | |
| Buildings.Controls.OBC.CDL.Reals.MultiMax | mulMax | Return max value | |
| Buildings.Controls.OBC.CDL.Conversions.RealToInteger | reaToInt | Cast back to integer type |
Revisions
-
July 10, 2026, by Antoine Gautier:
Refactored using CDL Elementary Blocks. -
March 29, 2024, by Antoine Gautier:
First implementation.