otfmi.fmi.simulate

simulate(model, initialization_script=None, reset=True, **kwargs)

Simulate an FMU.

Parameters:

model : Pyfmi model object (pyfmi.fmi.FMUModelXXX).

initialization_script : String, path to the script file.

reset : Boolean

Toggle resetting the FMU prior to simulation. True by default.

Additional keyword arguments are passed on to pyfmi.simulate.