Skip to content

Run custom functions🔗

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

Impact supports Custom Function written in Python. If available, the icon appears next to the Steady -State button.

Note

Custom functions are included in Projects, so when using a Project and Libraries in this project, all the Custom Functions contained in that Project can be selected. For the selected function, parameters can be set using input fields and toggles.

Modelon Impact comes with pre-installed Custom Functions and Projects can contain further "specific" Custom Functions.

  1. Project specific custom Functions

  1. Pre-installed "global" Custom Functions.

Import Package | Import FMU | Import Workspace