.TransiEnt.Basics.Functions.find_max

Information

1. Purpose of model

The function finds the maximum value of a vector.

2. Level of detail, physical effects considered, and physical insight

(Description)

3. Limits of validity

(Description)

4. Interfaces

(none)

5. Nomenclature

(no elements)

6. Governing Equations

(no equations)

7. Remarks for Usage

(none)

8. Validation

(no validation or testing necessary)

9. References

(none)

10. Version History

Interface

function find_max
  extends Icons.Function;
  input Real vector[:];
  input Real stateVector[:] = ones(size(vector, 1));
  input Integer cond = 1 "Only use items where statevector[i]=cond";
  output Integer index;
end find_max;

Generated at 2024-10-21T18:25:38Z by OpenModelicaOpenModelica 1.24.0 using GenerateDoc.mos