Versions Compared

Key

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

...

If you run a calculation now with Stability_check# as top goal (and select Data as dataset), you will obtain a solution in whichStability_check# using object Ships, augmented with: GMGM_roundedShip_noStabComfKBKGBM and Moment_of_Inertia

...

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 TeLiTab Stability_check#

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(). 

...

To add a parameter to a solution that will be calculated after a defined top goal, the attribute @SUBGOALS can be used. It should be placed in the dataslot of the expression editor of one of the relations that is used to calculate the top goal. We will address the sub goals in the relation for Stability_check#.

  In the dataslot of the relation Stability_Check# in the Expression Editor, add the following attribute:

...