otfmi.fmi.simulate#
- simulate(
- model,
- initialization_script=None,
- initialization_parameters=None,
- reset=True,
- **kwargs,
Simulate an FMU.
- Parameters:
- modelpyfmi.fmi.FMUModelBase or backend model object
Model object, as returned by
load_fmu().- initialization_scriptpath-like
Path to the script file.
- initialization_parameterstuple of str/float pairs
tuple of keys/values to initialize parameters
- resetbool
Toggle resetting the FMU prior to simulation. True by default.
- pyfmi_options, fmpy_optionsdict
Backend-specific simulation options. Only the dictionary matching the model’s backend is forwarded; the other one is discarded.
- Additional keyword arguments are passed on to the backend’s simulate.