Versions Compared

Key

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

 

 

Tutorial 4
Telitabs and solution management

Learning goals

  1. Modifying a dataset
  2. Performing string operations on telitabs
  3. Learn about more Quaestor funtions
  4. Managing solutions

...

  • Hereafter, delete this solution.

 

4    Creating a section between TeLiTabs

 


It is desirable to assign a stability and comfort rating to each of your ships. This rating, based on the rounded value of GM, is available in TeLiTab format:0

Code Block
languagenone
3 "GM_rounded" "Stab" "Comf"
"1" 0.0 1 1
"2" 0.1 1 2
"3" 0.2 1 4
"4" 0.3 2 6
"5" 0.4 5 8
"6" 0.5 6 9
"7" 0.6 7 8
"8" 0.7 8 6
"9" 0.8 9 4 
"10" 0.9 9 2 
"11" 1.0 9 1

...

Your stability overview also contains values for GM_rounded, so these two TeLiTabs should somehow be combined.

...

Note that our rating TeLiTab should be included in the Expression Data slot field of the relation editor, as described in tutorial 3. Make sure the syntax is valid, the data slot field should contain:

Code Block
languagenone
TEXTITEM1=|0
3 "GM_rounded" "Stab" "Comf"
"1" 0.0 1 1
"2" 0.1 1 2
"3" 0.2 1 4
"4" 0.3 2 6
"5" 0.4 5 8
"6" 0.5 6 9
"7" 0.6 7 8
"8" 0.7 8 6
"9" 0.8 9 4 
"10" 0.9 9 2 
"11" 1.0 9 1 |

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

  and . 

...

GMGM_roundedShip_noStabComfKBKGBM and Moment_of_Inertia.

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

...

While you can normally see

...

the TeLiTab result in the Workbase when double clicking a value of a TeLiTab parameter, for Stability_check#

...

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

...

,

...

this changes.

 

  • Delete the solution when done.

5    Display only the relevant parameters  

...