Exposing Propagated Parameters as Knowledgeware Parameters

You can expose parameters propagated to top level as Knowledgeware parameters, to be able to use them, for example, in Knowledgeware formulas.

Note: In this simple scenario you only work with exposing the 'value', 'min' and 'max' attributes to Knowledgeware parameters. You can also select other attributes.

In this scenario you expose a parameter T_Ref propagated from a resistor as a Knowledgeware parameter.


Before you begin: Propagate a parameter according to Propagating Parameters to Top Level.
See Also
Working with Parameters in Dymola Behaviors
  1. To expose the propagated parameter T_Ref from the referenced scenario to Knowledgeware, in the tree, right-click the parameter and select Knowledgeware Exposition .

    Note: You can also double-click the propagated parameter to display the Parameter and Variable Edition dialog box and display the Attributes tab of that dialog.
    Tip: To be able to expose several propagated parameters to Knowledgeware at the same time, press Ctrl and click several parameters from the tree, and then right-click any of them and select Knowledgeware Exposition .

    Depending on what alternative you have used, a Knowledge parameters dialog box or the Attributes tab of the Parameter and Variable Edition dialog box appears. In both there is a group Expose in Knowledgeware.
  2. From this group, specify attributes to expose as a Knowledgeware parameter.

    Note: When you work with several parameters at the same time, tickmark means all selected parameters have the setting activated, grayed tickmark means some, not all, parameters have the setting activated.

    In this scenario, select the 'value', 'min' and 'max' attributes and click OK.

    The following is the result:
    • The Modelica parameter is exposed as a Knowledgeware parameter.
    • In the tree, under the top level Dymola behavior, under the CompositeBehavior item, the following is the result:
      • The icon of the propagated parameter is changed from to , indicating it is exposed in Knowledgeware
      • A new node Knowledge parameters is created. Under this node the knowledge parameter is presented.
        Note: If other knowledge attributes than 'value', 'min' and 'max' attributes are selected, corresponding items are displayed under Knowledge parameters node.
  3. To use formulas for a Knowledgeware parameter, from the Tools section of the action bar, click Formula .

    Tip: You can also, in the tree, right-click the Knowledgeware parameter and select <itemName> > Edit Formula .

    Perform this for the Knowledgeware parameter T_Ref.

    The Forumla editor appears. For creating knowledge formulas, see the Knowledge Basics: Managing Relations: Formulas: Creating a Formula.

    When the formula is defined for the parameter, the following is the result in the tree:

    • Under the top level component, under the CompositeBehavior item the icon of the Knowledgeware parameter is changed from to , indicating that the value of the exposed parameter is computed from a formula, or it has a direct link with another Knowledgeware parameter or PLM parameter.
    • Under the top level component a new node Relations is created, and under that node the formula is displayed with the icon and the formula.

  4. To unexpose a parameter exposed in Knowledgeware, clear the corresponding boxes in the dialog box for knowledgeware exposition, and click OK.
    The parameter is unexposed from Knowledgeware.