get_model_fmi_type#

static TwinRuntime.get_model_fmi_type(file_path)#

Searches the description file of the source model to discover if it contains Model Exchange and/or CoSimulation types of model.

Parameters:
file_pathstr

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

Returns:
Set[str]

‘me’ (Model Exchange) or ‘cs’ (Co Simulation) model or both.

Return type:

Set[str]