get_model_name#

static TwinRuntime.get_model_name(file_path)#

Reads the description file of the source model to discover the model name.

Parameters:
file_pathstr

File path to the source model file (it could be a .fmu or modelDescription.xml).

Returns:
str

Name of the model.

Return type:

str