Versions Compared

Key

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

...

2    Background information: TeLiTab data model and Questor object

TeLiTab is a term that will be used quite often in this tutorial. Therefore, an elaboration on the subject is in order in this very early stage fo the tutorials.

...


Quaestor Object

A Quaestor object contains a set of data, either static (only data, e.g. a speed power curve or a list of components) or dynamic, represented as TeLiTab. An object can operate as a computational model (requesting input and providing output) fulfilling the role of function or subroutine in an assembled model (a ‘Solution’ in the Quaestor workbase).

...

Ships is now a valid object in the knowledgebase, but is not yet present in the dataset in the Workbase. We'll have to add it.

 In the Workbase, select the Dataset node. In the Knowledge Browser the object Ships and select Parameter to DataSet (or Ctrl+O), or drag the Ship object to the Dataset, see figure 7.

...

Our data object should contain all the ship variations produced in tutorial 1. Therefore, we will copy the results of the second DISP solution (with the variations) to the object Ships using the clipboard.

  In the Workbase the second DISP solution and select All to clipboard (or press F4). The Clipboard window now pops up (figure 8). In the workbase, select the object Ships in the Dataset and press Paste in the Clipboard window. Quaestor will ask you if you want to copy the parameters, select Yes to all and continue.

...

This function states that the width of the ship at a certain frame number equals the relative width at that frame number multiplied with the total width of the ship. Notice that the frame number is no direct input in this relation, but Quaestor will still ask for it in a solution as Rel_B depends on that parameter.

We'll use an alternative way of creating solutions. First we will add some attributes to the Ships object. Attributes are used to direct the behaviour of Quaestor in solutions. All available attributes are described here. We will apply two attributes: @DBENTRY and @DBOBJECT.

 Select the object Ships in the knowledge browser (it was created in Top Goals/Undefined). In the Frame Viewer, select data. In the large blank area, type: 

...