.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-09-07T18:31:54Z by OpenModelicaOpenModelica 1.25.3 using GenerateDoc.mos