Versions Compared

Key

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

...

Please note the difference with the previous section, in which a table was created referring to values within multiple entities. For the bulkheads we have created one table and refer to values within the table of another singular Entity!


3    Mass Cargoes

  • Include

...

Cargoes child of “Mass Cargoes” Entity Type: singular obligatory

Image Removed

Include the following parameters in Entity “Mass Cargoes“: “Mass”, “COGX”, “COGY”, “COGZ”, “MOMX”, “MOMY”, “MOMZ”, “QEntityRef” and QEntityData”.

Connect the following relations in Entity “Mass Cargoes”:

  • Mass = SUM(@QEntity, 1, @Mass)
  • COGX = MOMX/Mass
  • COGY = MOMY/Mass
  • COGZ = MOMZ/Mass
  • MOMX = SUM(@QEntity, 1, @MOMX);
  • MOMY = SUM(@QEntity, 1, @MOMY)
  • MOMZ = SUM(@QEntity, 1, @MOMZ)
  • To show computed values during a dialogue write “@SHOW” behind “QEntityData”.

...

  • the singular obligatory entity Cargoes as child of entity Mass Cargoes.
  • Include the following parameters in entity Mass Cargoes: Mass, COGX, COGY, COGZ, MOMX, MOMY, MOMZ and QEntityRef.
  • Connect the same relations as mentioned at the top of the page from the Knowledge Browser to the pertaining parameters in entity Mass Cargoes.
  • To show computed values set attribute @SHOW on QEntityData.
  • Assign the following value to QEntityRef: “Cargo

...

  • mass calculation: summation of all cargo

...

  • components”.
  • Include the

...

  • following parameters in entity Cargoes below Mass Cargoes: Name$, Nr, Mass, COGX, COGY, COGZ, MOMX, MOMY, MOMZ, QEntityDoc and QEntityRef.
  • With exception of parameter Nr, put all parameters in the table view (localize (instantiate) parameter and provide attribute @MULTVAL in its
  • Data Slot).

In Entity “Cargoes” we entity Cargoes you will enable the user to create a table with a number of cargo objects.   For each object, the user has to provide a name, COG and mass.

  • Create the following relations:

MOMX = COGX*Mass

MOMY = COGY*Mass

MOMZ = COGZ*Mass

  • To show computed values during a dialogue write “@SHOW” behind “QEntityData”set attribute @SHOW on QEntityData.
  • Assign the following text for “QEntityRef”; “Define value to QEntityRef: “Define name, mass and COG of cargo objects”objects”

As explanation to the user,

...

you can include a schematic picture that depicts the used coordinate system within this configurator.

  • Right-click on Select QEntityDoc in Entity “Cargoes” entity Cargoes and select the right mouse button menu Taxonomy>Include Taxonomy->Include Binary Data or  or press Ctrl+B. Now you can browse to the file you want to include, we propose the provided picture “coordinate: “coordinate_system.bmp”bmp”.

Image Removed

 

Image AddedFigure 83: Entity "Cargoes" to define number of cargo objects

...

Back to content  | << Previous Continue with Intact stability calculation Next >>