.TransiEnt.Basics.Functions.GasProperties.shortenCompName

Information

1. Purpose of model

This function is used to remove the database identifier in front of the components name in TILMedia gastype records in order to standardize the components for further usage in combustion models.

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

No physical effects considered.

3. Limits of validity

(no remarks)

4. Interfaces

(no remarks), just input and output vectors

5. Nomenclature

(no elements)

6. Governing Equations

No governing equations, a for-loop is used to iterate through the vector of component names.

7. Remarks for Usage

Problems could occur, if there are more then one dot in the component name.

8. Validation

For validation see the partial models.

9. References

(no remarks)

10. Version History

Created by Jan Braune (jan.braune@tu-harburg.de), Mar 2015

Revised by Lisa Andresen (andresen@tuhh.de), Dec 2015

Interface

function shortenCompName
  extends TransiEnt.Basics.Icons.Function;
  import x = Modelica.Utilities.Strings;
  input String[:] nameLong "component names with database identifier (dot-notation used in TILMedia records)";
  output String[size(nameLong, 1)] nameShort "component names without database identifier";
end shortenCompName;

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos