Versions Compared

Key

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

...

 Add the relation above to the class geometryclass geometry. The parameters are automatically created when entering a relation. Frame should  Frame should be listed as a user user defined (VR) parameter and Rel_B should be System be System defined (SYS). Don’t forget the dimensions (Rel_B and Frame are dimensionless), and a proper reference for the parameters.

...

The General syntax used for Frame is @ParameterName:"Input". By using the intrinsic STR$ function with the parameters, you can give range input to the object, while for Quaestor it appears as normal single value input. This solve the constrained that you cannot give range input while building a solution. The @ in The @ in front of the parameters is to indicate that Rel_B and Frame are to be calculated in the object. See also QuaestorSyntax.

Note that just after you have created the expression, Waterline appears as parameter in the knowledge base with dimension object (Obj). So, in Quaestor, a parameter can be seen as an object and objects can be used as functions to perform calculations in.

 Select Waterline as top goal by double clicking it, and start a solution. Click yes when Click yes when asked if a new solution should be created.Quaestor will ask for the StartFrame, EndFrame and FrameStep. Enter for the StartFrame 0, for the FrameStep 2 and EndFrame 20, and press enter. Accept and continue.

...

5   Managing solutions

  • In the solution Waterlinesolution Waterline, select the cell containing Object  containing Object  (as in figure 3). Press F2, which is the shortkey for edit.

...

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

  In the Workbase the second DISP solution and select All to clipboard 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 object Ships in the Dataset and press Paste in press Paste in the Clipboard window. Quaestor will ask you if you want to copy the parameters, select Yes to select Yes to all and continue.

Figure 8   The clipboard window is used to copy and paste static data

The object ships is now filled with all the variations in length and width. You can close the Workbase clipboard. It will ask you whether it should be cleared, say yes because you do not need the data in the Clipboard anymore.

...

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 asas 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, selectselect data. In the large blank area, type: 

...

 In the Knowledge Browserdrag the parameter B_Frame to the class Top class Top Goals/Undefined.

Note that parameters can always be exchanged between classes, there is no influence on the behaviour of Quaestor except that parameters in the Top Goals/Undefined class are visible in the process manager. 

...