Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this example PowerCalc represents the object (container) of a computational model that will compute Power on the basis of the values of Method="Savitsky"Speed=Vdes and the actual values of Lof L,  B B,  T and D. The @ character T and D. The @ character indicates that the parameter should exist in the PowerCalc object, the first parameter after the opening bracket (@Power) is the top goal of the PowerCalc object, @Speed:Vdes means that Speed in PowerCalc should get the value of Vdes. Values of L, B, T and D are required but not unique to this object and therefore requested as normal parameters and should be available "above" or outside the object. See also Quaestor syntax for more detail.

...

  • If the model in PowerCalc needs data that is not in the argument list, it is either requested to the user in the object or inherited from the models top level.
  • If input is provided manually, the value is placed in the models top level. This implies that the value is available (can be inherited) by all objects in the model.
  • If the parameter has the @LOCAL attribute the @LOCAL attribute in its data slot, the value is stored in the object and is only available to that object.

...

If this relation is evaluate later than the earlier one, and Revs is not yet computed,  Revs is Revs is added as top goal to the object after which the object attempts to add the necessary relations to its model and will compute its value.

If another relation is evaluated that evaluates Power with evaluates Power with other input, the calculation in PowerCalc is redone. Only the last results in the object are maintained in the solution. Use thethe @MULTICASE attribute to force the object to save all its values. Realize that this might require more memory and will let your project files grow significantly.

...