otfmi.mo2fmu.mo2fmu¶
- mo2fmu(path_mo, path_fmu='', fmuType='cs', version='2.0', libs=[], verbose=False)¶
Export a model .mo to .fmu.
- Parameters
- path_mostr
Path to the source model file
- path_fmustr, default=None
Path to the destination FMU file If not provided write it in the current directory
- fmuTypestr
model type, either me (model exchange), cs (co-simulation), me_cs (both model exchange and co-simulation)
- versionstr, default=”2.0”
fmi version
- libslist of str, default=[]
List of required libraries passed to loadModel
- verbosebool, default=False
Verbose output