Versions Compared

Key

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

...

  Select Dataset in the Workbase, and start the Process Manager. Just select Data, and run a solution for Stability#. You might want to inspect your solution by opening the TeLiTab (double clicking on the value of Stability# or press F2).

Hereafter, delete this solution.

 

4    Creating a section between

...

TeLiTabs


We'd like to assign a stability and comfort rating to each of our ships. This rating, based on the rounded value of GM, is available inTeLiTab format:

...

  Run a solution for Stability_check# using Data in the dataset. Inspect the TeliTab.

Note that while you can normally see the TeLitab result in the Workbase when double clicking on the value of Stability_check#, now it does not open in the Workbase but opens as text. The reason is that it containts parameters not yet defined in the knowledge base (Comf and Stab).  When you would add these to the knowledge base (  , New Parameter/Function...) this is changed.

Delete the solution when done.

...

5    Display only the relevant

...

parameters  


The result of the above calculations contains a large amount of data that will not be necessary in further calculations. To clean up the solution, by removing the parameters we do not want to be displayed, we will use the function UNFOLD#(). This function can be used to change the hierarchy of a TeLiTab and to include or exclude parameters from a TeLiTab. We will adjust the relation that we used to calculate Stability_check$, to exclude parameters.

...

The meaning of this function can be found out by inspecting the documentation on UNFOLD#(). This function can be used to change the hierarchy of a TeLiTab and to include or exclude parameters. The mode of the function is 1 here, wich means that only the parameters at the end of the syntax (Ship_no to Comf) are present in the telitab. Now, only the relevant data is displayed in the TeLiTabStability_check#Image Removed

6    Selecting the best and the worst ship 


From the TeLiTab Stability_check# we can now select the ship that scores best on both "Stab" as "Comf" (Stability and comfort). To do so, we will use the function MATCHCASE(). 

...

These functions return the case numbers of the ships that score either highest or lowest on stability and comfort. The functionMATCHCASE() returns integer values, so the number of decimal places should be zero for these new parameters.
Image Removed

7    One solution for all results

While working with a knowledgebase, it is convenient to have a small number of solutions that contain data in an organized way, rather than have a lot of solutions that contain separate results of calculations. In this paragraph, we will create one solution that contains theTeLiTab Stability# as well as the best and worst ship numbers.

...

As mentioned in a previous tutorial, by means of the @ORDER attribute in the data slot of a parameter, you can organise the order in which the end result is presented.Image Removed 

6    Check 

...

You can verify your results by comparing it to [Tutorial 4 Finished] 

...