Expose FMU Parameters as Knowledge Parameters
You can expose FMU parameters as knowledgeware parameters.
-
In the tree, right-click the FMI icon
and select Properties
.
The Properties dialog box appears. -
In the
Properties dialog box:
- Select the FMI Parameter Properties tab to display the FMU parameters.
- In the Exposed column, select the parameters to expose as knowledge parameters.
- Click OK.The selected parameters appear in the tree. The following image shows an example with three FMU parameters exposed as knowledge parameters.Note: To display the parameter values in the tree, select the With value preference in Me > Preferences > General > Parameters and Measure, the Knowledge tab.Notes:
- If the FMU parameter has a known magnitude/unit from Modelica.SIUnit or is of a basic type (Real, Integer, Boolean, or String), the created knowledge parameter gets the corresponding Knowledge type. If not, it is a String (case for enumeration, or unknown type).
- The display unit of the knowledge parameter is according to the preferences in Me > Preferences > General > Parameters and Measure, the Units tab.