Skip to content

Run custom functions🔗

A custom function is an integrated Python interface to Modelon Impact. With a custom function you define a function that do a computation or another operation on an FMU or a model, call it from the simulation browser and return back the result to the result browser.

Impact supports custom functions written in Python. If available, the icon appears next to the Steady State button.

  1. For the selected function, parameters can be set using input boxes and toggles.

  2. Once parameterized, the function is run using the Execute button.

  3. If custom functions have been loaded, they will also be available for selection in the menu under the Simulate button on the model canvas.

Import Package | Import FMU | Import Workspace