get_model_fmi_type#

static TwinRuntime.get_model_fmi_type(file_path)#

Searches the description file of the source model to discover if it is a Model Exchange or Co Simulation type of model.

Parameters:
file_pathstr

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

Returns:
str

me (Model Exchange) or cs (Co Simulation) model.