otfmi.fmi.load_fmu#

load_fmu(path_fmu, kind=None, **kwargs)#

Load and FMU.

Parameters:
path_fmustr or path-like

Path to the FMU file.

kindstr, one of “ME” (model exchange) or “CS” (co-simulation)

select a kind of FMU if both are available. Note: Contrary to pyfmi, the default here is “CS” (co-simulation). The rationale behind this choice is is that co-simulation may be used to impose a solver not available in pyfmi.

Additional keyword arguments are passed on to pyfmi’s ‘load_fmu’ function.