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.
No physical effects considered.
(no remarks)
(no remarks), just input and output vectors
(no elements)
No governing equations, a for-loop is used to iterate through the vector of component names.
Problems could occur, if there are more then one dot in the component name.
For validation see the partial models.
(no remarks)
Created by Jan Braune (jan.braune@tu-harburg.de), Mar 2015
Revised by Lisa Andresen (andresen@tuhh.de), Dec 2015
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;