otfmi.fmi.simulate

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

Simulate an FMU.

Parameters:
modelPyfmi model object (pyfmi.fmi.FMUModelXXX).
initialization_scriptString, path to the script file.
initialization_parameterstuple of keys/values to initialize parameters
resetBoolean

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

Additional keyword arguments are passed on to pyfmi.simulate.