MinMax
MathOutputs the minimum or maximum of all connected input signals. Useful for signal selection, protection logic, and envelope detection.
Mathematical Model
where u₁...uₙ are all connected input signals.
Inputs & Outputs
| Direction | ID | Label | Type | Status |
|---|---|---|---|---|
| → In | in |
Input | number | Required |
| ← Out | out |
Output | number | Output |
Parameters
| Parameters | Label | Type | Default | Description |
|---|---|---|---|---|
operation |
Operation | select | min |
Usage Examples
- Zie de ingebouwde voorbeelden in de handleiding voor een demonstratie van dit blok.
Remarks & Best Practices
- Scalar only: All inputs must be scalar values; vector inputs are not supported
- Unconnected: Unconnected input ports are ignored in the min/max calculation
- Single input: With only one connected input, output equals that input for both modes
- Performance: Negligible computational overhead; safe for high-speed simulation
Related Components
- Comparator: Threshold-based comparison
- Switch: Select between signals based on condition