Versions Compared

Key

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

Adding parameters to Hydrostatics

Create a new class along side Dimensions and call it General.

...

  • Create the following parameters (all are values) within the Knowledge Browser

...

  • :

Parameter name

Dimension

Determined by

Reference

In Class

Cb

[-] (none!)

VR: User only

Block coefficient

Dimensions

Displacement

[t]

USR: User or System/equation

Displacement of vessel at design draft

Dimensions

Rho

[t/m^3]

VR: User only

Density of

water. Select

water

type;
1.025<EQ>Saltwater
1.000<EQ>Freshwater

General

T_design

[m]

VR: User only

Design draft of ship

Dimensions

Volume

[m^3]

USR: User or System/equation

Hull volume at design draft

The parameters “Cb”, “Rho” and “T_design” will be user input so select for these parameters in the Slots & Properties window “VR: User only” in the “Determined by” field.

As mentioned above, for the other parameters you do not have to change the “Determined by” field. Leave these parameters as USRbecause we are going to create Entity relations for these parameters.

Next drag and drop the parameters: “LppBoaCb, “DisplacementRhoT_design and Volume from the Knowledge Browser into the Entity “Hydrostatics”, see Figure 57.

Image Removed

Dimensions

 

  • Next drag and drop the parameters: Lpp, Boa, Cb, Displacement, Rho, T_design and Volume from the Knowledge Browser into the entity Hydrostatics.

The parameters Displacement and Volume still have their red crosses because they are not completely defined. You will add relations for them in a minute.Figure 57: Include parameters in Entity "Hydrostatics"

2.3.3.1     Create drop down box for parameter Rho

Select water type;
1.025<EQ>Saltwater
1.000<EQ>Freshwater

Because we want to provide only two options for parameter “Rho” (1.025 or 1.000 [t/m3]), it is useful to create a dropdown box. This can be done by providing the reference text as indicated in Figure 58 in the Frame Viewer. (This is also why the table above showed this as reference text for Rho).

...