.TILMedia.Internals.GetIDXfromCAS.getGasIDXVector

Function getGasIDXVector(gasType, listOfSubstances) returns a vector with the the position of the gases of gastypes in the given listOfSubstances.

Information

Syntax

parameter Integer gasIDXVector = getGasIDXVector( gasType, listOfSubtances);

Description

The position of the gases of a gas mixture in the given listOfSubstances is returned as a vector.

The listOfSubstances you can find in TILMedia.Internals.GetIDXfromCAS.ListOfSubstances.

Interface

function getGasIDXVector
  input TILMedia.Gas.Types.BaseGas gasType;
  input TILMedia.Internals.GetIDXfromCAS.ListOfSubstances listOfSubstances;
  output Integer gasIDXVector[size(gasType.gasNames, 1)];
end getGasIDXVector;

Generated at 2025-08-13T18:21:01Z by OpenModelicaOpenModelica 1.25.1 using GenerateDoc.mos