2

Example:

You create a model with 9 parameters you expect to be editable in the Simulation tab and user-settable in the FMU.

However,

  1. Only 5 parameters appear to be editable from the Simulation tab.
  2. Likewise, FMU has only 5 user-settable parameters.
Rocky Scott
  • 456
  • 4
  • 13

1 Answers1

5

Solution:

To generate more efficient code, Dymola sometimes "evaluates" parameters.

annotation(Evaluate=false) tells Dymola a parameter should not be evaluated.

Example:

parameter Real theAnswer = 42.0 "The answer to life,…" annotation(Evaluate=false);

Dymola will now allow theAnswer to be edited in the Simulation tab and be user-settable in the FMU.

Rocky Scott
  • 456
  • 4
  • 13