Custom Function Settings🔗
Custom functions can contain various parameters, specified in their signature. These parameters are displayed in the UI accourding to their data type, means they will have different UI/UX representations.
Modelon Impact supports the following data types for Custom function parameters:
- Number: input field
- String: input field
- Boolean: "true/false" toggle
- VariableNames: UI to select variables to be added to a list
- ExperimentResult: UI to select a simulation result
- CaseResult: UI to select a simulation result and then a specific case of this result (for multi-run results)
- FileURI: UI to select a file/artifact from Modelica resources or Impact (generated) resources, and then to selet a file
A Custom function parameter can be defined as a required parameter. In this case, you will receive a notification in the UI.
The UI displays the "name" of the Custom function parameter. And if you hover over the parameter, a tooltip displays a more detailed description (if available in the signature).
Related articles🔗
Execution settings | Dynamic settings (time-domain) | Steady-State settings