Versions Compared

Key

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

...

The syntax of every intrinsic function in Quaestor is described in the wiki, see the functionsoverviewfunctions overview. The syntax above means the following.

...

 Change the relation (find the relation and press F2) for Intpol_Rel_B  in

Intpol_Rel_B = DQUAD(@Hull, 2, @Frame, @Rel_B, Frame) 

which inwhich uses the same data, but now performs a quadratic interpolation. It's not necessary to initialize existing solutions. 

...

  In the class Geometry, add the following relation

 X = Frame/20 * Lpp

Which relationWhich is the position in meters along the longitudinal direction of the ship. By now you should know a proper dimension, reference and determined by value should be provided. 

...

 In the Top Goals class, add the following relation

Waterplane_Area = INTEGR(Hull(@X, @B_Frame, Lpp, B), 2, @X, @B_Frame, 2, 0, Lpp) 

which relationwhich is the waterplane area in square meters (m^2).

...

  Add a new class, called Stability, as sub-class of Geometry. Note that a subclass is created by naming it Geometry.Stability. Add the following relation to this class:

...

The dimension of all parameters is meters, and they are defined by a relation (which follows). GM is a Top Goal and should be moved toTop Goals/Undefined.

In the class Stability, enter the following relations.

Distance between keel K and center of buoyancy B, select KB and right click  "New Relation..." (or Ctrl+N). By selecting KB it is automatically presented as left side part of the relation:
          KB = 0.7 * T


Distance between keel K and center of gravity G in meters:
          KG = 0.8 * T

Distance between center of buoyancy B and metacenter M in meters:

...

 



 

Moment of inertia of the waterplane area in m^4:

...

 


 

Please note (and you might have experienced this in the previous tutorial too) that the parameter Moment_of_Inertia might still have a red cross and an Error warning in the knowledge base although you have provided the relation and a dimension. When this is the case, for sure you still have the Hull object in focus in a solution of the Workbase. When this is the case, Quaestor communicates that the relation you have provided cannot be used inside this object (and thus you have a red cross for Moment_of_Inertia). When you select a top node of a solution, you will see that the Moment_of_Inertia parameter is properly defined.

Third power of the width at a specified frame number in m^3:         B3_Frame = B_Frame^3

Do not forget to provide all dimensions and references, and change the Determined by fields to SYS: System/equation

...

   Add the following new relation to your Top Goals:

GM_Check = LEASQ(TEXTITEM$(1), 2, "L", "GM", Lpp, 2) 

Enter the following text in the Data slot  in the Expression Editor of the relation GM_Check:TEXTITEM1 =
|0
3 "ExampleShip" "L" "GM"
"1" 1 70 0.6
"2" 2 75 0.7
"3" 3 60 0.5
"4" 4 80 0.9
"5" 5 75 0.55
"6" 6 60 0.6
"7" 7 55 0.8
"8" 8 65 0.75
"9" 9 72 0.6 
"10" 10 80 0.56|

See figure 5. GM_Check is in meters. 

...