twin_load#
- TwinRuntime.twin_load(log_level, fmi_type=FmiType.UNDEFINED)#
Opens and loads a TWIN model, with a given log level for the log file. Client code can also specify the FMI type of the model. If the loaded model does not support the specified FMI type, an error is raised.
- Parameters:
- log_level
LogLevel Log level selected for the log file (LogLevel.TWIN_LOG_ALL, LogLevel.TWIN_LOG_WARNING, LogLevel.TWIN_LOG_ERROR, LogLevel.TWIN_LOG_FATAL, LogLevel.TWIN_NO_LOG).
- fmi_type
FmiType FMI type of the model (FmiType.CS, FmiType.ME, FmiType.UNDEFINED).
- log_level