Add Modifiers

Use Add Modifiers in the Modelica Diagram Editor to add or edit modifiers for components. Modifier text is a comma-separated list of names (attribute/parameter) and associated values, such as a(start = 100, fixed = true). Use this option to change attribute values such as start or fixed. You can also use it to change parameters in a hierarchy.

To add a modifier in Modelica Diagram Editor

  1. In the Diagram Editor, right-click a component and select Add Modifier, or select Modelica Model Editor > Add Modifier. The Add Modifier dialog box appears.
  2. Enter the modifier text in the Modifier text box and click Add.

  3. Click OK to add your changes to the component. The added modifiers also appear in the parameter properties for the component.

To edit a modifier in Modelica Diagram Editor

  1. In the Diagram Editor, right-click a component and select Add Modifier or click Modelica Model Editor > Add Modifier. The Add Modifier dialog box appears.
  2. Double-click the existing modifier you want to edit, or select the existing modifier and click to open the Edit Modifier dialog box.
  3. You can perform the following actions.
  1. Click OK to accept the changes.

Related Topics 

Diagram Editor

Using the Diagram Editor