Versions Compared

Key

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

...

  • Add a new object Data to the knowledge base (see previous tutorial, Hull object, directly in class Top Goals/Undefined (Determined by: OBJ) and add this object to the top of the dataset, by dragging it tot the Dataset node. Now you have to two objects, Data and Ships in the top level of Dataset.

  • Next add @DBENTRY and @DBOBJECT to the object Data and remove these from the Ships object. The object Data has now become your entry point.

  • Now add a new Ships object to the Data object by dragging the Ships object from the Knowledge Browser to the Data object in the Dataset. Now you have a Ships object in the Data object and you still have the Ships object on the top level.

  • Copy the data in the Ships object on the top level to the Ships object inside the Data object in the same way that you copied the contents of the Waterline object Hull object in the previous tutorial (see here). You will be asked whether or not to create new parameters, select Yes to All and click OK.

  • And finally delete the Ships object on the top level. Select this Ships object in the tree and press DEL.

...


It would be nice to have a clear overview of the stability of all your ships. Therefore, we'll create a TeLiTab containing the contents of Ships completed with GM_rounded, a rounded value of GM, and a ship number.

  •  Add the following relation to the class Geometry:
  •  

GM_rounded = ROUND(GM, 1)

which is GM rounded to 1 decimal place in meters, also see the function ROUND(). Note that Quaestor automatically sets the number of decimal places

...

for the display of a parameter

...

in the

...

Workbase to 2. Obviously, GM_rounded should be presented with only one decimal place, which can be changed in the

...

Properties window.

Image Removed  AlsoNext, add the following relation for the ship number, equal to the case number to Geometry:

Ship_no = ORCA(1)

Obviously, it is dimensionless. You may want to examine the ORCA() function. Let's make the ship number the 'leading' parameter in the presentation of results. In its

...

Properties, change the Output to value to HEADER, see figure 2. As only one parameter can be leading, set the Output to value of Lpp back to OUT.

Figure 2   Setting output to Header makes a parameter 'leading' in the workbase

...